Fix sparc struct fpu definition.
[platform/upstream/glibc.git] / ChangeLog
1 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
2
3         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4         the size of the fpu_fr.fpu_dregs[] array.
5
6 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
7
8         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9         (__nanosleep): Do not define as alias.
10         (nanosleep): Define as alias of __nanosleep.
11         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12         __libc_nanosleep name.
13
14 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15
16         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
17         install.texi in comment.
18
19 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20
21         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
22         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
23         ... add here and use lwsync or sync ...
24         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25         ... and add here using lwsync.
26
27 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28
29         * elf/dl-machine-reject-phdr.h: New file.
30         * elf/dl-load.c: #include that.
31         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
32         if that returned true.
33
34 2014-10-31  Roland McGrath  <roland@hack.frob.com>
35
36         [BZ #17496]
37         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38         gen-as-const-headers chunk.  Add a big scare comment after the last
39         safe place to touch before-compile.
40
41 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
42
43         * manual/install.texi (Tools for Compilation): Update autoconf
44         version requirements.
45         * INSTALL: Regenerated.
46
47         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
48         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
49         (__libc_pselect): Likewise.
50
51         [BZ #14138]
52         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
53         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
54         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
55         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56
57 2014-10-31  Torvald Riegel  <triegel@redhat.com>
58
59         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
60         correct barrier instruction.
61         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
62         Likewise.
63         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
64         Likewise.
65
66 2014-10-30  Roland McGrath  <roland@hack.frob.com>
67
68         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
69         after defining inlines.  Instead, just use parens to defeat macro
70         expansion of __isctype in its declaration.
71
72 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
73
74         * include/sys/uio.h (__libc_readv): Remove declaration.
75         (__libc_writev): Likewise.
76         * misc/readv.c (__libc_readv): Rename to __readv.
77         (__readv): Do not define as alias.
78         (readv): Define as alias of __readv.
79         * misc/writev.c (__libc_writev): Rename to __writev.
80         (__writev): Do not define as alias.
81         (writev): Define as alias of __writev.
82         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
83         (__readv): Do not define as alias.
84         (readv): Define unconditionally as alias of __readv.
85         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
86         (__writev): Do not define as alias.
87         (writev): Define unconditionally as alias of __writev.
88         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
89         name.
90         (writev): Do not define __libc_writev name.
91
92 2014-10-30  Roland McGrath  <roland@hack.frob.com>
93
94         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
95         (convert_charseq): New function, broken out of ...
96         (use_from_charmap): ... here.  Call it.
97         (use_to_charmap): Use convert_charseq and free instead of duplicating
98         its code with a variable-length stack struct.
99
100 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
101
102         * include/fcntl.h (__libc_creat): Remove declaration.
103         * io/creat.c (__libc_creat): Rename to creat.
104         (creat): Do not define as alias.
105         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
106         of creat instead of __libc_creat.
107         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
108         to creat.
109         (creat): Do not define as alias.
110         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
111         __libc_creat.
112         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
113         __libc_creat name.
114         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
115         Likewise.
116
117 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
118
119         * manual/llio.texi: Add comments discussing why write() may be
120         considered MT-unsafe on Linux.
121
122 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
123
124         * dl-load.c (local_strdup): Remove.
125         (expand_dynamic_string_token): Use __strdup.
126         (decompose_rpath): Likewise.
127         (_dl_map_object): Likewise.
128
129 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
130
131         [BZ #14132]
132         * sysdeps/generic/unwind-dw2-fde.c
133         (__register_frame_info_bases_internal): Do not declare.
134         (__register_frame_info_table_bases_internal): Likewise.
135         (__deregister_frame_info_bases_internal): Likewise.
136         (__register_frame_info_bases): Declare and use hidden_proto before
137         definition.  Use hidden_def instead of INTDEF.
138         (__register_frame_info_table_bases): Likewise.
139         (__deregister_frame_info_bases): Likewise.
140         (__register_frame_info): Do not use INTUSE.
141         (__register_frame): Likewise.
142         (__register_frame_info_table): Likewise.
143         (__register_frame_table): Likewise.
144         (__deregister_frame_info): Likewise.
145         (__deregister_frame): Likewise.
146
147 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
148
149         * sysdeps/unix/sysv/linux/arm/kernel-features.h
150         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
151         not undefine.
152         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
153         Likewise.
154         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
155         Likewise.
156
157 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
158
159         [BZ #14138]
160         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
161         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
162         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
163         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
164         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
165         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
166         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
167         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
168         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
169         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
170         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
171         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
172         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
173         syscall.
174         (setfsuid): Likewise.
175         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
176         (setfsuid): Likewise.
177         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
178         (setfsuid): Likewise.
179         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
180         Likewise.
181         (setfsuid): Likewise.
182         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
183         (setfsuid): Likewise.
184         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
185         Likewise.
186         (setfsuid): Likewise.
187
188 2014-10-27  Andreas Schwab  <schwab@suse.de>
189
190         [BZ #17501]
191         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
192         check for Slow_SSE4_2 feature bit.
193         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
194         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
195         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
196         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
197
198 2014-10-24  Roland McGrath  <roland@hack.frob.com>
199
200         * configure.ac: Validate compiler version with a empirical test of
201         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
202         $CC -v output.
203         * configure: Regenerated.
204
205         * inet/htons.c (htons): Prototypify.
206         * inet/htonl.c (htonl): Likewise.
207
208 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
209
210         * string/strncat.c (strncat): Improve performance by using strlen.
211
212 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
213
214         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
215
216 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
217
218         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
219         Call libc_fetestexcept_aarch64.
220
221 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
222
223         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
224         Call libc_feholdexcept_aarch64.
225
226 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
227
228         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
229         Call get_rounding_mode.
230
231 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
232
233         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
234         Simplify logic.
235
236 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
237
238         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
239         Simplify logic.
240
241 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
242
243         [BZ #14138]
244         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
245         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
246         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
247         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
248         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
249         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
250         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
251         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
252         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
253         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
254         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
255         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
256         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
257         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
258         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
259         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
260         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
261         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
262         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
263         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
264         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
265         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
266         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
267         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
268         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
269         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
270         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
271         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
272         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
273         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
274         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
275         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
276         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
277         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
278         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
279         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
280         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
281         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
282         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
283         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
284         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
285         syscall.
286         (geteuid): Likewise.
287         (getgid): Likewise.
288         (getuid): Likewise.
289         (getresgid): Likewise.
290         (getresuid): Likewise.
291         (getgroups): Likewise.
292         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
293         (geteuid): Likewise.
294         (getgid): Likewise.
295         (getuid): Likewise.
296         (getresgid): Likewise.
297         (getresuid): Likewise.
298         (getgroups): Likewise.
299         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
300         (geteuid): Likewise.
301         (getgid): Likewise.
302         (getuid): Likewise.
303         (getresgid): Likewise.
304         (getresuid): Likewise.
305         (getgroups): Likewise.
306         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
307         Likewise.
308         (geteuid): Likewise.
309         (getgid): Likewise.
310         (getuid): Likewise.
311         (getresgid): Likewise.
312         (getresuid): Likewise.
313         (getgroups): Likewise.
314         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
315         (geteuid): Likewise.
316         (getgid): Likewise.
317         (getuid): Likewise.
318         (getresgid): Likewise.
319         (getresuid): Likewise.
320         (getgroups): Likewise.
321         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
322         Likewise.
323         (geteuid): Likewise.
324         (getgid): Likewise.
325         (getuid): Likewise.
326         (getgroups): Likewise.
327
328         [BZ #14138]
329         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
330         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
331         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
332         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
333         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
334         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
335         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
336         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
337         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
338         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
339         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
340         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
341         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
342         __chown.
343         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
344         (lchown): Likewise.
345         (fchown): Likewise.
346         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
347         Likewise.
348         (lchown): Likewise.
349         (fchown): Likewise.
350         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
351         (lchown): Likewise.
352         (fchown): Likewise.
353         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
354         Likewise.
355         (lchown): Likewise.
356         (fchown): Likewise.
357
358 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
359
360         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
361         Simplify logic.
362
363 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
364
365         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
366         Cleanup logic.
367
368 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
369
370         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
371         Remove unused include.
372
373 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
374
375         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
376         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
377         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
378         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
379
380 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
381             Helge Deller <deller@gmx.de>
382
383         [BZ #17508]
384         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
385         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
386         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
387
388 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
389
390         [BZ #14132]
391         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
392         Remove macro definition.
393         (__ashrdi3_v_glibc20): Likewise.
394         (__lshrdi3_v_glibc20): Likewise.
395         (__cmpdi2_v_glibc20): Likewise.
396         (__ucmpdi2_v_glibc20): Likewise.
397         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
398         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
399         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
400         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
401         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
402         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
403
404 2014-10-22  Roland McGrath  <roland@hack.frob.com>
405
406         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
407         old GNU extension [0] syntax.
408         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
409         alloca rather than an array member with variable length.
410         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
411         * nscd/nscd.c (invalidate_db): New function, broken out of ...
412         (parse_opt): ... here.  Likewise use alloca there.
413         Validate the -i argument before checking for rootness.
414         (send_shutdown): New function, broken out of ...
415         (parse_opt): ... here.
416
417 2014-10-22  Roland McGrath  <roland@hack.frob.com>
418
419         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
420         macro to get at the _rt_local_ro field.
421         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
422         ([PIC] case) or _dl_hwcap ([!PIC] case).
423         * sysdeps/arm/setjmp.S: Likewise.
424
425         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
426         * sysdeps/arm/configure.ac: New check to define it.
427         * sysdeps/arm/configure: Regenerated.
428         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
429         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
430         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
431         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
432         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
433         Use move/movt pair instead of a load.
434         (LDST_GLOBAL): Macro removed.
435         (LDR_GLOBAL): New macro replaces it.
436         (LDR_HIDDEN): New macro.
437         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
438         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
439
440         * setjmp/tst-setjmp-static.c: New file.
441         * setjmp/Makefile (tests): Add it.
442         (tests-static): New variable.
443
444 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
445
446         [BZ #17485]
447         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
448
449 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
450
451         [BZ #14132]
452         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
453
454 2014-10-21  Roland McGrath  <roland@hack.frob.com>
455
456         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
457
458 2014-10-20  Roland McGrath  <roland@hack.frob.com>
459
460         * io/fts.c (dirent_not_directory): New function.
461         (fts_build): Call it.
462
463 2014-10-20  Roland McGrath  <roland@hack.frob.com>
464
465         * nptl/version.c (__nptl_main): Use normal __write rather than
466         INTERNAL_SYSCALL.
467         (banner): Update copyright years.
468
469         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
470         gettimeofday.
471         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
472         * nptl/pthread_cond_timedwait.c: Likewise.
473         * nptl/pthread_mutex_timedlock.c: Likewise.
474         * nptl/sem_timedwait.c: Likewise.
475
476         * sysdeps/nptl/bits/libc-lock.h
477         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
478         (__libc_lock_init_recursive): Return void, not 0.
479         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
480         (__libc_rwlock_init): Likewise.
481         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
482
483 2014-10-20  Torvald Riegel  <triegel@redhat.com>
484
485         [BZ #15215]
486         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
487         (__pthread_once_slow): ... here.
488         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
489         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
490
491 2014-10-20  Torvald Riegel  <triegel@redhat.com>
492
493         [BZ #15215]
494         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
495         __PTHREAD_ONCE_FORK_GEN_INCR): New.
496         * sysdeps/nptl/fork.c (__libc_fork): Use them.
497         * nptl/pthread_once.c (__pthread_once): Likewise.
498         Update comments.
499
500 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
501
502         [BZ #14138]
503         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
504         name.
505         (writev): Use __libc_writev as strong name.
506         * sysdeps/unix/sysv/linux/readv.c: Remove file.
507         * sysdeps/unix/sysv/linux/writev.c: Likewise.
508
509 2014-10-17  Roland McGrath  <roland@hack.frob.com>
510
511         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
512
513         * sysdeps/i386/nptl/tls.h
514         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
515         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
516         New macros.
517         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
518         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
519         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
520         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
521         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
522         Call CHECK_THREAD_SYSINFO instead of doing an assert.
523
524         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
525         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
526         on [__NR_futex].
527         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
528         broken out of ...
529         (__pthread_mutex_init): ... here.  Call it.
530         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
531         Conditionalize PI cases on [__NR_futex].
532         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
533         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
534         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
535
536         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
537         conditional on [SIGSETXID].
538         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
539         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
540         is defined.  Likewise for SIGSETXID.
541         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
542         Conditionalize definitions on [SIGSETXID].
543         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
544         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
545         unblocking on [SIGCANCEL].
546
547         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
548         [__NR_set_robust_list].
549
550 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
551
552         * string/strcoll_l.c (get_next_seq): Fix up formatting.
553         (do_compare): Likewise.
554
555 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
556
557         [BZ #15884]
558         * string/strcoll_l.c: Don't include stdio.h.
559         (coll_seq): Remove members idxarr and rulearr.
560         (get_next_seq_cached): Remove function.
561         (get_next_seq): Likewise.
562         (get_next_seq_nocache): Rename to get_next_seq.
563         (do_compare): Remove function.
564         (do_compare_nocache): Rename to do_compare.
565         (STRCOLL): Remove weight and rules cache.
566
567 2014-10-16  Roland McGrath  <roland@hack.frob.com>
568
569         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
570         * sysdeps/arm/sfp-machine.h: ... to here.
571         * sysdeps/arm/Implies: Remove arm/soft-fp.
572
573 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
574
575         * conform/data/sys/utsname.h-data (*_t): Allow.
576         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
577         [POSIX] (WEXITED): Do not expect constant.
578         [POSIX] (WSTOPPED): Likewise.
579         [POSIX] (WNOHANG): Likewise.
580         [POSIX] (WNOWAIT): Likewise.
581         [POSIX] (siginfo_t): Do not expect type or elements.
582         [POSIX] (pid_t): Do not expect type.
583         [POSIX] (signal.h): Do not allow header.
584         [POSIX] (sys/resource.h): Likewise.
585         [POSIX] (si_*): Do not allow pattern.
586         [POSIX] (W*): Likewise.
587         [POSIX] (P_*): Likewise.
588         [POSIX] (BUS_*): Likewise.
589         [POSIX] (CLD_*): Likewise.
590         [POSIX] (FPE_*): Likewise.
591         [POSIX] (ILL_*): Likewise.
592         [POSIX] (POLL_*): Likewise.
593         [POSIX] (SEGV_*): Likewise.
594         [POSIX] (SI_*): Likewise.
595         [POSIX] (TRAP_*): Likewise.
596         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
597         variable.
598
599 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
600
601         [BZ #12926]
602         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
603         infinite loop when __recvmsg returns 0.
604
605 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
606
607         * CANCEL-FCT-WAIVE: Remove file.
608         * CANCEL-FILE-WAIVE: Likewise.
609
610         [BZ #14132]
611         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
612         instead of INTVARDEF.
613         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
614         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
615         rtld_hidden_data_def instead of INTVARDEF.
616         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
617         * elf/dl-deps.c (expand_dst): Likewise.
618         * elf/dl-load.c (_dl_dst_count): Likewise.
619         (_dl_dst_substitute): Likewise.
620         (decompose_rpath): Likewise.
621         (_dl_init_paths): Likewise.
622         (open_path): Likewise.
623         (_dl_map_object): Likewise.
624         * elf/rtld.c (dl_main): Likewise.
625         (process_dl_audit): Likewise.
626         (process_envvars): Likewise.
627         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
628         Remove declaration.
629         (__libc_enable_secure): Use rtld_hidden_proto.
630
631 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
632
633         * elf/dl-load.c
634         (add_path): New function broken out of _dl_rtld_di_serinfo.
635         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
636
637 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
638
639         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
640         parentheses around macro arguments.
641         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
643         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
644         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
645         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
646         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
647         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
648         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
649         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
650         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
651         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
652         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
653         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
654         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
655         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
656         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
657         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
658         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
659         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
660         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
661         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
662         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
663         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
664         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
665         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
666         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
667         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
668         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
669         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
670         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
671         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
672         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
673         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
674         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
675         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
676         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
677         Likewise.
678         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
679         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
680         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
681         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
682         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
683         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
684         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
685         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
686         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
687         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
688         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
689         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
690         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
691         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
692         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
693         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
694         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
695         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
696         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
697         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
698         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
699         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
700         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
701         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
702         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
703         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
704         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
705         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
706         (_FP_FRAC_SRS_1): Likewise.
707         (_FP_FRAC_CLZ_1): Likewise.
708         (_FP_MUL_MEAT_1_imm): Likewise.
709         (_FP_MUL_MEAT_1_wide): Likewise.
710         (_FP_MUL_MEAT_1_hard): Likewise.
711         (_FP_SQRT_MEAT_1): Likewise.
712         (_FP_FRAC_ASSEMBLE_1): Likewise.
713         (_FP_FRAC_DISASSEMBLE_1): Likewise.
714         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
715         (__FP_CLZ_2): Likewise.
716         (_FP_MUL_MEAT_2_wide): Likewise.
717         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
718         (_FP_MUL_MEAT_2_gmp): Likewise.
719         (_FP_MUL_MEAT_2_120_240_double): Likewise.
720         (_FP_SQRT_MEAT_2): Likewise.
721         (_FP_FRAC_ASSEMBLE_2): Likewise.
722         (_FP_FRAC_DISASSEMBLE_2): Likewise.
723         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
724         (_FP_FRAC_CLZ_4): Likewise.
725         (_FP_MUL_MEAT_4_wide): Likewise.
726         (_FP_MUL_MEAT_4_gmp): Likewise.
727         (_FP_SQRT_MEAT_4): Likewise.
728         (_FP_FRAC_ASSEMBLE_4): Likewise.
729         (_FP_FRAC_DISASSEMBLE_4): Likewise.
730         * soft-fp/op-common.h (_FP_CMP): Likewise.
731         (_FP_CMP_EQ): Likewise.
732         (_FP_CMP_UNORD): Likewise.
733         (_FP_TO_INT): Likewise.
734         (_FP_FROM_INT): Likewise.
735         [!__FP_CLZ] (__FP_CLZ): Likewise.
736         (_FP_DIV_HELP_imm): Likewise.
737         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
738         Likewise.
739         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
740         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
741         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
742         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
743         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
744         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
745         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
746         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
747         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
748         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
749         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
750         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
751         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
752         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
753         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
754         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
755         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
756         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
757         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
758         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
759         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
760         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
761         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
762         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
763         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
764         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
765         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
766         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
767         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
768         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
769         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
770         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
771         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
772         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
773         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
774         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
775         (FP_UNPACK_RAW_SP): Likewise.
776         (FP_PACK_RAW_S): Likewise.
777         (FP_PACK_RAW_SP): Likewise.
778         (FP_UNPACK_S): Likewise.
779         (FP_UNPACK_SP): Likewise.
780         (FP_UNPACK_SEMIRAW_S): Likewise.
781         (FP_UNPACK_SEMIRAW_SP): Likewise.
782         (FP_PACK_S): Likewise.
783         (FP_PACK_SP): Likewise.
784         (FP_PACK_SEMIRAW_S): Likewise.
785         (FP_PACK_SEMIRAW_SP): Likewise.
786         (_FP_SQRT_MEAT_S): Likewise.
787         (FP_CMP_S): Likewise.
788         (FP_CMP_EQ_S): Likewise.
789         (FP_CMP_UNORD_S): Likewise.
790         (FP_TO_INT_S): Likewise.
791         (FP_FROM_INT_S): Likewise.
792
793         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
794
795         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
796         (FP_EX_INVALID_IMZ): Likewise.
797         (FP_EX_INVALID_IMZ_FMA): Likewise.
798         (FP_EX_INVALID_ISI): Likewise.
799         (FP_EX_INVALID_ZDZ): Likewise.
800         (FP_EX_INVALID_IDI): Likewise.
801         (FP_EX_INVALID_SQRT): Likewise.
802         (FP_EX_INVALID_CVI): Likewise.
803         (FP_EX_INVALID_VC): Likewise.
804         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
805         "invalid" exceptions.
806         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
807         (_FP_ADD_INTERNAL): Likewise.
808         (_FP_MUL): Likewise.
809         (_FP_FMA): Likewise.
810         (_FP_DIV): Likewise.
811         (_FP_CMP_CHECK_NAN): Likewise.
812         (_FP_SQRT): Likewise.
813         (_FP_TO_INT): Likewise.
814         (FP_EXTEND): Likewise.
815
816 2014-10-09  Allan McRae  <allan@archlinux.org>
817
818         * po/fr.po: Update French translation from translation project.
819
820 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
821
822         [BZ #14132]
823         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
824         of INTDEF.
825         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
826         (__cxa_atexit): Use libc_hidden_proto.
827         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
828
829         [BZ #14132]
830         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
831         declaration.
832         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
833         [!_ISOMAC] (__iswspace_l_internal): Likewise.
834         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
835         [!_ISOMAC] (__iswctype_internal): Likewise.
836         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
837         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
838         alias.
839         (fcntl): Remove __fcntl_internal alias.
840         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
841         __connect_internal alias.
842         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
843         Likewise.
844
845         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
846         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
847         FP_DENORM_ZERO.
848         (_FP_CHECK_FLUSH_ZERO): New macro.
849         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
850         (_FP_CMP): Likewise.
851         (_FP_CMP_EQ): Likewise.
852         (_FP_TO_INT): Do not set inexact for subnormal arguments if
853         FP_DENORM_ZERO.
854         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
855         (FP_TRUNC): Likewise.
856
857         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
858         treated as invalid conversion, not as normal exponent.
859
860         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
861         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
862         (_FP_CMP_EQ): Likewise.
863         (_FP_CMP_UNORD): Likewise.
864         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
865         (FP_CMP_EQ_D): Likewise.
866         (FP_CMP_UNORD_D): Likewise.
867         * soft-fp/extended.h (FP_CMP_E): Likewise.
868         (FP_CMP_EQ_E): Likewise.
869         (FP_CMP_UNORD_E): Likewise.
870         * soft-fp/quad.h (FP_CMP_Q): Likewise.
871         (FP_CMP_EQ_Q): Likewise.
872         (FP_CMP_UNORD_Q): Likewise.
873         * soft-fp/single.h (FP_CMP_S): Likewise.
874         (FP_CMP_EQ_S): Likewise.
875         (FP_CMP_UNORD_S): Likewise.
876         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
877         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
878         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
879         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
880         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
881         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
882         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
883         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
884         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
885         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
886         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
887         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
888         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
889         to FP_CMP_Q.
890         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
891         FP_CMP_Q.
892         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
893         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
894         FP_CMP_EQ_Q.
895         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
896         FP_CMP_Q.
897         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
898         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
899         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
900         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
901         FP_CMP_EQ_Q.
902         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
903         FP_CMP_Q.
904         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
905         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
906         FP_CMP_EQ_Q.
907         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
908         FP_CMP_Q.
909         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
910         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
911         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
912         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
913         FP_CMP_EQ_Q.
914
915         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
916         a subnormal result, set the underflow exception if trapping on
917         underflow is enabled.
918         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
919         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
920         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
921         redefine to 0.
922         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
923         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
924         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
925         * soft-fp/extendxftf2.c (__extendxftf2): Use
926         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
927
928         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
929         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
930         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
931         FP_HANDLE_EXCEPTIONS.
932         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
933         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
934         FP_HANDLE_EXCEPTIONS.
935         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
936         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
937         FP_HANDLE_EXCEPTIONS.
938         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
939         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
940         FP_HANDLE_EXCEPTIONS.
941
942 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
943
944         [BZ #14132]
945         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
946         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
947         use INTUSE.
948         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
949         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
950         Remove alias.
951         (__adjtimex): Define using libc_hidden_ver.
952         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
953         Remove declaration.
954         (ntp_gettime): Call __adjtimex directly.
955         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
956         Remove declaration.
957         (ntp_gettimex): Call __adjtimex directly.
958         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
959         __adjtimex_internal alias.
960
961 2014-10-08  Roland McGrath  <roland@hack.frob.com>
962
963         [BZ #17460]
964         * nscd/nscd.c (more_help): Rewrite list of tables collection
965         using xstrdup and asprintf.
966
967         * nscd/nscd_conf.c: Remove local xstrdup declaration.
968
969 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
970             Roland McGrath  <roland@hack.frob.com>
971
972         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
973         (do_lookup_unique): ... local function 'enter' here; update callers.
974
975 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
976
977         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
978         compat_symbol calls on [SHARED].
979         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
980         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
981         Remove.
982         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
983         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
984         (oldsetrlimit): Remove.
985         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
987         (lchown): New syscall entry.
988         (oldsetrlimit): Remove.
989         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
990         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
991         (oldsetrlimit): Remove.
992         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
993
994         [BZ #14138]
995         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
996         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
997         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
998         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
999         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1000         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1001         (fchown): Likewise.
1002         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1003         (fchown): Likewise.
1004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1005         Likewise.
1006
1007 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1008
1009         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1010         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1011         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1012         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1013         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1014         Likewise.
1015         (__old_sem_post): Likewise.
1016
1017 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
1018
1019         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1020         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1021         HAVE_CLOCK_GETTIME_VSYSCALL macros.
1022         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1023         Use INLINE_VSYSCALL macro.
1024         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1025         __vdso_clock_gettime.
1026         * sysdeps/unix/sysv/linux/tile/init-first.c
1027         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1028         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1029         __vdso_clock_gettime.
1030
1031         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1032         to set up frame more cleanly.
1033
1034         * sysdeps/tile/memcmp.c: New file.
1035
1036         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1037
1038         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1039         * sysdeps/tile/tilegx/strcasestr.c: New file.
1040         * sysdeps/tile/tilegx/strnlen.c: New file.
1041         * sysdeps/tile/tilegx/strstr.c: New file.
1042
1043         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1044
1045 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
1046
1047         * nptl/tst-setuid3.c: Write errors to stdout.
1048
1049 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1050
1051         * elf/dl-deps.c
1052         (preload): New functions broken out of _dl_map_object_deps.
1053         (_dl_map_object_deps):  Remove a nested function. Update call sites.
1054
1055 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
1056
1057         [BZ #14138]
1058         * sysdeps/unix/sysv/linux/execve.c: Remove file.
1059         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1060
1061 2014-10-01  Steve Ellcey  <sellcey@mips.com>
1062
1063         * sysdeps/mips/strcmp.S: New.
1064
1065 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
1066
1067         [BZ #14138]
1068         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1069         (linkat): Likewise.
1070         (mkdirat): Likewise.
1071         (readlinkat): Likewise.
1072         (renameat): Likewise.
1073         (symlinkat): Likewise.
1074         (unlinkat): Likewise.
1075         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1076         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1077         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1078         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1079         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1080         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1081         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1082
1083 2014-09-30  Will Newton  <will.newton@linaro.org>
1084
1085         * math/math.h: Define long double math functions if
1086         _LIBC_TEST is defined.
1087         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1088
1089         * localedata/Makefile: Move assignment to tests-special
1090         into an ifdef testing run-built-tests.
1091         * timezone/Makefile: Likewise.
1092
1093 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
1094
1095         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1096         with $(BASH) not $(SHELL).
1097
1098 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
1099             Matthew LeGendre  <legendre1@llnl.gov>
1100
1101         [BZ #17411]
1102         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1103         l_reloc_result.
1104
1105 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1106
1107         * stdio-common/printf_fp.c
1108         (hack_digit): New function, broken out of ...
1109         (__printf_fp): ... local function here.  Update call sites.
1110         hack_digit now takes an additional parameter that is a pointer
1111         to a struct of the referenced locals.  Those locals moved inside
1112         the struct and references updated.
1113
1114 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
1115
1116         * aclocal.m4: Require autoconf 2.69.
1117         * configure: Regenerated.
1118         * sysdeps/aarch64/configure: Likewise.
1119         * sysdeps/alpha/configure: Likewise.
1120         * sysdeps/arm/armv7/configure: Likewise.
1121         * sysdeps/arm/configure: Likewise.
1122         * sysdeps/ia64/configure: Likewise.
1123         * sysdeps/mach/configure: Likewise.
1124         * sysdeps/mips/configure: Likewise.
1125         * sysdeps/s390/configure: Likewise.
1126         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1128
1129         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1130         file.
1131         * sysdeps/ia64/configure.ac: Likewise.
1132
1133 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
1134
1135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1136         specify symbol version for ld.so.  Do not include entry for
1137         libpthread.
1138         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1139         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1140         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1141
1142         [BZ #14171]
1143         * Makeconfig [$(build-shared) = yes]
1144         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1145         makefiles.
1146         [$(build-shared) = yes && $(soversions.mk-done) = t]
1147         ($(common-objpfx)gnu/lib-names.h): Remove rule.
1148         [$(build-shared) = yes && $(soversions.mk-done) = t]
1149         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
1150         to Makerules.
1151         [$(build-shared) = yes && $(soversions.mk-done) = t]
1152         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1153         here.
1154         [$(build-shared) = yes && $(soversions.mk-done) = t]
1155         (common-generated): Don't append gnu/lib-names.h and
1156         gnu/lib-names.stmp here.
1157         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1158         (lib-names-h-abi): New variable.
1159         [$(build-shared) = yes && $(soversions.mk-done) = t]
1160         (lib-names-stmp-abi): Likewise.
1161         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1162         abi-variants] (before-compile): Append
1163         $(common-objpfx)$(lib-names-h-abi).
1164         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1165         abi-variants] (common-generated): Append gnu/lib-names.h.
1166         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1167         abi-variants] (install-others-nosubdir): Depend on
1168         $(inst_includedir)/$(lib-names-h-abi).
1169         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1170         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1171         [$(build-shared) = yes && $(soversions.mk-done) = t]
1172         ($(common-objpfx)$(lib-names-h-abi)): New rule.
1173         [$(build-shared) = yes && $(soversions.mk-done) = t]
1174         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1175         [$(build-shared) = yes && $(soversions.mk-done) = t]
1176         (common-generated): Append $(lib-names-h-abi) and
1177         $(lib-names-stmp-abi).
1178         * scripts/lib-names.awk: Do not handle multi being set.
1179         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1180         Remove variable.
1181         (abi-lp64_be-ld-soname): Likewise.
1182         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1183         Likewise.
1184         (abi-hard-ld-soname): Likewise.
1185         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1186         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1187         Remove variable.
1188         (abi-o32_hard-ld-soname): Likewise.
1189         (abi-o32_soft_2008-ld-soname): Likewise.
1190         (abi-o32_hard_2008-ld-soname): Likewise.
1191         (abi-n32_soft-ld-soname): Likewise.
1192         (abi-n32_hard-ld-soname): Likewise.
1193         (abi-n32_soft_2008-ld-soname): Likewise.
1194         (abi-n32_hard_2008-ld-soname): Likewise.
1195         (abi-n64_soft-ld-soname): Likewise.
1196         (abi-n64_hard-ld-soname): Likewise.
1197         (abi-n64_soft_2008-ld-soname): Likewise.
1198         (abi-n64_hard_2008-ld-soname): Likewise.
1199         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1200         Likewise.
1201         (abi-64-v2-ld-soname): Likewise.
1202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1203         ld.so entries.
1204         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1205         variable.
1206         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1207         entry.
1208         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1209         variable.
1210         (abi-64-ld-soname): Likewise.
1211         (abi-x32-ld-soname): Likewise.
1212         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1213         entry.
1214         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1215
1216 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
1217
1218         [BZ #14138]
1219         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1220         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1221         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1222         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1223         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1224         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1225         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1226         syscall entry for GLIBC_2.2 symbol version.
1227         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1228         Likewise.
1229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1230         (setrlimit): Likewise.
1231         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1232         Likewise.
1233
1234 2014-09-23  Will Newton  <will.newton@linaro.org>
1235
1236         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1237         _LINUX_ARM_SYSDEP_H include guard too.
1238         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1239         define.
1240
1241 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1242
1243         * sysdeps/unix/sysv/linux/eventfd.c:
1244         Make first argument unsigned.
1245         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1246         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1247
1248 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
1249
1250         * socket/recvmmsg.c (recvmmsg): Drop const argument.
1251         * socket/sys/socket.h: Likewise
1252         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1253
1254 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1255
1256         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1257
1258 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
1259
1260         * time/tst-ftime.c: New test.
1261         * time/Makefile (tests): Add tst-ftime.
1262
1263 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
1264
1265         * soft-fp/extended.h: Fix comment formatting.
1266         * soft-fp/op-1.h: Likewise.
1267         * soft-fp/op-2.h: Likewise.
1268         * soft-fp/op-4.h: Likewise.
1269         * soft-fp/op-8.h: Likewise.
1270         * soft-fp/op-common.h: Likewise.
1271         * soft-fp/soft-fp.h: Likewise.
1272
1273         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1274
1275 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
1276
1277         [BZ #6652]
1278         * Makeconfig (soversions-default-setname): Remove variable.
1279         ($(common-objpfx)soversions.i): Don't pass default_setname to
1280         soversions.awk.
1281         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1282         oldest_abi to abi-versions.awk.
1283         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1284         * config.make.in (oldest-abi): Remove variable.
1285         * configure.ac (--enable-oldest-abi): Remove configure option.
1286         * configure: Regenerated.
1287         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1288         text.
1289         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1290         * scripts/soversions.awk: Do not handle default_setname variable.
1291         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1292         variable.
1293         * sysdeps/mach/hurd/configure: Regenerated.
1294         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1295         variable.
1296         * sysdeps/unix/sysv/linux/configure: Regenerated.
1297
1298 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1299
1300         * elf/Makefile (CFLAGS-interp.c): Remove.
1301         ($(elf-objpfx)runtime-linker.h): Generate header with linker
1302         path string.
1303         * elf/interp.c: Include generated runtime-linker.h
1304
1305         * Makerules (lib%.so): Don't include $(+interp) in
1306         prerequisites.
1307         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1308         * dlfcn/eval.c: Remove file.
1309
1310         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1311         macros.
1312
1313         [BZ #17266]
1314         * misc/sys/cdefs.h: Define __extern_always_inline for clang
1315         4.2 and newer.
1316
1317         [BZ #17370]
1318         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1319
1320 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1321             Jakub Jelinek  <jakub@redhat.com>
1322
1323         [BZ #17266]
1324         * libio/stdio.h: Check definition of __fortify_function
1325         instead of __extern_always_inline to include bits/stdio2.h.
1326         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1327         check if __extern_always_inline is defined.
1328         [__USE_MISC || __USE_XOPEN]: Likewise.
1329         [__USE_ISOC99] Likewise.
1330         * misc/sys/cdefs.h (__fortify_function): Define only if
1331         __extern_always_inline is defined.
1332         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1333         __extern_always_inline and __extern_inline only for g++-4.3
1334         and newer or a compatible gcc.
1335
1336 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
1337
1338         [BZ #17371]
1339         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1340         last change to handle zero prefix length.
1341
1342 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1343
1344         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1345         _SC_REGEX_VERSION.
1346
1347         * posix/getconf.c (vars): Add _POSIX_IPV6 and
1348         _POSIX_RAW_SOCKETS.
1349
1350 2014-09-13  Allan McRae  <allan@archlinux.org>
1351
1352         * po/ru.po: Update Russian translation from translation project.
1353
1354 2014-09-12  Roland McGrath  <roland@hack.frob.com>
1355
1356         * locale/programs/locale.c (show_locale_vars): Inline local function
1357         into its sole call site.  Clean up some style nits.
1358         (print_item): New function, broken out of ...
1359         (show_info): ... local function here.  Clean up style nits.
1360
1361         * locale/programs/ld-ctype.c (set_one_default): New function, broken
1362         out of ...
1363         (set_class_defaults): ... local function set_default here.
1364         Define set_default as a macro locally to pass constant parameters.
1365         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1366         rather than a shared local.
1367
1368         * stdlib/rpmatch.c (try): New function, broken out of ...
1369         (rpmatch): ... local function here.  Also, prototypify definition.
1370
1371 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
1372
1373         * scripts/soversions.awk: Do not handle configuration names.
1374         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1375         vendor and os variables to soversions.awk.
1376         * configure.ac: Do not modify gnu-* host_os.
1377         * configure: Regenerated
1378         * shlib-versions: Remove first column with configuration names.
1379         * nptl/shlib-versions: Likewise.
1380         * nptl_db/shlib-versions: Likewise.
1381         * sysdeps/hppa/shlib-versions: Likewise.
1382         * sysdeps/m68k/shlib-versions: Likewise.
1383         * sysdeps/mach/hurd/shlib-versions: Likewise.
1384         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1385         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1386         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1387         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1388         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1389         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1390         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1391         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1393         Likewise.
1394         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1395         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1396         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1397         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1398         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1399         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1400         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1401         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1402
1403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1404         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1406         Regenerated.
1407         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1409         Condition symbol version definitions on [HAVE_ELFV2_ABI].
1410
1411         * shlib-versions: Remove OS-specific entries.  Moved to files in
1412         sysdeps.
1413         * sysdeps/mach/hurd/shlib-versions: New file.
1414         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1415
1416         * nptl/shlib-versions: Remove architecture-specific entries.
1417         Moved to files in sysdeps.
1418         * shlib-versions: Likewise.
1419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1420         file.
1421         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1422         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1423         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1424         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1425
1426         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1427         (UDP_NO_CHECK6_RX): Likewise.
1428
1429 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1430
1431         * sysdeps/posix/sysconf.c (__sysconf): Spell
1432         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1433
1434 2014-08-12  Florian Weimer  <fweimer@redhat.com>
1435
1436         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1437         loading.
1438         * iconv/Versions (__gconv_transliterate): Export for use from
1439         gconv modules.
1440         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1441         (struct __gconv_trans_data, __gconv_trans_fct,
1442         __gconv_trans_context_fct, __gconv_trans_query_fct,
1443         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1444         definitions.
1445         (struct __gconv_step_data): Remove __trans member.
1446         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
1447         longer hidden.  Remove unused trans_data argument.
1448         * iconv/gconv_int.h (struct trans_struct): Remove definition.
1449         (__gconv_translit_find): Remove declaration.
1450         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
1451         prototype.
1452         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1453         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1454         trans_data argument.  Add hidden definition.
1455         (__gconv_translit_find): Remove.
1456         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1457         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1458         * iconv/skeleton.c: Remove transliteration initialization.
1459         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1460         __gconv_step_data initialization.
1461         * libio/iofwide.c (__libio_translit_): Remove.
1462         (_IO_fwide): Adjust struct __gconv_step_data initialization.
1463         * wcsmbs/btowc.c (__btowc): Likewise.
1464         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1465         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1466         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1467         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1468         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1469         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1470         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1471         * wcsmbs/wctob.c (wctob): Likewise.
1472
1473 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1474
1475         [BZ #16194]
1476         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1477         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
1478         register usage.
1479         * sysdeps/x86/Makefile: Adjust.
1480
1481 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1482             Roland McGrath  <roland@hack.frob.com>
1483
1484         * locale/weight.h: Add include guard.
1485         (findidx): Make static rather than auto; take new parameters
1486         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1487         * locale/weightwc.h: Likewise.
1488         * posix/fnmatch_loop.c
1489         (FCT): Change type of EXTRA from int32_t to wint_t.
1490         Don't include either header inside the function.
1491         Call FINDIDX rather than findidx, and pass new arguments.
1492         #undef FINDIDX at the end of the file.
1493         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1494         FINDIDX before including fnmatch_loop.c for the non-wide version.
1495         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1496         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1497         for the wide version.
1498         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1499         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1500         Pass new arguments to findidx.
1501         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1502         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1503         Don't #include it inside the function.  Pass new arguments to findidx.
1504         * posix/regex_internal.h
1505         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1506         (re_string_elem_size_at): Don't #include it inside the function.
1507         Pass new arguments to findidx.
1508         * string/strcoll_l.c: #include WEIGHT_H at top level.
1509         (get_next_seq): Don't #include it inside the function.
1510         Pass new arguments to findidx.
1511         (get_next_seq_nocache): Likewise.
1512         * string/strxfrm_l.c: #include WEIGHT_H at top level.
1513         (STRXFRM): Don't #include it inside the function.
1514         Pass new arguments to findidx.
1515
1516 2014-09-11  Florian Weimer  <fweimer@redhat.com>
1517
1518         [BZ #17344]
1519         * malloc/malloc.c (unlink): Turn asserts into a call to
1520         malloc_printerr.
1521
1522 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
1523
1524         [BZ #17370]
1525         * libio/wfileops (do_ftell_wide): Free OUT.
1526
1527 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
1528
1529         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1530
1531 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1532
1533         [BZ #17363]
1534         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1535         group if the current group is empty.
1536
1537 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1538
1539         * benchtests/bench-memset.c (test_main): Add more test from size
1540         from 32 to 512 bytes.
1541         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1542         Add POWER8 memset object.
1543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1544         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1545         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1546         implementation.
1547         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1548         Likewise.
1549         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1550         multiarch POWER8 memset optimization.
1551         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1552         POWER8 memset optimization.
1553
1554         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1555         Remove bzero multiarch objects.
1556         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1557         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1558         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1559         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1560         Remove define.
1561         [__bzero]: Redefine to specific name.
1562         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1563         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1564         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1565         define.
1566         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1567         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1568
1569 2014-09-10  Florian Weimer  <fweimer@redhat.com>
1570
1571         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1572         warnings into errors.
1573
1574         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1575         __cxa_thread_atexit_impl prototype.
1576
1577 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1578
1579         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1580         Fix capitalization of error message.
1581
1582 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1583
1584         * sysdeps/mips/preconfigure: Modify ABI tests.
1585
1586 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
1587
1588         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1589
1590 2014-09-07  Roland McGrath  <roland@hack.frob.com>
1591             Carlos O'Donell  <carlos@systemhalted.org>
1592
1593         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1594         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1595         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1596         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1597         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1598         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1599         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1600         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1601         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1602         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1603         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1604         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1605         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1606         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1607         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1608         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1609         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1610         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1611         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1612         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1613         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1614         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1615         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1616         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1617         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1618         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1619         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1620         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1621         Deconditionalize the code that was previously under [RESET_PID].
1622         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1623         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1624         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1625         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1626         include sysdep.h.
1627
1628 2014-09-08  Allan McRae  <allan@archlinux.org>
1629
1630         * version.h (RELEASE): Set to "development".
1631         (VERSION): Set to "2.20.90"
1632
1633 2014-09-07  Allan McRae  <allan@archlinux.org
1634
1635         * version.h (RELEASE): Set to "stable".
1636         (VERSION): Set to "2.20"
1637         * include/features.h (__GLIBC_MINOR__): Set to 20.
1638
1639         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1640         Liebler.
1641
1642         * po/ko.po: Update Korean translation from translation project.
1643
1644 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
1645
1646         [BZ #17354]
1647         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1648         macro for handling signed relocations.
1649
1650 2014-09-03  Florian Weimer  <fweimer@redhat.com>
1651
1652         [BZ #17325]
1653         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1654         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1655         assert.
1656         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1657         * iconvdata/ibm935.c (BODY): Likewise.
1658         * iconvdata/ibm937.c (BODY): Likewise.
1659         * iconvdata/ibm939.c (BODY): Likewise.
1660         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1661         assert.
1662         * iconvdata/Makefile (iconv-test.out): Pass module list to test
1663         script.
1664         * iconvdata/run-iconv-test.sh: New test loop for checking for
1665         decoder crashers.
1666
1667 2014-09-02  Khem Raj  <raj.khem@gmail.com>
1668
1669         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1670         libm_hidden_ver.
1671
1672 2014-09-01  Allan McRae  <allan@archlinux.org>
1673
1674         * po/eo.po: Update Esperanto translation from translation project.
1675
1676         * po/ca.po: Update Catalan translation from translation project.
1677
1678 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1679
1680         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1681         __proc_dostop call.
1682
1683 2014-08-27  Mark Wielaard  <mjw@redhat.com>
1684
1685         [BZ #17319]
1686         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1687         to call set_thread_area instead of hand written asm.
1688         (__NR_set_thread_area): Removed define.
1689         (TLS_FLAG_WRITABLE): Likewise.
1690         (__ASSUME_SET_THREAD_AREA): Remove check.
1691         (TLS_EBX_ARG): Remove define.
1692         (TLS_LOAD_EBX): Likewise.
1693
1694 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1695
1696         Simplify atomicity of socket creation in bind.
1697
1698         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1699         looking up the name after linking the file.
1700
1701 2014-08-27  Allan McRae  <allan@archlinux.org>
1702
1703         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1704
1705 2014-08-26  Florian Weimer  <fweimer@redhat.com>
1706
1707         [BZ #17187]
1708         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1709         trans_compare, open_translit, __gconv_translit_find):
1710         Remove module loading code.
1711
1712 2014-08-26  Allan McRae  <allan@archlinux.org>
1713
1714         * po/vi.po: Update Vietnamese translation from translation project.
1715
1716         * po/uk.po: Update Ukrainian translation from translation project.
1717
1718         * po/fr.po: Update French translation from translation project.
1719
1720         * po/ru.po: Update Russian translation from translation project.
1721
1722         * po/pl.po: Update Polish translation from translation project.
1723
1724         * po/cs.po: Update Czech translation from translation project.
1725
1726         * po/de.po: Update German translation from translation project.
1727
1728         * po/bg.po: Update Bulgarian translation from translation project.
1729
1730         * po/sv.po: Update Sweedish translation from translation project.
1731
1732         * po/nl.po: Update Dutch translation from translation project.
1733
1734         * po/es.po: Update Spanish translation from translation project.
1735
1736 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1737
1738         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1739
1740         * catgets/Makefile (CPPFLAGS-gencat): Remove.
1741         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1742         (CPPFLAGS-iconvconfig): Likewise.
1743         * timezone/Makefile (CPPFLAGS-zic): Likewise.
1744
1745         * include/libc-symbols.h: Remove unnecessary check for
1746         NOT_IN_libc.
1747         * nptl/pthreadP.h: Likewise.
1748         * sysdeps/aarch64/setjmp.S: Likewise.
1749         * sysdeps/alpha/setjmp.S: Likewise.
1750         * sysdeps/arm/sysdep.h: Likewise.
1751         * sysdeps/i386/setjmp.S: Likewise.
1752         * sysdeps/m68k/setjmp.c: Likewise.
1753         * sysdeps/posix/getcwd.c: Likewise.
1754         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1755         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1756         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1757         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1758         * sysdeps/sh/sh3/setjmp.S: Likewise.
1759         * sysdeps/sh/sh4/setjmp.S: Likewise.
1760         * sysdeps/unix/alpha/sysdep.h: Likewise.
1761         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1762         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1763         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1764         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1767         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1768         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1769         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1770         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1771         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1772         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1773         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1774         * sysdeps/x86_64/setjmp.S: Likewise.
1775
1776 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
1777
1778         [BZ #17263]
1779         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1780         <stdint.h>.
1781         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1782         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1783
1784 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1785
1786         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1787
1788         [BZ #17262]
1789         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1790         and __x86_64__ when disabling x87 inline functions.
1791
1792 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1793
1794         [BZ #17259]
1795         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1796         asm statement with __cpuid_count.
1797
1798 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
1799
1800         * configure.ac: Change __ehdr_start code to dereference the struct.
1801         Run readelf on the output to look for relocations.
1802         * configure: Regenerated.
1803
1804 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
1805
1806         [BZ #17261]
1807         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1808         value to 0.
1809         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1810
1811 2014-08-12  Roland McGrath  <roland@hack.frob.com>
1812
1813         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1814
1815 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
1816
1817         [BZ #16892]
1818         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1819         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1820
1821 2014-08-12  Sean Anderson  <seanga2@gmail.com>
1822
1823         * malloc/malloc.c: Fix typo in comment.
1824
1825 2014-08-09  Allan McRae  <allan@archlinux.org>
1826
1827         * Regenerate libc.po.
1828
1829 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
1830
1831         * intl/tst-gettext2.sh: Check every lang file for creation.
1832
1833 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1834
1835         * sysdeps/aarch64/fpu/math_private.h
1836         (libc_feholdsetround_noex_aarch64_ctx): New function.
1837
1838 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1839
1840         * sysdeps/arm/armv6/strcpy.S (strcpy):
1841         Fix performance issue in misaligned cases.
1842
1843 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1844
1845         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1846         Move definition from termios.h.
1847         (struct termio): Likewise.
1848         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1849         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1850         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1851         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1852         Likewise.
1853         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1854         Move definition to ioctl-types.h
1855         (struct termio): Likewise.
1856         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1857         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1858         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1859         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1860         Likewise.
1861
1862 2014-08-05  Richard Henderson  <rth@redhat.com>
1863
1864         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1865         exceptions.
1866         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1867         Add fraiseexcpt.
1868         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1869         Use __feraiseexcept.
1870         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1871         Protect libm symbols with IS_IN_libm.
1872
1873         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1874
1875 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
1876
1877         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1878
1879 2014-08-04  Will Newton  <will.newton@linaro.org>
1880
1881         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1882         file.
1883
1884 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
1885
1886         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1887         variants for each function.
1888
1889 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1890
1891         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1892         appended ...
1893         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1894         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1895         appended ...
1896         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1897         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1898         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1899         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1900         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1901         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1902         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1903         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1904         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1905         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1906         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1907         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1908         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1909         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1910         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1911         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1912         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1913         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1914         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1915         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1916         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1917         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1918         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1919         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1920         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1921         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1922         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1923         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1924         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1925         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1926         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1927         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1928         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1929         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1930         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1931         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1932         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1933         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1934         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1935         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1936         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1937         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1938         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1939         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1940         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1941         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1942         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1943         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1944         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1945         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1946         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1947         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1948         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1949         Update #include.
1950         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1951         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1952
1953 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1954
1955         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1956         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1957         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1958         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1959         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1960         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1961
1962 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1963
1964         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1965         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1966         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1967         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1968
1969 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1970
1971         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1972         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1973         (__libc_vfork): Define function under this name.
1974         (__vfork): Define as an alias.
1975         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1976         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1977
1978 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1979
1980         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1981         that was previously under [RESET_PID].
1982         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1983
1984 2014-08-04  Andreas Schwab  <schwab@suse.de>
1985
1986         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1987
1988 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
1989
1990         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1991         (main): Likewise.
1992
1993 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1994
1995         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1996
1997 2014-08-01  Richard Henderon  <rth@redhat.com>
1998
1999         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2000         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2001         typo in exact zero test.
2002         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2003         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2004         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2005
2006 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2007
2008         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2009         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2010         * sysdeps/arm/sysdep.h: ... here.
2011         [!__ASSEMBLER__]: Include <stdint.h>.
2012
2013 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2014
2015         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2016         (HAVE_WCTYPE_H): Likewise.
2017         (HAVE_ISWCTYPE): Likewise.
2018         (ENABLE_NLS): Likewise.
2019         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2020         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2021
2022         * posix/regex_internal.c: Check if DEBUG is defined and is
2023         set.
2024
2025         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2026         (HAVE_MBSRTOWCS): Likewise.
2027         * posix/fnmatch.c: Include string.h unconditionally.
2028
2029 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2030
2031         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2032         reversal.
2033
2034 2014-07-31  Roland McGrath  <roland@hack.frob.com>
2035
2036         * sysdeps/generic/safe-fatal.h: New file.
2037         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2038         * nptl/forward.c: Include it.
2039         (__pthread_unwind): Use __safe_fatal as default action, rather
2040         than a bogus use of INTERNAL_SYSCALL that could never work.
2041
2042         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2043         * configure.ac (libc_cv_builtin_trap): New test.
2044         * configure: Regenerated.
2045         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2046         (ABORT_INSTRUCTION): Define using __builtin_trap.
2047
2048         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2049         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2050         * sysdeps/nptl/nptl-signals.h: New file.
2051         * nptl/pthreadP.h: Include <nptl-signals.h>.
2052
2053 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2054
2055         * sysdeps/s390/s390-64/utf16-utf32-z9.c
2056         (ONE_DIRECTION): Define.
2057         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2058         (ONE_DIRECTION): Define.
2059         * sysdeps/s390/s390-64/utf8-utf32-z9.c
2060         (ONE_DIRECTION): Define.
2061
2062 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2063
2064         * sysdeps/s390/Makefile: Delete file.
2065         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2066         * sysdeps/s390/__longjmp.c: Delete file.
2067         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2068         Remove fields __flags and __reserved.
2069         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2070         and add versioning.
2071         * sysdeps/s390/rtld-__longjmp.c: Delete file.
2072         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2073         * sysdeps/s390/rtld-setjmp.S: Likewise.
2074         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2075         * sysdeps/s390/s390-32/__longjmp.c: ... here.
2076         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2077         * sysdeps/s390/s390-32/setjmp.S: ... here.
2078         Add versioning.
2079         (__sigsetjmp): Remove setting __flags field.
2080         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2081         * sysdeps/s390/s390-64/__longjmp.c: ... here.
2082         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2083         * sysdeps/s390/s390-64/setjmp.S: ... here.
2084         Add versioning.
2085         (__sigsetjmp): Remove setting __flags field.
2086         * sysdeps/s390/setjmp.S: Delete file.
2087         * sysdeps/s390/sigjmp.c: Likewise.
2088         * sysdeps/s390/v1-longjmp.c: Likewise.
2089         * sysdeps/s390/v1-setjmp.h: Likewise.
2090         * sysdeps/s390/v1-sigjmp.c: Likewise.
2091         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2092         Remove v1-longjmp_chk.
2093         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2094         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2095         Include debug/longjmp_chk.c and add versioning.
2096         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2097         Include nptl/pt-longjmp.c and add versioning.
2098         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2099         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2100         Include __longjmp.c.
2101         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2102         Move to ...
2103         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2104         (__getcontext): Remove setting __flags field.
2105         Add versioning.
2106         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2107         Don't restore upper high grps.
2108         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2109         Likewise.
2110         (__swapcontext): Remove setting uc_flags field.
2111         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2112         Delete file.
2113         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2114         Include __longjmp.c.
2115         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2116         Move to ...
2117         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2118         (__getcontext): Remove setting __flags field.
2119         Add versioning.
2120         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2121         (__swapcontext): Remove setting uc_flags field.
2122         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2123         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2124         Remove fields uc_high_gprs and __reserved.
2125         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2126         New file with reverted content.
2127         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2128         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2129         Regenerated.
2130         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2131         Regenerated.
2132
2133 2014-07-31  Andreas Schwab  <schwab@suse.de>
2134
2135         * config.h.in (HAVE_IFUNC): Define to 0.
2136         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2137         definedness.
2138
2139 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
2140
2141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2142         memmove-avx-unaligned, memcpy-avx-unaligned and
2143         mempcpy-avx-unaligned.
2144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2145         Add tests for AVX memcpy functions.
2146         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2147         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2148         memcpy_chk.
2149         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2150         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2151         memmove_chk.
2152         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2153         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2154         mempcpy_chk.
2155         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2156         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2157         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2158
2159 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2160
2161         [BZ #17213]
2162         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2163         powerpc64le.
2164
2165 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
2166
2167         [BZ #16839]
2168         * manual/llio.texi: Add section about open file description locks.
2169         * manual/examples/ofdlocks.c: Example of open file description
2170         lock usage.
2171         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2172         F_OFD_SETLK, and F_OFD_SETLKW.
2173
2174 2014-07-23  Allan McRae  <allan@archlinux.org>
2175
2176         * po/es.po: Update Spanish translation from translation project.
2177
2178 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
2179
2180         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2181
2182 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
2183
2184         [BZ #17078]
2185         * sysdeps/arm/dl-machine.h (elf_machine_rela)
2186         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2187         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2188
2189 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
2190
2191         [BZ #17088]
2192         * math/fesetenv.c (__fesetenv)
2193         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2194         * math/feupdateenv.c (__feupdateenv)
2195         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2196
2197         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2198         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2199         (__ASSUME_SOCKETCALL): Do not define.
2200
2201         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2202         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2203         (__ASSUME_SOCKETCALL): Do not define.
2204         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2205         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2206         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2207         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2208         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2209         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2210         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2211         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2212
2213         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2214         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2215         (__ASSUME_SOCKETCALL): Do not define.
2216         (__ASSUME_IPC64): Define unconditionally.
2217         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2218         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2219         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2220         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2221         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2222         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2223         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2224         Likewise.
2225
2226         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2227         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2228         (__ASSUME_SOCKETCALL): Do not define.
2229         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2230         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2231         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2232         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2233         (__ASSUME_REQUEUE_PI): Define unconditionally.
2234         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2235         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2236         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2237         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2238         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2239         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2240
2241         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2242         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2243         (__ASSUME_SOCKETCALL): Do not define.
2244         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2245         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2246         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2247         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2248         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2249         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2250
2251         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2252         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2253         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2254         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2255         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2256         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2257         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2258         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2259         (__ASSUME_GETCPU_SYSCALL): Likewise.
2260
2261         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2262         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
2263         cases for individual architectures.
2264         * sysdeps/gnu/configure: Regenerated.
2265         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2266         LIBC_SLIBDIR_RTLDDIR.
2267         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2268         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2269         LIBC_SLIBDIR_RTLDDIR.
2270         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2272         LIBC_SLIBDIR_RTLDDIR.
2273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2274         Regenerated.
2275         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2276         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2277         file.
2278         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2279         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2280         file.
2281         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2282         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2283         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2284         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2285
2286         * sysdeps/aarch64/shlib-versions: Move to ...
2287         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2288         * sysdeps/alpha/shlib-versions: Move to ...
2289         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2290         * sysdeps/arm/shlib-versions: Move to ...
2291         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2292         * sysdeps/hppa/shlib-versions: Move all contents except for
2293         libgcc_s entry to ...
2294         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
2295         entry from ...
2296         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
2297         * sysdeps/ia64/shlib-versions: Move to ...
2298         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
2299         entry from ...
2300         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
2301         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2302         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2303         * sysdeps/microblaze/shlib-versions: Move to ...
2304         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2305         * sysdeps/mips/shlib-versions: Move to ...
2306         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
2307         entry from ...
2308         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
2309         * sysdeps/tile/shlib-versions: Move to ...
2310         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2311         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2312         from ...
2313         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
2314         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2315         entry from ...
2316         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
2317
2318 2014-07-17  Will Newton  <will.newton@linaro.org>
2319
2320         * sysdeps/arm/bits/atomic.h
2321         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2322         (__arch_compare_and_exchange_bool_16_int): Likewise.
2323         (__arch_compare_and_exchange_bool_64_int): Likewise.
2324
2325         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2326         into an #else block.
2327
2328 2014-07-16  Roland McGrath  <roland@hack.frob.com>
2329
2330         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2331         just Linux configurations.  Test empirically that the compiler sets
2332         __ARM_EABI__, rather than using the tuple to decide.
2333         * sysdeps/arm/preconfigure: Regenerated.
2334         * sysdeps/unix/sysv/linux/arm/configure: File removed.
2335         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2336         contents appended ...
2337         * sysdeps/arm/configure.ac: ... here.
2338         * sysdeps/arm/configure: Regenerated.
2339
2340 2014-07-15  Roland McGrath  <roland@hack.frob.com>
2341
2342         * nptl/pthread_kill.c: New file.
2343         * nptl/pthread_sigmask.c: New file.
2344         * nptl/pthread_sigqueue.c: New file.
2345
2346         * sysdeps/nptl/lowlevellock.h: New file.
2347         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2348         * sysdeps/nptl/lowlevellock-futex.h: New file.
2349
2350         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2351         Remove dead declarations.
2352
2353 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
2354
2355         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2356         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2357         config-cflags-avx2.
2358         * sysdeps/x86_64/configure.ac: Likewise.
2359         * sysdeps/i386/configure: Regenerated.
2360         * sysdeps/x86_64/configure: Likewise.
2361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2362         memset-avx2 only if config-cflags-avx2 is yes.
2363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2364         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2365         defined.
2366         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2367         only if HAVE_AVX2_SUPPORT is defined.
2368         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2369
2370 2014-07-14  Alan Modra  <amodra@gmail.com>
2371
2372         [BZ #17153]
2373         * elf/elf.h (DT_PPC64_NUM): Correct value.
2374         * NEWS: Add to fixed bug list.
2375
2376 2014-07-13  Jim Meyering  <meyering@fb.com>
2377
2378         [BZ 17150]
2379         regex: don't deref NULL upon heap allocation failure
2380         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2381         failure in one more place.
2382         To trigger the segfault, configure grep -with-included-regex,
2383         build it, and run these commands:
2384         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2385
2386 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
2387
2388         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2389
2390 2014-07-11  Richard Henderson  <rth@redhat.com>
2391
2392         * sysdeps/aarch64/libm-test-ulps: Update.
2393
2394 2014-07-10  Florian Weimer  <fweimer@redhat.com>
2395
2396         [BZ #17135]
2397         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2398         * nptl/allocatestack.c (__nptl_setxid_error): New function.
2399         (__nptl_setxid): Initialize error member.  Call
2400         __nptl_setxid_error.
2401         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2402         * nptl/descr.h (struct xid_command): Add error member.
2403         * nptl/tst-setuid3.c: New file.
2404         * nptl/Makefile (tests): Add it.
2405
2406 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2407
2408         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2409         New define.
2410         (__lll_trylock): Use __lll_base_trylock.
2411         (__lll_cond_trylock): Likewise.
2412
2413 2014-07-10  Roland McGrath  <roland@hack.frob.com>
2414
2415         * nptl/pthread_create.c (start_thread): Use atomic_or and
2416         lll_futex_wake directly rather than lll_robust_dead.
2417         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2418         (lll_robust_dead): Macro removed.
2419         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2420         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2421         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2422         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2423         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2424         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2425         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2426         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2427         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2428         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2429         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2430         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2431         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2432         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2433         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2434
2435         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2436         Use atomic_compare_and_exchange_val_acq directly rather than
2437         lll_robust_trylock.
2438         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2439         (__lll_robust_trylock, lll_robust_trylock): Removed.
2440         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2441         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2442         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2443         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2444         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2445         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2446         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2447         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2448         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2449         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2450         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2451         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2452         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2453         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2454
2455 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2456
2457         * manual/locale.texi (Locale Names): New section documenting
2458         locale name syntax.  Adjust menu and node chaining accordingly.
2459         (Choosing Locale): Reference Locale Names, Locale Categories.
2460         Mention setting LC_ALL=C.  Reflect that name syntax is now
2461         documented.
2462         (Locale Categories): New section title.  Reference Locale Names.
2463         LC_ALL is an environment variable, but not a category.
2464         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2465         description, now in Locale Name.  Reference that section.  Locale
2466         name syntax is now documented.
2467
2468 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2469
2470         [BZ #17137]
2471         * locale/findlocale.c (name_present, valid_locale_name): New
2472         functions.
2473         (_nl_find_locale): Use the loc_name variable to store name
2474         candidates.  Call name_present and valid_locale_name to check and
2475         validate locale names.  Return an error if the locale is invalid.
2476
2477 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2478
2479         * locale/setlocale.c (setlocale): Use strdup for allocating
2480         composite name copy.
2481
2482 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2483
2484         Sync up with gnulib.
2485         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2486         [!_LIBC && ENABLE_NLS]: Include gettext.h.
2487         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2488         and _GL_ARG_NONNULL.
2489         [USE_UNLOCKED_IO]: Include unlocked-io.h.
2490         [!_LIBC]: Include code for Windows and Cygwin.
2491         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2492         Include prototype for int strerror_r.
2493         [!_LIBC] (is_open): New function.
2494         (flush_stdout): New function.
2495         (print_errno_message): Use it.
2496         (error): Likewise.
2497         (error_at_line): Likewise.
2498         (error_tail) Add function attribute macros.  Use
2499         __builtin_expect.
2500
2501         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2502
2503         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2504
2505         * io/ftw.c: Include sys/param.h unconditionally.
2506
2507         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2508
2509         [BZ #17125]
2510         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2511         libc_freeres_ptr.
2512         (freecache): New function to free CACHE on exit.
2513
2514         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2515         initialization.
2516
2517 2014-07-09  David S. Miller  <davem@davemloft.net>
2518
2519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2520
2521         * sysdeps/sparc/nptl/internaltypes.h: Delete.
2522         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2523         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2524         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2525         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2526         * sysdeps/sparc/nptl/sem_init.c: Likewise.
2527         * sysdeps/sparc/nptl/sem_post.c: Likewise.
2528         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2529         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2530         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2531         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2532         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2533         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2534
2535 2014-07-09  Andreas Schwab  <schwab@suse.de>
2536
2537         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2538         output.
2539         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2540         (do_test): Likewise.
2541
2542         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2543
2544 2014-07-09  Will Newton  <will.newton@linaro.org>
2545
2546         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2547         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2548         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2549         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2550         * sysdeps/hppa/start.S (_start): Likewise.
2551
2552 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
2553
2554         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2555
2556         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2557         defined.
2558
2559 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2560
2561         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2562         after checking that it is non-NULL.
2563
2564         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2565
2566 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2567
2568         * sysdeps/powerpc/memmove.c: Remove file.
2569         * sysdeps/powerpc/powerpc32/power4/memcopy.h
2570         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2571         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2572         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2573         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2574         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2575         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2576         string memmove instead of removed powerpc one.
2577
2578         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2579         [weak_alias]: Fix compiler warning due trailing data.
2580         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2581         [weak_alias]: Likewise.
2582         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2583         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2584
2585         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2586         (__libc_ifunc_impl_list): Add memmove functions.
2587
2588 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2589
2590         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2591         Remove code.
2592         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2593         Likewise
2594         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2595         Likewise
2596         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2597         Likewise
2598         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2599         Likewise
2600         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2601         Likewise
2602         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2603         Likewise
2604         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2605         Likewise
2606         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2607         Likewise
2608         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2609         Likewise
2610         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2611         Likewise
2612         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2613         Likewise
2614         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2615         Likewise
2616         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2617         Likewise
2618         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2619         Likewise
2620         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2621         Likewise
2622         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2623         Likewise
2624
2625 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2626
2627         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2628         to avoid alignment traps in non-cacheable memory.
2629         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2630
2631         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2632         multiarch objects.
2633         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2634         file: multiarch power7 memmove.
2635         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2636         multiarch default memmove.
2637         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2638         multiarch memove for powerpc32/power4.
2639
2640         * string/bcopy.c: Use full path to include memmove.c.
2641         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2642         multiarch objects.
2643         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2644         bcopy for powerpc64.
2645         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2646         bcopy for powerpc64.
2647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2648         and memmove implementations.
2649         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2650         optimized multiarch memmove for POWER7/powerpc64.
2651         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2652         default multiarch memmove for powerpc64.
2653         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2654         multiarch for powerpc64.
2655         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2656         for POWER7/powerpc64.
2657         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2658         memmove for POWER7/powerpc64.
2659
2660         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2661         glibc default one.
2662
2663         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2664         __ELF_NATIVE_CLASS equal to 64.
2665
2666 2014-07-07  Roland McGrath  <roland@hack.frob.com>
2667
2668         * sysdeps/nptl/lowlevellock.h: File removed.
2669
2670         * NEWS: NPTL is no longer an add-on!
2671         * nptl/internaltypes.h: Moved ...
2672         * sysdeps/nptl/internaltypes.h: ... here.
2673         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2674         * sysdeps/nptl/fork.c: Likewise.
2675         * sysdeps/nptl/gai_misc.h: Likewise.
2676         * sysdeps/nptl/librt-cancellation.c: Likewise.
2677         * sysdeps/nptl/jmp-unwind.c: Likewise.
2678         * sysdeps/nptl/setxid.h: Likewise.
2679         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2680         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2681         * sysdeps/unix/sysv/linux/arm/Implies: New file.
2682         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2683         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2684         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2685         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2686         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2687         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2688         * sysdeps/unix/sysv/linux/mips/Implies: New file.
2689         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2690         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2691         * sysdeps/unix/sysv/linux/sh/Implies: New file.
2692         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2693         * sysdeps/unix/sysv/linux/tile/Implies: New file.
2694         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2695         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2696         * nptl/Makeconfig: Moved ...
2697         * sysdeps/nptl/Makeconfig: ... here.
2698         * nptl/configure: File removed.
2699         * nptl/ANNOUNCE: File removed.
2700         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2701         * sysdeps/unix/sysv/linux/configure: Regenerated.
2702
2703         * nptl/Makefile (routines): Add libc_pthread_init,
2704         libc_multiple_threads, register-atfork and unregister-atfork.
2705         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2706         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2707         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2708         pthread-pi-defines.sym, structsem.sym.
2709         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2710         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2711         [$(subdir) = nptl] (tests): Add tst-setgetname.
2712         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2713         * sysdeps/unix/sysv/linux/sigaction.c: Just include
2714         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2715         [!LIBC_SIGACTION]: Remove aliases.
2716         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2717         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2718         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2719         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2720         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2721         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2722         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2723         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2724         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2725         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2726         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2727         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2728         __libc_allocate_rtsig_private.
2729         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2730         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2731         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2732         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2733         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2734         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2735         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2736         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2737         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2738         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2739         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2740         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2741         * nptl/internaltypes.h: ... here.
2742         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2743         * sysdeps/nptl/jmp-unwind.c: ... here.
2744         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2745         * nptl/libc-lowlevellock.c: ... here.
2746         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2747         * nptl/libc_multiple_threads.c: ... here.
2748         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2749         * nptl/libc_pthread_init.c: ... here.
2750         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2751         * nptl/lowlevelbarrier.sym: ... here.
2752         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2753         * nptl/lowlevelcond.sym: ... here.
2754         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2755         * nptl/lowlevellock.c: ... here.
2756         * nptl/lowlevellock.h: Moved ...
2757         * sysdeps/nptl/lowlevellock.h: ... here.
2758         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2759         * nptl/lowlevelrobustlock.c: ... here.
2760         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2761         * nptl/lowlevelrobustlock.sym: ... here.
2762         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2763         * nptl/lowlevelrwlock.sym: ... here.
2764         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2765         * nptl/pt-fork.c: ... here.
2766         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2767         * nptl/pthread-pi-defines.sym: ... here.
2768         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2769         * nptl/pthread_attr_getaffinity.c: ... here.
2770         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2771         * nptl/pthread_attr_setaffinity.c: ... here.
2772         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2773         * nptl/pthread_mutex_cond_lock.c: ... here.
2774         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2775         Update #include.
2776         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2777         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2778         * nptl/pthread_once.c: ... here, replacing old file.
2779         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2780         * nptl/pthread_yield.c: ... here.
2781         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2782         * nptl/register-atfork.c: ... here.
2783         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2784         * nptl/sem_post.c: ... here.
2785         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2786         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2787         * nptl/sem_timedwait.c: ... here.
2788         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2789         * nptl/sem_trywait.c: ... here.
2790         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2791         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2792         * nptl/sem_wait.c: ... here.
2793         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2794         * nptl/structsem.sym: ... here.
2795         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2796         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2797         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2798         * nptl/unregister-atfork.c: ... here.
2799         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2800         * nptl/unwindbuf.sym: ... here.
2801         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2802         * sysdeps/nptl/fork.c: ... here.
2803         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2804         * sysdeps/nptl/fork.h: ... here.
2805         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2806         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2807         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2808         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2809         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2810         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2811         * sysdeps/unix/sysv/linux/getpid.c: ... here.
2812         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2813         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2814         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2815         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2816         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2817         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2818         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2819         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2820         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2821         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2822         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2823         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2824         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2825         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2826         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2827         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2828         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2829         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2830         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2831         * sysdeps/unix/sysv/linux/raise.c: ... here.
2832         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2833         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2834         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2835         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2836         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2837         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2838         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2839         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2840         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2841         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2842         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2843         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2844         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2845         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2846         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2847
2848 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2849
2850         * sysdeps/generic/memcopy.h: Add comment for
2851         MEMCPY_OK_FOR_FWD_MEMMOVE.
2852
2853 2014-07-04  Will Newton  <will.newton@linaro.org>
2854
2855         * string/memchr.c: Merge from gnulib.
2856         [_LIBC]: Remove conditionals.
2857         (__ptr_t): Remove define.
2858         (LONG_MAX_32_BITS): Likewise.
2859         (LONG_MAX): Likewise.
2860         (MEMCHR): Use ANSI prototype and optimize algorithm.
2861
2862         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2863
2864 2014-07-03  Roland McGrath  <roland@hack.frob.com>
2865
2866         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2867         (lll_futex_timed_wait_bitset): Fix syscall argument count.
2868
2869         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2870         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2871         in a bare environment with no <stdlib.h> installed.
2872         * sysdeps/nptl/configure: Regenerated.
2873
2874         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2875
2876         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2877         AC_EGREP_CPP for kernel header checks, so they only succeed if
2878         including <linux/version.h> actually works right.
2879         * sysdeps/unix/sysv/linux/configure: Regenerated.
2880
2881         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2882         value so it's not diagnosed as unused.
2883
2884         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2885         thing) with "ifeq ($(subdir),rt)".
2886
2887 2014-07-03  Richard Henderson  <rth@redhat.com>
2888
2889         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2890         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2891         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2892
2893         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2894         (math_force_eval): New.
2895
2896         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2897         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2898
2899         * sysdeps/alpha/fpu/s_round.c: Remove file.
2900         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2901
2902         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2903         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2904         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2905         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2906         (_dl_start, print_statistics): Likewise.
2907         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2908         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2909
2910         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2911         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2912         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2913         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2914         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2915         (HP_SMALL_TIMING_AVAIL): Define.
2916         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2917         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2918         (HP_SMALL_TIMING_AVAIL): Define.
2919         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2920         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2921
2922         * sysdeps/aarch64/hp-timing.h: New file.
2923
2924         * sysdeps/generic/hp-timing.h: Remove dead comment.
2925         * sysdeps/generic/hp-timing-common.h: New file.
2926         * sysdeps/alpha/hp-timing.h: Include it.
2927         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2928         * sysdeps/i386/i686/hp-timing.h: Likewise.
2929         * sysdeps/ia64/hp-timing.h: Likewise.
2930         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2931         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2932         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2933         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2934         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2935         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2936         (hp_timing_t): New.
2937
2938         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2939         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2940         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2941         * elf/rtld.c (_dl_start_final): Likewise.
2942         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2943         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2944         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2945         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2946         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2947         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2948         (HP_TIMING_DIFF_INIT): Remove.
2949         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2950         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2951         (HP_TIMING_DIFF_INIT): Remove.
2952         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2953         * sysdeps/i386/i686/hp-timing.c: Remove file.
2954         * sysdeps/x86_64/hp-timing.c: Remove file.
2955         * sysdeps/ia64/hp-timing.c: Remove file.
2956         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2957         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2958         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2959         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2960
2961         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2962         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2963         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2964         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2965         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2966         (HP_TIMING_ACCUM): Remove.
2967         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2968         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2969         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2970
2971         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2972         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2973         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2974         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2975         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2976         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2977         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2978         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2979
2980         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2981
2982 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
2983
2984         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2985
2986 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2987
2988         Sync up with gettext.
2989         * intl/loadmsgcat.c: Define O_BINARY if not defined.
2990         [_MSC_VER]: Include malloc.h
2991         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2992         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2993         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2994         TEMP_FAILURE_RETRY.  Cast return of alloca.
2995         [!_LIBC] Call gl_rwlock_init.
2996         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2997
2998 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2999
3000         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3001         before checking its value.
3002
3003 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3004
3005         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3006
3007         * debug/memcpy_chk.c: Don't include pagecopy.h.
3008         * debug/mempcpy_chk.c: Likewise.
3009         * string/memcpy.c: Likewise.
3010         * string/memmove.c: Likewise.
3011         * sysdeps/powerpc/memmove.c: Likewise.
3012         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
3013         definition of PAGE_COPY_FWD_MAYBE here...
3014         * sysdeps/generic/pagecopy.h: ... from here.
3015         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3016
3017 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3018             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3019
3020         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3022         optimizations.
3023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3024         (__libc_ifunc_impl_list): Likewise.
3025         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3026         multiarch strcat for PPC64.
3027         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3028         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3029
3030 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3031
3032         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3033
3034 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3035
3036         * intl/loadmsgcat.c: Remove declaration of
3037         get_sysdep_segment_value.
3038         (get_sysdep_segment_value): Use ISO C style.
3039         (_nl_load_domain): Use ISO C style.  Get rid of redundant
3040         semicolon.  Fix typo and formatting in comment.
3041         (_nl_unload_domain): Use ISO C style.
3042
3043         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3044
3045 2014-07-02  Will Newton  <will.newton@linaro.org>
3046
3047         * malloc/obstack.c: Merge from gnulib master.
3048         [HAVE_CONFIG_H]: Remove conditional code.
3049         [!_LIBC]: Include config.h.
3050         [!ELIDE_CODE]: Don't include inttypes.h, include
3051         stdint.h unconditionally.
3052         (print_and_abort): Mark as _Noreturn.
3053         (_obstack_allocated_p): Mark as __attribute_pure__.
3054         (obstack_free): Rename to __obstack_free.
3055         [!__attribute__]: Remove conditional code.
3056         * malloc/obstack.h: Merge from gnulib master.
3057         [__cplusplus]: Move conditional down.
3058         [!__attribute_pure__]: Define __attribute_pure__ here
3059         if it is not already defined.
3060         (_obstack_memory_used): Mark as __attribute_pure__.
3061         [!__obstack_free]: Define as obstack_free.
3062         [__GNUC__]: Remove check for ancient NeXT gcc.
3063
3064 2014-07-02  Will Newton  <will.newton@linaro.org>
3065             Paul Eggert  <eggert@cs.ucla.edu>
3066
3067         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3068
3069 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3070
3071         * resolv/gethnamaddr.c: Add comment warning that the file is
3072         not maintained.
3073
3074 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
3075
3076         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3077         entries.
3078
3079         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3080         entry for aio_cancel and aio_cancel64.
3081         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3082         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3083         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3084         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3085         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3086         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3087         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3088         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3089         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3090         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3091         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3092         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3093         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3094
3095 2014-07-01  Roland McGrath  <roland@hack.frob.com>
3096
3097         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3098         * nptl/pthread_mutex_lock.c: Likewise.
3099         * nptl/pthread_mutex_timedlock.c: Likewise.
3100         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3101
3102 2014-07-01  Richard henderson  <rth@redhat.com>
3103
3104         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3105         (__isnan, __isnanl): Remove.
3106         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3107
3108         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3109
3110 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3111
3112         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3113
3114 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3115
3116         * resolv/nss_dns/dns-host.c (getanswer_r)
3117         [MULTI_PTRS_ARE_ALIASES]: Remove code.
3118
3119 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
3120
3121         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3122         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3123         undefine.
3124         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3125         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3126
3127 2014-07-01  Roland McGrath <roland@hack.frob.com>
3128
3129         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3130         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3131
3132         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3133         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3134
3135         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3136         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3137         ... here.
3138         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3139         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3140
3141         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3142         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3143         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3144         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3145
3146         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3147         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3148         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3149         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3150         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3151         Moved ...
3152         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3153         ... here.
3154         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3155         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3156         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3157         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3158         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3159         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3160         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3161         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3162         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3163         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3164         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3165         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3166         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3167         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3168         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3169         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3170         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3171         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3172         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3173         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3174         ... here.
3175         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3176         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3177         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3178         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3179         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3180         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3181         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3182         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3183
3184 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
3185
3186         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3187         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3188         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3189         Add sysdep.
3190
3191 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3192
3193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3194
3195 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3196
3197         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3198         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3199
3200         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3201
3202         * sysdeps/arm/libm-test-ulps: Regenerated.
3203
3204 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3205             Roland McGrath <roland@hack.frob.com>
3206
3207         * test-skeleton.c (signal_handler): Kill the whole process group
3208         before killing the child individually.
3209         (main): Report any failure on `setpgid'.
3210
3211 2014-06-30  Roland McGrath  <roland@hack.frob.com>
3212
3213         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3214         from _TLS_H to _ARM_NPTL_TLS_H.
3215         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3216         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3217
3218 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3219
3220         [BZ #16539]
3221         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3222         (__expm1l): Return argument unchanged when small but not
3223         subnormal.
3224
3225         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3226         include macro name.
3227         (_FP_UNPACK_RAW_1_P): Likewise.
3228         (_FP_PACK_RAW_1): Likewise.
3229         (_FP_PACK_RAW_1_P): Likewise.
3230         (_FP_MUL_MEAT_1_wide): Likewise.
3231         (_FP_MUL_MEAT_DW_1_hard): Likewise.
3232         (_FP_MUL_MEAT_1_hard): Likewise.
3233         (_FP_DIV_MEAT_1_imm): Likewise.
3234         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3235         (_FP_DIV_MEAT_1_udiv): Likewise.
3236         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3237         (_FP_UNPACK_RAW_2): Likewise.
3238         (_FP_UNPACK_RAW_2_P): Likewise.
3239         (_FP_PACK_RAW_2): Likewise.
3240         (_FP_PACK_RAW_2_P): Likewise.
3241         (_FP_MUL_MEAT_DW_2_wide): Likewise.
3242         (_FP_MUL_MEAT_2_wide): Likewise.
3243         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3244         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3245         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3246         (_FP_MUL_MEAT_2_gmp): Likewise.
3247         (_FP_DIV_MEAT_2_udiv): Likewise.
3248         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3249         (_FP_FRAC_SRL_4): Likewise.
3250         (_FP_FRAC_SRST_4): Likewise.
3251         (_FP_FRAC_SRS_4): Likewise.
3252         (_FP_UNPACK_RAW_4): Likewise.
3253         (_FP_UNPACK_RAW_4_P): Likewise.
3254         (_FP_PACK_RAW_4): Likewise.
3255         (_FP_PACK_RAW_4_P): Likewise.
3256         (_FP_MUL_MEAT_DW_4_wide): Likewise.
3257         (_FP_MUL_MEAT_4_wide): Likewise.
3258         (_FP_MUL_MEAT_4_gmp): Likewise.
3259         (umul_ppppmnnn): Likewise.
3260         (_FP_DIV_MEAT_4_udiv): Likewise.
3261         (__FP_FRAC_ADD_4): Likewise.
3262         (__FP_FRAC_SUB_3): Likewise.
3263         (__FP_FRAC_SUB_4): Likewise.
3264         (__FP_FRAC_DEC_3): Likewise.
3265         (__FP_FRAC_DEC_4): Likewise.
3266         (__FP_FRAC_ADDI_4): Likewise.
3267         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3268         (_FP_FRAC_SRL_8): Likewise.
3269         (_FP_FRAC_SRS_8): Likewise.
3270
3271         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3272         include macro name.
3273         (FP_UNPACK_RAW_EP): Likewise.
3274         (FP_PACK_RAW_E): Likewise.
3275         (FP_PACK_RAW_EP): Likewise.
3276         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3277         (_FP_ISSIGNAN): Likewise.
3278         (_FP_ADD_INTERNAL): Likewise.
3279         (_FP_FMA): Likewise.
3280         (_FP_CMP): Likewise.
3281         (_FP_SQRT): Likewise.
3282         (_FP_TO_INT): Likewise.
3283         (_FP_FROM_INT): Likewise.
3284         (FP_EXTEND): Likewise.
3285         (_FP_DIV_MEAT_N_loop): Likewise.
3286
3287 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3288
3289         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3290         throughout.
3291
3292 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
3293
3294         [BZ #17097]
3295         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3296         result with correct sign in case of exponents that produce
3297         overflow except for X very close to 1.
3298
3299 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
3300
3301         mktime: merge #if/#ifdef usage from glibc
3302         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3303         as that works with both Glibc's and Gnulib's style.
3304         See thread starting at Siddhesh Poyarekar's bug report at:
3305         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3306
3307 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3308
3309         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3310         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3311         * sysdeps/tile/tilegx/memmove.c: Remove file.
3312
3313 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3314
3315         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3316         abi-name definition.
3317         * scripts/soversions.awk: Do not handle or generate ABI lines.
3318         * shlib-versions: Remove ABI entries.
3319         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3320         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3321
3322 2014-06-27  Roland McGrath  <roland@hack.frob.com>
3323
3324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3325         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3326         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3327         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3329         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3331         Moved ...
3332         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3333         ... here.
3334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3335         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3336         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3337         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3338         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3339         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3340         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3341         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3342         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3343         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3344         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3345         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3347         Moved ...
3348         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3350         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3352         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3354         Moved ...
3355         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3356         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3357         Moved ...
3358         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3359         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3360         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3361         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3362         Moved ...
3363         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3365         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3367         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3369         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3371         Moved ...
3372         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3373         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3374         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3375         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3376         Moved ...
3377         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3378         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3379         Moved ...
3380         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3381         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3382         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3383         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3384         Moved ...
3385         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3386         ... here.
3387         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3388         Identical file removed.
3389         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3390         Moved ...
3391         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3392         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3393         Identical file removed.
3394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3395         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3396         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3397         Moved ...
3398         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3399         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3400         Identical file removed.
3401         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3402         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3403         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3404         Identical file removed.
3405         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3406         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3407         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3408         Identical file removed.
3409         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3410         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3411         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3412         Identical file removed.
3413         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3414         Moved ...
3415         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3416         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3417         Identical file removed.
3418         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3419         Moved ...
3420         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3421         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3422         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3423         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3424         Identical file removed.
3425         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3426         Moved ...
3427         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3428         ... here.
3429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3430         Identical file removed.
3431         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3432         Moved ...
3433         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3434         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3435         Identical file removed.
3436         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3437         Moved ...
3438         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3439         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3440         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3441         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3442         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3443         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3444         Moved ...
3445         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3446         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3447         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3448
3449         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3450         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3451         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3452         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3453         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3454
3455 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
3456
3457         [BZ #17092]
3458         * nscd/nscd.c (monitor_child): Return exit status of child
3459         instead of return value from wait syscall.
3460
3461 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3462
3463         * configure.ac (libc_commonpagesize): Remove variable.
3464         (libc_relro_required): Likewise.
3465         (libc_cv_z_relro): Remove configure test.
3466         * configure: Regenerated.
3467         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3468         variable.
3469         (libc_relro_required): Likewise.
3470         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3471         (libc_relro_required): Likewise.
3472         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3473         (libc_relro_required): Likewise.
3474         * sysdeps/arm/preconfigure: Regenerated.
3475         * sysdeps/ia64/preconfigure: Remove file.
3476         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3477         variable.
3478         (libc_relro_required): Likewise.
3479
3480         [BZ #16561]
3481         [BZ #16562]
3482         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3483         (__ieee754_yn): Set FE_TONEAREST mode internally and then
3484         recompute overflowing results in original rounding mode.
3485         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3486         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3487         recompute overflowing results in original rounding mode.
3488         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3489         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3490         recompute overflowing results in original rounding mode.
3491         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3492         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3493         recompute overflowing results in original rounding mode.
3494         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3495         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3496         recompute overflowing results in original rounding mode.
3497         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3498         (libc_feholdsetround_ctx): New macro.
3499         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3500         * sysdeps/i386/fpu/libm-test-ulps: Update.
3501         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3502
3503 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3504
3505         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3506         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3507         corresponding .cpsetup call.
3508
3509 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3510
3511         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3512         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3513         * sysdeps/arm/Makefile [$(subdir) = csu]
3514         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3515         (static-only-routines): Add aeabi_read_tp here.
3516         (shared-only-routines): Add libc-aeabi_read_tp here.
3517         (CFLAGS-libc-start.c): Add -fexceptions here.
3518         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3519         (sysdep_routines, static-only-routines, shared-only-routines):
3520         Don't add to these here.
3521         (CFLAGS-libc-start.c): Likewise.
3522
3523         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3524         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3525         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3526         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3527         * sysdeps/arm/Makefile [$(subdir) = rt]
3528         (librt-sysdep_routines, librt-shared-only-routines):
3529         Append rt-aeabi_unwind_cpp_pr1 here.
3530         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3531         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3532         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3533         (libpthread-sysdep_routines, libpthread-shared-only-routines):
3534         Append nptl-aeabi_unwind_cpp_pr1 here.
3535         (tests): Filter out tst-cleanupx4 here.
3536         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3537         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3538         Don't do those here.
3539
3540 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3541
3542         * scripts/list-sources.sh: Do not handle ports specially.
3543
3544 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3545
3546         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3547         * sysdeps/arm/feupdateenv.c: Likewise.
3548
3549         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3550
3551 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3552
3553         * manual/texinfo.tex: Update to version 2014-05-05.10 with
3554         trailing whitespace removed.
3555         * scripts/config.guess: Update to version 2014-03-23.
3556         * scripts/config.sub: Update to version 2014-05-01
3557         * scripts/install-sh: Update to version 2013-12-25.23.
3558         * scripts/move-if-change: Update from gnulib.
3559
3560 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3561
3562         * debug/memmove_chk.c: Remove pagecopy.h include.
3563
3564 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
3565
3566         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
3567         identical to gnulib mktime.
3568
3569 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3570
3571         * configure.ac: Do not test for machine being rs6000.  Do not test
3572         for powerpc*-*soft.
3573         * configure: Regenerated.
3574
3575         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3576         test.
3577         * configure: Regenerated.
3578         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3579         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3580         Remove configure test.
3581         * sysdeps/arm/configure: Regenerated.
3582         * sysdeps/nptl/configure.ac: Do not check
3583         libc_cv_asm_cfi_directives.
3584         * sysdeps/nptl/configure: Regenerated.
3585         * sysdeps/x86_64/nptl/configure.ac: Remove file.
3586         * sysdeps/x86_64/nptl/configure: Remove generated file.
3587         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3588         unconditional.
3589         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3590
3591 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3592
3593         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3594         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3595         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3596         it is defined.
3597
3598         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3599         instead of whether it is defined.
3600         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3601         * sysdeps/hppa/dl-machine.h: Likewise.
3602         * sysdeps/ia64/dl-machine.h: Likewise.
3603         * sysdeps/m68k/dl-machine.h: Likewise.
3604         * sysdeps/microblaze/dl-machine.h: Likewise.
3605         * sysdeps/mips/dl-machine.: Likewise.
3606         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3607         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3608         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3609         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3610         * sysdeps/sh/dl-machine.h: Likewise.
3611         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3612         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3613         * sysdeps/tile/dl-machine.h: Likewise.
3614         * sysdeps/x86_64/dl-machine.h: Likewise.
3615
3616         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3617         code.
3618         (verify_persistent_db): Likewise.
3619
3620 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3621
3622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3623         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3625         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3627         Moved ...
3628         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3629         ... here.
3630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3631         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3633         Identical file removed.
3634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3635         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3637         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3639         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3641         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3643         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3645         Moved ...
3646         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3648         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3650         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3652         Moved ...
3653         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3655         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3657         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3659         Identical file removed.
3660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3661         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3663         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3665         Moved ...
3666         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3667         ... here.
3668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3669         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3671         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3673         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3675         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3677         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3679         Moved ...
3680         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3682         Moved ...
3683         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3685         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3687         Moved ...
3688         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3690         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3691
3692         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3693         folded into ...
3694         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3695         * sysdeps/unix/sysv/linux/s390/Versions
3696         (libpthread: GLIBC_2.19): New version set.
3697         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3698         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3699         (librt: GLIBC_2.3.3): New version set.
3700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3701         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3702         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3703         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3704         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3705         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3706         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3707         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3708         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3709         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3710         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3711         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3712         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3713         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3714         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3715         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3716         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3717         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3718         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3719         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3720         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3721         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3722         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3723         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3724         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3725         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3726         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3727         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3728         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3729         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3730         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3731         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3732         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3735         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3736         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3737         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3738         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3739         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3740         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3741         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3742         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3743         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3744         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3745
3746         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3747         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3748         (__libc_vfork): Define the function under this name.
3749         [!NOT_IN_libc] (__vfork): Make this an alias.
3750         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3751         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3752         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3753         (__libc_vfork): Define the function under this name.
3754         [!NOT_IN_libc] (__vfork): Make this an alias.
3755         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3756         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3757         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3759         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3760         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3761
3762         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3763         code that was previously under [RESET_PID].
3764         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3765         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3766         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3767
3768         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3769         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3770         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3771         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3772         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3773         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3774         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3775         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3776         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3777         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3778         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3779         Moved ...
3780         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3781         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3782         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3783         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3784         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3785         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3786         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3787         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3788         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3789         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3790         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3791         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3792         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3793         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3794         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3795         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3796         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3797         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3798         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3799         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3800         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3801         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3802         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3803         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3804         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3805         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3806         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3807         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3808         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3809
3810 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3811
3812         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3813         that was previously under [RESET_PID].
3814         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3815
3816 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3817
3818         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3819         not undefine and redefine.
3820         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3821         [O_CLOEXEC]: Make code unconditional.
3822         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3823         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3824         <kernel-features.h>.
3825         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3826         conditional variable definition.
3827         (shm_open) [O_CLOEXEC]: Make code unconditional.
3828         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3829         code.
3830
3831         * configure.ac (USE_REGPARMS): Don't define here.
3832         * configure: Regenerated.
3833         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3834         * sysdeps/i386/configure: Regenerated.
3835
3836         * nptl/createthread.c: Don't include kernel-features.h.
3837         * nptl/pthread_cancel.c: Likewise.
3838         * nptl/pthread_condattr_setclock.c: Likewise.
3839         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3840         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3841         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3842         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3843         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3844         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3845         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3846         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3847         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3848         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3849         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3850         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3851         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3852         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3853         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3854         * nscd/gai.c: Likewise.
3855         * nss/nss_db/db-open.c: Likewise.
3856         * sysdeps/generic/ldsodefs.h: Likewise.
3857         * sysdeps/sh/nptl/tls.h: Likewise.
3858         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3859         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3860         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3861         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3862         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3863         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3864         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3865         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3866         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3867         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3868         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3869         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3870         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3871         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3872         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3873         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3874         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3875         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3876         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3877         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3878         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3879         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3880         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3881         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3882         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3883         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3884         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3885         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3886         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3887         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3888         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3889         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3890         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3891         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3892         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3893         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3894         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3895         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3896         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3897         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3898         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3899         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3900         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3901         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3902         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3903         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3904         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3905         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3906         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3907         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3908         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3909         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3910         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3911         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3912         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3913         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3914         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3915         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3938         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3939         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3940         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3941         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3942         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3943         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3944         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3945         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3946         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3947         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3948         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3949         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3950         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3951         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3952         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3953         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3954         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3955         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3956         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3957         * sysdeps/unix/sysv/linux/system.c: Likewise.
3958         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3959         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3960         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3961         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3962         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3963         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3964         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3965
3966         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3967         * configure: Regenerated.
3968         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3969
3970         * configure.ac (base_machine): Do not set specially for particular
3971         machines here.
3972         * configure: Regenerated.
3973         * sysdeps/powerpc/preconfigure: Move machine and base_machine
3974         settings from configure.ac.
3975         * sysdeps/i386/preconfigure: New file.
3976         * sysdeps/s390/preconfigure: Likewise.
3977         * sysdeps/sh/preconfigure: Likewise.
3978         * sysdeps/sparc/preconfigure: Likewise.
3979
3980 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3981
3982         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3983         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3984         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3985         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3986         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3987         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3988         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3989         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3990         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3991         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3992         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3993         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3994         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3995         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3996         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3997         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3998         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3999         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4000         * sysdeps/sparc/sparc64/Makefile: ... appended here.
4001
4002         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4003         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4004         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4005         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4006         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4007         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4008         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4009         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4010         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4011         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4012         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4013         * sysdeps/sparc/sparc32/sem_post.c: ... here.
4014         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4015         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4016         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4017         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4018         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4019         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4020         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4021         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4022         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4023         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4024         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4025         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4026         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4027         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4028         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4029         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4030         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4031         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4032         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4033         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4034         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4035         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4036         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4037         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4038         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4039         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4040
4041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4042         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4044         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4046         Moved ...
4047         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4048         ... here.
4049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4050         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4052         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4054         Moved ...
4055         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4057         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4059         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4061         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4063         Moved ...
4064         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4066         Moved ...
4067         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4069         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4071         Moved ...
4072         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4074         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4076         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4078         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4080         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4082         Moved ...
4083         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4084         ... here.
4085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4086         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4088         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4090         Moved ...
4091         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4093         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4095         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4097         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4099         Moved ...
4100         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4102         Moved ...
4103         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4105         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4107         Moved ...
4108         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4110         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4112         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4113
4114 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4115
4116         * timezone/checktab.awk: Update from tzcode 2014e.
4117         * timezone/private.h: Likewise.
4118         * timezone/tzfile.h: Likewise.
4119         * timezone/zdump.c: Likewise.
4120         * timezone/zic.c: Likewise.
4121
4122         * sysdeps/unix/sysv/linux/kernel-features.h
4123         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4124         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4125         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4126         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4127         Remove conditional code.
4128
4129 2014-06-25  Will Newton  <will.newton@linaro.org>
4130
4131         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4132         (_dl_arm_cap_flags): Add HWCAP2 values.
4133         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4134         (_DL_HWCAP_COUNT): Increase to 37.
4135         (_DL_HWCAP_LAST): New define.
4136         (_DL_HWCAP2_LAST): New define.
4137         (_dl_procinfo): Add support for printing
4138         AT_HWCAP2 entries.
4139         (_dl_string_hwcap): Use _dl_hwcap_string.
4140
4141 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4142
4143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4144
4145 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4146
4147         * README: Do not mention ports directory.
4148
4149         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4150         Remove macro.
4151         * sysdeps/unix/sysv/linux/futimes.c: Do not include
4152         <kernel-features.h>.
4153         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4154         conditional variable definition.
4155         (__futimes): Update comment.
4156         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4157         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4158
4159         [BZ #16560]
4160         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4161         arguments close to 0.
4162         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4163         Likewise.
4164         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4165         Likewise.
4166         * math/auto-libm-test-in: Add more tests of exp10.
4167         * math/auto-libm-test-out: Regenerated.
4168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4169
4170         * sysdeps/unix/sysv/linux/kernel-features.h
4171         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4172         * sysdeps/unix/sysv/linux/readv.c: Do not include
4173         <kernel-features.h>.
4174         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4175         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4176         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4177         unconditional.
4178         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4179         conditional code.
4180         * sysdeps/unix/sysv/linux/writev.c: Do not include
4181         <kernel-features.h>.
4182         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4183         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4184         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4185         unconditional.
4186         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4187         conditional code.
4188
4189 2014-06-25  Will Newton  <will.newton@linaro.org>
4190
4191         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4192         comment changes throughout the file.  Remove checks
4193         for HAVE_*_H definitions that are not required.
4194         (__gen_tempname): Call abort if an unknown kind value is
4195         passed.
4196
4197 2014-06-25  Andreas Schwab  <schwab@suse.de>
4198
4199         [BZ #17086]
4200         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4201         scalbln, scalblnf, scalblnl in libc.
4202
4203 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4204
4205         [BZ #17086]
4206         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4207         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4208         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4209
4210 2014-06-24  Roland McGrath  <roland@hack.frob.com>
4211
4212         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4213         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4214         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4215         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4216         Update #include.
4217         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4218         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4219         Update #include.
4220         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4221         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4222         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4223         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4224         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4225         * sysdeps/x86/bits/pthreadtypes.h: ... here.
4226         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4227         * sysdeps/x86/bits/semaphore.h: ... here.
4228         * sysdeps/x86/nptl/elide.h: Moved ...
4229         * sysdeps/x86/elide.h: ... here.
4230         * sysdeps/x86_64/nptl/Implies: File removed.
4231         * sysdeps/i386/nptl/Implies: File removed.
4232
4233 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
4234
4235         [BZ #16539]
4236         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4237         return the argument for normal arguments with exponent below -64.
4238         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4239         Likewise.
4240         * math/auto-libm-test-in: Add another test of expm1.
4241         * math/auto-libm-test-out: Regenerated.
4242
4243         [BZ #16287]
4244         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4245         calling __erfcl for arguments at least 16.
4246         * math/auto-libm-test-in: Add more tests of erf.
4247         * math/auto-libm-test-out: Regenerated.
4248
4249         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4250         individual architectures.
4251         * sysdeps/unix/sysv/linux/configure: Regenerated.
4252         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4253         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4254         * sysdeps/unix/sysv/linux/powerpc/configure.ac
4255         (ldd_rewrite_script): Define variable.
4256         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4258         file.
4259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4260         generated file.
4261         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4262         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4263         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4264         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4265         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4266         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4267         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4268         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4269
4270 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4271
4272         [BZ #17084]
4273         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4274         Rename member __data.d to __data.__elision_data.
4275
4276 2014-06-24  Wilco  <wdijkstr@arm.com>
4277
4278         * NEWS: Add 16918 to fixed bug list.
4279
4280 2014-06-24  Wilco  <wdijkstr@arm.com>
4281
4282         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4283
4284 2014-06-24  Wilco  <wdijkstr@arm.com>
4285
4286         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4287         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4288         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4289         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4290         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4291         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4292         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4293         Use _FPU_MASK_RM.
4294
4295 2014-06-24  Wilco  <wdijkstr@arm.com>
4296
4297         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4298
4299 2014-06-24  Wilco  <wdijkstr@arm.com>
4300
4301         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4302         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4303         * sysdeps/arm/fesetround.c (fesetround): Remove space.
4304         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4305
4306 2014-06-24  Wilco  <wdijkstr@arm.com>
4307
4308         [BZ #16918]
4309         * sysdeps/arm/feupdateenv.c (feupdateenv):
4310         Rewrite to reduce FPSCR accesses and fix return value.
4311
4312 2014-06-24  Wilco  <wdijkstr@arm.com>
4313
4314         * sysdeps/arm/fclrexcpt.c (feclearexcept):
4315         Optimize to avoid unnecessary FPSCR writes.
4316         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4317         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4318         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4319         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4320
4321 2014-06-24  Wilco  <wdijkstr@arm.com>
4322
4323         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4324         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4325         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4326         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4327         Call libc_fetestexcept_vfp.
4328         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4329         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4330         __SOFTFP__ ifdef so that they can be built for softfp.
4331
4332 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4333
4334         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4335         argument type signed char.
4336
4337         * Makerules (check-abi): Dump diff of symlist if the test
4338         fails.
4339
4340 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4341
4342         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4343         using abort.
4344
4345         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4346         Remove unused variable ST.
4347
4348 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
4349
4350         [BZ #16354]
4351         [BZ #17061]
4352         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4353         small arguments before calling __expm1.
4354         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4355         small arguments before calling __expm1f.
4356         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4357         small arguments before calling __expm1l.
4358         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4359         Likewise.
4360         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4361         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
4362         spurious underflow for some cosh tests.
4363         * math/auto-libm-test-out: Regenerated.
4364         * sysdeps/i386/fpu/libm-test-ulps: Update.
4365
4366         [BZ #17050]
4367         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4368         (__ieee754_y1): Set errno if return value overflows.
4369         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4370         (__ieee754_y1f): Set errno if return value overflows.
4371         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4372         (__ieee754_y1l): Set errno if return value overflows.
4373         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4374         (__ieee754_y1l): Set errno if return value overflows.
4375         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4376         * math/auto-libm-test-out: Regenerated.
4377
4378         * math/gen-auto-libm-tests.c: Document use of
4379         ignore-zero-inf-sign.
4380         (input_flag_type): Add value flag_ignore_zero_inf_sign.
4381         (input_flags): Add ignore-zero-inf-sign.
4382         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4383         * math/gen-libm-test.pl (generate_testfile): Handle
4384         ignore-zero-inf-sign.
4385         * math/auto-libm-test-in: Mark some cpow tests with
4386         ignore-zero-inf-sign and some with xfail-rounding.
4387         * math/auto-libm-test-out: Regenerated.
4388         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4389         * sysdeps/i386/fpu/libm-test-ulps: Update.
4390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4391
4392         [BZ #16315]
4393         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4394         overflowing or underflowing operations take place with sign of
4395         result.
4396         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4397         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4398         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4399         (__ieee754_pow): Recompute overflowing and underflowing results in
4400         original rounding mode.
4401         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4402         (__powl_helper): Allow negative argument X and scale negated value
4403         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
4404         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4405         overflowing or underflowing operations take place with sign of
4406         result.
4407         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4408         Include <math.h>.
4409         * math/auto-libm-test-in: Add more tests of pow.
4410         * math/auto-libm-test-out: Regenerated.
4411         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4412         (pow_tonearest_test_data): Remove.
4413         (pow_test_tonearest): Likewise.
4414         (pow_towardzero_test_data): Likewise.
4415         (pow_test_towardzero): Likewise.
4416         (pow_downward_test_data): Likewise.
4417         (pow_test_downward): Likewise.
4418         (pow_upward_test_data): Likewise.
4419         (pow_test_upward): Likewise.
4420         (main): Don't call removed functions.
4421         * sysdeps/i386/fpu/libm-test-ulps: Update.
4422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4423
4424 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4425
4426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4427         Moved ...
4428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4430         Moved ...
4431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4433         Moved ...
4434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4436         Moved ...
4437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4439         File removed.
4440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4441         File removed.
4442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4443         File removed.
4444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4445         File removed.
4446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4447         File removed.
4448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4449         File removed.
4450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4451         File removed.
4452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4453         File removed.
4454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4455         File removed.
4456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4457         File removed.
4458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4459         File removed.
4460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4461         File removed.
4462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4463         Moved ...
4464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4466         Moved ...
4467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4468         ... here.
4469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4470         Moved ...
4471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4473         Moved ...
4474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4476         Moved ...
4477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4479         Moved ...
4480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4482         Moved ...
4483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4485         Moved ...
4486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4488         Moved ...
4489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4492         ... here.
4493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4494         Moved ...
4495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4497         Moved ...
4498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4499         ... here.
4500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4501         Moved ...
4502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4503         ... here.
4504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4505         Moved ...
4506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4507         ... here.
4508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4509         Moved ...
4510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4512         Moved ...
4513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4517         Moved ...
4518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4519         ... here.
4520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4521         Moved ...
4522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4523         ... here.
4524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4525         Moved ...
4526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4528         Moved ...
4529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4531         Moved ...
4532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4534         Moved ...
4535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4537         Moved ...
4538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4539         ... here.
4540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4541         Moved ...
4542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4544         Moved ...
4545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4547         Moved ...
4548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4550         Moved ...
4551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4555         Moved ...
4556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4558         Moved ...
4559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4561         Moved ...
4562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4563         ... here.
4564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4565         Moved ...
4566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4567         ... here.
4568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4569         Moved ...
4570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4571         ... here.
4572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4573         Moved ...
4574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4576         Moved ...
4577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4579         Moved ...
4580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4582         Moved ...
4583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4584         ... here.
4585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4586         Moved ...
4587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4588         ... here.
4589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4590         Moved ...
4591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4592         ... here.
4593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4594         Moved ...
4595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4597         Moved ...
4598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4599
4600 2014-06-23  Will Newton  <will.newton@linaro.org>
4601             Wilco  <wdijkstr@arm.com>
4602
4603         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4604         implementation.  Include get-rounding-mode.h.
4605         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4606         [!libc_feholdsetround_noex_ctx]: Define
4607         libc_feholdsetround_noex_ctx.
4608         [!libc_feholdsetround_noexf_ctx]: Define
4609         libc_feholdsetround_noexf_ctx.
4610         [!libc_feholdsetround_noexl_ctx]: Define
4611         libc_feholdsetround_noexl_ctx.
4612         (libc_feholdsetround_ctx): New function.
4613         (libc_feresetround_ctx): New function.
4614         (libc_feholdsetround_noex_ctx): New function.
4615         (libc_feresetround_noex_ctx): New function.
4616
4617 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4618
4619         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4620         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4621         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4622         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4623         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4624         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4625
4626         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4627         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4628         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4629         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4630         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4631         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4632         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4633         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4634         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4635         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4636         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4637         Moved ...
4638         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4639         ... here.
4640         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4641         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4642         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4643         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4644         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4645         Moved ...
4646         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4647         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4648         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4649         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4650         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4651         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4652         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4653         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4654         Moved ...
4655         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4656         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4657         Moved ...
4658         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4660         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4661         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4662         Moved ...
4663         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4664         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4665         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4666         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4667         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4668         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4669         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4670         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4671         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4672         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4673         Moved ...
4674         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4675         ... here.
4676         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4677         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4678         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4679         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4680         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4681         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4682         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4683         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4684         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4685         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4686         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4687         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4688         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4689         Moved ...
4690         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4691         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4692         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4693         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4694         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4695         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4696         Moved ...
4697         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4698         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4699         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4700         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4701         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4702
4703         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4704         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4705         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4706         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4707         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4708         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4709         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4710         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4711         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4712         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4713         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4714         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4715         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4716         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4717         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4718         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4719         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4720         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4721         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4722         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4723         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4724         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4725         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4726         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4727         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4728         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4729         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4730         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4731
4732 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
4733
4734         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4735         (FALLOC_FL_COLLAPSE_RANGE): New macro.
4736         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4737         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4738         (IPV6_PMTUDISC_INTERFACE): Likewise.
4739         (IPV6_PMTUDISC_OMIT): Likewise.
4740
4741 2014-06-23  Andreas Schwab  <schwab@suse.de>
4742
4743         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4744         Remove unused errout label.
4745
4746 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4747
4748         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4749         macro: hardware supports Vector Crypto instructions.
4750
4751 2014-06-23  Will Newton  <will.newton@linaro.org>
4752
4753         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4754         rather than __builtin_expect.
4755
4756         * elf/dl-lookup.c (undefined_msg): Remove variable.
4757         (_dl_lookup_symbol_x): Replace undefined_msg with string
4758         literal.
4759
4760         * elf/dl-lookup.c (do_lookup_unique): New function.
4761         (do_lookup_x): Move STB_GNU_UNIQUE handling code
4762         to a separate function.
4763
4764 2014-06-23  Andreas Schwab  <schwab@suse.de>
4765
4766         [BZ #17079]
4767         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4768         before reading the next line.
4769
4770 2014-06-23  Will Newton  <will.newton@linaro.org>
4771
4772         * test-skeleton.c (signal_handler): Use printf and %m
4773         rather than perror.  Use printf rather than fprintf to
4774         stderr.  Use puts rather than fputs to stderr.
4775         (main): Likewise.
4776
4777 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
4778
4779         * nscd/nscd.c (thread_info_t): Remove typedef.
4780         (thread_info): Remove variable.
4781
4782 2014-06-21  Allan McRae  <allan@archlinux.org>
4783
4784         * NEWS: Mention CVE-2014-4043.
4785
4786 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4787
4788         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4789         * nptl/smp.h: ... here.
4790
4791         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4792
4793         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4794         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4795         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4796         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4797
4798         * nptl/allocatestack.c: Include <stack-aliasing.h>.
4799         * nptl/stack-aliasing.h: New file.
4800         * sysdeps/i386/i686/stack-aliasing.h: New file.
4801         * sysdeps/i386/i686/nptl/Makefile: File removed.
4802         * sysdeps/x86_64/stack-aliasing.h: New file.
4803         * sysdeps/x86_64/nptl/Makefile
4804         (CFLAGS-pthread_create.c): Variable removed.
4805
4806         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4807         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4808         old file.
4809         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4810         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4811         old file.
4812
4813 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
4814
4815         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4816         (__ASSUME_SIGFRAME_V2): Remove macro.
4817         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4818         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4819         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4820         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4821         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4822         Declare as function.  Remove conditional macro definitions.
4823         (__default_rt_sa_restorer): Likewise.
4824         (__default_sa_restorer_v1): Remove declaration.
4825         (__default_sa_restorer_v2): Likewise.
4826         (__default_rt_sa_restorer_v1): Likewise.
4827         (__default_rt_sa_restorer_v2): Likewise.
4828         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4829         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4830         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4831
4832 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4833
4834         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4835         (libpthread-routines): Add sysdep.
4836         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4837         * sysdeps/unix/sysv/linux/sparc/Versions
4838         (libpthread: GLIBC_2.3.3): New version set.
4839         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4840         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4841         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4842         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4843         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
4844         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4845         Moved ...
4846         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4847         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4848         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4849         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4850         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4851         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4852         * sysdeps/sparc/nptl/sem_init.c: ... here.
4853         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4854         * sysdeps/sparc/nptl/sem_post.c: ... here.
4855         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4856         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4857         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4858         * sysdeps/sparc/nptl/sem_wait.c: ... here.
4859         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4860         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4861         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4862         (libpthread-routines): Add cpu_relax.
4863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4864         File removed.
4865         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4866         (librt: GLIBC_2.3.3): New version set.
4867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4868         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4869         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4870         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4873         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4875         Moved ...
4876         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4878         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4880         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4882         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4884         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4886         Moved ...
4887         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4888         Update #include.
4889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4890         Moved ...
4891         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4892         Update #include.
4893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4894         Moved ...
4895         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4896         Update #include.
4897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4898         Moved ...
4899         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4900         Update #include.
4901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4902         Moved ...
4903         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4904         Update #include.
4905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4906         Moved ...
4907         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4908         Update #include.
4909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4910         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4912         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4914         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4916         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4918         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4920         Moved ...
4921         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4923         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4925         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4926
4927 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4928
4929         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4930         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4931         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4932         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4933         * nscd/nscd.c: Likewise.
4934         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4935         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4936         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4937         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4938
4939         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4940         <kernel-features.h>.
4941         (init_mq_netlink): Remove conditional have_sock_cloexec
4942         definitions.  Remove code conditional on have_sock_cloexec < 0.
4943         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4944         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4945         * sysdeps/unix/sysv/linux/opensock.c: Do not include
4946         <kernel-features.h>.
4947         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4948         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4949
4950 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4951
4952         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4953         Add tests for memset_chk and memset.
4954
4955         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4956         with AVX2_Usable.
4957
4958 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4959
4960         [BZ #16046]
4961         * elf/tst-dl-iter-static.c: New file.
4962         * elf/Makefile (tests-static): Add tst-dl-iter-static.
4963
4964         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4965         error.
4966
4967 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4968
4969         * sysdeps/unix/sysv/linux/kernel-features.h
4970         (__ASSUME_F_GETOWN_EX): Remove macro.
4971         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4972         <kernel-features.h>.
4973         (miss_F_GETOWN_EX): Remove variable or macro.
4974         (do_fcntl): Do not check miss_F_GETOWN_EX.
4975         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4976
4977         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4978         Remove macro.
4979         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4980         [!__ASSUME_AT_RANDOM]: Remove conditional code.
4981         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4982
4983         * sysdeps/unix/sysv/linux/kernel-features.h
4984         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4985         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4986         [ADJ_OFFSET_SS_READ]: Make code unconditional.
4987         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4988
4989 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4990
4991         [BZ #17075]
4992         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4993         Fix calculation of the symbol's value.
4994         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4995         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4996         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4997         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4998         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4999         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5000         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5001         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5002         (modules-names): Add `tst-armtlsdescmod',
5003         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5004         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5005         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5006         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5007         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5008         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5009         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5010         ($(objpfx)tst-armtlsdescloc): New dependency.
5011         ($(objpfx)tst-armtlsdescextnow): Likewise.
5012         ($(objpfx)tst-armtlsdescextlazy): Likewise.
5013         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5014         TLS scheme support.
5015         * sysdeps/arm/configure: Regenerate.
5016
5017 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5018
5019         * include/fcntl.h (__atfct_seterrno): Remove prototype.
5020         (__atfct_seterrno_2): Likewise.
5021         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5022         <kernel-features.h>.
5023         (__ASSUME_ATFCTS): Do not undefine and redefine.
5024         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5025         (__have_atfcts): Remove conditional definition.
5026         (__fxstatat([__NR_fstatat64]: Make code unconditional.
5027         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5028         unreachable if [__ASSUME_ATFCTS].
5029         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5030         not undefine and redefine.
5031         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5032         <kernel-features.h>.
5033         (faccessat) [__NR_faccessat]: Make code unconditional.
5034         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5035         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5036         <kernel-features.h>.
5037         (fchmodat) [__NR_fchmodat]: Make code unconditional.
5038         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5039         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5040         <kernel-features.h>.
5041         (fchownat) [__NR_fchownat]: Make code unconditional.
5042         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5043         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5044         <kernel-features.h>.
5045         (futimesat) [__NR_futimesat]: Make code unconditional.
5046         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5047         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5048         <kernel-features.h>.
5049         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5050         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5051         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5052         <kernel-features.h>.
5053         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5054         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5055         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5056         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5057         <kernel-features.h>.
5058         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5059         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5060         * sysdeps/unix/sysv/linux/linkat.c: Do not include
5061         <kernel-features.h>.
5062         (linkat) [__NR_linkat]: Make code unconditional.
5063         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5064         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5065         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5066         <kernel-features.h>.
5067         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5068         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5069         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5070         <kernel-features.h>.
5071         (mkdirat) [__NR_mkdirat]: Make code unconditional.
5072         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5073         * sysdeps/unix/sysv/linux/openat.c: Do not include
5074         <kernel-features.h>.
5075         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5076         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5077         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5078         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5079         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5080         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5081         <kernel-features.h>.
5082         (readlinkat) [__NR_readlinkat]: Make code unconditional.
5083         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
5084         result of INLINE_SYSCALL directly, not via int variable.
5085         * sysdeps/unix/sysv/linux/renameat.c: Do not include
5086         <kernel-features.h>.
5087         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5088         (renameat) [__NR_renameat]: Make code unconditional.
5089         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5090         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5091         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5092         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5093         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5094         (__ASSUME_ATFCTS): Do not undefine and redefine.
5095         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5096         <kernel-features.h>.
5097         (symlinkat) [__NR_symlinkat]: Make code unconditional.
5098         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5099         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5100         <kernel-features.h>.
5101         (unlinkat) [__NR_unlinkat]: Make code unconditional.
5102         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5103         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5104         (__ASSUME_ATFCTS): Do not undefine and redefine.
5105         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5106         <kernel-features.h>.
5107         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5108         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5109         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5110         <kernel-features.h>.
5111         (__xmknodat) [__NR_mknodat]: Make code unconditional.
5112         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5113
5114 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5115
5116         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5117
5118 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
5119
5120         [BZ #17069]
5121         * posix/regcomp.c (parse_reg_exp): Deallocate partially
5122         constructed tree before returning error.
5123         * posix/bug-regexp36.c: Expand test case.
5124
5125 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5126
5127         [BZ #6803]
5128         * math/libm-test.inc (scalbln_test_date):
5129         Add errno expectations.
5130         * math/w_scalblnf.c: New File.
5131         Add wrapper which checks for setting errno to ERANGE.
5132         Add weak_alias for corresponding scalbln function.
5133         * math/w_scalbln.c: Likewise.
5134         * math/w_scalblnl.c: Likewise.
5135         * math/Makefile (libm-calls): Add w_scalbln.
5136         * sysdeps/ieee754/flt-32/s_scalblnf.c:
5137         Remove weak_alias for corresponding scalbln function.
5138         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5139         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5140         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5141         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5142         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5143         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5144         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5145         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5146         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5147         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5148         Remove long_double_symbol for scalblnl function in libm, libc.
5149         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5150         Add wrapper which checks for setting errno to ERANGE.
5151         Add long_double_symbol for scalblnl function in libm, libc.
5152         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5153         Remove long_double_symbol for scalblnl in libm.
5154         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5155         Add wrapper which checks for setting errno to ERANGE.
5156         Add long_double_symbol for scalblnl function in libm.
5157         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5158         Do not use wrapper because of own implementation.
5159
5160 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
5161
5162         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5163         3 bytes for __pad1 for x32.
5164         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5165
5166 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
5167             H.J. Lu  <hongjiu.lu@intel.com>
5168
5169         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5170         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5171         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5172         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5173         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5174
5175 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
5176
5177         [BZ #17069]
5178         * posix/regcomp.c (parse_expression): Deallocate partially
5179         constructed tree before returning error.
5180         * posix/Makefile.c (tests): Add bug-regex36.
5181         (generated): Add bug-regex36.mtrace.
5182         (tests-special): Add $(objpfx)bug-regex36-mem.out
5183         (bug-regex36-ENV): New variable.
5184         ($(objpfx)bug-regex36-mem.out): New rule.
5185         * posix/bug-regex36.c: New file.
5186
5187 2014-06-19  Will Newton  <will.newton@linaro.org>
5188
5189         * malloc/malloc.c (systrim): If extra is zero then return
5190         early.
5191
5192 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5193
5194         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5195
5196 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
5197
5198         * sysdeps/aarch64/strchr.S: New file.
5199
5200 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5201
5202         [BZ #17022]
5203         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5204         from arguments -2 or below.
5205         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5206         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5207
5208 2014-06-18  Andreas Schwab  <schwab@suse.de>
5209
5210         [BZ #17062]
5211         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5212         of a bracket expr not to run off the end of the string.
5213         * posix/Makefile (tests): Add tst-fnmatch3.
5214         * posix/tst-fnmatch3.c: New file.
5215
5216 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5217
5218         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5219         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5220         [$(cross-compiling) = no]: Likewise.
5221         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5222         [$(cross-compiling) = no]: Likewise.
5223
5224 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5225
5226         [BZ #17031]
5227         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5228         double, adjusted for any remainder from the high double.
5229         * math/libm-test.inc (nearbyint): Add tests.
5230         (rint): Likewise.
5231
5232 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5233
5234         * nptl/sysdeps/powerpc/Makefile: Moved ...
5235         * sysdeps/powerpc/nptl/Makefile: ... here.
5236         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5237         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5238         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5239         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5240         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5241         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5242         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5243         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5244         * nptl/sysdeps/powerpc/tls.h: Moved ...
5245         * sysdeps/powerpc/nptl/tls.h: ... here.
5246
5247 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
5248
5249         [BZ #16681]
5250         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5251         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5252         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5253         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5254         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5255         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5256         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5257         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5258         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5259
5260 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
5261
5262         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5263
5264 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
5265
5266         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5267         defined operator.
5268
5269         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5270         $TIMEOUTFACTOR.
5271
5272 2014-06-16  Florian Weimer  <fweimer@redhat.com>
5273
5274         [BZ #17058]
5275         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5276         non-executed part of the test.
5277
5278 2014-06-16  Andreas Schwab  <schwab@suse.de>
5279
5280         * string/bits/string2.h (strdup, strndup): Update feature guard.
5281
5282 2014-06-14  David S. Miller  <davem@davemloft.net>
5283
5284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5285
5286 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
5287
5288         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5289         that was previously under [RESET_PID].
5290         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5291
5292         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5293         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5294         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5295         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5296         (__libc_vfork): New strong alias.
5297         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5298
5299 2014-06-14 Andi Kleen  <ak@linux.intel.com>
5300
5301         * sysdeps/generic/elide.h: New file.
5302
5303 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5304
5305         * Makefile (installed-headers): Adjust path of pthread.h header.
5306
5307 2014-06-13  Roland McGrath  <roland@hack.frob.com>
5308
5309         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5310         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5311         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5312         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5313
5314         * nptl/sysdeps/s390/Makefile: Moved ...
5315         * sysdeps/s390/nptl/Makefile: ... here.
5316         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5317         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5318         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5319         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5320         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5321         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5322         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5323         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5324         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5325         * sysdeps/s390/nptl/pthreaddef.h: ... here.
5326         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5327         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5328         * nptl/sysdeps/s390/tls.h: Moved ...
5329         * sysdeps/s390/nptl/tls.h: ... here.
5330
5331         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5332         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5333
5334 2014-06-13  David S. Miller  <davem@davemloft.net>
5335
5336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5339         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5343         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5344         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5345         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5346         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5347         Remove RESET_PID cpp guards.
5348         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5349         Remove RESET_PID cpp guards.
5350         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5351
5352 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
5353
5354         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5355         __sp to uintptr_t.
5356
5357 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5358
5359         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5360         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5361         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5362         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5363         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5364         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5365         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5366         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5367         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5368         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5369         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5370         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5371         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5372         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5373         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5374         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5375         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5376         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5377         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5378         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5379
5380         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5381         (pthread_rwlock_rdlock): Add elision.
5382         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5383         (pthread_rwlock_wrlock): Add elision.
5384         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5385         (pthread_rwlock_trywrlock): Add elision.
5386         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5387         (pthread_rwlock_tryrdlock): Add elision.
5388         * nptl/pthread_rwlock_unlock.c: Include elide.h.
5389         (pthread_rwlock_tryrdlock): Add elision unlock.
5390         * nptl/sysdeps/pthread/pthread.h:
5391         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5392         (PTHREAD_RWLOCK_INITIALIZER,
5393         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5394         Handle new elision field.
5395         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5396         * sysdeps/arm/nptl/bits/pthreadtypes.h
5397         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5398         * sysdeps/sh/nptl/bits/pthreadtypes.h
5399         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5400         * sysdeps/tile/nptl/bits/pthreadtypes.h
5401         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5402         * sysdeps/a/nptl/bits/pthreadtypes.h
5403         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5404         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5406         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5407         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5408         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5409         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5410         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5411         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5412         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5413         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5414         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5415         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5416         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5417         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5418         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5419         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5420         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5421         (elision_init): Set try_xbegin to zero when no RTM.
5422         * sysdeps/x86/nptl/bits/pthreadtypes.h
5423         (pthread_rwlock_t): Change __pad1 to __rwelision.
5424         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5425
5426 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5427
5428         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5429         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5430         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5431         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5432
5433 2014-06-13  Meador Inge  <meadori@codesourcery.com>
5434
5435         [BZ #16996]
5436         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5437         that the cached result has been set before returning it.
5438
5439 2014-06-12  Roland McGrath  <roland@hack.frob.com>
5440
5441         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5442         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5443         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5444         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5445         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5446         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5447
5448         * nptl/sysdeps/sparc/Makefile: Moved ...
5449         * sysdeps/sparc/nptl/Makefile: ... here.
5450         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5451         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5452         * nptl/sysdeps/sparc/tls.h: Moved ...
5453         * sysdeps/sparc/nptl/tls.h: ... here.
5454         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5455         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5456         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5457         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5458         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5459         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5460         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5461         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5462         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5463         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5464         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5465         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5466         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5467         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5468         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5469         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5470         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5471         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5472         Update #include.
5473         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5474         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5475         Update #include.
5476         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5477         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5478         Update #include.
5479         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5480         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5481         Update #include.
5482
5483         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5484
5485         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5486         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5487
5488         * sysdeps/pthread/posix-timer.h: Include <list.h>.
5489         (struct list_links): Type removed.
5490         (struct thread_node, struct timer_node): Replace struct list_links
5491         with struct list_head.
5492         (list_unlink_ip): Likewise.
5493         * sysdeps/pthread/timer_routines.c
5494         (timer_free_list, thread_free_list, thread_active_list): Likewise.
5495         (list_append, list_insbefore): Likewise.
5496         (list_init): Function removed.
5497         (thread_init, init_module): Use INIT_LIST_HEAD instead.
5498         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5499         * sysdeps/pthread/Makefile: ... here, new file.
5500
5501         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5502         * sysdeps/nptl/Implies: ... here.
5503         * sysdeps/unix/sysv/linux/Implies: Add nptl.
5504         * nptl/sysdeps/pthread/list.h: Moved ...
5505         * include/list.h: ... here.
5506         * nptl/sysdeps/pthread/createthread.c: Moved ...
5507         * nptl/createthread.c: ... here.
5508         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5509         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5510         * nptl/pt-longjmp.c: ... here.
5511         * nptl/sysdeps/pthread/Makefile: Moved ...
5512         * sysdeps/nptl/Makefile: ... here.
5513         * nptl/sysdeps/pthread/Subdirs: Moved ...
5514         * sysdeps/nptl/Subdirs: ... here.
5515         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5516         * sysdeps/nptl/aio_misc.h: ... here.
5517         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5518         * sysdeps/nptl/bits/libc-lock.h: ... here.
5519         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5520         * sysdeps/nptl/bits/libc-lockP.h: ... here.
5521         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5522         * sysdeps/nptl/bits/stdio-lock.h: ... here.
5523         * nptl/sysdeps/pthread/configure: Moved ...
5524         * sysdeps/nptl/configure: ... here.
5525         * nptl/sysdeps/pthread/configure.ac: Moved ...
5526         * sysdeps/nptl/configure.ac: ... here.
5527         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5528         * sysdeps/nptl/gai_misc.h: ... here.
5529         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5530         * sysdeps/nptl/librt-cancellation.c: ... here.
5531         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5532         * sysdeps/nptl/malloc-machine.h: ... here.
5533         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5534         * sysdeps/nptl/pthread-functions.h: ... here.
5535         * nptl/sysdeps/pthread/pthread.h: Moved ...
5536         * sysdeps/nptl/pthread.h: ... here.
5537         * nptl/sysdeps/pthread/setxid.h: Moved ...
5538         * sysdeps/nptl/setxid.h: ... here.
5539         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5540         * sysdeps/nptl/sigfillset.c: ... here.
5541         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5542         * sysdeps/nptl/tcb-offsets.h: ... here.
5543         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5544         * sysdeps/nptl/tst-mqueue8x.c: ... here.
5545         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5546         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5547         * nptl/sysdeps/pthread/allocalim.h: Moved ...
5548         * sysdeps/pthread/allocalim.h: ... here.
5549         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5550         * sysdeps/pthread/bits/sigthread.h: ... here.
5551         * nptl/sysdeps/pthread/flockfile.c: Moved ...
5552         * sysdeps/pthread/flockfile.c: ... here.
5553         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5554         * sysdeps/pthread/ftrylockfile.c: ... here.
5555         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5556         * sysdeps/pthread/funlockfile.c: ... here.
5557         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5558         * sysdeps/pthread/posix-timer.h: ... here.
5559         * nptl/sysdeps/pthread/timer_create.c: Moved ...
5560         * sysdeps/pthread/timer_create.c: ... here.
5561         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5562         * sysdeps/pthread/timer_delete.c: ... here.
5563         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5564         * sysdeps/pthread/timer_getoverr.c: ... here.
5565         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5566         * sysdeps/pthread/timer_gettime.c: ... here.
5567         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5568         * sysdeps/pthread/timer_routines.c: ... here.
5569         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5570         * sysdeps/pthread/timer_settime.c: ... here.
5571         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5572         * sysdeps/pthread/tst-timer.c: ... here.
5573         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5574         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5575
5576         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5577         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5578
5579         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5580         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5581         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5582         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5583         Update #include target.
5584         * nptl/sysdeps/i386/i686/Makefile: Moved ...
5585         * sysdeps/i386/i686/nptl/Makefile: ... here.
5586         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5587         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5588         Update #include target.
5589         * nptl/sysdeps/i386/i686/tls.h: Moved ...
5590         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
5591         * nptl/sysdeps/i386/Makefile: Moved ...
5592         * sysdeps/i386/nptl/Makefile: ... here.
5593         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5594         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5595         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5596         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5597         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5598         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5599         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5600         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5601         * sysdeps/i386/nptl/pthreaddef.h: ... here.
5602         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5603         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5604         * nptl/sysdeps/i386/tls.h: Moved ...
5605         * sysdeps/i386/nptl/tls.h: ... here.
5606
5607         * sysdeps/sh/Makefile [$(subdir) = csu]
5608         (gen-as-const-headers): Add tcb-offsets.sym.
5609         * nptl/sysdeps/sh/Makefile: File removed.
5610         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5611         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5612         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5613         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5614         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5615         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5616         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5617         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5618         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5619         * sysdeps/sh/nptl/pthreaddef.h: ... here.
5620         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5621         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5622         * nptl/sysdeps/sh/tls.h: Moved ...
5623         * sysdeps/sh/nptl/tls.h: ... here.
5624         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5625         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5626         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5627         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5628         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5629         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5630         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5631         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5632         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5633         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5634         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5635         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5636         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5637         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5638         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5639         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5640         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5641         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5642         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5643         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5644         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5645         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5646         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5647         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5648         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5649         Moved ...
5650         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5651         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5652         Moved ...
5653         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5654         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5655         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5656         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5657         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5658         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5659         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5660         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5661         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5662         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5663         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5664         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5665         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5666         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5667         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5668         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5669         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5670         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5671         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5672
5673 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5674
5675         * posix/spawn_faction_addopen.c: Include string.h.
5676
5677 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5678
5679         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5680         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5681         * nptl/sysdeps/x86_64/Makefile: Moved ...
5682         * sysdeps/x86_64/nptl/Makefile: ... here.
5683         * nptl/sysdeps/x86_64/configure: Moved ...
5684         * sysdeps/x86_64/nptl/configure: ... here.
5685         * nptl/sysdeps/x86_64/configure.ac: Moved ...
5686         * sysdeps/x86_64/nptl/configure.ac: ... here.
5687         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5688         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5689         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5690         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5691         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5692         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5693         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5694         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5695         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5696         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5697         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5698         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5699         * nptl/sysdeps/x86_64/tls.h: Moved ...
5700         * sysdeps/x86_64/nptl/tls.h: ... here.
5701         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5702         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5703         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5704         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5705
5706         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5707
5708 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5709
5710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5711
5712 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
5713
5714         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5715         type.
5716         [POSIX] (off_t): Likewise.
5717         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5718         [POSIX] (S_ISBLK): Require macro.
5719         [POSIX] (S_ISCHR): Likewise.
5720         [POSIX] (S_ISDIR): Likewise.
5721         [POSIX] (S_ISFIFO): Likewise.
5722         [POSIX] (S_ISREG): Likewise.
5723         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5724         optional-macro.
5725         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5726         type.
5727         [POSIX] (time_t): Likewise.
5728         [POSIX] (timer_t): Likewise.
5729
5730 2014-06-11  Florian Weimer  <fweimer@redhat.com>
5731
5732         [BZ #17048]
5733         * posix/spawn_int.h (struct __spawn_action): Make the path string
5734         non-const to support deallocation.
5735         * posix/spawn_faction_addopen.c
5736         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5737         * posix/spawn_faction_destroy.c
5738         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
5739         path in all spawn_do_open actions.
5740         * posix/tst-spawn.c (do_test): Exercise the copy operation in
5741         posix_spawn_file_actions_addopen.
5742
5743 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
5744
5745         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5746         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5747         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5748         conditional code always true.
5749         (__libc_vfork): New alias.
5750
5751 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5752
5753         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5754         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5755
5756         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5757
5758         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5759         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5760
5761         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5762         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5763
5764         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5765         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5766
5767 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5768
5769         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5770         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5771         multiarch strcmp for PPC64.
5772         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5773         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5774         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5775         multiarch optimizations.
5776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5777         (__libc_ifunc_impl_list): Likewise.
5778
5779 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5780
5781         * benchtests/scripts/validate_benchout.py: New script.
5782         * benchtests/Makefile (bench-func): Call it.
5783         * benchtests/scripts/benchout.schema.json: New file.
5784
5785 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
5786
5787         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5788         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5789         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5790         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5791         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5792         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5793         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5794         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5795         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5796         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5797         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5798         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5799         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5800         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5801         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5802         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
5804         Moved ...
5805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
5806         ... here.
5807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
5808         Moved ...
5809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
5811         Moved ...
5812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
5813         ... here.
5814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5815         Moved ...
5816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5817         ... here.
5818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5819         Moved ...
5820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5822         Moved ...
5823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5824         ... here.
5825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5826         Moved ...
5827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5828         ... here.
5829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5830         Moved ...
5831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5833         Moved ...
5834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5835         ... here.
5836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5837         Moved ...
5838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5839         ... here.
5840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5841         Moved ...
5842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5843         ... here.
5844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5845         Moved ...
5846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5848         Moved ...
5849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5850         ... here.
5851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5852         Moved ...
5853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5854         ... here.
5855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5856         Moved ...
5857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5858         ... here.
5859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5860         Moved ...
5861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5863         Moved ...
5864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5865         ... here.
5866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5867         Moved ...
5868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5869         ... here.
5870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5871         Moved ...
5872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5874         Moved ...
5875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5876         ... here.
5877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5878         Moved ...
5879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5881         Moved ...
5882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5884         Moved ...
5885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5886         ... here.
5887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5888         Moved ...
5889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5890         ... here.
5891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5892         Moved ...
5893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5894         ... here.
5895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5896         Moved ...
5897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5899         Moved ...
5900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5901         ... here.
5902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5903         Moved ...
5904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5905         ... here.
5906         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5907         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5908         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5909         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5910         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5911         Moved ...
5912         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5913         ... here.
5914         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5915         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5916         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5917         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5918         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5919         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5920         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5921         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5922         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5923         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5924         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5925         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5926         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5927         Moved ...
5928         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5929         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5930         Moved ...
5931         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5932         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5933         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5934         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5935         Moved ...
5936         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5937         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5938         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5939         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5940         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5941         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5942         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5943
5944 2014-06-10  Wilco  <wdijkstr@arm.com>
5945
5946         * math/test-fenv-return.c: New file.
5947         * math/Makefile: Add new test test-fenv-return.
5948
5949 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
5950
5951         [BZ #17042]
5952         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5953         when x - 1 is zero.
5954         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5955         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5956         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5957         0.0L for an argument of 1.0L.
5958         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5959         Likewise.
5960         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5961         value when x - 1 is zero.
5962         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5963         * sysdeps/i386/fpu/libm-test-ulps: Update.
5964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5965
5966 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
5967
5968         [BZ #15119]
5969         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5970
5971 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5972
5973         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5974         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5975
5976 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5977
5978         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5979         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5980
5981         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5982         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5983
5984         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5985         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5986
5987         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5988         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5989
5990         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5991         if not already defined.
5992         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5993         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5994         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5995         (TLS_INIT_TP): Use it.
5996         (TLS_DEFINE_INIT_TP): New macro.
5997         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5998
5999 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
6000
6001         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6002         constant.
6003         [POSIX] (IXANY): Likewise.
6004         [POSIX] (OLCUC): Likewise.
6005         [POSIX || POSIX2008] (CBAUD): Do not allow.
6006         [POSIX || POSIX2008] (DEFECHO): Likewise.
6007         [POSIX || POSIX2008] (ECHOCTL): Likewise.
6008         [POSIX || POSIX2008] (ECHOKE): Likewise.
6009         [POSIX || POSIX2008] (ECHOPRT): Likewise.
6010         [POSIX || POSIX2008] (EXTA): Likewise.
6011         [POSIX || POSIX2008] (EXTB): Likewise.
6012         [POSIX || POSIX2008] (FLUSHO): Likewise.
6013         [POSIX || POSIX2008] (LOBLK): Likewise.
6014         [POSIX || POSIX2008] (PENDIN): Likewise.
6015         [POSIX || POSIX2008] (SWTCH): Likewise.
6016         [POSIX || POSIX2008] (VDISCARD): Likewise.
6017         [POSIX || POSIX2008] (VDSUSP): Likewise.
6018         [POSIX || POSIX2008] (VLNEXT): Likewise.
6019         [POSIX || POSIX2008] (VREPRINT): Likewise.
6020         [POSIX || POSIX2008] (VSTATUS): Likewise.
6021         [POSIX || POSIX2008] (VWERASE): Likewise.
6022         (B*): Change to B[0123456789]*.
6023         * conform/data/time.h-data [POSIX || UNIX98]
6024         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6025         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6026         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6027         [POSIX] (tm_*): Do not allow.
6028
6029 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
6030
6031         * Makefile (install): Don't set LANGUAGE.
6032         * Makefile.in (install): Likewise.
6033         * assert/Makefile (test-assert-ENV): Remove variable.
6034         (test-assert-perr-ENV): Likewise.
6035         * elf/Makefile (neededtest4-ENV): Likewise.
6036         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6037         [$(cross-compiling) = no]: Don't set LANGUAGE.
6038         * io/ftwtest-sh (LANG): Remove variable.
6039         * libio/Makefile (tst-widetext-ENV): Likewise.
6040         * manual/install.texi (Running make install): Don't refer to
6041         environment settings for make install.
6042         * INSTALL: Regenerated.
6043         * nptl/tst-tls6.sh: Don't set LANG.
6044         * posix/globtest.sh (LANG): Remove variable.
6045         * string/Makefile (tester-ENV): Likewise.
6046         (inl-tester-ENV): Likewise.
6047         (noinl-tester-ENV): Likewise.
6048         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6049         [$(cross-compiling) = no]: Don't set LANGUAGE.
6050         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6051         without explicit environment settings.
6052
6053 2014-06-06  Roland McGrath  <roland@hack.frob.com>
6054
6055         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6056         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6057         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6058         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6059
6060 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
6061
6062         * crypt/crypt-private.h [DOS]: Add some includes taken from the
6063         other files in the crypt directory.
6064         * crypt/crypt.c: Remove duplicate includes.
6065         * crypt/crypt-entry.c: Likewise.
6066         * crypt/crypt_util.c: Likewise.
6067
6068 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
6069
6070         * Makeconfig (run-program-env): New variable.
6071         (run-program-prefix-before-env): Likewise.
6072         (run-program-prefix-after-env): Likewise.
6073         (run-program-prefix): Define in terms of new variables.
6074         (built-program-cmd-before-env): New variable.
6075         (built-program-cmd-after-env): Likewise.
6076         (built-program-cmd): Define in terms of new variables.
6077         (test-program-prefix-before-env): New variable.
6078         (test-program-prefix-after-env): Likewise.
6079         (test-program-prefix): Define in terms of new variables.
6080         (test-program-cmd-before-env): New variable.
6081         (test-program-cmd-after-env): Likewise.
6082         (test-program-cmd): Define in terms of new variables.
6083         * Rules (make-test-out): Use $(run-program-env).
6084         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6085         (help): Do not mention environment variables.  Mention
6086         --timeoutfactor option.
6087         (timeoutfactor): New variable.
6088         (blacklist_exports): Remove function.
6089         (exports): Remove variable.
6090         (command): Do not include ${exports}.
6091         * manual/install.texi (Configuring and compiling): Do not mention
6092         test wrappers preserving environment variables.  Mention that last
6093         assignment to a variable must take precedence.
6094         * INSTALL: Regenerated.
6095         * benchtests/Makefile (run-bench): Use $(run-program-env).
6096         * catgets/Makefile ($(objpfx)test1.cat): Use
6097         $(built-program-cmd-before-env), $(run-program-env) and
6098         $(built-program-cmd-after-env).
6099         ($(objpfx)test2.cat): Do not specify environment variables
6100         explicitly.
6101         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6102         $(run-program-env) and $(built-program-cmd-after-env).
6103         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6104         $(run-program-env) and $(test-program-cmd-after-env).
6105         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6106         explicitly.
6107         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6108         run_program_env and test_program_cmd_after_env arguments.
6109         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6110         * elf/tst-pathopt.sh: Use run_program_env argument.
6111         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6112         $(test-wrapper-env) and $(run-program-env).
6113         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6114         run_program_env arguments.
6115         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6116         * intl/Makefile ($(objpfx)tst-gettext.out): Use
6117         $(test-program-prefix-before-env), $(run-program-env) and
6118         $(test-program-prefix-after-env).
6119         ($(objpfx)tst-gettext2.out): Likewise.
6120         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6121         run_program_env and test_program_prefix_after_env arguments.
6122         * intl/tst-gettext2.sh: Likewise.
6123         * intl/tst-gettext4.sh: Do not set environment variables
6124         explicitly.
6125         * intl/tst-gettext6.sh: Likewise.
6126         * intl/tst-translit.sh: Likewise.
6127         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6128         $(test-program-prefix-before-env), $(run-program-env) and
6129         $(test-program-prefix-after-env).
6130         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6131         run_program_env and test_program_prefix_after_env arguments.
6132         * math/Makefile (run-regen-ulps): Use $(run-program-env).
6133         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6134         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
6135         explicitly with each use of ${test_wrapper_env}.
6136         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6137         $(test-program-prefix-before-env), $(run-program-env) and
6138         $(test-program-prefix-after-env).
6139         * posix/tst-getconf.sh: Do not set environment variables
6140         explicitly.
6141         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6142         run_program_env and test_program_prefix_after_env arguments.
6143         * stdio-common/tst-printf.sh: Do not set environment variables
6144         explicitly.
6145         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6146         $(test-program-prefix-before-env), $(run-program-env) and
6147         $(test-program-prefix-after-env).
6148         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6149         run_program_env and test_program_prefix_after_env arguments.
6150         Split $test calls into $test_pre and $test.
6151         * timezone/Makefile (build-testdata): Use
6152         $(built-program-cmd-before-env), $(run-program-env) and
6153         $(built-program-cmd-after-env).
6154
6155 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6156
6157         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6158         strlen for non SHARED builds.
6159
6160 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6161
6162         * nptl/allocatestack.c (check_list): Inlined function...
6163         (__reclaim_stacks): ... here.
6164
6165 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6166
6167         [BZ #15698]
6168         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6169         memory overrun.
6170
6171 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
6172
6173         * Rules (make-test-out): Include
6174         LOCPATH=$(common-objpfx)localedata in default environment.
6175         * debug/Makefile (tst-chk1-ENV): Remove variable.
6176         (tst-chk2-ENV): Likewise.
6177         (tst-chk3-ENV): Likewise.
6178         (tst-chk4-ENV): Likewise.
6179         (tst-chk5-ENV): Likewise.
6180         (tst-chk6-ENV): Likewise.
6181         (tst-lfschk1-ENV): Likewise.
6182         (tst-lfschk2-ENV): Likewise.
6183         (tst-lfschk3-ENV): Likewise.
6184         (tst-lfschk4-ENV): Likewise.
6185         (tst-lfschk5-ENV): Likewise.
6186         (tst-lfschk6-ENV): Likewise.
6187         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6188         (tst-iconv7-ENV): Likewise.
6189         * intl/Makefile (LOCPATH-ENV): Likewise.
6190         (tst-codeset-ENV): Likewise.
6191         (tst-gettext3-ENV): Likewise.
6192         (tst-gettext5-ENV): Likewise.
6193         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6194         (tst-fopenloc-ENV): Likewise.
6195         (tst-fgetws-ENV): Remove variable.
6196         (tst-ungetwc1-ENV): Likewise.
6197         (tst-ungetwc2-ENV): Likewise.
6198         (bug-ungetwc2-ENV): Likewise.
6199         (tst-swscanf-ENV): Likewise.
6200         (bug-ftell-ENV): Likewise.
6201         (tst-fgetwc-ENV): Likewise.
6202         (tst-fseek-ENV): Likewise.
6203         (tst-ftell-partial-wide-ENV): Likewise.
6204         (tst-ftell-active-handler-ENV): Likewise.
6205         (tst-ftell-append-ENV): Likewise.
6206         * posix/Makefile (tst-fnmatch-ENV): Likewise.
6207         (tst-regexloc-ENV): Likewise.
6208         (bug-regex1-ENV): Likewise.
6209         (tst-regex-ENV): Likewise.
6210         (tst-regex2-ENV): Likewise.
6211         (bug-regex5-ENV): Likewise.
6212         (bug-regex6-ENV): Likewise.
6213         (bug-regex17-ENV): Likewise.
6214         (bug-regex18-ENV): Likewise.
6215         (bug-regex19-ENV): Likewise.
6216         (bug-regex20-ENV): Likewise.
6217         (bug-regex22-ENV): Likewise.
6218         (bug-regex23-ENV): Likewise.
6219         (bug-regex25-ENV): Likewise.
6220         (bug-regex26-ENV): Likewise.
6221         (bug-regex30-ENV): Likewise.
6222         (bug-regex32-ENV): Likewise.
6223         (bug-regex33-ENV): Likewise.
6224         (bug-regex34-ENV): Likewise.
6225         (bug-regex35-ENV): Likewise.
6226         (tst-rxspencer-ENV): Likewise.
6227         (tst-rxspencer-no-utf8-ENV): Likewise.
6228         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6229         (tst-sscanf-ENV): Likewise.
6230         (tst-swprintf-ENV): Likewise.
6231         (tst-swscanf-ENV): Likewise.
6232         (test-vfprintf-ENV): Likewise.
6233         (scanf13-ENV): Likewise.
6234         (bug14-ENV): Likewise.
6235         (tst-grouping-ENV): Likewise.
6236         * stdlib/Makefile (tst-strtod-ENV): Likewise.
6237         (tst-strtod3-ENV): Likewise.
6238         (tst-strtod4-ENV): Likewise.
6239         (tst-strtod5-ENV): Likewise.
6240         (testmb2-ENV): Likewise./
6241         * string/Makefile (tst-strxfrm-ENV): Likewise.
6242         (tst-strxfrm2-ENV): Likewise.
6243         (bug-strcoll1-ENV): Likewise.
6244         (test-strcasecmp-ENV): Likewise.
6245         (test-strncasecmp-ENV): Likewise.
6246         * time/Makefile (tst-strptime-ENV): Likewise.
6247         (tst-ftime_l-ENV): Likewise.
6248         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6249         (tst-mbrtowc-ENV): Likewise.
6250         (tst-wcrtomb-ENV): Likewise.
6251         (tst-mbrtowc2-ENV): Likewise.
6252         (tst-c16c32-1-ENV): Likewise.
6253         (tst-mbsnrtowcs-ENV): Likewise.
6254
6255 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6256
6257         * manual/resource.texi (How to get information about the memory
6258         subsystem?): Fix typo.
6259         Reported by Peon de la Parra Ivan <peon@keba.com>
6260
6261 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
6262
6263         [BZ #16882]
6264         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6265         (pthread_spin_lock): Branch out of spin loop to proper location.
6266         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6267         (pthread_spin_lock): Likewise.
6268
6269         * nptl/tst-spin4.c: New test.
6270         * nptl/Makefile (tests): Add tst-spin4.
6271
6272 2014-06-03  Andreas Schwab  <schwab@suse.de>
6273
6274         [BZ #15946]
6275         * resolv/res_send.c (send_dg): Reload file descriptor after
6276         calling reopen.
6277
6278 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
6279
6280         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6281
6282 2014-06-03  Richard Henderson  <rth@redhat.com>
6283
6284         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6285         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6286         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6287         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
6288         in the SAVE_PID block.
6289         (__libc_vfork): New alias.
6290         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6291
6292         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6293         child in registers, not on the stack.  Remove RESET_PID conditionals.
6294         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6295
6296 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6297
6298         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6299
6300 2014-06-03  Wilco  <wdijkstr@arm.com>
6301
6302         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6303         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6304         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6305         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6306         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6307         Likewise.
6308
6309 2014-06-03  Wilco  <wdijkstr@arm.com>
6310
6311         * sysdeps/aarch64/fpu/math_private.h
6312         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6313         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6314         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6315         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6316         Fix declarations.
6317
6318 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6319
6320         * crypt/crypt-private.h: Include ufc-crypt.h.
6321         (__b64_from_24bit): Declare extern.
6322         * crypt/crypt_util.c(__b64_from_24bit): New function.
6323         (b64t): New static const variable.
6324         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6325         (b64t): Remove variable.
6326         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6327         * crypt/sha256-crypt.c: Include crypt-private.h.
6328         (b64t): Remove variable.
6329         (__sha256_crypt_r): Remove b64_from_24bit and replace
6330         with __b64_from_24bit.
6331         * crypt/sha512-crypt.c: Likewise.
6332
6333 2014-06-02  Roland McGrath  <roland@hack.frob.com>
6334
6335         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6336         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6337         Label the code __libc_vfork rather than __vfork.
6338         [!NOT_IN_libc] (vfork): Define as weak alias.
6339         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6340         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6341         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6342
6343 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6344
6345         * malloc/malloc.c (malloc_info): Fix format specifier for
6346         n_mmaps.
6347
6348 2014-06-02  Wilco  <wdijkstr@arm.com>
6349
6350         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6351         FPCR write.
6352
6353 2014-06-02  Wilco  <wdijkstr@arm.com>
6354
6355         [BZ #17009]
6356         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6357         Rewrite to reduce FPCR/FPSR accesses.
6358
6359 2014-06-01  David S. Miller  <davem@davemloft.net>
6360
6361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6362
6363 2014-05-31  David S. Miller  <davem@davemloft.net>
6364
6365         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6366         to occur in round to nearest mode when |x| >= 2.0
6367
6368 2014-05-30  Richard Henderson  <rth@twiddle.net>
6369
6370         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6371         (PSEUDO_RET_NOERRNO): Remove.
6372         (ret): Don't redefine.
6373         (ret_NOERRNO): Define in terms of ret.
6374         (ret_ERRVAL): Likewise.
6375
6376         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6377         use of PSEUDO_RET; perform the error check directly.
6378
6379 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
6380
6381         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6382         with __int128_t.
6383
6384 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6385
6386         * malloc/malloc (malloc_info): Fix formatting.
6387
6388 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6389             Roland McGrath  <roland@hack.frob.com>
6390
6391         * malloc/malloc (malloc_info): Also print mmapped statistics.
6392
6393 2014-05-30  Roland McGrath  <roland@hack.frob.com>
6394
6395         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6396         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6397
6398 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
6399
6400         * malloc/malloc.c (malloc_info): Inline mi_arena.
6401
6402 2014-05-29  Richard Henderson  <rth@twiddle.net>
6403
6404         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6405         Remove comma before expanding ASM_ARGS_##nr.
6406         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6407         Make _x0 a strict output; make _x8 a strict input; adjust expansion
6408         of ASM_ARGS_##nr.
6409         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6410         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6411         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6412         (ASM_ARGS_1): Add leading comma.
6413
6414         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6415         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6416         to __errno_location.
6417         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6418         Remove the expected plt for __errno_location.
6419
6420         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6421         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6422         call to __read_tp.
6423
6424         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6425         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
6426         it and break it down.
6427         (DOCARGS_0, DOCARGS_1): Do nothing.
6428         (DOCARGS_2): Update to store into the new stack frame.
6429         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6430         (UNDOCARGS_1): Update to restore from the new stack frame.
6431         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6432         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6433
6434         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6435         (SINGLE_THREAD_P): New parameter for result regno.
6436         (PSEUDO): Update to match; use cbz instead of beq.
6437
6438         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6439         Use ENTRY to define the _nocancel entry point.  Share the syscall
6440         and syscall error check paths with the cancel path.
6441         (PSEUDO_END): New.
6442
6443         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6444         whitespace; tabs before and after asm mnemonics.
6445
6446 2014-05-29  Eric Wong  <normalperson@yhbt.net>
6447
6448         [BZ #15132]
6449         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6450         Call fstat64 or stat64 internally, depending on arguments passed.
6451         Replace stat buffer argument with file descriptor argument.
6452         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6453         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6454         Pass fd to __internal_statvfs instead of calling fstat64.
6455         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6456         Pass fd to __internal_statvfs64 instead of calling fstat64.
6457         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6458         Pass -1 to __internal_statvfs instead of calling stat64.
6459         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6460         Pass -1 to __internal_statvfs64 instead of calling stat64.
6461
6462 2014-05-28  Roland McGrath  <roland@hack.frob.com>
6463
6464         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6465         that was previously under [RESET_PID].
6466         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6467
6468         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6469         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6470
6471 2014-05-27  Roland McGrath  <roland@hack.frob.com>
6472
6473         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6474
6475         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6476         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6477
6478 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
6479
6480         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6481
6482 2014-05-27  Andreas Schwab  <schwab@suse.de>
6483
6484         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6485         TLS_INIT_TP macro.
6486         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6487         * elf/rtld.c (init_tls, dl_main): Likewise.
6488         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6489         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6490         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6491         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6492         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6493         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6494         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6495         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6496         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6497         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6498         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6499         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6500         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6501         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6502         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6503         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6504         * sysdeps/generic/tls.h: Update description.
6505
6506 2014-05-27  Will Newton  <will.newton@linaro.org>
6507
6508         [BZ #16990]
6509         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6510         and restore r2 rather than just restoring.
6511
6512 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6513
6514         [BZ #16724]
6515         * libio/tst-ftell-append.c: New test case.
6516         * libio/Makefile (tests): Add test case.
6517         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6518         append mode.
6519         * libio/wfileops.c (do_ftell_wide): Likewise.
6520
6521 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6522
6523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6524
6525         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6526         ...
6527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6529         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6530         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6531         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6532         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6533         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6534         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6535         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6536         Moved ...
6537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6538         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6539         Moved ...
6540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6541         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6542         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6543         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6544         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6545         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6546         ...
6547         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6548         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6549         Moved ...
6550         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6551         here.
6552         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6553         ...
6554         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6555         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6556         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6557
6558         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6559         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6560         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6561         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6562
6563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6564         merge into ...
6565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6566         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6567         ...
6568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6569         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6570         ...
6571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6572         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6573         Moved ...
6574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6575         here.
6576         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6577         Moved ...
6578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6579         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6580         Moved ...
6581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6582
6583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6584         conditional [RESET_PID].
6585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6586         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6587         removed.
6588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6589         removed.
6590
6591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6592         <tcb-offsets.h>.
6593         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6594         (__libc_vfork): New strong alias.
6595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6596         removed.
6597         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6598         Removed.
6599
6600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6601         <tcb-offsets.h>.
6602         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6603         (__libc_vfork): New strong alias.
6604         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6605         removed.
6606         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6607         removed.
6608
6609 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
6610
6611         * malloc/malloc.c (mi_arena): New function.
6612         (malloc_info): Remove nested function mi_arena. Call non-nosted
6613         function mi_arena.
6614
6615 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6616
6617         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6618         by insrwi.
6619         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6620         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6621         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6622         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6623         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6624         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6625         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6626
6627 2014-05-26  Andreas Schwab  <schwab@suse.de>
6628
6629         [BZ #16984]
6630         * locale/programs/repertoire.c (repertoire_read): Add slash
6631         between I18NPATH element and file name.
6632         * locale/programs/locfile.c (locfile_read): Likewise.
6633
6634 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6635
6636         * nptl/pthread_mutexattr_settype.c
6637         (__pthread_mutexattr_settype):
6638         Disable lock elision for PTHREAD_MUTEX_NORMAL.
6639
6640 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6641
6642         * nptl/tst-mutex5 (do_test):
6643         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6644
6645 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6646
6647         * benchtests/README: Document 'init' directive.
6648         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6649         BENCH_INIT.
6650         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6651         (parse_file): Recognize 'init' directive.
6652
6653 2014-05-26  Kyle McMartin  <kyle@redhat.com>
6654
6655         [BZ #16796]
6656         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6657         alignment of struct pthread.
6658
6659 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6660
6661         [BZ #16878]
6662         * nscd/netgroupcache.c (addgetnetgrentX): Look for
6663         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6664         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6665         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6666
6667 2014-05-25  Richard Henderson  <rth@twiddle.net>
6668
6669         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6670         (SINGLE_THREAD_P_PIC): Remove.
6671         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6672         (SINGLE_THREAD_P_PIC): Remove.
6673
6674         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6675         branch to syscall error ...
6676         (PSEUDO): ... here.
6677         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6678         from __local_syscall_error to .Lsyscall_error.
6679         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6680         (SYSCALL_ERROR): Update label name.
6681
6682         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6683         Do not use DOARGS/UNDOARGS.
6684         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6685         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6686         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6687         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6688         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6689
6690         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6691         block comment.
6692
6693         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6694         define if !NOT_IN_libc.
6695         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6696         define with non-default symbol versions.
6697
6698 2014-05-23  Richard Henderson  <rth@twiddle.net>
6699
6700         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6701         (vfork, __vfork): Define via compat_symbol.
6702
6703         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6704         [!HAVE_IFUNC] (vfork_compat): Remove.
6705         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6706
6707 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
6708
6709         [BZ #16978]
6710         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6711         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6712         variable.
6713
6714 2014-05-23  Richard Henderson  <rth@twiddle.net>
6715
6716         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6717         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6718         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6719         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6720
6721         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6722         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6723         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6724         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6725         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6726         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6727         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6728         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6729         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6730         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6731         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6732         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6733         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6734         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6735         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6736         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6737         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6738         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6739         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6740         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6741         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6742         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6743         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6744         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6745         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6746         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6747         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6748         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6749         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6750         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6751         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6752         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6753         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6754         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6755         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6756         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6757         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6758         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6759         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6760         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6761         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6762         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6763         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6764         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6765         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6766         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6767         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6768         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6769         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6770         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6771         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6772         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6773         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6774         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6775         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6776         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6777
6778         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6779         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6780         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
6781         before exiting on error.
6782         (__libc_vfork): New strong alias.
6783         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6784         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6785
6786         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6787         that was previously under [RESET_PID].
6788         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6789
6790         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6791
6792 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
6793
6794         [BZ #16977]
6795         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6796         value when x - 1 is zero.
6797         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6798         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6799         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6800         0.0L for an argument of 1.0L.
6801         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6802         Likewise.
6803         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6804         value when x - 1 is zero.
6805         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6806         * sysdeps/i386/fpu/libm-test-ulps: Update.
6807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6808
6809 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6810
6811         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6812         alphasort and versionsort.
6813
6814 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6815
6816         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6817         macro.
6818         [copysignf]: Likewise.
6819
6820 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6821
6822         * crypt/md5-crypt.c: Fix formatting.
6823
6824 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6825
6826         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6827         (b64_from_24bit): New function.
6828
6829 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6830
6831         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6832         libc_hidden_builtin_def to ifunc.
6833         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6834         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6835
6836 2014-05-21  Roland McGrath  <roland@hack.frob.com>
6837
6838         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6839         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6840
6841 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
6842
6843         * nscd/Depend (linuxthreads): Remove.
6844         (nptl): Add.
6845         * resolv/Depend (linuxthreads): Remove.
6846         * rt/Depend (linuxthreads): Remove.
6847
6848         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6849         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6850         $(common-objpfx)elf/.
6851         (link-libc-before-gnulib): Likewise.
6852         (elfobjdir): Remove variable.
6853         * Makefile (install): Use $(elf-objpfx) instead of
6854         $(common-objpfx)elf/.
6855         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6856         $(elfobjdir)/.
6857         (link-libc-deps): Likewise.
6858         ($(common-objpfx)libc.so): Likewise.
6859         ($(common-objpfx)linkobj/libc.so): Likewise.
6860         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6861         instead of $(common-objpfx)elf/.
6862         (symbolic-link-list): Likewise.
6863         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6864         [$(cross-compiling) = no]: Likewise.
6865         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6866         $(elfobjdir)/.
6867         (static-gnulib-arch): Likewise.
6868         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6869         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6870         $(common-objpfx)elf/.
6871
6872 2014-05-21  Richard Henderson  <rth@redhat.com>
6873
6874         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6875         (SINGLE_THREAD_P): Use the correct width load.  Fold
6876         into the ldr offset.
6877
6878         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6879         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6880
6881 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
6882
6883         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6884         (libgcc_s_resume): Use __attribute_used__.
6885         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6886         Likewise.
6887
6888 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6889
6890         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6891         optimization when used with float constants.
6892
6893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6894
6895 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
6896
6897         [BZ #16915]
6898         * locale/nl_langinfo_l.c: Make direct reference to every
6899         _nl_current_CATEGORY symbol.
6900         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6901         (tests-static): Add tst-langinfo-static.
6902         (tests-special): Add tst-langinfo-static.out.
6903         ($(objpfx)tst-langinfo.out): Redirect output.
6904         ($(objpfx)tst-langinfo-static.out): New.
6905         * localedata/tst-langinfo.sh: Send output to stdout.
6906         * localedata/tst-langinfo-static.c: New file.
6907
6908         [BZ #16965]
6909         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6910         when the shift amount is modulo the limb size.
6911
6912 2014-05-20  Richard Henderson  <rth@redhat.com>
6913
6914         [BZ #16967]
6915         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6916         Change type of sa_flags from unsigned int to int.
6917
6918         [BZ #16966]
6919         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6920
6921         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6922
6923 2014-05-20  Will Newton  <will.newton@linaro.org>
6924
6925         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6926         Test the return value of the system call in the nocancel case.
6927
6928 2014-05-20  Will Newton  <will.newton@linaro.org>
6929             Yvan Roux  <yvan.roux@linaro.org>
6930
6931         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6932         #include of asm/ptrace.h.
6933         (PTRACE_GET_THREAD_AREA): Remove #undef.
6934         (PTRACE_GETHBPREGS): Likewise.
6935         (PTRACE_SETHBPREGS): Likewise.
6936         (struct user_regs_struct): New structure.
6937         (struct user_fpsimd_struct): New structure.
6938         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6939         #include of asm/ptrace.h and second #include of sys/user.h.
6940         (PTRACE_GET_THREAD_AREA): Remove #undef.
6941         (PTRACE_GETHBPREGS): Likewise.
6942         (PTRACE_SETHBPREGS): Likewise.
6943         (ELF_NGREG): Use new struct user_regs_struct.
6944         (elf_fpregset_t): Use new struct user_fpsimd_struct.
6945
6946 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6947
6948         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6949         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6950
6951 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
6952
6953         [BZ #16958]
6954         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6955         membar to avoid block loads/stores to overlap previous stores.
6956
6957 2014-05-17  Richard Henderson  <rth@redhat.com>
6958
6959         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6960         Create the __##syscall_name##_nocancel entry point.
6961         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6962         Remove; let the sysdep-cancel.h code create it.
6963
6964 2014-05-17  David S. Miller  <davem@davemloft.net>
6965
6966         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6967         Protect with __USE_GNU.
6968         (TIOCSET_TEMPT): Likewise.
6969         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6970         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6971         these are already provided in bits/ioctl-types.h
6972
6973 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6974
6975         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6976         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6977
6978         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6979         Use wait4 regardless of [__NR_waitpid].
6980
6981 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6982
6983         PR libgcc/60166
6984         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6985         (_FP_NANSIGN_Q): Set the quiet bit.
6986
6987 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
6988
6989         * benchtests/Makefile
6990         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6991         not $(common-objpfx)math/libm.so.
6992         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6993         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6994         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6995         $(common-objpfx)dlfcn/libdl.so.
6996         ($(objpfx)tst-audit8): Depend on $(libm), not
6997         $(common-objpfx)math/libm.so.
6998         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6999         not $(common-objpfx)dlfcn/libdl.so.
7000         * math/Makefile
7001         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7002         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
7003         [$(build-shared) = yes].
7004         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7005         $(common-objpfx)nptl/libpthread.so.
7006         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7007         $(common-objpfx)math/libm.so$(libm.so-version) or
7008         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7009         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7010         $(common-objpfx)dlfcn/libdl.so.
7011         * setjmp/Makefile (link-libm): Remove variable.
7012         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7013         * stdio-common/Makefile (link-libm): Remove variable.
7014         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7015         * stdlib/Makefile (link-libm): Remove variable.
7016         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7017         ($(objpfx)tst-strtod-round): Likewise.
7018         ($(objpfx)tst-tininess): Likewise.
7019         ($(objpfx)tst-strtod-underflow): Likewise.
7020         ($(objpfx)tst-strtod6): Likewise.
7021         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7022         $(libdl), not $(common-objpfx)nptl/libpthread.so and
7023         $(common-objpfx)dlfcn/libdl.so.
7024
7025 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7026
7027         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7028         BSD terminal modes definitions.
7029
7030 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7031
7032         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7033         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7034
7035         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7036         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7037         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7038         Don't do #include_next.
7039         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7040         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7041         Don't do #include_next.
7042         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7043         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7044         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7045         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7046
7047 2014-05-16  Allan McRae  <allan@archlinux.org>
7048
7049         * po/sv.po: Update Swedish translation from translation project.
7050
7051         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7052         in sed expression.
7053
7054 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
7055
7056         [BZ #16917]
7057         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7058         errno if the TIOCGPTN ioctl fails with an error different than
7059         EINVAL.
7060         * login/tst-ptsname.c: New file.
7061         * login/Makefile (tests): Add tst-ptsname.
7062
7063         [BZ #16943]
7064         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7065         and prlimit64.
7066
7067 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7068
7069         [BZ #16849]
7070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7071         herrno to return EAI_AGAIN.
7072
7073 2014-05-14  Roland McGrath  <roland@hack.frob.com>
7074
7075         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7076         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7077         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7078         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7079         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7080         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7081         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7082         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7083         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7084         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7085         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7086         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7087         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7088         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7089         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7090         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7091         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7092         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7093         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7094         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7095         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7096         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7097         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7098         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7099         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7100         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7101         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7102         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7103         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7104         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7106         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7108         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7110         Moved ...
7111         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7113         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7115         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7117         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7119         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7121         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7123         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7125         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7127         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7129         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7131         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7133         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7135         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7137         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7139         Moved ...
7140         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7142         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7144         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7146         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7148         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7150         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7152         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7154         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7156         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7158         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7160         Moved ...
7161         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7163         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7164
7165         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7166         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7167         (libpthread-sysdep_routines): Add elision-related stuff here instead.
7168         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7169         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7170         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7171         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7172         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7173         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7174         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7175         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7176         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7177         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7178         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7179         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7180         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7181         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7182         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7183         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7184         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7185         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7186         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7187         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7188         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7189         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7190         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7191         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7192         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7193         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7194         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7195         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7196
7197         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7198         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7199
7200         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7201         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7202         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7203         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7204         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7205         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7206         Moved ...
7207         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7208         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7209         Moved ...
7210         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7211         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7212         Moved ...
7213         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7214         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7215         Moved ...
7216         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7217         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7218         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7219         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7220         Moved ...
7221         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7222         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7223         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7224         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7225         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7226         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7227         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7228         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7229         Moved ...
7230         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7231         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7232         Moved ...
7233         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7234         ... here.
7235         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7236         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7237         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7238         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7239         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7240         Moved ...
7241         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7242         ... here.
7243         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7244         Moved ...
7245         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7246         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7247         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7248         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7249         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7250         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7251         Moved ...
7252         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7253         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7254         Moved ...
7255         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7256         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7257         Moved ...
7258         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7259         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7260         Moved ...
7261         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7262         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7263         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7264         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7265         Moved ...
7266         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7267         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7268         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7269         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7270         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7271         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7272         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7273         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7274         Moved ...
7275         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7276         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7277         Moved ...
7278         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7279         ... here.
7280         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7281         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7282         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7283         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7284         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7285         Moved ...
7286         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7287         ... here.
7288         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7289         Moved ...
7290         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7291         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7292         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7293         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7294         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7295         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7296         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7297         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7298         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7299         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7300         Moved ...
7301         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7302         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7303         Moved ...
7304         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7305         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7306         Moved ...
7307         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7308         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7309         Moved ...
7310         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7311         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7312         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7313         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7314         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7315         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7316         Moved ...
7317         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7318         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7319         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7320         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7321         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7322         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7323         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7324         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7325         Moved ...
7326         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7327         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7328         Moved ...
7329         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7330         ... here.
7331         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7332         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7333         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7334         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7335         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7336         Moved ...
7337         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7338         ... here.
7339         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7340         Moved ...
7341         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7342         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7343         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7344         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7345         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7346         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7347         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7348         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7349         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7350         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7351         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7352
7353         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7354         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7355
7356         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7357         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7358
7359         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7360         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7361         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7362         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7363         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7364         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7365         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7366         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7367         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7368         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7369         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7370         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7371         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7372         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7373         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7374         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7375         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7376         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7377         Moved ...
7378         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7379         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7380         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7381         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7382         Moved ...
7383         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7384         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7385         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7386         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7387         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7388         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7389         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7390         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7391         Moved ...
7392         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7394         Moved ...
7395         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7396         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7397         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7399         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7400         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7401         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7402         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7403         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7404         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7405         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7406         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7407         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7408         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7409         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7410         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7411         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7412
7413         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7414         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7415         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7416         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7417         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7418
7419         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7420         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7421         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7422         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7423         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7424         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7425         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7426         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7427         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7428         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7429
7430         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7431         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7432
7433         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7434         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7435         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7436         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7437         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7438         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7439         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7440         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7441         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7442         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7443         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7444         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7445         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7446         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7448         Update #include.
7449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7450         Likewise.
7451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7452         Likewise.
7453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7454         Likewise.
7455         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7456         Likewise.
7457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7458         Likewise.
7459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7460         Likewise.
7461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7462         Likewise.
7463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7464         Likewise.
7465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7466         Likewise.
7467         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7468         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7470         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7471         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7472         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7473         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7474         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7475         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7476         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7477         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7478         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7479         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7480         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
7481         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
7482
7483         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7484         that was previously under [RESET_PID].
7485         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7486         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7487         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7488
7489         * sysdeps/i386/nptl/Implies: New file.
7490         * sysdeps/x86_64/nptl/Implies: New file.
7491         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7492         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7493         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7494         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7495
7496         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7497         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7498         (__libc_vfork): New strong alias.
7499         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7500         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7501
7502         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7503         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7504         (__libc_vfork): New strong alias.
7505         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7506         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7507
7508         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7509         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7510         (__libc_vfork): New strong alias.
7511         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7512         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7513         * nptl/pt-vfork.c: New file.
7514         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7515         (libpthread: GLIBC_2.20): New version set (empty).
7516
7517 2014-05-14  Will Newton  <will.newton@linaro.org>
7518
7519         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7520         rather than #if.
7521
7522 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7523
7524         [BZ #16564]
7525         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7526         arguments with exponent 65 or above.
7527         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7528         arguments 0x1p113L or above.
7529         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7530         to arguments 0x1p107L or above.
7531         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7532         positive arguments with exponent 65 or above.
7533         * math/auto-libm-test-in: Add more tests of log1p.
7534         * math/auto-libm-test-out: Regenerated.
7535
7536         [BZ #16928]
7537         * math/s_cacos.c (__cacos): Ensure zero real part of result from
7538         non-finite arguments is +0.
7539         * math/s_cacosf.c (__cacosf): Likewise.
7540         * math/s_cacosl.c (__cacosl): Likewise.
7541         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7542         * sysdeps/i386/fpu/libm-test-ulps: Update.
7543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7544
7545         [BZ #16927]
7546         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7547         value.
7548         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7549         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7550         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7551         for explicit high bit of mantissa when testing for argument equal
7552         to 1.
7553         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7554         * sysdeps/i386/fpu/libm-test-ulps: Update.
7555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7556
7557         [BZ #16516]
7558         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7559         (__erf): Scale by 16 instead of 8 in potentially underflowing
7560         case.  Ensure exception if result actually underflows.
7561         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7562         (__erff): Scale by 16 instead of 8 in potentially underflowing
7563         case.  Ensure exception if result actually underflows.
7564         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7565         (efx8): Remove variable.
7566         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7567         case.  Ensure exception if result actually underflows.
7568         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7569         (efx8): Remove variable.
7570         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7571         case.  Ensure exception if result actually underflows.
7572         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7573         (efx8): Remove variable.
7574         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7575         case.  Ensure exception if result actually underflows.
7576         * math/auto-libm-test-in: Add more tests of erf.
7577         * math/auto-libm-test-out: Regenerated.
7578
7579 2014-05-14  Andreas Schwab  <schwab@suse.de>
7580
7581         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7582         Remove code conditionalized on USE___THREAD.
7583
7584         * config.h.in (HAVE_PT_CHOWN): Define as 0.
7585         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7586         not definedness.
7587
7588 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7589
7590         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7591         Define unconditionally.
7592         (__ASSUME_O_CLOEXEC): Likewise.
7593         (__ASSUME_SOCK_CLOEXEC): Likewise.
7594         (__ASSUME_IN_NONBLOCK): Likewise.
7595         (__ASSUME_PIPE2): Likewise.
7596         (__ASSUME_EVENTFD2): Likewise.
7597         (__ASSUME_SIGNALFD4): Likewise.
7598         (__ASSUME_DUP3): Likewise.
7599         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7600         (__ASSUME_DUP3): Do not define.
7601         (__ASSUME_EVENTFD2): Likewise.
7602         (__ASSUME_IN_NONBLOCK): Likewise.
7603         (__ASSUME_O_CLOEXEC): Likewise.
7604         (__ASSUME_PIPE2): Likewise.
7605         (__ASSUME_SIGNALFD4): Likewise.
7606         (__ASSUME_SOCK_CLOEXEC): Likewise.
7607         (__ASSUME_UTIMES): Undefine.
7608         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7609         (__ASSUME_UTIMES): Do not define.
7610         (__ASSUME_O_CLOEXEC): Likewise.
7611         (__ASSUME_SOCK_CLOEXEC): Likewise.
7612         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7613         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7614         0x020621].
7615         (__ASSUME_PIPE2): Likewise.
7616         (__ASSUME_EVENTFD2): Likewise.
7617         (__ASSUME_SIGNALFD4): Likewise.
7618         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7619         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7620         Do not define.
7621         (__ASSUME_EVENTFD2): Likewise.
7622         (__ASSUME_SIGNALFD4): Likewise.
7623         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7624         (__ASSUME_32BITUIDS): Likewise.
7625         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7626         (__ASSUME_IPC64): Likewise.
7627         (__ASSUME_ST_INO_64_BIT): Likewise.
7628         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7629         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7630         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7631         (__ASSUME_UTIMES): Do not define.
7632         (__ASSUME_PSELECT): Likewise.
7633         (__ASSUME_PPOLL): Likewise.
7634         (__ASSUME_O_CLOEXEC): Likewise.
7635         (__ASSUME_SOCK_CLOEXEC): Likewise.
7636         (__ASSUME_IN_NONBLOCK): Likewise.
7637         (__ASSUME_PIPE2): Likewise.
7638         (__ASSUME_EVENTFD2): Likewise.
7639         (__ASSUME_SIGNALFD4): Likewise.
7640         (__ASSUME_DUP3): Likewise.
7641         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7642         (__ASSUME_UTIMES): Likewise.
7643         (__ASSUME_O_CLOEXEC): Likewise.
7644         (__ASSUME_SOCK_CLOEXEC): Likewise.
7645         (__ASSUME_IN_NONBLOCK): Likewise.
7646         (__ASSUME_PIPE2): Likewise.
7647         (__ASSUME_EVENTFD2): Likewise.
7648         (__ASSUME_SIGNALFD4): Likewise.
7649         (__ASSUME_DUP3): Likewise.
7650         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7651         (__ASSUME_UTIMES): Likewise.
7652         (__ASSUME_O_CLOEXEC): Likewise.
7653         (__ASSUME_SOCK_CLOEXEC): Likewise.
7654         (__ASSUME_IN_NONBLOCK): Likewise.
7655         (__ASSUME_PIPE2): Likewise.
7656         (__ASSUME_EVENTFD2): Likewise.
7657         (__ASSUME_SIGNALFD4): Likewise.
7658         (__ASSUME_DUP3): Likewise.
7659         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7660         Likewise.
7661         (__ASSUME_UTIMES): Likewise.
7662         (__ASSUME_EVENTFD2): Likewise.
7663         (__ASSUME_SIGNALFD4): Likewise.
7664         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7665         (__ASSUME_O_CLOEXEC): Likewise.
7666         (__ASSUME_SOCK_CLOEXEC): Likewise.
7667         (__ASSUME_IN_NONBLOCK): Likewise.
7668         (__ASSUME_PIPE2): Likewise.
7669         (__ASSUME_EVENTFD2): Likewise.
7670         (__ASSUME_SIGNALFD4): Likewise.
7671         (__ASSUME_DUP3): Likewise.
7672         (__ASSUME_UTIMES): Undefine.
7673
7674         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7675         feclearexcept.  Remove symbol versioning code.
7676         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
7677         symbol versioning code.
7678         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
7679         symbol versioning code.
7680         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7681         feupdateenv.  Remove symbol versioning code.
7682         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7683         fegetexceptflag.  Remove symbol versioning code.
7684         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7685         fesetexceptflag.  Remove symbol versioning code.
7686         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7687         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
7688         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7689         (__posix_fadvise64_l32): Remove prototype.
7690         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7691         code.
7692
7693 2014-05-13  Roland McGrath  <roland@hack.frob.com>
7694
7695         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7696         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7697         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7698         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7699
7700 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
7701
7702         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7703         current working directory
7704
7705 2014-05-13  Roland McGrath  <roland@hack.frob.com>
7706
7707         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7708         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7709         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7710         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7711         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7712         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7713         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7714         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7715         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7716         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7717         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7718         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7719         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7720         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7721         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7722         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7723         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7724         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7725         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7726         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7727         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7728         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7729         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7730         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7731         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7732         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7733         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7734         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7735         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7736         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7737         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7738         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7739         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7740         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7741         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7742         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7743         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7744         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7745         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7746         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7747         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7748         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7749
7750         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7751         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7752
7753         * sysdeps/unix/sysv/linux/arm/Makefile
7754         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7755         Add rt-aeabi_unwind_cpp_pr1.
7756         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7757         Add nptl-aeabi_unwind_cpp_pr1.
7758         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7759         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7760         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7761         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7762         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7763         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7764
7765         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7766         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7767         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7768         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7769
7770         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7771         Deconditionalize the code that was previously under [RESET_PID].
7772         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7773
7774         * sysdeps/generic/exit-thread.h: New file.
7775         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7776         * include/unistd.h (__exit_thread): Remove declaration.
7777         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7778         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7779         * csu/libc-start.c: Include <exit-thread.h>.
7780         (LIBC_START_MAIN): Pass no argument to __exit_thread.
7781         * nptl/pthread_create.c: Include <exit-thread.h>.
7782         (start_thread): Call __exit_thread in place of __exit_thread_inline.
7783         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7784         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7785         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7786         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7787         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7788         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7789         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7790         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7791         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7792         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7793         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7794         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7795         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7796         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7797         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7798         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7799
7800 2014-05-13  Andreas Schwab  <schwab@suse.de>
7801
7802         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7803
7804 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
7805
7806         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7807         (__ASSUME_UTIMES): Do not condition on kernel version.
7808         (__ASSUME_PSELECT): Define unconditionally.
7809         (__ASSUME_PPOLL): Likewise.
7810         (__ASSUME_ATFCTS): Likewise.
7811         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7812         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7813         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7814         (__ASSUME_UTIMENSAT): Define unconditionally.
7815         (__ASSUME_PRIVATE_FUTEX): Likewise.
7816         (__ASSUME_FALLOCATE): Likewise.
7817         (__ASSUME_O_CLOEXEC): Likewise.
7818         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7819         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7820         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7821         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7822         (__ASSUME_IN_NONBLOCK): Likewise.
7823         (__ASSUME_PIPE2): Likewise.
7824         (__ASSUME_EVENTFD2): Likewise.
7825         (__ASSUME_SIGNALFD4): Likewise.
7826         (__ASSUME_DUP3): Likewise.
7827         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7828         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7829         (__ASSUME_AT_RANDOM): Likewise.
7830         (__ASSUME_PREADV): Likewise.
7831         (__ASSUME_PWRITEV): Likewise.
7832         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7833         (__ASSUME_F_GETOWN_EX): Define unconditionally.
7834         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7835         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7836         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7837         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7838         (__ASSUME_O_CLOEXEC): Define unconditionally.
7839         (__ASSUME_PSELECT): Do not undefine conditionally.
7840         (__ASSUME_PPOLL): Likewise.
7841         (__ASSUME_ATFCTS): Likewise.
7842         (__ASSUME_SET_ROBUST_LIST): Likewise.
7843         (__ASSUME_UTIMENSAT): Likewise.
7844         (__ASSUME_FDATASYNC): Define unconditionally.
7845         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7846         (__ASSUME_SIGFRAME_V2): Likewise.
7847         )__ASSUME_EVENTFD2): Likewise.
7848         (__ASSUME_SIGNALFD4): Likewise.
7849         (__ASSUME_PSELECT): Do not undefine conditionally.
7850         (__ASSUME_PPOLL): Likewise.
7851         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7852         (__ASSUME_PSELECT): Define unconditionally.
7853         (__ASSUME_PPOLL): Likewise.
7854         (__ASSUME_O_CLOEXEC): Likewise.
7855         (__ASSUME_SOCK_CLOEXEC): Likewise.
7856         (__ASSUME_IN_NONBLOCK): Likewise.
7857         (__ASSUME_PIPE2): Likewise.
7858         (__ASSUME_EVENTFD2): Likewise.
7859         (__ASSUME_SIGNALFD4): Likewise.
7860         (__ASSUME_DUP3): Likewise.
7861         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7862         (__ASSUME_O_CLOEXEC): Likewise.
7863         (__ASSUME_SOCK_CLOEXEC): Likewise.
7864         (__ASSUME_IN_NONBLOCK): Likewise.
7865         (__ASSUME_PIPE2): Likewise.
7866         (__ASSUME_EVENTFD2): Likewise.
7867         (__ASSUME_SIGNALFD4): Likewise.
7868         (__ASSUME_DUP3): Likewise.
7869         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7870         (__ASSUME_EVENTFD2): Likewise.
7871         (__ASSUME_SIGNALFD4): Likewise.
7872         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7873
7874 2014-05-12  Andreas Schwab  <schwab@suse.de>
7875
7876         [BZ #16932]
7877         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7878         (_nss_nis_gethostbyname4_r): Return error if item length is larger
7879         than maximum RPC packet size.
7880         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7881         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7882         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7883         (_nss_nis_getservbyport_r): Likewise.
7884
7885 2014-05-12  Will Newton  <will.newton@linaro.org>
7886
7887         * malloc/Makefile (tests): Add tst-mallopt.
7888         * malloc/tst-mallopt.c: New file.
7889
7890 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7891
7892         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7893         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7894
7895 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7896
7897         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7898         (tst-tlsmod6.so): Likewise.
7899
7900 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7901
7902         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7903
7904 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
7905
7906         [BZ #16064]
7907         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7908         and <dl-procinfo.h>.
7909         (__fegetenv): Save SSE state in envp->__eip if supported.
7910         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7911         envp->__eip if supported.
7912         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7913         and <dl-procinfo.h>.
7914         (__fesetenv): Always set __eip, __cs_selector, __opcode,
7915         __data_offset and __data_selector in environment to 0.  Set SSE
7916         state if supported.
7917         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7918         test-fenv-sse.
7919         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7920         -mfpmath=sse.
7921         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7922
7923 2014-05-09  Will Newton  <will.newton@linaro.org>
7924
7925         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7926         and libc_relro_required for ARM.
7927         * sysdeps/arm/preconfigure: Regenerate.
7928
7929 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7930             Stefan Liebler  <stli@linux.vnet.ibm.com>
7931
7932         * config.make.in (enable-lock-elision): New Makefile variable.
7933         * configure.ac: Likewise.
7934         * configure: Regenerate.
7935         * sysdeps/s390/configure.ac:
7936         Add check for gcc transactions support.
7937         * sysdeps/s390/configure: Regenerate.
7938         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7939         Build elision files if enabled.
7940         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7941         Add lock elision support for s390.
7942         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7943         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7944         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7945         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7946         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7947         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7948         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7949         Likewise.
7950         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7951         Likewise.
7952         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7953         Likewise.
7954         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7955         Likewise.
7956         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7957         (__lll_timedlock_elision, __lll_lock_elision)
7958         (__lll_unlock_elision, __lll_trylock_elision)
7959         (lll_timedlock_elision, lll_lock_elision)
7960         (lll_unlock_elision, lll_trylock_elision): Add.
7961         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7962         (pthread_mutex_t): Add lock elision support for s390.
7963
7964 2014-05-14  Wilco  <wdijkstr@arm.com>
7965
7966         * sysdeps/arm/fclrexcpt.c: Cleanup.
7967         * sysdeps/arm/fedisblxcpt.c: Cleanup.
7968         * sysdeps/arm/feenablxcpt.c: Cleanup.
7969         * sysdeps/arm/fegetenv.c: Cleanup.
7970         * sysdeps/arm/fegetexcept.c: Cleanup.
7971         * sysdeps/arm/fegetround.c: Cleanup.
7972         * sysdeps/arm/feholdexcpt.c: Cleanup.
7973         * sysdeps/arm/fesetenv.c: Cleanup.
7974         * sysdeps/arm/fesetround.c: Cleanup.
7975         * sysdeps/arm/feupdateenv.c: Cleanup.
7976         * sysdeps/arm/fgetexcptflg.c: Cleanup.
7977         * sysdeps/arm/fraiseexcpt.c: Cleanup.
7978         * sysdeps/arm/fsetexcptflg.c: Cleanup.
7979         * sysdeps/arm/ftestexcept.c: Cleanup.
7980         * sysdeps/arm/get-rounding-mode.h: Cleanup.
7981         * sysdeps/arm/setfpucw.c: Cleanup.
7982
7983 2014-05-09  Will Newton  <will.newton@linaro.org>
7984
7985         * sysdeps/arm/armv7/strcmp.S: New file.
7986         * NEWS: Mention addition of ARMv7 optimized strcmp.
7987
7988 2014-05-08  Roland McGrath  <roland@hack.frob.com>
7989
7990         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7991         look for %.ac rather than %.in.
7992
7993         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7994         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7995         * sysdeps/mach/hurd/configure: Regenerated.
7996         * sysdeps/unix/sysv/linux/configure: Regenerated.
7997
7998         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7999
8000 2014-05-07  Steve Ellcey  <sellcey@mips.com>
8001
8002         [BZ# 16922]
8003         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8004         (LONG_SUB): Ditto.
8005         (PTR_SUB): Ditto.
8006
8007 2014-05-07  Andreas Schwab  <schwab@suse.de>
8008
8009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8010         when skipping over non-matching result from nscd.
8011
8012 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
8013
8014         [BZ #16876]
8015         * nptl/sockperf.c (client): Check socket return value.
8016
8017         [BZ #16877]
8018         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8019         nscd security class.
8020
8021 2014-05-06  Roland McGrath  <roland@hack.frob.com>
8022
8023         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8024         * sysdeps/arm/unwind.h: ... here.
8025
8026 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
8027
8028         [BZ# 16916]
8029         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8030         Define.
8031
8032 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8033
8034         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8035         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8036         multiarch strncpy for PPC64.
8037         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8038         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8040         multiarch optimizations.
8041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8042         (__libc_ifunc_impl_list): Likewise.
8043         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8044         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8045         multiarch stpncpy for PPC64.
8046         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8047         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8048
8049 2014-05-06  Andreas Schwab  <schwab@suse.de>
8050
8051         [BZ #16912]
8052         * gmon/mcount.c (_MCOUNT_DECL): Use
8053         atomic_compare_and_exchange_bool_acq instead of
8054         catomic_compare_and_exchange_bool_acq.
8055
8056 2014-05-05  Roland McGrath  <roland@hack.frob.com>
8057
8058         * elf/Makefile (others, install-bin): Remove pldd.
8059         (pldd-modules): Variable removed.
8060         ($(objpfx)pldd): Target removed.
8061         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8062         (others, install-bin): Append pldd here.
8063         ($(objpfx)pldd): New target.
8064
8065         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8066         to 0, so the first #if test emitted later doesn't see it undefined.
8067         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8068         * sysdeps/gnu/errlist.c: Regenerated.
8069
8070 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8071
8072         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8073         [libc_hidden_builtin_def]: Define to empty value.
8074         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8075         [libc_hidden_builtin_def]: Likewise.
8076         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8077         [libc_hidden_builtin_def]: Likewise.
8078         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8079         [libc_hidden_builtin_def]: Likewise.
8080         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8081         __redirect_memcpy and define ifunc as default hidden symbol.
8082         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8083         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8084
8085 2014-05-04  Adam Conrad  <adconrad@0c3.net>
8086
8087         * locale/iso-4217.def: Reintroduce XDR currency.
8088
8089 2014-05-04  Allan McRae  <allan@archlinux.org>
8090
8091         * po/eo.po: Update Esperanto translation from translation project.
8092
8093 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
8094
8095         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8096         and FEATURE_INDEX_MAX to 1.
8097         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8098
8099 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8100
8101         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8102         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8103         * iconvdata/big5.c (ONE_DIRECTION): Define.
8104         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8105         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8106         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8107         * iconvdata/cp932.c (ONE_DIRECTION): Define.
8108         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8109         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8110         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8111         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8112         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8113         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8114         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8115         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8116         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8117         * iconvdata/gbk.c (ONE_DIRECTION): Define.
8118         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8119         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8120         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8121         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8122         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8123         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8124         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8125         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8126         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8127         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8128         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8129         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8130         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8131         * iconvdata/iso646.c (ONE_DIRECTION): Define.
8132         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8133         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8134         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8135         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8136         * iconvdata/johab.c (ONE_DIRECTION): Define.
8137         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8138         * iconvdata/sjis.c (ONE_DIRECTION): Define.
8139         * iconvdata/t.61.c (ONE_DIRECTION): Define.
8140         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8141         * iconvdata/tscii.c (ONE_DIRECTION): Define.
8142         * iconvdata/uhc.c (ONE_DIRECTION): Define.
8143         * iconvdata/unicode.c (ONE_DIRECTION): Define.
8144         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8145         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8146         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8147
8148 2014-05-01  Roland McGrath  <roland@hack.frob.com>
8149
8150         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8151         (_IO_JUMPS_OFFSET): Define to 0.
8152
8153         * nptl/sysdeps/pthread/bits/libc-lock.h
8154         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8155         (__libc_lock_define_initialized_recursive): Always define using
8156         initializer.  Modern compilers treat uninitialized (implicit zero) and
8157         explicit zero initializers the same (i.e. put the datum in bss).
8158
8159 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8160
8161         * nscd/nscd-client.h: Include <string.h>.
8162
8163 2014-05-01  David S. Miller  <davem@davemloft.net>
8164
8165         [BZ #16885]
8166         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8167         multiple zero bytes exist at the end of a string.
8168         Reported by Aurelien Jarno <aurelien@aurel32.net>
8169
8170         * string/test-strcmp.c (check): Add explicit test for situations where
8171         there are multiple zero bytes after the first.
8172
8173 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8174
8175         [BZ #16890]
8176         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8177         when compiling wprintf.
8178         * stdio-common/tstdiomisc.c (t3): New function.
8179         (main): Call it.
8180
8181 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8182
8183         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8184         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8185         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8186         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8187
8188 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8189
8190         * stdlib/longlong.h: Updated from GCC.
8191
8192 2014-05-01  Will Newton  <will.newton@linaro.org>
8193             Bernard Ogden  <bernie.ogden@linaro.org>
8194
8195         * NEWS: Update fixed bug list.
8196
8197         [BZ #15119]
8198         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8199
8200 2014-04-30  David S. Miller  <davem@davemloft.net>
8201
8202         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8203         (libc_feholdexcept_setround_sparc_ctx): New function.
8204         (libc_fesetenv_sparc_ctx): Likewise.
8205         (libc_feupdateenv_sparc_ctx): Likewise.
8206         (libc_feholdsetround_sparc_ctx): Likewise.
8207         (libc_feholdexcept_setround_ctx): Define.
8208         (libc_feholdexcept_setroundf_ctx): Likewise.
8209         (libc_feholdexcept_setroundl_ctx): Likewise.
8210         (libc_fesetenv_ctx): Likewise.
8211         (libc_fesetenvf_ctx): Likewise.
8212         (libc_fesetenvl_ctx): Likewise.
8213         (libc_feupdateenv_ctx): Likewise.
8214         (libc_feupdateenvf_ctx): Likewise.
8215         (libc_feupdateenvl_ctx): Likewise.
8216         (libc_feresetround_ctx): Likewise.
8217         (libc_feresetroundf_ctx): Likewise.
8218         (libc_feresetroundl_ctx): Likewise.
8219         (libc_feholdsetround_ctx): Likewise.
8220         (libc_feholdsetroundf_ctx): Likewise.
8221         (libc_feholdsetroundl_ctx): Likewise.
8222
8223         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8224         with __USE_GNU instead of XOPEN cpp guards.
8225
8226         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8227         0.
8228
8229         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8230         with XOPEN cpp guards.
8231
8232 2014-04-30  Julian Brown  <julian@codesourcery.com>
8233
8234         [BZ #16888]
8235         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8236         handling.
8237
8238 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
8239
8240         [BZ #9894]
8241         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8242         Change to 2.6.32.
8243         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8244         * sysdeps/unix/sysv/linux/configure: Regenerated.
8245         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8246         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8247         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8248         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8249         * README: Update reference to required Linux kernel version.
8250         * manual/install.texi (Linux): Update reference to required Linux
8251         kernel headers version.
8252         * INSTALL: Regenerated.
8253
8254         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8255         header inclusion.
8256         [POSIX] (limits.h): Likewise.
8257         [POSIX] (math.h): Likewise.
8258         [POSIX] (sys/wait.h): Likewise.
8259         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8260         function.
8261         [POSIX] (stddef.h): Do not allow header inclusion.
8262
8263 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8264
8265         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8266
8267 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
8268
8269         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8270         Return immediately after lll_futex_wake.
8271
8272 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8273
8274         [BZ #16791]
8275         * nscd/nscd-client.h (datahead_init_common): Initialize entire
8276         structure.
8277         (datahead_init_pos): Call datahead_init_common early.
8278         (datahead_init_neg): Likewise.
8279
8280         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8281         datahead_init_neg): New functions.
8282         * nscd/aicache.c (addhstaiX): Use them.
8283         * nscd/grpcache.c (cache_addgr): Likewise.
8284         * nscd/hstcache.c (cache_addhst): Likewise.
8285         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8286         * nscd/netgroupcache.c (do_notfound): Likewise.
8287         (addgetnetgrentX): Likewise.
8288         (addinnetgrX): Likewise.
8289         * nscd/pwdcache.c (cache_addpw): Likewise.
8290         * nscd/servicescache.c (cache_addserv): Likewise.
8291
8292 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8293             Atsushi Onoe  <atsushi@onoe.org>
8294
8295         [BZ #14308]
8296         [BZ #12994]
8297         [BZ #13651]
8298         * resolv/res_query.c (__libc_res_nsearch): Return if at least
8299         one response is valid.
8300         * resolv/res_send.c (send_dg): Check for validity of other
8301         response if the current response is a referral.
8302
8303 2014-04-29  Steve Ellcey  <sellcey@mips.com>
8304
8305         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8306
8307 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
8308
8309         [BZ #16823]
8310         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8311         Always divide by positive zero when computing -Inf result.
8312         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8313         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8314
8315 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8316
8317         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8318         FPSCR if value do not change.
8319         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8320         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8321         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8322         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8323         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8324         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8325         function.
8326
8327 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
8328
8329         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8330         * sysdeps/unix/sysv/linux/hppa: Move directory from
8331         ports/systeps/unix/sysv/linux/hppa.
8332         * README: Update listing for hppa-*-linux-gnu.
8333
8334 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
8335
8336         [BZ #16754]
8337         * manual/stdio.texi (Hook functions): Fix types of stream hook
8338         functions.
8339         [BZ #16854]
8340         * socket/sys/socket.h: Fix typo in comment.
8341
8342 2014-04-28  Wilco  <wdijkstr@arm.com>
8343
8344         * sysdeps/arm/fenv_private.h: New file.
8345         * sysdeps/arm/math_private.h: New file.
8346         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8347
8348 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
8349
8350         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8351         with __int128_t.
8352         (La_x86_64_retval): Likewise.
8353
8354 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
8355
8356         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8357         fpsr if value didn't change.
8358         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8359         to fpcr if value didn't change.
8360         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8361         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8362         fpsr or fpcr if value didn't change.
8363         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8364         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8365         fpcr if value didn't change.
8366         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8367         to fpsr if value didn't change.
8368
8369 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8370
8371         * nptl/tst-sem3.c: Use test-skeleton.c
8372         (main): Rename to do_test.  Use return instead of
8373         exit.
8374         * nptl/tst-sem4.c: Use test-skeleton.c
8375         (main): Rename to do_test.
8376
8377 2014-04-22  David S. Miller  <davem@davemloft.net>
8378
8379         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8380         (struct sigaction): New struct member __glibc_reserved0, change
8381         type of sa_flags to int.
8382
8383 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
8384
8385         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8386         (COUNT_LEADING_ZEROS_0): Define for AArch64.
8387
8388 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8389
8390         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8391         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8392
8393 2014-04-22  Will Newton  <will.newton@linaro.org>
8394             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
8395
8396         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8397         (__longjmp): Add longjmp and longjmp_target SystemTap
8398         probes.
8399         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8400         (__sigsetjmp): Add setjmp SystemTap probe.
8401
8402 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
8403
8404         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8405         match manual order.
8406
8407 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8408
8409         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8410
8411         * sysdeps/powerpc/fpu/fenv_private.h
8412         (libc_feholdexcept_setroundl_ctx): Define to
8413         libc_feholdexcept_setround_ppc_ctx.
8414         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8415         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8416         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8417         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8418
8419 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8420
8421         * sysdeps/aarch64/math-tests.h: New file.
8422
8423 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
8424
8425         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8426         New.
8427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8428         Check and set bit_AVX2_Usable.
8429         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8430         macro.
8431         (bit_AVX2): Likewise.
8432         (index_AVX2_Usable): Likewise.
8433         (CPUID_AVX2): Likewise.
8434         (HAS_AVX2): Likewise.
8435
8436 2014-04-17  Will Newton  <will.newton@linaro.org>
8437
8438         * manual/setjmp.texi (System V contexts): Add note that
8439         calling setcontext on a context created by a call to a
8440         signal handler is undefined.  Update text to note that
8441         setcontext from a signal handler is possible but not
8442         recommended.
8443
8444         [BZ #16629]
8445         * stdlib/tst-setcontext.c: Include signal.h.
8446         (main): Check that the signal stack before and
8447         after swapcontext is the same.
8448
8449         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8450         Re-implement to restore registers in user code and avoid
8451         rt_sigreturn system call.
8452
8453 2014-04-17  Wilco  <wdijkstr@arm.com>
8454
8455         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8456         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8457         * math/test-fenv.c: Skip exception trap tests on targets which only
8458         support non-stop mode.
8459
8460 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8461             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8462
8463         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8464         (libc_feholdsetround_aarch64_ctx)
8465         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8466         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8467         (libc_feresetround_ctx, libc_feresetroundf_ctx)
8468         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8469         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8470         (libc_feresetround_noexl_ctx): Define.
8471
8472 2014-04-16  Richard Henderson  <rth@redhat.com>
8473
8474         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8475
8476         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8477         unwind tables.
8478
8479         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8480         const from the non-libc, non-ldso copy.
8481
8482         * sysdeps/alpha/libm-test-ulps: Regenerate.
8483
8484 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
8485             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8486
8487         * sysdeps/aarch64/fpu/math_private.h: New file.
8488
8489 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8490
8491         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8492
8493 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
8494
8495         [BZ #16275]
8496         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8497         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8498         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8499         Intel MPX bound registers before _dl_profile_fixup.
8500         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8501         registers after _dl_profile_fixup.  Save and restore bound
8502         registers bnd0/bnd1 when calling _dl_call_pltexit.
8503         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8504         (LR_BND_OFFSET): Likewise.
8505         (LRV_BND0_OFFSET): Likewise.
8506         (LRV_BND1_OFFSET): Likewise.
8507
8508 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8509
8510         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8511         to...
8512         * sysdeps/mach/hurd/i386/tls.h: ... here.
8513         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8514         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8515         fields.
8516
8517 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8518
8519         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8520
8521 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8522
8523         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8524
8525 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8526
8527         [BZ #14770]
8528         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8529         * sysdeps/s390/configure: Regenerate.
8530
8531         [BZ #16824]
8532         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8533         Set round-to-nearest internally to reduce error accumulation.
8534
8535 2014-04-16  Alan Modra  <amodra@gmail.com>
8536
8537         [BZ #16740]
8538         [BZ #16619]
8539         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8540         * math/libm-test.inc (frexp_test_data): Add tests.
8541         * NEWS: Update fixed bug list.
8542
8543 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8544
8545         * benchtests/Makefile: Depend on libraries in build directory.
8546         (bench-math): Separate out math tests.
8547         (bench-pthread): Separate out pthread tests.
8548         (bench): Include math and pthread tests.
8549
8550 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
8551
8552         [BZ #16831]
8553         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8554         _dl_debug_initialize.
8555
8556         * configure.ac: Remove SELinux header check.
8557         * configure: Regenerate.
8558         * nscd/selinux.c (perms): Array of const char* to permission names.
8559         (nscd_request_avc_has_perm): Call security_deny_unknown to find
8560         default policy. Call string_to_security_class and string_to_av_perm to
8561         translate strings. Enforce default policy and call avs_has_perm with
8562         results of translated strings.
8563
8564 2014-04-13  David S. Miller  <davem@davemloft.net>
8565
8566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8567
8568 2014-04-12  Allan McRae  <allan@archlinux.org>
8569
8570         [BZ #16838]
8571         * manual/string.texi (Collation Functions): Fix qsort argument
8572         order in example.
8573         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8574
8575 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
8576
8577         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8578         Make the test a no-op if there are no exceptions defined.
8579
8580 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8581
8582         * elf/Makefile (tests): make tst-dlopen-aout conditional on
8583         enable-hardcoded-path-in-tests
8584
8585 2014-04-11  Will Newton  <will.newton@linaro.org>
8586
8587         * benchtests/Makefile (extra-objs): Add json-lib.o.
8588         (bench-func): Tidy up JSON output.
8589         * benchtests/bench-skeleton.c: Include json-lib.h.
8590         (main): Use JSON library functions to do output of
8591         benchmark results.
8592         * benchtests/bench-timing-type.c (main): Output the
8593         timing type simply, leaving formatting to the user.
8594         * benchtests/json-lib.c: New file.
8595         * benchtests/json-lib.h: Likewise.
8596
8597 2014-04-11  Torvald Riegel  <triegel@redhat.com>
8598
8599         [BZ #15215]
8600         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8601         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
8602         memory barriers.  Add comments.
8603         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8604         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8605         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8606         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8607         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8608         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8609
8610 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8611
8612         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8613         * sysdeps/s390/s390-64/configure.ac: ... this ...
8614         * sysdeps/s390/configure.ac: ... to here.
8615         * sysdeps/s390/s390-32/configure: Delete file.
8616         * sysdeps/s390/s390-64/configure: Delete file.
8617         * sysdeps/s390/configure: Regenerate.
8618
8619 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
8620
8621         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8622
8623 2014-04-11  Will Newton  <will.newton@linaro.org>
8624
8625         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8626         to zero if it is not defined elsewhere.  (mtrim): Test
8627         the value of MALLOC_DEBUG with #if rather than #ifdef.
8628
8629 2014-04-10 Torvald Riegel  <triegel@redhat.com>
8630
8631         * benchtests/pthread_once-inputs: New file.
8632         * benchtests/pthread_once-source.c: New file.
8633         * benchtests/README: Update documentation.
8634
8635 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8636             H.J. Lu  <hongjiu.lu@intel.com>
8637
8638         [BZ #16275]
8639         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8640         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8641         * sysdeps/x86_64/configure: Regenerated.
8642         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8643         macro.
8644         (REGISTER_SAVE_RAX): Likewise.
8645         (REGISTER_SAVE_RCX): Likewise.
8646         (REGISTER_SAVE_RDX): Likewise.
8647         (REGISTER_SAVE_RSI): Likewise.
8648         (REGISTER_SAVE_RDI): Likewise.
8649         (REGISTER_SAVE_R8): Likewise.
8650         (REGISTER_SAVE_R9): Likewise.
8651         (REGISTER_SAVE_BND0): Likewise.
8652         (REGISTER_SAVE_BND1): Likewise.
8653         (REGISTER_SAVE_BND2): Likewise.
8654         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
8655         bound registers when calling _dl_fixup.
8656
8657 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8658
8659         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8660         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8661         of its definition.
8662         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8663         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8664         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8665         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8666         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8667         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8668         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8669
8670 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
8671
8672         [BZ #15514]
8673         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8674         pathconf(_PC_NAME_MAX).
8675
8676 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8677
8678         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8679         Remove macro usage.
8680         (__PTHREAD_SPINS): Move definition to ...
8681         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8682         (__PTHREAD_SPINS): ... here.
8683         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8684         (__PTHREAD_SPIN): Likewise.
8685         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8686         (__PTHREAD_SPIN): Likewise.
8687         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8688         (__PTHREAD_SPIN): Likewise.
8689         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8690         (__PTHREAD_SPIN): Likewise.
8691         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8692         (__PTHREAD_SPIN): Likewise.
8693         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8694         (__PTHREAD_SPIN): Likewise.
8695         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8696         (__PTHREAD_SPIN): Likewise.
8697         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8698         (__PTHREAD_SPIN): Likewise.
8699         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8700         (__PTHREAD_SPIN): Likewise.
8701         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8702         (__PTHREAD_SPIN): Likewise.
8703         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8704         (__PTHREAD_SPIN): Likewise.
8705         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8706         (__PTHREAD_SPIN): Likewise.
8707
8708         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8709         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8710         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8711         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8712         imply folder.
8713         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8714         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8715         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8716         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8717         correct imply path.
8718         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8719         strlen symbol for non multi-arch builds.
8720         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8721         missing hidden_def and weak_alias.
8722
8723 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
8724
8725         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8726
8727 2014-04-07  Will Newton  <will.newton@linaro.org>
8728
8729         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8730         and contents.  [!_LIBC] Remove #ifndef and contents.
8731         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
8732         * string/memccpy.c (__memccpy): Use ANSI prototype.
8733         * string/memfrob.c (memfrob): Likewise.
8734         * string/strcoll.c (STRCOLL): Likewise.
8735         * string/strlen.c (strlen): Likewise.
8736         * string/strtok.c (STRTOK): Likewise.
8737         * string/strcat.c: Remove unused #include of memcopy.h.
8738         (strcat): Use ANSI prototype.
8739         * string/strchr.c: Remove unused #include of memcopy.h.
8740         (strchr): Use ANSI prototype.
8741         * string/strcmp.c: Remove unused #include of memcopy.h.
8742         (strcmp): Use ANSI prototype.
8743         * string/strcpy.c: Remove unused #include of memcopy.h.
8744         (strcpy): Use ANSI prototype.
8745
8746 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8747
8748         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8749         * config.make.in (config-extra-cppflags): Set it from
8750         libc_extra_cppflags.
8751         * configure.ac (libc_extra_cflags): Make it accumulate over
8752         configure fragments.
8753         (libc_extra_cppflags): New flag.
8754         * configure. Regenerate.
8755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8756         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8757         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
8758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8759
8760         [BZ #16815]
8761         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8762         result for FE_DOWNWARD rounding mode.
8763         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8764         Likewise.
8765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8766
8767 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
8768
8769         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8770         in function argument name.
8771
8772 2014-04-03  David Svoboda  <svoboda@cert.org>
8773
8774         [BZ #5666]
8775         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8776         explicitly.
8777
8778 2014-04-03  Roland McGrath  <roland@hack.frob.com>
8779
8780         * elf/dl-unmap-segments.h: New file.
8781         * sysdeps/generic/ldsodefs.h
8782         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8783         * elf/dl-close.c: Include <dl-unmap-segments.h>.
8784         * elf/dl-fptr.c: Likewise.
8785         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8786         * sysdeps/aarch64/tlsdesc.c: Likewise.
8787         * sysdeps/arm/tlsdesc.c: Likewise.
8788         * sysdeps/i386/tlsdesc.c: Likewise.
8789         * sysdeps/tile/dl-runtime.c: Likewise.
8790         * sysdeps/x86_64/tlsdesc.c: Likewise.
8791         * elf/dl-load.h: New file.
8792         * elf/dl-load.c: Include it.
8793         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8794         Macros moved to dl-load.h.
8795         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8796         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8797         Use _dl_unmap_segments in place of __munmap.
8798         Break out segment-mapping loop into ...
8799         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8800
8801 2014-04-03  Will Newton  <will.newton@linaro.org>
8802
8803         * elf/dl-lookup.c (do_lookup_x): Remove comment
8804         referring to nested function and move variable
8805         declarations down to before first use.
8806
8807 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
8808
8809         [BZ #16799]
8810         [BZ #16800]
8811         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8812         with 0 numerator.
8813         * math/s_catanf.c (__catanf): Likewise.
8814         * math/s_catanh.c (__catanh): Likewise.
8815         * math/s_catanhf.c (__catanhf): Likewise.
8816         * math/s_catanhl.c (__catanhl): Likewise.
8817         * math/s_catanl.c (__catanl): Likewise.
8818         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8819         by positive zero when computing -Inf result.
8820         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8821         (catanh_test): Likewise.
8822         * sysdeps/i386/fpu/libm-test-ulps: Update.
8823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8824
8825         [BZ #16789]
8826         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8827         instead of using underflowing value in computing result.
8828         * math/s_clog10.c (__clog10): Likewise.
8829         * math/s_clog10f.c (__clog10f): Likewise.
8830         * math/s_clog10l.c (__clog10l): Likewise.
8831         * math/s_clogf.c (__clogf): Likewise.
8832         * math/s_clogl.c (__clogl): Likewise.
8833         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8834         (clog10_test): Likewise.
8835         * sysdeps/i386/fpu/libm-test-ulps: Update.
8836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8837
8838 2014-04-02  Alan Modra  <amodra@gmail.com>
8839
8840         [BZ #16739]
8841         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8842         output when value is near a power of two.  Use int64_t for lx and
8843         remove casts.  Use decimal rather than hex exponent constants.
8844         Don't use long double multiplication when double will suffice.
8845         * math/libm-test.inc (nextafter_test_data): Add tests.
8846         * NEWS: Add 16739 and 16786 to bug list.
8847
8848         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8849
8850         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8851
8852 2014-04-01  Will Newton  <will.newton@linaro.org>
8853
8854         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8855         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
8856
8857 2014-04-01  Florian Weimer  <fweimer@redhat.com>
8858
8859         [BZ #13347]
8860         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8861         * nptl/tst-setuid2.c: New file.
8862         * nptl/Makefile (xtests): Add tst-setuid2.
8863
8864 2014-04-01  Alan Modra  <amodra@gmail.com>
8865
8866         [BZ #16786]
8867         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8868
8869 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8870
8871         [BZ #6803]
8872         [BZ #6804]
8873         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8874         set errno as appropriate.
8875         * math/w_scalbf.c (__scalbf): Likewise.
8876         * math/w_scalbl.c (__scalbl): Likewise.
8877         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8878         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8879         * math/libm-test.inc (scalb_test_data): Add errno expectations.
8880         Add more NaN tests.
8881
8882         [BZ #16349]
8883         * math/w_atan2.c: Include <errno.h>.
8884         (__atan2): Set errno for result underflowing to zero.
8885         * math/w_atan2f.c: Include <errno.h>.
8886         (__atan2f): Set errno for result underflowing to zero.
8887         * math/w_atan2l.c: Include <errno.h>.
8888         (__atan2l): Set errno for result underflowing to zero.
8889         * math/auto-libm-test-in: Don't allow missing errno for some atan2
8890         tests.
8891         * math/auto-libm-test-out: Regenerated.
8892
8893 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8894
8895         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8896         Encode instruction correctly in little endian.
8897         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8898         Likewise.
8899         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8900         Likewise.
8901         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8902         Likewise.
8903         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8904         Likewise.
8905
8906 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8907
8908         [BZ #9894]
8909         * sysdeps/unix/sysv/linux/kernel-features.h
8910         [__sparc__ && !__arch64__ && !__sparc_v9__]
8911         (__ASSUME_SET_ROBUST_LIST): Do not define.
8912         [__sparc__ && !__arch64__ && !__sparc_v9__]
8913         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8914         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8915         Likewise.
8916         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8917         (__ASSUME_FUTEX_LOCK_PI): Undefine.
8918         (__ASSUME_REQUEUE_PI): Likewise.
8919         (__ASSUME_SET_ROBUST_LIST): Likewise.
8920         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8921         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8922         Undefine.
8923         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8924         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8925         Likewise.
8926         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8927         Likewise.
8928         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8929         Likewise.
8930         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8931         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8932         Undefine.
8933         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8934         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8935         Likewise.
8936
8937         [BZ #16648]
8938         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8939         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8940         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8941
8942 2014-03-31  Will Newton  <will.newton@linaro.org>
8943
8944         * benchtests/Makefile (bench): Add ffs and ffsll to list
8945         of tests.
8946         * benchtests/ffs-inputs: New file.
8947         * benchtests/ffsll-inputs: Likewise.
8948
8949 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
8950
8951         [BZ #16770]
8952         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8953         too large before casting to int.
8954         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8955         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8956         * math/libm-test.inc (scalb_test_data): Add more tests.
8957
8958 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8959
8960         * benchtests/Makefile (DETAILED_OPT): New make option.
8961         (bench-func): Run benchmark program with -d if DETAILED_OPT is
8962         set.
8963         * benchtests/bench-skeleton.c: Include stdbool.h.
8964         (main): Store and print timings per input.
8965         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8966         member to each argument value.
8967         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8968         (_print_arg_data): Initialize per-input timing to 0.
8969
8970         * benchtests/Makefile (timing-type): New binary.
8971         (bench-clean): Also remove bench-timing-type.
8972         (bench): New target for timing-type.
8973         (bench-func): Print output in JSON format.
8974         * benchtests/bench-skeleton.c (main): Print output in JSON
8975         format.
8976         * benchtests/bench-timing-type.c: New file.
8977         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8978         (TIMING_PRINT_STATS): Remove.
8979         * benchtests/scripts/bench.py (_print_arg_data): Store variant
8980         name separately.
8981
8982         * benchtests/bench-modf.c: Remove.
8983         * benchtests/modf-inputs: New inputs file.
8984
8985 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
8986
8987         [BZ #16362]
8988         * math/s_clog10.c (M_PI_LOG10E): New macro.
8989         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8990         imaginary parts are 0.
8991         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8992         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8993         imaginary parts are 0.
8994         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8995         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8996         imaginary parts are 0.
8997         * math/libm-test.inc (clog10_test_data): Update expected results
8998         for when real and imaginary parts are 0.
8999
9000 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
9001
9002         * elf/dl-load.c: Finish conversion of __builtin_expect into
9003         __glibc_{un}likely.
9004
9005 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
9006
9007         [BZ #16348]
9008         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9009         1+x for argument with exponent below -67.
9010         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9011         Likewise.
9012         * math/auto-libm-test-in: Add more tests of exp.
9013         * math/auto-libm-test-out: Regenerated.
9014
9015 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9016
9017         [BZ #16759]
9018         * inet/getnetgrent_r.c (get_nonempty_val): New function.
9019         (nscd_getnetgrent): Use it.
9020
9021         [BZ #16760]
9022         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9023         of stpcpy.
9024
9025 2014-03-27  Andi Kleen  <ak@linux.intel.com>
9026
9027         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9028         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9029         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9030         (lll_robust_unlock): Remove out of line section. Use cfi
9031         intrinsics.
9032         (LLL_STUB_UNWIND_INFO*): Remove.
9033         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9034         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9035         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9036         (lll_robust_unlock): Remove out of line section. Use cfi
9037         intrinsics.
9038         (LLL_STUB_UNWIND_INFO*): Remove.
9039
9040 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9041
9042         [BZ #16758]
9043         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9044         blank values.
9045
9046 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9047
9048         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9049
9050 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
9051
9052         [BZ #16198]
9053         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9054         fnstenv.
9055         * math/test-fenv-preserve.c: New file.
9056         * math/Makefile (tests): Add test-fenv-preserve.
9057
9058 2014-03-26  Will Newton <will.newton@linaro.org>
9059
9060         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9061
9062 2014-03-25  Roland McGrath  <roland@hack.frob.com>
9063
9064         * scripts/versionlist.awk: Partition the version sets and emit all
9065         GLIBC_* (sorted) before all others (sorted).
9066
9067 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9068
9069         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9070         GLIBC_2.2.5 version.
9071
9072 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9073
9074         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9075         calls.
9076
9077         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9078         previous change.
9079
9080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9081
9082 2014-03-25  Andreas Schwab  <schwab@suse.de>
9083
9084         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9085         label to be used after in6ailist is initialized.
9086
9087 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9088
9089         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9090         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9091
9092 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9093
9094         [BZ #16357]
9095         [BZ #16599]
9096         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9097         min_plus_half.
9098         (fp_formats): Update initializers.
9099         (init_fp_formats): Initialize new field.
9100         (output_for_one_input_case): Allow underflow for results up to
9101         min_plus_half.
9102         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9103         * math/auto-libm-test-in: Don't mark some underflows from asin and
9104         atanh as spurious.
9105         * math/auto-libm-test-out: Regenerated.
9106         * sysdeps/i386/fpu/libm-test-ulps: Update.
9107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9108
9109 2014-03-25  Andreas Schwab  <schwab@suse.de>
9110
9111         * libio/Makefile (tst-ftell-partial-wide-ENV)
9112         (tst-ftell-active-handler-ENV): Define.
9113
9114 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
9115
9116         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9117
9118 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9119
9120         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9121
9122 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9123
9124         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9125         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9126         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9127
9128 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9129
9130         [BZ #16634]
9131         * elf/dl-load.c (open_verify): Add mode parameter.
9132         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9133         (open_path): Change from boolean 'secure' to complete flag 'mode'
9134         (_dl_map_object): Adjust.
9135         * elf/Makefile (tests): Add tst-dlopen-aout.
9136         * elf/tst-dlopen-aout.c: New test.
9137
9138 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
9139
9140         [BZ #16714]
9141         * sysdeps/unix/sysv/linux/s390/bits/stat.h
9142         (struct stat): Rename member pad0 to __glibc_reserved0.
9143
9144         [BZ #16712]
9145         * sysdeps/s390/s390-32/bits/wordsize.h
9146         (__WORDSIZE32_SIZE_ULONG): New define.
9147         * sysdeps/s390/s390-64/bits/wordsize.h
9148         (__WORDSIZE32_SIZE_ULONG): Likewise.
9149         * sysdeps/generic/stdint.h (SIZE_MAX):
9150         Define as UL if __WORDSIZE32_SIZE_ULONG.
9151
9152         [BZ #16713]
9153         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9154         (__glibc_reserved0): New variable.
9155         (sa_flags): Change type to int.
9156
9157         * posix/Makefile (before-compile): Use += before-compile instead
9158         of a :=.
9159
9160         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9161         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9162
9163 2014-03-20  Andreas Schwab  <schwab@suse.de>
9164
9165         [BZ #16743]
9166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9167         non-matching result from nscd.
9168
9169 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9170
9171         * scripts/bench.py: Moved to ...
9172         * benchtests/scripts/bench.py: ... here.
9173         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9174
9175 2014-03-24  Andreas Schwab  <schwab@suse.de>
9176
9177         [BZ #16002]
9178         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9179         alloca_account and account alloca use for struct in6ailist.
9180
9181 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9182
9183         [BZ #16284]
9184         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9185         rounding mode to recompute results that overflow to infinity or
9186         underflow to zero.
9187         * math/auto-libm-test-in: Don't mark tests as expected to fail for
9188         bug 16284.
9189         * math/auto-libm-test-out: Regenerated.
9190         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9191         (ccosh_test): Likewise.
9192         (csin_test_data): Use plus_oflow.
9193         (csin_test): Use ALL_RM_TEST.
9194         (csinh_test_data): Use plus_oflow.
9195         (csinh_test): Use ALL_RM_TEST.
9196         * sysdeps/i386/fpu/libm-test-ulps: Update.
9197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9198
9199 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
9200
9201         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9202         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9203         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9204
9205         [BZ #16731]
9206         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9207         when x - 1 is zero.
9208         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9209         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9210         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9211         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9212         argument is 1.
9213         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9214         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9215         zero.
9216         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9217         * sysdeps/i386/fpu/libm-test-ulps: Update.
9218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9219
9220 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9221
9222         * scripts/bench.pl: Remove file.
9223         * scripts/bench.py: New benchmark script.
9224         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9225         * benchtests/README: Mention python dependency.
9226         * scripts/pylintrc: New file.
9227         * scripts/pylint: New file.
9228
9229         * bits/mathdef.h: Use #ifdef instead of #if.
9230         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9231         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9232         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9233         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9234         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9235         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9236
9237 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9238             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9239
9240         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9242         and strpbrk-ppc64 objects.
9243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9244         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9245         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9246         multiarch strpbrk for POWER7.
9247         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9248         multiarch strpbrk for PPC64.
9249         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9250         ifunc selector.
9251         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9252         strpbrk for POWER7.
9253
9254 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9255
9256         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9257         (atan_test): Likewise.
9258         (atanh_test_data): Use NO_TEST_INLINE for two tests.
9259         (atanh_test): Use ALL_RM_TEST.
9260         (atan2_test_data): Likewise.
9261         (cabs_test): Likewise.
9262         (cacosh_test): Likewise.
9263         (carg_test): Likewise.
9264         (casin_test): Likewise.
9265         (casinh_test): Likewise.
9266         (cbrt_test): Likewise.
9267         (csqrt_test): Likewise.
9268         (erf_test): Likewise.
9269         (erfc_test): Likewise.
9270         (pow10_test): Likewise.
9271         (exp2_test): Likewise.
9272         (hypot_test): Likewise.
9273         (j0_test): Likewise.
9274         (j1_test): Likewise.
9275         (lgamma_test): Likewise.
9276         (gamma_test): Likewise.
9277         (sincos_test): Likewise.
9278         (tanh_test): Likewise.
9279         (y0_test): Likewise.
9280         (y1_test): Likewise.
9281         * sysdeps/i386/fpu/libm-test-ulps: Update.
9282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9283
9284 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9285
9286         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9288         and strcspn-ppc64 objects.
9289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9290         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9291         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9292         multiarch strcspn for POWER7.
9293         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9294         multiarch strcspn for PPC64.
9295         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9296         ifunc selector.
9297         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9298         strcspn for POWER7.
9299
9300 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9301
9302         * math/gen-libm-test.pl (generate_testfile): Expect only function
9303         name as argument to AUTO_TESTS_* and pass results for all rounding
9304         modes to parse_args.
9305         (parse_auto_input): Separate inputs of automatic tests from
9306         outputs before storing in %auto_tests.
9307         * math/libm-test.inc (acos_test_data): Update call to
9308         AUTO_TESTS_f_f.
9309         (acos_test): Use ALL_RM_TEST.
9310         (acos_tonearest_test_data): Remove.
9311         (acos_test_tonearest): Likewise.
9312         (acos_towardzero_test_data): Likewise.
9313         (acos_test_towardzero): Likewise.
9314         (acos_downward_test_data): Likewise.
9315         (acos_test_downward): Likewise.
9316         (acos_upward_test_data): Likewise.
9317         (acos_test_upward): Likewise.
9318         (acosh_test_data): Update call to AUTO_TESTS_f_f.
9319         (asin_test_data): Likewise.
9320         (asin_test): Use ALL_RM_TEST.
9321         (asin_tonearest_test_data): Remove.
9322         (asin_test_tonearest): Likewise.
9323         (asin_towardzero_test_data): Likewise.
9324         (asin_test_towardzero): Likewise.
9325         (asin_downward_test_data): Likewise.
9326         (asin_test_downward): Likewise.
9327         (asin_upward_test_data): Likewise.
9328         (asin_test_upward): Likewise.
9329         (asinh_test_data): Update call to AUTO_TESTS_f_f.
9330         (atan_test_data): Likewise.
9331         (atanh_test_data): Likewise.
9332         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9333         (cabs_test_data): Update call to AUTO_TESTS_c_f.
9334         (carg_test_data): Likewise.
9335         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9336         (ccos_test_data): Update call to AUTO_TESTS_c_c.
9337         (ccosh_test_data): Likewise.
9338         (cexp_test_data): Likewise.
9339         (clog_test_data): Likewise.
9340         (clog10_test_data): Likewise.
9341         (cos_test_data): Update call to AUTO_TESTS_f_f.
9342         (cos_test): Use ALL_RM_TEST.
9343         (cos_tonearest_test_data): Remove.
9344         (cos_test_tonearest): Likewise.
9345         (cos_towardzero_test_data): Likewise.
9346         (cos_test_towardzero): Likewise.
9347         (cos_downward_test_data): Likewise.
9348         (cos_test_downward): Likewise.
9349         (cos_upward_test_data): Likewise.
9350         (cos_test_upward): Likewise.
9351         (cosh_test_data): Update call to AUTO_TESTS_f_f.
9352         (cosh_test): Use ALL_RM_TEST.
9353         (cosh_tonearest_test_data): Remove.
9354         (cosh_test_tonearest): Likewise.
9355         (cosh_towardzero_test_data): Likewise.
9356         (cosh_test_towardzero): Likewise.
9357         (cosh_downward_test_data): Likewise.
9358         (cosh_test_downward): Likewise.
9359         (cosh_upward_test_data): Likewise.
9360         (cosh_test_upward): Likewise.
9361         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9362         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9363         (ctan_test_data): Likewise.
9364         (ctan_test): Use ALL_RM_TEST.
9365         (ctan_tonearest_test_data): Remove.
9366         (ctan_test_tonearest): Likewise.
9367         (ctan_towardzero_test_data): Likewise.
9368         (ctan_test_towardzero): Likewise.
9369         (ctan_downward_test_data): Likewise.
9370         (ctan_test_downward): Likewise.
9371         (ctan_upward_test_data): Likewise.
9372         (ctan_test_upward): Likewise.
9373         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9374         (ctanh_test): Use ALL_RM_TEST.
9375         (ctanh_tonearest_test_data): Remove.
9376         (ctanh_test_tonearest): Likewise.
9377         (ctanh_towardzero_test_data): Likewise.
9378         (ctanh_test_towardzero): Likewise.
9379         (ctanh_downward_test_data): Likewise.
9380         (ctanh_test_downward): Likewise.
9381         (ctanh_upward_test_data): Likewise.
9382         (ctanh_test_upward): Likewise.
9383         (erf_test_data): Update call to AUTO_TESTS_f_f.
9384         (erfc_test_data): Likewise.
9385         (exp_test_data): Likewise.
9386         (exp_test): Use ALL_RM_TEST.
9387         (exp_tonearest_test_data): Remove.
9388         (exp_test_tonearest): Likewise.
9389         (exp_towardzero_test_data): Likewise.
9390         (exp_test_towardzero): Likewise.
9391         (exp_downward_test_data): Likewise.
9392         (exp_test_downward): Likewise.
9393         (exp_upward_test_data): Likewise.
9394         (exp_test_upward): Likewise.
9395         (exp10_test_data): Update call to AUTO_TESTS_f_f.
9396         (exp10_test): Use ALL_RM_TEST.
9397         (exp10_tonearest_test_data): Remove.
9398         (exp10_test_tonearest): Likewise.
9399         (exp10_towardzero_test_data): Likewise.
9400         (exp10_test_towardzero): Likewise.
9401         (exp10_downward_test_data): Likewise.
9402         (exp10_test_downward): Likewise.
9403         (exp10_upward_test_data): Likewise.
9404         (exp10_test_upward): Likewise.
9405         (exp2_test_data): Update call to AUTO_TESTS_f_f.
9406         (expm1_test_data): Likewise.
9407         (expm1_test): Use ALL_RM_TEST.
9408         (expm1_tonearest_test_data): Remove.
9409         (expm1_test_tonearest): Likewise.
9410         (expm1_towardzero_test_data): Likewise.
9411         (expm1_test_towardzero): Likewise.
9412         (expm1_downward_test_data): Likewise.
9413         (expm1_test_downward): Likewise.
9414         (expm1_upward_test_data): Likewise.
9415         (expm1_test_upward): Likewise.
9416         (fma_test_data): Update call to AUTO_TESTS_fff_f.
9417         (fma_test): Use ALL_RM_TEST.
9418         (fma_towardzero_test_data): Remove.
9419         (fma_test_towardzero): Likewise.
9420         (fma_downward_test_data): Likewise.
9421         (fma_test_downward): Likewise.
9422         (fma_upward_test_data): Likewise.
9423         (fma_test_upward): Likewise.
9424         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9425         (j0_test_data): Update call to AUTO_TESTS_f_f.
9426         (j1_test_data): Likewise.
9427         (jn_test_data): Update call to AUTO_TESTS_if_f.
9428         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9429         (log_test_data): Update call to AUTO_TESTS_f_f.
9430         (log10_test_data): Likewise.
9431         (log1p_test_data): Likewise.
9432         (log2_test_data): Likewise.
9433         (pow_test_data): Update call to AUTO_TESTS_ff_f.
9434         (pow_tonearest_test_data): Likewise.
9435         (sin_test_data): Update call to AUTO_TESTS_f_f.
9436         (sin_test): Use ALL_RM_TEST.
9437         (sin_tonearest_test_data): Remove.
9438         (sin_test_tonearest): Likewise.
9439         (sin_towardzero_test_data): Likewise.
9440         (sin_test_towardzero): Likewise.
9441         (sin_downward_test_data): Likewise.
9442         (sin_test_downward): Likewise.
9443         (sin_upward_test_data): Likewise.
9444         (sin_test_upward): Likewise.
9445         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9446         (sinh_test_data): Update call to AUTO_TESTS_f_f.
9447         (sinh_test): Use ALL_RM_TEST.
9448         (sinh_tonearest_test_data): Remove.
9449         (sinh_test_tonearest): Likewise.
9450         (sinh_towardzero_test_data): Likewise.
9451         (sinh_test_towardzero): Likewise.
9452         (sinh_downward_test_data): Likewise.
9453         (sinh_test_downward): Likewise.
9454         (sinh_upward_test_data): Likewise.
9455         (sinh_test_upward): Likewise.
9456         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9457         (sqrt_test): Use ALL_RM_TEST.
9458         (sqrt_tonearest_test_data): Remove.
9459         (sqrt_test_tonearest): Likewise.
9460         (sqrt_towardzero_test_data): Likewise.
9461         (sqrt_test_towardzero): Likewise.
9462         (sqrt_downward_test_data): Likewise.
9463         (sqrt_test_downward): Likewise.
9464         (sqrt_upward_test_data): Likewise.
9465         (sqrt_test_upward): Likewise.
9466         (tan_test_data): Update call to AUTO_TESTS_f_f.
9467         (tan_test): Use ALL_RM_TEST.
9468         (tan_tonearest_test_data): Remove.
9469         (tan_test_tonearest): Likewise.
9470         (tan_towardzero_test_data): Likewise.
9471         (tan_test_towardzero): Likewise.
9472         (tan_downward_test_data): Likewise.
9473         (tan_test_downward): Likewise.
9474         (tan_upward_test_data): Likewise.
9475         (tan_test_upward): Likewise.
9476         (tanh_test_data): Update call to AUTO_TESTS_f_f.
9477         (tgamma_test_data): Likewise.
9478         (y0_test_data): Likewise.
9479         (y1_test_data): Likewise.
9480         (yn_test_data): Update call to AUTO_TESTS_if_f.
9481         (main): Do not call removed functions.
9482
9483 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9484
9485         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9486         (ldexp_test_data): Remove.
9487         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
9488         scalbn_test_data.
9489         (scalb_test): Use ALL_RM_TEST.
9490
9491 2014-03-19  Andreas Schwab  <schwab@suse.de>
9492
9493         * nscd/nscd.service: Also invalidate netgroup cache on reload.
9494
9495 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9496
9497         [BZ #16649]
9498         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9499         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9500         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9502         (__ASSUME_PREADV): Undefine.
9503         (__ASSUME_PWRITEV): Likewise.
9504
9505 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9506
9507         * bits/mman-linux.h: Add comment about non-Linux use.
9508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9509         bits/mman-linux.h resting place.
9510
9511         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9512         * bits/mman-linux.h: ... here.
9513
9514 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9515
9516         * conform/conformtest.pl: Add standard definition when calling C
9517         preprocessor on data files.
9518         (checknamespace): Remove unused variable.
9519
9520 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9521
9522         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9523         minus_oflow, plus_uflow and minus_uflow in expected results.
9524         * math/libm-test.inc (scalbn_test_data): Add more tests of
9525         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
9526         minus_uflow.
9527         (scalbn_test): Use ALL_RM_TEST.
9528         (scalbln_test_data): Add more tests of negative arguments.  Use
9529         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9530         (scalbln_test): Use ALL_RM_TEST.
9531
9532 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9533
9534         * scripts/abilist.awk: Ignore symbols marked with .hidden.
9535
9536 2014-03-18  Will Newton  <will.newton@linaro.org>
9537
9538         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9539         inaccurate comment.
9540
9541 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9542
9543         * Makerules [!subdir] (check-abi): Exit with error status if a
9544         test failed.
9545
9546 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9547
9548         * math/libm-test.inc (nearbyint_test_data): Include all tests used
9549         for rint.  Include results for all rounding modes.
9550         (nearbyint_test): Use ALL_RM_TEST.
9551         (rint_test_data): Include all tests used for nearbyint.
9552
9553 2014-03-17  Will Newton  <will.newton@linaro.org>
9554
9555         * nptl/sysdeps/pthread/pthread.h: Revert previous
9556         change.
9557
9558         * sysdeps/generic/ldsodefs.h: Revert previous
9559         change.
9560
9561         * libio/genops.c: Revert previous change.
9562         * libio/libioP.h: Likewise.
9563         * stdio-common/vfprintf.c: Likewise.
9564
9565         * sysdeps/generic/math_private.h: Revert previous
9566         change.
9567
9568         * sysdeps/generic/math_private.h: Check whether
9569         HAVE_RM_CTX is defined with #ifdef rather
9570         than #if.
9571
9572         * argp/argp-fmtstream.h: Check whether
9573         __STRICT_ANSI__ is defined with #ifdef rather
9574         than #if.
9575         * argp/argp.h: Likewise.
9576
9577         * libio/genops.c: Check whether
9578         _IO_JUMPS_OFFSET is defined with #ifdef rather
9579         than #if.
9580         * libio/libioP.h: Likewise.
9581         * stdio-common/vfprintf.c: Likewise.
9582
9583         * sysdeps/generic/ldsodefs.h: Check whether
9584         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9585         than #if.
9586
9587         * nptl/sysdeps/pthread/pthread.h: Check
9588         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9589         its value.
9590
9591 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9592
9593         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9594         setting O_APPEND.
9595         * libio/tst-ftell-active-handler.c (do_append_test): Add a
9596         test case.
9597
9598         [BZ #16680]
9599         * libio/fileops.c (_IO_file_open): Seek to end of file but
9600         don't cache the offset.
9601         (get_file_offset): Remove function.
9602         (do_ftell): Use cached offset when available.
9603         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9604         don't cache the offset.
9605         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9606         case.
9607         (do_one_test): Call it.
9608         (do_ftell_test): Fix up expected old offset for a+ mode.
9609         * libio/wfileops.c (do_ftell_wide): Used cached offset when
9610         available.
9611
9612         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9613         up test status with function return status.
9614         (do_write_test): Likewise.
9615         (do_append_test): Likewise.
9616
9617         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9618         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9619         Remove.
9620
9621 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9622
9623         * math/gen-libm-test.pl (parse_args): Handle results specified for
9624         each rounding mode separately.
9625         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9626         tests and results from lrint_tonearest_test_data,
9627         lrint_towardzero_test_data, lrint_downward_test_data and
9628         lrint_upward_test_data.
9629         (lrint_test): Use ALL_RM_TEST.
9630         (lrint_tonearest_test_data): Remove.
9631         (lrint_test_tonearest): Likewise.
9632         (lrint_towardzero_test_data): Likewise.
9633         (lrint_test_towardzero): Likewise.
9634         (lrint_downward_test_data): Likewise.
9635         (lrint_test_downward): Likewise.
9636         (lrint_upward_test_data): Likewise.
9637         (lrint_test_upward): Likewise.
9638         (llrint_test_data): Merge in per-rounding-mode tests and results
9639         from llrint_tonearest_test_data, llrint_towardzero_test_data,
9640         llrint_downward_test_data and llrint_upward_test_data.
9641         (llrint_test): Use ALL_RM_TEST.
9642         (llrint_tonearest_test_data): Remove.
9643         (llrint_test_tonearest): Likewise.
9644         (llrint_towardzero_test_data): Likewise.
9645         (llrint_test_towardzero): Likewise.
9646         (llrint_downward_test_data): Likewise.
9647         (llrint_test_downward): Likewise.
9648         (llrint_upward_test_data): Likewise.
9649         (llrint_test_upward): Likewise.
9650         (rint_test_data): Merge in per-rounding-mode tests and results
9651         from rint_tonearest_test_data, rint_towardzero_test_data,
9652         rint_downward_test_data and rint_upward_test_data.  Add
9653         per-rounding-mode results for tests not in those arrays.
9654         (rint_test): Use ALL_RM_TEST.
9655         (rint_tonearest_test_data): Remove.
9656         (rint_test_tonearest): Likewise.
9657         (rint_towardzero_test_data): Likewise.
9658         (rint_test_towardzero): Likewise.
9659         (rint_downward_test_data): Likewise.
9660         (rint_test_downward): Likewise.
9661         (rint_upward_test_data): Likewise.
9662         (rint_test_upward): Likewise.
9663         (main): Don't call removed functions.
9664
9665 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9666
9667         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9668         "Compiled on ..." crapola.  It is anti-useful.
9669
9670 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
9671
9672         * scripts/evaluate-test.sh: Handle fourth argument to determine
9673         whether test run should stop on failure.
9674         * Makeconfig (stop-on-test-failure): New variable.
9675         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9676         $(stop-on-test-failure).
9677         * Makefile (tests): Give a summary of results from testing and
9678         exit with failure status if they include an ERROR or FAIL.
9679         (xtests): Likewise.
9680         * manual/install.texi (Configuring and compiling): Mention
9681         stop-on-test-failure=y.
9682         * INSTALL: Regenerated.
9683
9684 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9685
9686         * scripts/versionlist.awk: New file.
9687         * Makerules [$(build-shared) = yes]
9688         (postclean-generated): Add Versions.def, not Versions.def.v and
9689         Versions.def.v.i.
9690         ($(common-objpfx)Versions.def.v.i): Target removed.
9691         ($(common-objpfx)Versions.def): New target.
9692         ($(common-objpfx)Versions.all): Depend on that rather that
9693         $(common-objpfx)Versions.def.v.
9694         * Versions.def: File removed.
9695
9696         * Makeconfig (+gccwarn): Add -Wundef.
9697         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9698         a dl-sysdep.h breaking its contract.
9699         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9700         * include/stackinfo.h: New file.
9701         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9702         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9703         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9704         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9705         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9706         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9707         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9708         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9709         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9710         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9711         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9712         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9713         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9714         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9715         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9716
9717 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9718
9719         [BZ #16707]
9720         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9721         implementation.
9722         * math/libm-test.inc (round_test_data): Add more tests.
9723
9724         [BZ #16706]
9725         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9726         implementation.
9727         * math/libm-test.inc (nearbyint_test_data): Add more tests.
9728
9729         [BZ #16701]
9730         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9731         implementation.
9732         * math/libm-test.inc (ceil_test_data): Add more tests.
9733
9734         * math/libm-test.inc (trunc_test_data): Add more tests related to
9735         BZ#16414.
9736
9737 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9738
9739         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9740         with #if rather than #ifdef.
9741         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9742
9743 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
9744
9745         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9746         first.  Disable AVX-512 GCC support if assembler doesn't support
9747         it.
9748         * sysdeps/x86_64/configure: Regenerated.
9749
9750 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
9751
9752         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9753         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9754         (__old_pthread_attr_setstack): Likewise.
9755         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9756         [!_STACK_GROWS_DOWN]: Likewise.
9757
9758 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
9759
9760         * config.make.in (have-bash2): Delete.
9761         * configure.ac (libc_cv_have_bash2): Delete.
9762         * configure: Regenerate.
9763         * elf/Makefile (common-ldd-rewrite): Rename to ...
9764         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
9765         (sh-ldd-rewrite): Delete.
9766         (bash-ldd-rewrite): Delete.
9767         (have-bash2): Delete checks.
9768         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9769         ldd-rewrite.
9770
9771         * config.make.in (have-ksh): Delete.
9772         (KSH): Delete.
9773         * configure.ac (libc_cv_have_ksh): Delete.
9774         * configure: Regenerate.
9775
9776         * elf/Makefile: Delete $(have-ksh) check.
9777         ($(objpfx)sotruss): Change KSH to BASH.
9778         * elf/sotruss.ksh: Rename to ...
9779         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
9780         function style to match POSIX.  Drop ksh vim mode setting.
9781
9782         * manual/time.texi (Specifying the Time Zone with TZ): Change
9783         Tuesday to Thursday.
9784
9785         * debug/tst-longjmp_chk2.c: Update header comment.
9786         (stackoverflow_handler): Add comment.  Call assert on pass value.
9787
9788 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
9789
9790         [BZ #16194]
9791         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9792         (HAVE_AVX512_ASM_SUPPORT): Likewise.
9793         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9794         (La_x86_64_vector): Add zmm.
9795         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9796         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9797         ($(objpfx)tst-audit10): New target.
9798         ($(objpfx)tst-audit10.out): Likewise.
9799         (tst-audit10-ENV): New.
9800         (AVX512-CFLAGS): Likewise.
9801         (CFLAGS-tst-audit10.c): Likewise.
9802         (CFLAGS-tst-auditmod10a.c): Likewise.
9803         (CFLAGS-tst-auditmod10b.c): Likewise.
9804         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9805         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9806         * sysdeps/x86_64/configure: Regenerated.
9807         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9808         AVX-512 zmm register support.
9809         (_dl_x86_64_save_sse): Likewise.
9810         (_dl_x86_64_restore_sse): Likewise.
9811         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9812         size vector registers.
9813         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9814         (ZMM_SIZE): Likewise.
9815         * sysdeps/x86_64/tst-audit10.c: New file.
9816         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9817         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9818
9819 2014-03-13  Roland McGrath  <roland@hack.frob.com>
9820
9821         * configure.ac (HAVE_EHDR_START): New check.
9822         * configure: Regenerated.
9823         * config.h.in (HAVE_EHDR_START): New #undef.
9824         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9825         assuming the lowest-addressed segment maps the start of the file.
9826
9827 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
9828
9829         * INSTALL: Regenerated.
9830
9831 2014-03-13  Will Newton  <will.newton@linaro.org>
9832
9833         * manual/setjmp.texi (System V contexts): Improve
9834         clarity and grammar of documentation.
9835
9836 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9837
9838         [BZ #16381]
9839         * elf/Makefile (tests): Add tst-pie2.
9840         (tests-pie): Add tst-pie2.
9841         * elf/tst-pie2.c: New file.
9842         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9843         for ET_EXEC.
9844         * elf/rtld.c (map_doit): Load executable as lt_executable.
9845         (dl_main): Likewise.
9846
9847 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
9848
9849         [BZ #16642]
9850         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9851         (__ASSUME_PSELECT): Undefine.
9852
9853 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9854
9855         [BZ #16689]
9856         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9857         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9858         static build.
9859         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9860         selector for static builds.
9861
9862 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9863
9864         [BZ #16695]
9865         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9866         key in the buffer.
9867
9868 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9869
9870         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9871         IFUNC selector for static builds.
9872
9873 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
9874
9875         * sysdeps/mips/math_private.h [__mips_hard_float]
9876         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9877         libc_feresetround_mips_ctx.
9878         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9879         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9880         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9881
9882         [BZ #16677]
9883         * math/s_nextafter.c (__nextafter): Do not return value from
9884         overflowing computation.
9885         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9886         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9887         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9888         Likewise.
9889         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9890         Likewise.
9891         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9892         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9893
9894 2014-03-11  Roland McGrath  <roland@hack.frob.com>
9895
9896         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9897         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9898         Move sfi_sp use from the load-multiple (that no longer sets sp) to
9899         the new mov targetting sp.
9900
9901 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9902
9903         [BZ #16683]
9904         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9905         Define it for static builds as well.
9906         (NO_BZERO_IMPL): Likewise.
9907
9908 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9909
9910         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9911         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9912         multiarch strspn for PPC64.
9913         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9914         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9916         (__libc_ifunc_impl_list): Likewise.
9917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9918         multiarch optimizations
9919         * string/strspn.c (strspn): Using macro to redefine symbol name.
9920
9921 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9922             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9923
9924         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9925         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9926         multiarch strncat for PPC64.
9927         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9928         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9930         (__libc_ifunc_impl_list): Likewise.
9931         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9932         multiarch optimizations
9933
9934 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9935
9936         [BZ #16639]
9937         * nscd/nscd.service: Make service type forking.
9938
9939 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9940
9941         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9942         sign in non default rounding modes.
9943         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9944
9945 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
9946
9947         * math/libm-test.inc (ALL_RM_TEST): New macro.
9948         (ceil_test): Use ALL_RM_TEST.
9949         (cimag_test): Likewise.
9950         (conj_test): Likewise.
9951         (copysign_test): Likewise.
9952         (cproj_test): Likewise.
9953         (creal_test): Likewise.
9954         (fabs_test): Likewise.
9955         (floor_test): Likewise.
9956         (fmax_test): Likewise.
9957         (fmin_test): Likewise.
9958         (fmod_test): Likewise.
9959         (fpclassify_test): Likewise.
9960         (frexp_test): Likewise.
9961         (ilogb_test): Likewise.
9962         (isfinite_test): Likewise.
9963         (finite_test): Likewise.
9964         (isgreater_test): Likewise.
9965         (isgreaterequal_test): Likewise.
9966         (isinf_test): Likewise.
9967         (isless_test): Likewise.
9968         (islessequal_test): Likewise.
9969         (islessgreater_test): Likewise.
9970         (isnan_test): Likewise.
9971         (isnormal_test): Likewise.
9972         (issignaling_test): Likewise.
9973         (isunordered_test): Likewise.
9974         (logb_test): Likewise.
9975         (logb_downward_test_data): Remove.
9976         (logb_test_downward): Likewise.
9977         (lround_test): Use ALL_RM_TEST.
9978         (llround_test): Likewise.
9979         (modf_test): Likewise.
9980         (nexttoward_test): Likewise.
9981         (remainder_test): Likewise.
9982         (drem_test): Likewise.
9983         (remainder_tonearest_test_data): Likewise.
9984         (remainder_test_tonearest): Likewise.
9985         (drem_test_tonearest): Likewise.
9986         (remainder_towardzero_test_data): Likewise.
9987         (remainder_test_towardzero): Likewise.
9988         (drem_test_towardzero): Likewise.
9989         (remainder_downward_test_data): Likewise.
9990         (remainder_test_downward): Likewise.
9991         (drem_test_downward): Likewise.
9992         (remainder_upward_test_data): Likewise.
9993         (remainder_test_upward): Likewise.
9994         (drem_test_upward): Likewise.
9995         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9996         (round_test): Use ALL_RM_TEST.
9997         (signbit_test): Likewise.
9998         (trunc_test): Likewise.
9999         (significand_test): Likewise.
10000         (main): Don't call removed functions.
10001
10002 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10003
10004         [BZ #16674]
10005         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10006         || __USE_XOPEN2K8].
10007         (ILL_ILLOPN): Likewise.
10008         (ILL_ILLADR): Likewise.
10009         (ILL_ILLTRP): Likewise.
10010         (ILL_PRVOPC): Likewise.
10011         (ILL_PRVREG): Likewise.
10012         (ILL_COPROC): Likewise.
10013         (ILL_BADSTK): Likewise.
10014         (FPE_INTDIV): Likewise.
10015         (FPE_INTOVF): Likewise.
10016         (FPE_FLTDIV): Likewise.
10017         (FPE_FLTOVF): Likewise.
10018         (FPE_FLTUND): Likewise.
10019         (FPE_FLTRES): Likewise.
10020         (FPE_FLTINV): Likewise.
10021         (FPE_FLTSUB): Likewise.
10022         (SEGV_MAPERR): Likewise.
10023         (SEGV_ACCERR): Likewise.
10024         (BUS_ADRALN): Likewise.
10025         (BUS_ADRERR): Likewise.
10026         (BUS_OBJERR): Likewise.
10027         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10028         (TRAP_TRACE): Likewise.
10029         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10030         __USE_XOPEN2K8].
10031         (CLD_KILLED): Likewise.
10032         (CLD_DUMPED): Likewise.
10033         (CLD_TRAPPED): Likewise.
10034         (CLD_STOPPED): Likewise.
10035         (CLD_CONTINUED): Likewise.
10036         (POLL_IN): Likewise.
10037         (POLL_OUT): Likewise.
10038         (POLL_MSG): Likewise.
10039         (POLL_ERR): Likewise.
10040         (POLL_PRI): Likewise.
10041         (POLL_HUP): Likewise.
10042         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10043         Likewise.
10044         (ILL_ILLOPN): Likewise.
10045         (ILL_ILLADR): Likewise.
10046         (ILL_ILLTRP): Likewise.
10047         (ILL_PRVOPC): Likewise.
10048         (ILL_PRVREG): Likewise.
10049         (ILL_COPROC): Likewise.
10050         (ILL_BADSTK): Likewise.
10051         (FPE_INTDIV): Likewise.
10052         (FPE_INTOVF): Likewise.
10053         (FPE_FLTDIV): Likewise.
10054         (FPE_FLTOVF): Likewise.
10055         (FPE_FLTUND): Likewise.
10056         (FPE_FLTRES): Likewise.
10057         (FPE_FLTINV): Likewise.
10058         (FPE_FLTSUB): Likewise.
10059         (SEGV_MAPERR): Likewise.
10060         (SEGV_ACCERR): Likewise.
10061         (BUS_ADRALN): Likewise.
10062         (BUS_ADRERR): Likewise.
10063         (BUS_OBJERR): Likewise.
10064         (BUS_MCEERR_AR): Likewise.
10065         (BUS_MCEERR_AO): Likewise.
10066         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10067         (TRAP_TRACE): Likewise.
10068         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10069         __USE_XOPEN2K8].
10070         (CLD_KILLED): Likewise.
10071         (CLD_DUMPED): Likewise.
10072         (CLD_TRAPPED): Likewise.
10073         (CLD_STOPPED): Likewise.
10074         (CLD_CONTINUED): Likewise.
10075         (POLL_IN): Likewise.
10076         (POLL_OUT): Likewise.
10077         (POLL_MSG): Likewise.
10078         (POLL_ERR): Likewise.
10079         (POLL_PRI): Likewise.
10080         (POLL_HUP): Likewise.
10081         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10082         (ILL_ILLOPN): Likewise.
10083         (ILL_ILLADR): Likewise.
10084         (ILL_ILLTRP): Likewise.
10085         (ILL_PRVOPC): Likewise.
10086         (ILL_PRVREG): Likewise.
10087         (ILL_COPROC): Likewise.
10088         (ILL_BADSTK): Likewise.
10089         (FPE_INTDIV): Likewise.
10090         (FPE_INTOVF): Likewise.
10091         (FPE_FLTDIV): Likewise.
10092         (FPE_FLTOVF): Likewise.
10093         (FPE_FLTUND): Likewise.
10094         (FPE_FLTRES): Likewise.
10095         (FPE_FLTINV): Likewise.
10096         (FPE_FLTSUB): Likewise.
10097         (SEGV_MAPERR): Likewise.
10098         (SEGV_ACCERR): Likewise.
10099         (BUS_ADRALN): Likewise.
10100         (BUS_ADRERR): Likewise.
10101         (BUS_OBJERR): Likewise.
10102         (BUS_MCEERR_AR): Likewise.
10103         (BUS_MCEERR_AO): Likewise.
10104         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10105         (TRAP_TRACE): Likewise.
10106         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10107         __USE_XOPEN2K8].
10108         (CLD_KILLED): Likewise.
10109         (CLD_DUMPED): Likewise.
10110         (CLD_TRAPPED): Likewise.
10111         (CLD_STOPPED): Likewise.
10112         (CLD_CONTINUED): Likewise.
10113         (POLL_IN): Likewise.
10114         (POLL_OUT): Likewise.
10115         (POLL_MSG): Likewise.
10116         (POLL_ERR): Likewise.
10117         (POLL_PRI): Likewise.
10118         (POLL_HUP): Likewise.
10119         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10120         Likewise.
10121         (ILL_ILLOPN): Likewise.
10122         (ILL_ILLADR): Likewise.
10123         (ILL_ILLTRP): Likewise.
10124         (ILL_PRVOPC): Likewise.
10125         (ILL_PRVREG): Likewise.
10126         (ILL_COPROC): Likewise.
10127         (ILL_BADSTK): Likewise.
10128         (ILL_BADIADDR): Likewise.
10129         (ILL_BREAK): Likewise.
10130         (FPE_INTDIV): Likewise.
10131         (FPE_INTOVF): Likewise.
10132         (FPE_FLTDIV): Likewise.
10133         (FPE_FLTOVF): Likewise.
10134         (FPE_FLTUND): Likewise.
10135         (FPE_FLTRES): Likewise.
10136         (FPE_FLTINV): Likewise.
10137         (FPE_FLTSUB): Likewise.
10138         (FPE_DECOVF): Likewise.
10139         (FPE_DECDIV): Likewise.
10140         (FPE_DECERR): Likewise.
10141         (FPE_INVASC): Likewise.
10142         (FPE_INVDEC): Likewise.
10143         (SEGV_MAPERR): Likewise.
10144         (SEGV_ACCERR): Likewise.
10145         (SEGV_PSTKOVF): Likewise.
10146         (BUS_ADRALN): Likewise.
10147         (BUS_ADRERR): Likewise.
10148         (BUS_OBJERR): Likewise.
10149         (BUS_MCEERR_AR): Likewise.
10150         (BUS_MCEERR_AO): Likewise.
10151         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10152         (TRAP_TRACE): Likewise.
10153         (TRAP_BRANCH): Likewise.
10154         (TRAP_HWBKPT): Likewise.
10155         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10156         __USE_XOPEN2K8].
10157         (CLD_KILLED): Likewise.
10158         (CLD_DUMPED): Likewise.
10159         (CLD_TRAPPED): Likewise.
10160         (CLD_STOPPED): Likewise.
10161         (CLD_CONTINUED): Likewise.
10162         (POLL_IN): Likewise.
10163         (POLL_OUT): Likewise.
10164         (POLL_MSG): Likewise.
10165         (POLL_ERR): Likewise.
10166         (POLL_PRI): Likewise.
10167         (POLL_HUP): Likewise.
10168         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10169         (ILL_ILLOPN): Likewise.
10170         (ILL_ILLADR): Likewise.
10171         (ILL_ILLTRP): Likewise.
10172         (ILL_PRVOPC): Likewise.
10173         (ILL_PRVREG): Likewise.
10174         (ILL_COPROC): Likewise.
10175         (ILL_BADSTK): Likewise.
10176         (FPE_INTDIV): Likewise.
10177         (FPE_INTOVF): Likewise.
10178         (FPE_FLTDIV): Likewise.
10179         (FPE_FLTOVF): Likewise.
10180         (FPE_FLTUND): Likewise.
10181         (FPE_FLTRES): Likewise.
10182         (FPE_FLTINV): Likewise.
10183         (FPE_FLTSUB): Likewise.
10184         (SEGV_MAPERR): Likewise.
10185         (SEGV_ACCERR): Likewise.
10186         (BUS_ADRALN): Likewise.
10187         (BUS_ADRERR): Likewise.
10188         (BUS_OBJERR): Likewise.
10189         (BUS_MCEERR_AR): Likewise.
10190         (BUS_MCEERR_AO): Likewise.
10191         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10192         (TRAP_TRACE): Likewise.
10193         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10194         __USE_XOPEN2K8].
10195         (CLD_KILLED): Likewise.
10196         (CLD_DUMPED): Likewise.
10197         (CLD_TRAPPED): Likewise.
10198         (CLD_STOPPED): Likewise.
10199         (CLD_CONTINUED): Likewise.
10200         (POLL_IN): Likewise.
10201         (POLL_OUT): Likewise.
10202         (POLL_MSG): Likewise.
10203         (POLL_ERR): Likewise.
10204         (POLL_PRI): Likewise.
10205         (POLL_HUP): Likewise.
10206         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10207         (ILL_ILLOPN): Likewise.
10208         (ILL_ILLADR): Likewise.
10209         (ILL_ILLTRP): Likewise.
10210         (ILL_PRVOPC): Likewise.
10211         (ILL_PRVREG): Likewise.
10212         (ILL_COPROC): Likewise.
10213         (ILL_BADSTK): Likewise.
10214         (FPE_INTDIV): Likewise.
10215         (FPE_INTOVF): Likewise.
10216         (FPE_FLTDIV): Likewise.
10217         (FPE_FLTOVF): Likewise.
10218         (FPE_FLTUND): Likewise.
10219         (FPE_FLTRES): Likewise.
10220         (FPE_FLTINV): Likewise.
10221         (FPE_FLTSUB): Likewise.
10222         (SEGV_MAPERR): Likewise.
10223         (SEGV_ACCERR): Likewise.
10224         (BUS_ADRALN): Likewise.
10225         (BUS_ADRERR): Likewise.
10226         (BUS_OBJERR): Likewise.
10227         (BUS_MCEERR_AR): Likewise.
10228         (BUS_MCEERR_AO): Likewise.
10229         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10230         (TRAP_TRACE): Likewise.
10231         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10232         __USE_XOPEN2K8].
10233         (CLD_KILLED): Likewise.
10234         (CLD_DUMPED): Likewise.
10235         (CLD_TRAPPED): Likewise.
10236         (CLD_STOPPED): Likewise.
10237         (CLD_CONTINUED): Likewise.
10238         (POLL_IN): Likewise.
10239         (POLL_OUT): Likewise.
10240         (POLL_MSG): Likewise.
10241         (POLL_ERR): Likewise.
10242         (POLL_PRI): Likewise.
10243         (POLL_HUP): Likewise.
10244         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10245         (ILL_ILLOPN): Likewise.
10246         (ILL_ILLADR): Likewise.
10247         (ILL_ILLTRP): Likewise.
10248         (ILL_PRVOPC): Likewise.
10249         (ILL_PRVREG): Likewise.
10250         (ILL_COPROC): Likewise.
10251         (ILL_BADSTK): Likewise.
10252         (FPE_INTDIV): Likewise.
10253         (FPE_INTOVF): Likewise.
10254         (FPE_FLTDIV): Likewise.
10255         (FPE_FLTOVF): Likewise.
10256         (FPE_FLTUND): Likewise.
10257         (FPE_FLTRES): Likewise.
10258         (FPE_FLTINV): Likewise.
10259         (FPE_FLTSUB): Likewise.
10260         (SEGV_MAPERR): Likewise.
10261         (SEGV_ACCERR): Likewise.
10262         (BUS_ADRALN): Likewise.
10263         (BUS_ADRERR): Likewise.
10264         (BUS_OBJERR): Likewise.
10265         (BUS_MCEERR_AR): Likewise.
10266         (BUS_MCEERR_AO): Likewise.
10267         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10268         (TRAP_TRACE): Likewise.
10269         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10270         __USE_XOPEN2K8].
10271         (CLD_KILLED): Likewise.
10272         (CLD_DUMPED): Likewise.
10273         (CLD_TRAPPED): Likewise.
10274         (CLD_STOPPED): Likewise.
10275         (CLD_CONTINUED): Likewise.
10276         (POLL_IN): Likewise.
10277         (POLL_OUT): Likewise.
10278         (POLL_MSG): Likewise.
10279         (POLL_ERR): Likewise.
10280         (POLL_PRI): Likewise.
10281         (POLL_HUP): Likewise.
10282         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10283         (ILL_ILLOPN): Likewise.
10284         (ILL_ILLADR): Likewise.
10285         (ILL_ILLTRP): Likewise.
10286         (ILL_PRVOPC): Likewise.
10287         (ILL_PRVREG): Likewise.
10288         (ILL_COPROC): Likewise.
10289         (ILL_BADSTK): Likewise.
10290         (ILL_DBLFLT): Likewise.
10291         (ILL_HARDWALL): Likewise.
10292         (FPE_INTDIV): Likewise.
10293         (FPE_INTOVF): Likewise.
10294         (FPE_FLTDIV): Likewise.
10295         (FPE_FLTOVF): Likewise.
10296         (FPE_FLTUND): Likewise.
10297         (FPE_FLTRES): Likewise.
10298         (FPE_FLTINV): Likewise.
10299         (FPE_FLTSUB): Likewise.
10300         (SEGV_MAPERR): Likewise.
10301         (SEGV_ACCERR): Likewise.
10302         (BUS_ADRALN): Likewise.
10303         (BUS_ADRERR): Likewise.
10304         (BUS_OBJERR): Likewise.
10305         (BUS_MCEERR_AR): Likewise.
10306         (BUS_MCEERR_AO): Likewise.
10307         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10308         (TRAP_TRACE): Likewise.
10309         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10310         __USE_XOPEN2K8].
10311         (CLD_KILLED): Likewise.
10312         (CLD_DUMPED): Likewise.
10313         (CLD_TRAPPED): Likewise.
10314         (CLD_STOPPED): Likewise.
10315         (CLD_CONTINUED): Likewise.
10316         (POLL_IN): Likewise.
10317         (POLL_OUT): Likewise.
10318         (POLL_MSG): Likewise.
10319         (POLL_ERR): Likewise.
10320         (POLL_PRI): Likewise.
10321         (POLL_HUP): Likewise.
10322         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10323         (ILL_ILLOPN): Likewise.
10324         (ILL_ILLADR): Likewise.
10325         (ILL_ILLTRP): Likewise.
10326         (ILL_PRVOPC): Likewise.
10327         (ILL_PRVREG): Likewise.
10328         (ILL_COPROC): Likewise.
10329         (ILL_BADSTK): Likewise.
10330         (FPE_INTDIV): Likewise.
10331         (FPE_INTOVF): Likewise.
10332         (FPE_FLTDIV): Likewise.
10333         (FPE_FLTOVF): Likewise.
10334         (FPE_FLTUND): Likewise.
10335         (FPE_FLTRES): Likewise.
10336         (FPE_FLTINV): Likewise.
10337         (FPE_FLTSUB): Likewise.
10338         (SEGV_MAPERR): Likewise.
10339         (SEGV_ACCERR): Likewise.
10340         (BUS_ADRALN): Likewise.
10341         (BUS_ADRERR): Likewise.
10342         (BUS_OBJERR): Likewise.
10343         (BUS_MCEERR_AR): Likewise.
10344         (BUS_MCEERR_AO): Likewise.
10345         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10346         (TRAP_TRACE): Likewise.
10347         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10348         __USE_XOPEN2K8].
10349         (CLD_KILLED): Likewise.
10350         (CLD_DUMPED): Likewise.
10351         (CLD_TRAPPED): Likewise.
10352         (CLD_STOPPED): Likewise.
10353         (CLD_CONTINUED): Likewise.
10354         (POLL_IN): Likewise.
10355         (POLL_OUT): Likewise.
10356         (POLL_MSG): Likewise.
10357         (POLL_ERR): Likewise.
10358         (POLL_PRI): Likewise.
10359         (POLL_HUP): Likewise.
10360         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10361         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10362
10363         [BZ #16670]
10364         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10365         before #include of <time.h>.
10366         [!__USE_XOPEN2K] (__need_timespec): Likewise.
10367         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10368         (test-xfail-UNIX98/sched.h/conform): Likewise.
10369
10370 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10371
10372         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10373         error absence of trapping exception support.
10374         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10375
10376 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10377
10378         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10379         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10380         * timezone/Makefile (testdata): Move definition above include of
10381         Rules.
10382         (test-zones): New variable.
10383         (tests-special): Add zone files.
10384         (build-testdata): Use $(evaluate-test).
10385
10386         * elf/Makefile (tests-special): Rename tests to end with .out.
10387         ($(objpfx)noload-mem): Likewise.
10388         ($(objpfx)tst-leaks1-mem): Likewise.
10389         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10390         * iconv/Makefile (xtests-special): Change test-iconvconfig to
10391         $(objpfx)test-iconvconfig.out.
10392         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
10393         set -e inside subshell and redirect output to file.
10394         * iconvdata/Makefile (generated): Rename tests to end with .out.
10395         Correct type.
10396         (tests-special): Rename tests to end with .out.
10397         ($(objpfx)mtrace-tst-loading): Likewise.
10398         * intl/Makefile (generated): Likewise.
10399         (tests-special): Likewise.
10400         ($(objpfx)mtrace-tst-gettext): Likewise.
10401         * misc/Makefile (generated): Likewise.
10402         (tests-special): Likewise.
10403         ($(objpfx)tst-error1-mem): Likewise.
10404         * nptl/Makefile (tests-special): Likewise.
10405         ($(objpfx)tst-stack3-mem): Likewise.
10406         (generated): Likewise.
10407         * posix/Makefile (generated): Likewise.
10408         (tests-special): Likewise.
10409         (xtests-special): Likewise.
10410         ($(objpfx)tst-fnmatch-mem): Likewise.
10411         ($(objpfx)bug-regex2-mem): Likewise.
10412         ($(objpfx)bug-regex14-mem): Likewise.
10413         ($(objpfx)bug-regex21-mem): Likewise.
10414         ($(objpfx)bug-regex31-mem): Likewise.
10415         ($(objpfx)tst-vfork3-mem): Likewise.
10416         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10417         ($(objpfx)tst-pcre-mem): Likewise.
10418         ($(objpfx)tst-boost-mem): Likewise.
10419         ($(objpfx)bug-ga2-mem): Likewise.
10420         ($(objpfx)bug-glob2-mem): Likewise.
10421         * resolv/Makefile (generate): Likewise.
10422         (tests-special): Likewise.
10423         (xtests-special): Likewise.
10424         (generated): Likewise.
10425         ($(objpfx)mtrace-tst-leaks): Likewise.
10426         ($(objpfx)mtrace-tst-leaks2): Likewise.
10427
10428         * scripts/merge-test-results.sh: New file.
10429         * Makefile (tests-special-notdir): New variable.
10430         (tests): Run merge-test-results.sh.
10431         (xtests): Likewise.
10432         * Rules (tests-special-notdir): New variable.
10433         (xtests-special-notdir): Likewise.
10434         (tests): Run merge-test-results.sh
10435         (xtests): Likewise.
10436
10437         * Makeconfig (test-xfail-name): New variable.
10438         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10439         compute variable name for expected failures.
10440         * conform/Makefile (conformtest-headers-data): New variable.
10441         (conformtest-standards): Likewise.
10442         (conformtest-headers-ISO): Likewise.
10443         (conformtest-headers-ISO99): Likewise.
10444         (conformtest-headers-ISO11): Likewise.
10445         (conformtest-headers-POSIX): Likewise.
10446         (conformtest-headers-XPG3): Likewise.
10447         (conformtest-headers-XPG4): Likewise.
10448         (conformtest-headers-UNIX98): Likewise.
10449         (conformtest-headers-XOPEN2K): Likewise.
10450         (conformtest-headers-POSIX2008): Likewise.
10451         (conformtest-headers-XOPEN2K8): Likewise.
10452         (conformtest-header-list-base): Likewise.
10453         (conformtest-header-list-tests): Likewise.
10454         (conformtest-header-base): Likewise.
10455         (conformtest-header-tests): Likewise.
10456         (tests-special): Add $(conformtest-header-list-tests).  If
10457         [$(fast-check) && !$(cross-compiling)], add
10458         $(conformtest-header-tests) instead of
10459         $(objpfx)run-conformtest.out.
10460         (generated): Add $(conformtest-header-list-base).  If
10461         [$(fast-check) && !$(cross-compiling)], add
10462         $(conformtest-header-base).  Remove previous setting.
10463         ($(conformtest-header-list-tests)): New target.
10464         (test-xfail-run-conformtest): Remove variable.
10465         ($(objpfx)run-conformtest.out): Remove target.
10466         (test-xfail-ISO11/complex.h/conform): New variable.
10467         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10468         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10469         (test-xfail-XPG3/varargs.h/conform): Likewise.
10470         (test-xfail-XPG4/varargs.h/conform): Likewise.
10471         (test-xfail-UNIX98/varargs.h/conform): Likewise.
10472         (test-xfail-XPG4/ndbm.h/conform): Likewise.
10473         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10474         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10475         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10476         (test-xfail-XPG3/fcntl.h/conform): Likewise.
10477         (test-xfail-XPG3/ftw.h/conform): Likewise.
10478         (test-xfail-XPG3/grp.h/conform): Likewise.
10479         (test-xfail-XPG3/langinfo.h/conform): Likewise.
10480         (test-xfail-XPG3/limits.h/conform): Likewise.
10481         (test-xfail-XPG3/pwd.h/conform): Likewise.
10482         (test-xfail-XPG3/search.h/conform): Likewise.
10483         (test-xfail-XPG3/signal.h/conform): Likewise.
10484         (test-xfail-XPG3/stdio.h/conform): Likewise.
10485         (test-xfail-XPG3/stdlib.h/conform): Likewise.
10486         (test-xfail-XPG3/string.h/conform): Likewise.
10487         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10488         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10489         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10490         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10491         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10492         (test-xfail-XPG3/sys/types.h/conform): Likewise.
10493         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10494         (test-xfail-XPG3/termios.h/conform): Likewise.
10495         (test-xfail-XPG3/time.h/conform): Likewise.
10496         (test-xfail-XPG3/unistd.h/conform): Likewise.
10497         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10498         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10499         (test-xfail-XPG4/langinfo.h/conform): Likewise.
10500         (test-xfail-XPG4/netdb.h/conform): Likewise.
10501         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10502         (test-xfail-XPG4/signal.h/conform): Likewise.
10503         (test-xfail-XPG4/stdio.h/conform): Likewise.
10504         (test-xfail-XPG4/stdlib.h/conform): Likewise.
10505         (test-xfail-XPG4/stropts.h/conform): Likewise.
10506         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10507         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10508         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10509         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10510         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10511         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10512         (test-xfail-XPG4/sys/time.h/conform): Likewise.
10513         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10514         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10515         (test-xfail-XPG4/termios.h/conform): Likewise.
10516         (test-xfail-XPG4/ucontext.h/conform): Likewise.
10517         (test-xfail-XPG4/unistd.h/conform): Likewise.
10518         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10519         (test-xfail-POSIX/sched.h/conform): Likewise.
10520         (test-xfail-POSIX/signal.h/conform): Likewise.
10521         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10522         (test-xfail-POSIX/tar.h/conform): Likewise.
10523         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10524         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10525         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10526         (test-xfail-UNIX98/netdb.h/conform): Likewise.
10527         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10528         (test-xfail-UNIX98/sched.h/conform): Likewise.
10529         (test-xfail-UNIX98/signal.h/conform): Likewise.
10530         (test-xfail-UNIX98/stdio.h/conform): Likewise.
10531         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10532         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10533         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10534         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10535         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10536         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10537         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10538         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10539         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10540         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10541         (test-xfail-UNIX98/unistd.h/conform): Likewise.
10542         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10543         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10544         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10545         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10546         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10547         (test-xfail-XOPEN2K/math.h/conform): Likewise.
10548         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10549         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10550         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10551         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10552         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10553         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10554         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10555         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10556         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10557         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10558         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10559         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10560         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10561         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10562         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10563         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10564         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10565         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10566         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10567         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10568         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10569         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10570         (test-xfail-POSIX2008/signal.h/conform): Likewise.
10571         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10572         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10573         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10574         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10575         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10576         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10577         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10578         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10579         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10580         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10581         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10582         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10583         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10584         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10585         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10586         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10587         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10588         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10589         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10590         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10591         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10592         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10593         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10594         (conformtest-cc-flags): Likewise.
10595         ($(conformtest-header-tests): New target.
10596         * conform/check-header-lists.sh: New file.
10597         * conform/run-conformtest.sh: Remove.
10598
10599         * conform/conformtest.pl: Allow ' and \ in values given for
10600         constants.
10601         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10602         inclusion.
10603         [POSIX] (sys/types.h): Likewise.
10604         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10605         inclusion.
10606         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10607         inclusion.
10608         * conform/data/signal.h-data (SIGIO): Remove expectation.
10609         [XPG3] (SIGBUS): Do not expect.
10610         [POSIX || XPG3] (SIGPOLL): Likewise.
10611         [POSIX || XPG3] (SIGPROF): Likewise.
10612         [POSIX || XPG3] (SIGSYS): Likewise.
10613         [XPG3] (SIGTRAP): Likewise.
10614         [POSIX || XPG3] (SIGURG): Likewise.
10615         [POSIX || XPG3] (SIGVTALRM): Likewise.
10616         [POSIX || XPG3] (SIGXCPU): Likewise.
10617         [POSIX || XPG3] (SIGXFSZ): Likewise.
10618         [POSIX] (SA_SIGINFO): Expect.
10619         [XPG3] (siginfo_t): Do not expect type or contents.
10620         [POSIX] (si_pid): Do not expect element.
10621         [POSIX] (si_uid): Likewise.
10622         [POSIX] (si_addr): Likewise.
10623         [POSIX] (si_status): Likewise.
10624         [POSIX] (si_band): Likewise.
10625         [XPG4] (si_value): Likewise.
10626         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10627         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10628         [POSIX || XPG3] (ILL_ILLADR): Likewise.
10629         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10630         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10631         [POSIX || XPG3] (ILL_PRVREG): Likewise.
10632         [POSIX || XPG3] (ILL_COPROC): Likewise.
10633         [POSIX || XPG3] (ILL_BADSTK): Likewise.
10634         [POSIX || XPG3] (FPE_INTDIV): Likewise.
10635         [POSIX || XPG3] (FPE_INTOVF): Likewise.
10636         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10637         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10638         [POSIX || XPG3] (FPE_FLTUND): Likewise.
10639         [POSIX || XPG3] (FPE_FLTRES): Likewise.
10640         [POSIX || XPG3] (FPE_FLTINV): Likewise.
10641         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10642         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10643         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10644         [POSIX || XPG3] (BUS_ADRALN): Likewise.
10645         [POSIX || XPG3] (BUS_ADRERR): Likewise.
10646         [POSIX || XPG3] (BUS_OBJERR): Likewise.
10647         [POSIX || XPG3] (CLD_EXITED): Likewise.
10648         [POSIX || XPG3] (CLD_KILLED): Likewise.
10649         [POSIX || XPG3] (CLD_DUMPED): Likewise.
10650         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10651         [POSIX || XPG3] (CLD_STOPPED): Likewise.
10652         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10653         [POSIX || XPG3] (POLL_IN): Likewise.
10654         [POSIX || XPG3] (POLL_OUT): Likewise.
10655         [POSIX || XPG3] (POLL_MSG): Likewise.
10656         [POSIX || XPG3] (POLL_ERR): Likewise.
10657         [POSIX || XPG3] (POLL_PRI): Likewise.
10658         [POSIX || XPG3] (POLL_HUP): Likewise.
10659         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10660         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10661         (SIG*): Do not allow.
10662         [XPG3] (si_*): Likewise.
10663         [XPG3] (SI_*): Likewise.
10664         [XPG3 || XPG4] (sigev_*): Likewise.
10665         [XPG3 || XPG4] (SIGEV_*): Likewise.
10666         [XPG3 || XPG4] (sival_*): Likewise.
10667         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10668         [POSIX || XPG3] (BUS_*): Likewise.
10669         [POSIX || XPG3] (CLD_*): Likewise.
10670         [POSIX || XPG3] (FPE_*): Likewise.
10671         [POSIX || XPG3] (ILL_*): Likewise.
10672         [POSIX || XPG3] (POLL_*): Likewise.
10673         [POSIX || XPG3] (SEGV_*): Likewise.
10674         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10675         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10676         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10677         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10678         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10679         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10680         Specify type and value.
10681         (TVERSLEN): Likewise.
10682         (REGTYPE): Likewise.
10683         (AREGTYPE): Likewise.
10684         (LNKTYPE): Likewise.
10685         (SYMTYPE): Likewise.
10686         (CHRTYPE): Likewise.
10687         (BLKTYPE): Likewise.
10688         (DIRTYPE): Likewise.
10689         (FIFOTYPE): Likewise.
10690         (CONTTYPE): Likewise.
10691         (TSUID): Likewise.
10692         (TSGID): Likewise.
10693         (TSVTX): Likewise.
10694         (TUREAD): Likewise.
10695         (TUWRITE): Likewise.
10696         (TUEXEC): Likewise.
10697         (TGREAD): Likewise.
10698         (TGWRITE): Likewise.
10699         (TGEXEC): Likewise.
10700         (TOREAD): Likewise.
10701         (TOWRITE): Likewise.
10702         (TOEXEC): Likewise.
10703         [POSIX] (TSVTX): Expect constant.
10704
10705 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
10706
10707         * Makefile (tests): Change dependencies to ....
10708         (tests-special): ... additions to this variable.
10709         (tests): Depend on $(tests-special).
10710         * Makerules (check-abi-list): New variable.
10711         (check-abi): Depend on $(check-abi-list).
10712         [$(subdir) = elf] (tests-special): Add
10713         $(objpfx)check-abi-libc.out.
10714         [$(build-shared) = yes && subdir] (tests-special): Add
10715         $(check-abi-list).
10716         [$(build-shared) = yes && subdir] (tests): Do not depend on
10717         check-abi.
10718         * Rules (tests): Depend on $(tests-special).
10719         (xtests): Depend on $(xtests-special).
10720         * catgets/Makefile (tests): Change dependencies to ....
10721         (tests-special): ... additions to this variable.
10722         * conform/Makefile (tests): Change dependencies to ....
10723         (tests-special): ... additions to this variable.
10724         * elf/Makefile (tests): Change dependencies to ....
10725         (tests-special): ... additions to this variable.
10726         * grp/Makefile (tests): Change dependencies to ....
10727         (tests-special): ... additions to this variable.
10728         * iconv/Makefile (xtests): Change dependencies to ....
10729         (xtests-special): ... additions to this variable.
10730         * iconvdata/Makefile (tests): Change dependencies to ....
10731         (tests-special): ... additions to this variable.
10732         * intl/Makefile (tests): Change dependencies to ....
10733         (tests-special): ... additions to this variable.  Also add
10734         $(objpfx)tst-gettext.out.
10735         * io/Makefile (tests): Change dependencies to ....
10736         (tests-special): ... additions to this variable.
10737         * libio/Makefile (tests): Change dependencies to ....
10738         (tests-special): ... additions to this variable.
10739         * malloc/Makefile (tests): Change dependencies to ....
10740         (tests-special): ... additions to this variable.
10741         * misc/Makefile (tests): Change dependencies to ....
10742         (tests-special): ... additions to this variable.
10743         * nptl/Makefile (tests): Change dependencies to ....
10744         (tests-special): ... additions to this variable.
10745         * nptl_db/Makefile (tests): Change dependencies to ....
10746         (tests-special): ... additions to this variable.
10747         * posix/Makefile (tests): Change dependencies to ....
10748         (tests-special): ... additions to this variable.
10749         (xtests): Change dependencies to ....
10750         (xtests-special): ... additions to this variable.
10751         * resolv/Makefile (tests): Change dependencies to ....
10752         (tests-special): ... additions to this variable.
10753         (xtests): Change dependencies to ....
10754         (xtests-special): ... additions to this variable.
10755         * stdio-common/Makefile (tests): Change dependencies to ....
10756         (tests-special): ... additions to this variable.
10757         (do-tst-unbputc): Remove target.
10758         (do-tst-printf): Likewise.
10759         * stdlib/Makefile (tests): Change dependencies to ....
10760         (tests-special): ... additions to this variable.
10761         * string/Makefile (tests): Change dependencies to ....
10762         (tests-special): ... additions to this variable.
10763         * sysdeps/x86/Makefile (tests): Change dependencies to ....
10764         (tests-special): ... additions to this variable.
10765
10766         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10767         whole file.
10768         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10769         whole file.
10770         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10771         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10772
10773         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10774         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10775         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10776         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10777         * conform/data/libgen.h-data [XPG3]: Likewise.
10778         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10779         * conform/data/ndbm.h-data [XPG3]: Likewise.
10780         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10781         * conform/data/netdb.h-data [XPG3]: Likewise.
10782         * conform/data/netinet/in.h-data [XPG3]: Likewise.
10783         * conform/data/poll.h-data [XPG3]: Likewise.
10784         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10785         * conform/data/strings.h-data [XPG3]: Likewise.
10786         * conform/data/stropts.h-data [XPG3]: Likewise.
10787         * conform/data/sys/mman.h-data [XPG3]: Likewise.
10788         * conform/data/sys/resource.h-data [XPG3]: Likewise.
10789         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10790         Likewise.
10791         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10792         * conform/data/sys/time.h-data [XPG3]: Likewise.
10793         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10794         * conform/data/sys/uio.h-data [XPG3]: Likewise.
10795         * conform/data/sys/un.h-data [XPG3]: Likewise.
10796         * conform/data/syslog.h-data [XPG3]: Likewise.
10797         * conform/data/ucontext.h-data [XPG3]: Likewise.
10798         * conform/data/utmpx.h-data [XPG3]: Likewise.
10799         * conform/data/varargs.h-data [UNIX98]: Enable file.
10800
10801         * manual/Makefile (INSTALL_INFO): Remove variable setting.
10802
10803         * math/libm-test.inc (struct test_f_f_data): Move expected results
10804         into structure for each rounding mode.
10805         (struct test_ff_f_data): Likewise.
10806         (struct test_ff_f_data_nexttoward): Likewise.
10807         (struct test_fi_f_data): Likewise.
10808         (struct test_fl_f_data): Likewise.
10809         (struct test_if_f_data): Likewise.
10810         (struct test_fff_f_data): Likewise.
10811         (struct test_c_f_data): Likewise.
10812         (struct test_f_f1_data): Likewise.
10813         (struct test_fF_f1_data): Likewise.
10814         (struct test_ffI_f1_data): Likewise.
10815         (struct test_c_c_data): Likewise.
10816         (struct test_cc_c_data): Likewise.
10817         (struct test_f_i_data): Likewise.
10818         (struct test_ff_i_data): Likewise.
10819         (struct test_f_l_data): Likewise.
10820         (struct test_f_L_data): Likewise.
10821         (struct test_fFF_11_data): Likewise.
10822         (RM_): New macro.
10823         (RM_FE_DOWNWARD): Likewise.
10824         (RM_FE_TONEAREST): Likewise.
10825         (RM_FE_TOWARDZERO): Likewise.
10826         (RM_FE_UPWARD): Likewise.
10827         (RUN_TEST_LOOP_f_f): Update references to expected results.
10828         (RUN_TEST_LOOP_2_f): Likewise.
10829         (RUN_TEST_LOOP_fff_f): Likewise.
10830         (RUN_TEST_LOOP_c_f): Likewise.
10831         (RUN_TEST_LOOP_f_f1): Likewise.
10832         (RUN_TEST_LOOP_fF_f1): Likewise.
10833         (RUN_TEST_LOOP_fI_f1): Likewise.
10834         (RUN_TEST_LOOP_ffI_f1): Likewise.
10835         (RUN_TEST_LOOP_c_c): Likewise.
10836         (RUN_TEST_LOOP_cc_c): Likewise.
10837         (RUN_TEST_LOOP_f_i): Likewise.
10838         (RUN_TEST_LOOP_f_i_tg): Likewise.
10839         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10840         (RUN_TEST_LOOP_f_b): Likewise.
10841         (RUN_TEST_LOOP_f_b_tg): Likewise.
10842         (RUN_TEST_LOOP_f_l): Likewise.
10843         (RUN_TEST_LOOP_f_L): Likewise.
10844         (RUN_TEST_LOOP_fFF_11): Likewise.
10845         * math/gen-libm-test.pl (parse_args): Output four copies of
10846         expected results for each test.
10847
10848         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10849         (__ASSUME_UTIMES): Remove.
10850         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10851         (__ASSUME_UTIMES): Likewise.
10852
10853         * math/gen-auto-libm-tests.c: Update comment on output format.
10854         (output_for_one_input_case): Generate before-rounding and
10855         after-rounding information as conditions on output flags not
10856         floating-point format.
10857         * math/auto-libm-test-out: Regenerated.
10858         * math/gen-libm-test.pl (cond_value): New function.
10859         (or_cond_value): Use cond_value.
10860         (generate_testfile): Handle conditional exceptions.
10861
10862 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
10863
10864         * math/libm-test.inc (max_valid_error): New variable.
10865         (init_max_error): Take new argument specifying whether function
10866         results are exactly determined.  Set max_valid_error and bound
10867         other variables for errors based on this argument.
10868         (set_max_error): Do not record results above max_valid_error.
10869         (check_float_internal): Only accept errors of up to 0.5ulps if
10870         also at most max_valid_error.
10871         (START): Take new argument EXACT and pass it to init_max_error.
10872         (acos_test): Update call to START.
10873         (acos_test_tonearest): Likewise.
10874         (acos_test_towardzero): Likewise.
10875         (acos_test_downward): Likewise.
10876         (acos_test_upward): Likewise.
10877         (acosh_test): Likewise.
10878         (asin_test): Likewise.
10879         (asin_test_tonearest): Likewise.
10880         (asin_test_towardzero): Likewise.
10881         (asin_test_downward): Likewise.
10882         (asin_test_upward): Likewise.
10883         (asinh_test): Likewise.
10884         (atan_test): Likewise.
10885         (atanh_test): Likewise.
10886         (atan2_test): Likewise.
10887         (cabs_test): Likewise.
10888         (cacos_test): Likewise.
10889         (cacosh_test): Likewise.
10890         (carg_test): Likewise.
10891         (casin_test): Likewise.
10892         (casinh_test): Likewise.
10893         (catan_test): Likewise.
10894         (catanh_test): Likewise.
10895         (cbrt_test): Likewise.
10896         (ccos_test): Likewise.
10897         (ccosh_test): Likewise.
10898         (ceil_test): Likewise.
10899         (cexp_test): Likewise.
10900         (cimag_test): Likewise.
10901         (clog_test): Likewise.
10902         (clog10_test): Likewise.
10903         (conj_test): Likewise.
10904         (copysign_test): Likewise.
10905         (cos_test): Likewise.
10906         (cos_test_tonearest): Likewise.
10907         (cos_test_towardzero): Likewise.
10908         (cos_test_downward): Likewise.
10909         (cos_test_upward): Likewise.
10910         (cosh_test): Likewise.
10911         (cosh_test_tonearest): Likewise.
10912         (cosh_test_towardzero): Likewise.
10913         (cosh_test_downward): Likewise.
10914         (cosh_test_upward): Likewise.
10915         (cpow_test): Likewise.
10916         (cproj_test): Likewise.
10917         (creal_test): Likewise.
10918         (csin_test): Likewise.
10919         (csinh_test): Likewise.
10920         (csqrt_test): Likewise.
10921         (ctan_test): Likewise.
10922         (ctan_test_tonearest): Likewise.
10923         (ctan_test_towardzero): Likewise.
10924         (ctan_test_downward): Likewise.
10925         (ctan_test_upward): Likewise.
10926         (ctanh_test): Likewise.
10927         (ctanh_test_tonearest): Likewise.
10928         (ctanh_test_towardzero): Likewise.
10929         (ctanh_test_downward): Likewise.
10930         (ctanh_test_upward): Likewise.
10931         (erf_test): Likewise.
10932         (erfc_test): Likewise.
10933         (exp_test): Likewise.
10934         (exp_test_tonearest): Likewise.
10935         (exp_test_towardzero): Likewise.
10936         (exp_test_downward): Likewise.
10937         (exp_test_upward): Likewise.
10938         (exp10_test): Likewise.
10939         (exp10_test_tonearest): Likewise.
10940         (exp10_test_towardzero): Likewise.
10941         (exp10_test_downward): Likewise.
10942         (exp10_test_upward): Likewise.
10943         (pow10_test): Likewise.
10944         (exp2_test): Likewise.
10945         (expm1_test): Likewise.
10946         (expm1_test_tonearest): Likewise.
10947         (expm1_test_towardzero): Likewise.
10948         (expm1_test_downward): Likewise.
10949         (expm1_test_upward): Likewise.
10950         (fabs_test): Likewise.
10951         (fdim_test): Likewise.
10952         (floor_test): Likewise.
10953         (fma_test): Likewise.
10954         (fma_test_towardzero): Likewise.
10955         (fma_test_downward): Likewise.
10956         (fma_test_upward): Likewise.
10957         (fmax_test): Likewise.
10958         (fmin_test): Likewise.
10959         (fmod_test): Likewise.
10960         (fpclassify_test): Likewise.
10961         (frexp_test): Likewise.
10962         (hypot_test): Likewise.
10963         (ilogb_test): Likewise.
10964         (isfinite_test): Likewise.
10965         (finite_test): Likewise.
10966         (isgreater_test): Likewise.
10967         (isgreaterequal_test): Likewise.
10968         (isinf_test): Likewise.
10969         (isless_test): Likewise.
10970         (islessequal_test): Likewise.
10971         (islessgreater_test): Likewise.
10972         (isnan_test): Likewise.
10973         (isnormal_test): Likewise.
10974         (issignaling_test): Likewise.
10975         (isunordered_test): Likewise.
10976         (j0_test): Likewise.
10977         (j1_test): Likewise.
10978         (jn_test): Likewise.
10979         (ldexp_test): Likewise.
10980         (lgamma_test): Likewise.
10981         (gamma_test): Likewise.
10982         (lrint_test): Likewise.
10983         (lrint_test_tonearest): Likewise.
10984         (lrint_test_towardzero): Likewise.
10985         (lrint_test_downward): Likewise.
10986         (lrint_test_upward): Likewise.
10987         (llrint_test): Likewise.
10988         (llrint_test_tonearest): Likewise.
10989         (llrint_test_towardzero): Likewise.
10990         (llrint_test_downward): Likewise.
10991         (llrint_test_upward): Likewise.
10992         (log_test): Likewise.
10993         (log10_test): Likewise.
10994         (log1p_test): Likewise.
10995         (log2_test): Likewise.
10996         (logb_test): Likewise.
10997         (logb_test_downward): Likewise.
10998         (lround_test): Likewise.
10999         (llround_test): Likewise.
11000         (modf_test): Likewise.
11001         (nearbyint_test): Likewise.
11002         (nextafter_test): Likewise.
11003         (nexttoward_test): Likewise.
11004         (pow_test): Likewise.
11005         (pow_test_tonearest): Likewise.
11006         (pow_test_towardzero): Likewise.
11007         (pow_test_downward): Likewise.
11008         (pow_test_upward): Likewise.
11009         (remainder_test): Likewise.
11010         (drem_test): Likewise.
11011         (remainder_test_tonearest): Likewise.
11012         (drem_test_tonearest): Likewise.
11013         (remainder_test_towardzero): Likewise.
11014         (drem_test_towardzero): Likewise.
11015         (remainder_test_downward): Likewise.
11016         (drem_test_downward): Likewise.
11017         (remainder_test_upward): Likewise.
11018         (drem_test_upward): Likewise.
11019         (remquo_test): Likewise.
11020         (rint_test): Likewise.
11021         (rint_test_tonearest): Likewise.
11022         (rint_test_towardzero): Likewise.
11023         (rint_test_downward): Likewise.
11024         (rint_test_upward): Likewise.
11025         (round_test): Likewise.
11026         (scalb_test): Likewise.
11027         (scalbn_test): Likewise.
11028         (scalbln_test): Likewise.
11029         (signbit_test): Likewise.
11030         (sin_test): Likewise.
11031         (sin_test_tonearest): Likewise.
11032         (sin_test_towardzero): Likewise.
11033         (sin_test_downward): Likewise.
11034         (sin_test_upward): Likewise.
11035         (sincos_test): Likewise.
11036         (sinh_test): Likewise.
11037         (sinh_test_tonearest): Likewise.
11038         (sinh_test_towardzero): Likewise.
11039         (sinh_test_downward): Likewise.
11040         (sinh_test_upward): Likewise.
11041         (sqrt_test): Likewise.
11042         (sqrt_test_tonearest): Likewise.
11043         (sqrt_test_towardzero): Likewise.
11044         (sqrt_test_downward): Likewise.
11045         (sqrt_test_upward): Likewise.
11046         (tan_test): Likewise.
11047         (tan_test_tonearest): Likewise.
11048         (tan_test_towardzero): Likewise.
11049         (tan_test_downward): Likewise.
11050         (tan_test_upward): Likewise.
11051         (tanh_test): Likewise.
11052         (tgamma_test): Likewise.
11053         (trunc_test): Likewise.
11054         (y0_test): Likewise.
11055         (y1_test): Likewise.
11056         (yn_test): Likewise.
11057         (significand_test): Likewise.
11058
11059         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11060         individual tests in comment.
11061         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11062         (prev_max_error): New variable.
11063         (prev_real_max_error): Likewise.
11064         (prev_imag_max_error): Likewise.
11065         (compare_ulp_data): Don't refer to test names in comment.
11066         (find_test_ulps): Remove function.
11067         (find_function_ulps): Likewise.
11068         (find_complex_function_ulps): Likewise.
11069         (init_max_error): Take function name as argument.  Look up ulps
11070         for that function.
11071         (print_ulps): Remove function.
11072         (print_max_error): Use prev_max_error instead of calling
11073         find_function_ulps.
11074         (print_complex_max_error): Use prev_real_max_error and
11075         prev_imag_max_error instead of calling find_complex_function_ulps.
11076         (check_float_internal): Take max_ulp parameter instead of calling
11077         find_test_ulps.  Don't call print_ulps.
11078         (check_float): Update call to check_float_internal.
11079         (check_complex): Update calls to check_float_internal.
11080         (START): Pass argument to init_max_error.
11081         * math/gen-libm-test.pl (%results): Don't include "kind"
11082         information.
11083         (parse_ulps): Don't handle ulps of individual tests.
11084         (print_ulps_file): Likewise.
11085         (output_ulps): Likewise.
11086         * math/README.libm-test: Update.
11087         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11088         individual tests.
11089         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11090         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11091         * sysdeps/arm/libm-test-ulps: Likewise.
11092         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11093         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11094         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11095         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11096         * sysdeps/microblaze/libm-test-ulps: Likewise.
11097         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11098         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11099         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11100         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11101         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11102         * sysdeps/sh/libm-test-ulps: Likewise.
11103         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11104         * sysdeps/tile/libm-test-ulps: Likewise.
11105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11106
11107 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
11108
11109         * math/libm-test.inc (print_complex_max_error): Check separately
11110         whether real and imaginary errors are within allowed range and
11111         pass 0 to print_complex_function_ulps instead of value within
11112         allowed range.
11113
11114 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11115
11116         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11117         formatting.
11118         (get_handles_fopen): Likewise.
11119         (do_write_test): Likewise.
11120
11121         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11122
11123         * libio/fileops.c (do_ftell): Use cached offset when
11124         available.
11125         * libio/iofwide.c (do_ftell_wide): Likewise.
11126         * libio/iofdopen.c (_IO_new_fdopen): Don't use
11127         _IO_file_attach.
11128         * libio/wfileops.c (_IO_fwide): Don't cache offset.
11129
11130         [BZ #16532]
11131         * libio/libioP.h (get_file_offset): New function.
11132         * libio/fileops.c (get_file_offset): Likewise.
11133         (do_ftell): Likewise.
11134         (_IO_new_file_seekoff): Split out ftell logic.
11135         * libio/wfileops.c (do_ftell_wide): Likewise.
11136         (_IO_wfile_seekoff): Split out ftell logic.
11137         * libio/tst-ftell-active-handler.c: New test case.
11138         * libio/Makefile (tests): Add it.
11139
11140 2014-03-03  Roland McGrath  <roland@hack.frob.com>
11141
11142         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11143         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11144
11145 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11146
11147         [BZ #16639]
11148         * nscd/connections.c (nscd_init): Call do_exit.
11149         (start_threads): Call do_exit and notify_parent.
11150         (begin_drop_privileges): Call do_exit.
11151         (finish_drop_privileges): Likewise.
11152         * nscd/selinux.c (preserve_capabilities): Likewise.
11153         (install_real_capabilities): Likewise.
11154         (nscd_selinux_enabled): Likewise.
11155         (avc_create_thread): Likewise.
11156         (avc_alloc_lock): Likewise.
11157         (nscd_avc_init): Likewise.
11158         * nscd/nscd.c (parent_fd): New static variable.
11159         (main): Create a pipe between parent and child processes.
11160         Skip closing parent_fd.
11161         (monitor_child): New function.
11162         (do_exit): Likewise.
11163         (notify_parent): Likewise.
11164         * nscd/nscd.h (notify_parent): Likewise.
11165         (do_exit): Likewise.
11166
11167 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
11168
11169         * malloc/malloc.c (__libc_calloc): Revert last change.
11170
11171 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11172
11173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11174
11175 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11176
11177         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11179         implementation.
11180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11181         (__libc_ifunc_impl_list): Likewise.
11182         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11183         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11184         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11185         * string/strrchr.c: Define STRRCHR.
11186
11187 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
11188
11189         * benchtest/bench-strtok.c (simple_strtok): Delete.
11190         (strtok_string): Use as benchmark.
11191         * string/strtok (STRTOK): New macro.
11192
11193 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
11194
11195         * manual/threads.texi: Add header and standard comments to all
11196         functions.
11197
11198         * elf/dl-lookup.c (check_match): New function.
11199         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11200         (do_lookup_x): Remove nested function check_match. Use non-nested
11201         function check_match.
11202
11203 2014-02-28  Roland McGrath  <roland@hack.frob.com>
11204
11205         * csu/Makefile (generated, before-compile): Use += rather than =.
11206         * catgets/Makefile (generated, generated-dirs): Likewise.
11207         * debug/Makefile (generated): Likewise.
11208         * dlfcn/Makefile (generated): Likewise.
11209         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11210         * iconvdata/Makefile (before-compile, generated): Likewise.
11211         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11212         * libio/Makefile (generated): Likewise.
11213         * malloc/Makefile (generated): Likewise.
11214         * manual/Makefile (generated, generated-dirs): Likewise.
11215         * misc/Makefile (generated): Likewise.
11216         * posix/Makefile (generated): Likewise.
11217         * resolv/Makefile (generated): Likewise.
11218         * sunrpc/Makefile (generated, generated-dirs): Likewise.
11219         * timezone/Makefile (generated, generated-dirs): Likewise.
11220
11221         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11222
11223 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11224
11225         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11226         power8 implementation.
11227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11228         file: POWER8 llround ifunc implementation.
11229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11230         (__lllround): Add POWER8 implementation.
11231         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11232         POWER8 llround implementation.
11233
11234         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11235         power8 implementation.
11236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11237         file: POWER8 llrint ifunc implementation.
11238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11239         Add POWER8 implementation.
11240         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11241         POWER8 llrint implementation.
11242
11243         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11244         power8 implementation.
11245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11246         file: POWER8 finite ifunc implementation.
11247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11248         Add POWER8 implementation.
11249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11250         Likewise.
11251         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11252         POWER8 finite implementation.
11253         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11254
11255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11256         power8 implementation.
11257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11258         file: POWER8 isinf ifunc implementation.
11259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11260         POWER8 implementation.
11261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11262         Likewise.
11263         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11264         isinf implementation.
11265         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11266
11267         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11268         (INIT_ARCH): Add hwcap2 initialization.
11269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11270         power8 implementation.
11271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11272         file: POWER8 isnan ifunc implementation.
11273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11274         POWER8 implementation.
11275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11276         Likewise.
11277         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11278         isnan implementation.
11279         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11280
11281 2014-02-27  Joey Ye  <joey.ye@arm.com>
11282
11283         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11284         (_FP_NANFRAC_Q): Set to zero.
11285
11286 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11287
11288         [BZ #16623]
11289         * math/auto-libm-test-in: New test inputs.
11290         * math/auto-libm-test-out: Regenerate.
11291         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11292         and DA.
11293         (__cos): Likewise.
11294         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11295
11296 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
11297
11298         * scripts/evaluate-test.sh: Take new argument indicating whether
11299         failure is expected.
11300         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11301         indicating whether failure is expected.
11302         * conform/Makefile (test-xfail-run-conformtest): New variable.
11303         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11304         level.
11305         * posix/Makefile (test-xfail-annexc): New variable.
11306         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11307
11308 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
11309
11310         * argp/Makefile: Include Makeconfig immediately after defining
11311         subdir.
11312         * assert/Makefile: Likewise.
11313         * benchtests/Makefile: Likewise.
11314         * catgets/Makefile: Likewise.
11315         * conform/Makefile: Likewise.
11316         * crypt/Makefile: Likewise.
11317         * csu/Makefile: Likewise.
11318         (all): Remove target.
11319         * ctype/Makefile: Include Makeconfig immediately after defining
11320         subdir.
11321         * debug/Makefile: Likewise.
11322         * dirent/Makefile: Likewise.
11323         * dlfcn/Makefile: Likewise.
11324         * gmon/Makefile: Likewise.
11325         * gnulib/Makefile: Likewise.
11326         * grp/Makefile: Likewise.
11327         * gshadow/Makefile: Likewise.
11328         * hesiod/Makefile: Likewise.
11329         * hurd/Makefile: Likewise.
11330         (all): Remove target.
11331         * iconvdata/Makefile: Include Makeconfig immediately after
11332         defining subdir.
11333         * inet/Makefile: Likewise.
11334         * intl/Makefile: Likewise.
11335         * io/Makefile: Likewise.
11336         * libio/Makefile: Likewise.
11337         (all): Remove target.
11338         * locale/Makefile: Include Makeconfig immediately after defining
11339         subdir.
11340         * login/Makefile: Likewise.
11341         * mach/Makefile: Likewise.
11342         (all): Remove target.
11343         * malloc/Makefile: Include Makeconfig immediately after defining
11344         subdir.
11345         (all): Remove target.
11346         * manual/Makefile: Include Makeconfig immediately after defining
11347         subdir.
11348         * math/Makefile: Likewise.
11349         * misc/Makefile: Likewise.
11350         * nis/Makefile: Likewise.
11351         * nss/Makefile: Likewise.
11352         * po/Makefile: Likewise.
11353         (all): Remove target.
11354         * posix/Makefile: Include Makeconfig immediately after defining
11355         subdir.
11356         * pwd/Makefile: Likewise.
11357         * resolv/Makefile: Likewise.
11358         * resource/Makefile: Likewise.
11359         * rt/Makefile: Likewise.
11360         * setjmp/Makefile: Likewise.
11361         * shadow/Makefile: Likewise.
11362         * signal/Makefile: Likewise.
11363         * socket/Makefile: Likewise.
11364         * soft-fp/Makefile: Likewise.
11365         * stdio-common/Makefile: Likewise.
11366         * stdlib/Makefile: Likewise.
11367         * streams/Makefile: Likewise.
11368         * string/Makefile: Likewise.
11369         * sunrpc/Makefile: Likewise.
11370         (all): Remove target.
11371         * sysvipc/Makefile: Include Makeconfig immediately after defining
11372         subdir.
11373         * termios/Makefile: Likewise.
11374         * time/Makefile: Likewise.
11375         * timezone/Makefile: Likewise.
11376         (all): Remove target.
11377         * wcsmbs/Makefile: Include Makeconfig immediately after defining
11378         subdir.
11379         * wctype/Makefile: Likewise.
11380
11381 2014-02-26  Steve Ellcey  <sellcey@mips.com>
11382
11383         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11384         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11385         (libc_feholdexcept_setround_mips): Ditto.
11386         (libc_feholdsetround): New.
11387         (libc_feholdsetroundf): New.
11388         (libc_feholdsetroundl): New.
11389         (libc_feupdateenv_test_mips): New.
11390         (libc_feupdateenv_test): New.
11391         (libc_feupdateenv_testf): New.
11392         (libc_feupdateenv_testl): New.
11393         (libc_feresetround): New.
11394         (libc_feresetroundf): New.
11395         (libc_feresetroundl): New.
11396         (libc_fetestexcept_mips): New.
11397         (libc_fetestexcept): New.
11398         (libc_fetestexceptf): New.
11399         (libc_fetestexceptl): New.
11400         (HAVE_RM_CTX): New.
11401         (libc_feholdexcept_setround_mips_ctx): New.
11402         (libc_feholdexcept_setround_ctx): New.
11403         (libc_feholdexcept_setroundf_ctx): New.
11404         (libc_feholdexcept_setroundl_ctx): New.
11405         (libc_fesetenv_mips_ctx): New.
11406         (libc_fesetenv_ctx): New.
11407         (libc_fesetenv_ctxf): New.
11408         (libc_fesetenv_ctxl): New.
11409         (libc_feupdateenv_mips_ctx): New.
11410         (libc_feupdateenv_ctx): New.
11411         (libc_feupdateenvf_ctx): New.
11412         (libc_feupdateenvl_ctx): New.
11413         (libc_feholdsetround_mips_ctx): New.
11414         (libc_feholdsetround_ctx): New.
11415         (libc_feholdsetroundf_ctx): New.
11416         (libc_feholdsetroundl_ctx): New.
11417         (libc_feresetround_mips_ctx): New.
11418         (libc_feresetround_ctx): New.
11419         (libc_feresetroundf_ctx): New.
11420         (libc_feresetroundl_ctx): New.
11421
11422 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
11423
11424         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11425
11426         * manual/ipc.texi: New file.
11427         * manual/Makefile (chapters): Add ipc.
11428         * manual/job.texi: Add "Inter-Process Communication" to next.
11429         * manual/process.texi: Add "Inter-Process Communication" to prev.
11430
11431 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11432
11433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11434
11435 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
11436
11437         * malloc/malloc.c (__libc_calloc): Simplify implementation.
11438
11439         * manual/arith.texi: Fix spaces after sentences.
11440         * manual/charset.texi: Likewise.
11441         * manual/errno.texi: Likewise.
11442         * manual/install.texi: Likewise.
11443         * manual/llio.texi: Likewise.
11444         * manual/locale.texi: Likewise.
11445         * manual/maint.texi: Likewise.
11446         * manual/math.texi: Likewise.
11447         * manual/memory.texi: Likewise.
11448         * manual/message.texi: Likewise.
11449         * manual/probes.texi: Likewise.
11450         * manual/resource.texi: Likewise.
11451         * manual/signal.texi: Likewise.
11452         * manual/socket.texi: Likewise.
11453         * manual/stdio.texi: Likewise.
11454         * manual/string.texi: Likewise.
11455         * manual/time.texi: Likewise.
11456         * manual/users.texi: Likewise.
11457
11458 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
11459
11460         [BZ #16632]
11461         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11462         _DEFAULT_SOURCE is defined.
11463
11464 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
11465             Carlos O'Donell  <carlos@redhat.com>
11466
11467         [BZ #16613]
11468         * elf/dl-tls.c (_dl_count_modids): New function.
11469         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11470         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11471         audit library and increment generation counter.
11472         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11473         * elf/tst-audit9.c: New file.
11474         * elf/tst-auditmod9a.c: New file.
11475         * elf/tst-auditmod9b.c: New file.
11476         * elf/Makefile: Add rules to build and run tst-audit9.
11477
11478 2014-02-25  Florian Weimer  <fweimer@redhat.com>
11479
11480         [BZ #15347]
11481         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11482
11483 2014-02-25  Will Newton  <will.newton@linaro.org>
11484
11485         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11486         (__longjmp): Restore sp and lr before restoring callee
11487         saved registers.  Add longjmp and longjmp_target
11488         SystemTap probe point.
11489         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11490         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11491         Define to zero to match jmpbuf layout.
11492         * sysdeps/arm/setjmp.S: Include stap-probe.h.
11493         (__sigsetjmp): Save sp and lr before saving callee
11494         saved registers.  Add setjmp SystemTap probe point.
11495
11496 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11497
11498         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11499
11500 2014-02-24  Andreas Schwab  <schwab@suse.de>
11501
11502         [BZ #15804]
11503         * elf/pldd.c (wait_for_ptrace_stop): New function.
11504         (main): Call it after attaching.
11505
11506 2014-02-22  Roland McGrath  <roland@hack.frob.com>
11507
11508         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11509         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11510         Versions files is now verboten.
11511         * hurd/Versions (libc: GLIBC_2.0):
11512         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11513         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11514         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11515         * mach/Versions: Likewise.
11516
11517         * csu/Versions: Remove unused %include.
11518         * resolv/Versions: Likewise.
11519
11520 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
11521
11522         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11523         ($(objpfx)check-local-headers.out): Likewise.
11524         ($(objpfx)begin-end-check.out): Likewise.
11525         * Makerules (check-abi-%.out): Likewise.
11526         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11527         ($(objpfx)test2.cat): Likewise.
11528         ($(objpfx)de/libc.cat): Likewise.
11529         ($(objpfx)test-gencat.out): Likewise.
11530         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11531         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11532         ($(objpfx)noload-mem): Likewise.
11533         ($(objpfx)tst-pathopt.out): Likewise.
11534         ($(objpfx)tst-rtld-load-self.out): Likewise.
11535         ($(objpfx)tst-array1-cmp.out): Likewise.
11536         ($(objpfx)tst-array1-static-cmp.out): Likewise.
11537         ($(objpfx)tst-array2-cmp.out): Likewise.
11538         ($(objpfx)tst-array3-cmp.out): Likewise.
11539         ($(objpfx)tst-array4-cmp.out): Likewise.
11540         ($(objpfx)tst-array5-cmp.out): Likewise.
11541         ($(objpfx)tst-array5-static-cmp.out): Likewise.
11542         ($(objpfx)check-textrel.out): Likewise.
11543         ($(objpfx)check-execstack.out): Likewise.
11544         ($(objpfx)check-localplt.out): Likewise.
11545         ($(objpfx)order2-cmp.out): Likewise.
11546         ($(objpfx)tst-leaks1-mem): Likewise.
11547         ($(objpfx)tst-leaks1-static-mem): Likewise.
11548         ($(objpfx)tst-initorder-cmp.out): Likewise.
11549         ($(objpfx)tst-initorder2-cmp.out): Likewise.
11550         ($(objpfx)tst-unused-dep.out): Likewise.
11551         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11552         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11553         * iconv/Makefile (test-iconvconfig): Likewise.
11554         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11555         ($(objpfx)iconv-test.out): Likewise.
11556         ($(objpfx)tst-tables.out): Likewise.
11557         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11558         ($(objpfx)tst-gettext.out): Likewise.
11559         ($(objpfx)tst-translit.out): Likewise.
11560         ($(objpfx)tst-gettext2.out): Likewise.
11561         ($(objpfx)tst-gettext4.out): Likewise.
11562         ($(objpfx)tst-gettext6.out): Likewise.
11563         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11564         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11565         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11566         ($(objpfx)tst-fopenloc-mem.out): Likewise.
11567         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11568         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11569         * posix/Makefile ($(objpfx)globtest.out): Likewise.
11570         ($(objpfx)wordexp-tst.out): Likewise.
11571         ($(objpfx)annexc.out): Likewise.
11572         ($(objpfx)tst-fnmatch-mem): Likewise.
11573         ($(objpfx)bug-regex2-mem): Likewise.
11574         ($(objpfx)bug-regex14-mem): Likewise.
11575         ($(objpfx)bug-regex21-mem): Likewise.
11576         ($(objpfx)bug-regex31-mem): Likewise.
11577         ($(objpfx)tst-vfork3-mem): Likewise.
11578         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11579         ($(objpfx)tst-pcre-mem): Likewise.
11580         ($(objpfx)tst-boost-mem): Likewise.
11581         ($(objpfx)tst-getconf.out): Likewise.
11582         ($(objpfx)bug-ga2-mem): Likewise.
11583         ($(objpfx)bug-glob2-mem): Likewise.
11584         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11585         ($(objpfx)mtrace-tst-leaks2): Likewise.
11586         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11587         ($(objpfx)tst-printf.out): Likewise.
11588         ($(objpfx)tst-setvbuf1.out): Likewise.
11589         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11590         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11591         ($(objpfx)tst-fmtmsg.out): Likewise.
11592         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11593         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11594
11595         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11596         * bits/sigaction.h [__USE_MISC]: Likewise.
11597         * bits/waitstatus.h: Update #endif comments.
11598         * ctype/ctype.h: Likewise.
11599         * dirent/dirent.h: Likewise.
11600         [__USE_MISC]: Remove redundant conditionals.
11601         * grp/grp.h: Update #endif comments.
11602         [__USE_GNU]: Remove redundant conditionals.
11603         [__USE_MISC]: Likewise.
11604         * inet/netinet/in.h [__USE_GNU]: Likewise.
11605         * io/sys/stat.h [__USE_MISC]: Likewise.
11606         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11607         * libio/bits/stdio.h: Update #endif comments.
11608         [__USE_MISC]: Remove redundant conditionals.
11609         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11610         * libio/stdio.h: Update #endif comments.
11611         [__USE_MISC]: Remove redundant conditionals.
11612         * math/bits/math-finite.h [__USE_MISC]: Likewise.
11613         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11614         * math/math.h: Update #else and #endif comments.
11615         [__USE_MISC]: Remove redundant conditionals.
11616         * misc/sys/uio.h: Update #endif comments.
11617         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11618         * posix/glob.h [__USE_MISC]: Likewise.
11619         * posix/sys/types.h: Update #endif comments.
11620         [__USE_MISC]: Remove redundant conditionals.
11621         * posix/sys/wait.h: Update #endif comments.
11622         [__USE_MISC]: Remove redundant conditionals.
11623         * posix/unistd.h: Update #endif comments.
11624         [__USE_MISC]: Remove redundant conditionals.
11625         * pwd/pwd.h [__USE_GNU]: Likewise.
11626         [__USE_MISC]: Likewise.
11627         * resolv/netdb.h [__USE_GNU]: Likewise.
11628         * signal/signal.h: Update #endif comments.
11629         [__USE_MISC]: Remove redundant conditionals.
11630         * stdlib/stdlib.h: Update #else and #endif comments.
11631         [__USE_MISC]: Remove redundant conditionals.
11632         [__USE_GNU]: Likewise.
11633         * string/bits/string2.h [__USE_MISC]: Likewise.
11634         * string/string.h: Update #endif comments.
11635         [__USE_MISC]: Remove redundant conditionals.
11636         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11637         Likewise.
11638         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11639         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11640         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11641         Likewise.
11642         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11643         Likewise.
11644         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11645         comments.
11646         [__USE_MISC]: Remove redundant conditionals.
11647         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11648         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11649         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11650         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11651         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11652         Likewise.
11653         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11654         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11655         Likewise.
11656         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11657         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11658         Likewise.
11659         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11660         Likewise.
11661         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11662         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11663         Likewise.
11664         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11665         Likewise.
11666         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11667         * sysdeps/x86/bits/string.h: Update #endif comments.
11668         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11669         conditionals.
11670         * time/sys/time.h: Update #endif comments.
11671         * time/time.h: Likewise.
11672         [__USE_MISC]: Remove redundant conditionals.
11673
11674 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
11675
11676         [BZ #16600]
11677         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11678
11679 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
11680
11681         * Versions.def (librt): Add GLIBC_2.17.
11682
11683 2014-02-21  Adam Conrad  <adconrad@0c3.net>
11684
11685         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11686         synonym for _SYS_AUXV_H to allow direct inclusion.
11687         * sysdeps/sparc/bits/hwcap.h: Likewise.
11688         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11689         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11690         * sysdeps/sparc/sysdep.h: Likewise.
11691
11692 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11693
11694         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11695
11696 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11697
11698         * benchtests/bench-strrchr.c: Print length instead of position.
11699
11700 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
11701
11702         [BZ #16611]
11703         * sysdeps/unix/sysv/linux/kernel-features.h
11704         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11705         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11706         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11707         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11708         Likewise.
11709         [__i386__ || __powerpc__ || __sh__ || __sparc__]
11710         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11711         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11712         (__ASSUME_SENDMMSG): Define instead of using previous
11713         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11714         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11715         (__ASSUME_SENDMMSG_SYSCALL): Define.
11716         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11717         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11718         Likewise.
11719         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11720         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11721         Likewise.
11722         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11723         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11724         Likewise.
11725         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11726         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11727         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11728         [__ASSUME_SENDMMSG]: Change conditionals to
11729         [__ASSUME_SENDMMSG_SOCKETCALL].
11730         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11731         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11732         Define.
11733         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11734         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11735         Likewise.
11736         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11737         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11738         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11739         [!__ASSUME_SENDMMSG]: Change conditional to
11740         [!__ASSUME_SENDMMSG_SOCKETCALL].
11741         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11742         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11743         Define.
11744
11745         [BZ #16610]
11746         * sysdeps/unix/sysv/linux/kernel-features.h
11747         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11748         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11749         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11750         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11751         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11752         [__i386__ || __sparc__]
11753         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11754         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11755         (__ASSUME_RECVMMSG): Define instead of using previous
11756         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11757         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11758         (__ASSUME_RECVMMSG_SYSCALL): Define.
11759         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11760         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11761         Likewise.
11762         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11763         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11764         Likewise.
11765         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11766         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11767         Likewise.
11768         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11769         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11770         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11771         [__ASSUME_RECVMMSG]: Change condition to
11772         [__ASSUME_RECVMMSG_SOCKETCALL].
11773         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11774         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11775         Define.
11776         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11777         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11778         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11779         Likewise.
11780         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11781         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11782         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11783         [!__ASSUME_RECVMMSG]: Change condition to
11784         [!__ASSUME_RECVMMSG_SOCKETCALL].
11785         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11786         (__ASSUME_RECVMMSG_SYSCALL): Define.
11787
11788         [BZ #16609]
11789         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11790         __powerpc__ || __s390__ || __sh__ || __sparc__]
11791         (__ASSUME_SOCKETCALL): Define.
11792         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11793         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11794         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11795         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11796         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11797         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11798         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11799         (__ASSUME_ACCEPT4): Define instead of using previous
11800         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11801         __powerpc__ || __sparc__ || __s390__)] condition.
11802         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11803         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11804         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11805         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11806         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11807         [!__ASSUME_ACCEPT4]: Change condition to
11808         [!__ASSUME_ACCEPT4_SOCKETCALL].
11809         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11810         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
11811         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11812         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11813         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11814         __ASSUME_ACCEPT4_SYSCALL.
11815         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11816         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11817         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11818         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11819         __ASSUME_ACCEPT4_SYSCALL.
11820         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11821         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11822         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11823         [__ASSUME_ACCEPT4]: Change condition to
11824         [__ASSUME_ACCEPT4_SOCKETCALL].
11825         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11826         (__ASSUME_SOCKETCALL): Define.
11827         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11828         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11829         (__ASSUME_SOCKETCALL): Define.
11830         (__ASSUME_ACCEPT4): Remove.
11831         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11832         Define.
11833         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11834         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11835         Likewise.
11836         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11837         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11838
11839         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11840         macro.
11841         (HWCAP_ARM_LPAE): Likewise.
11842         (HWCAP_ARM_EVTSTRM): Likewise.
11843         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11844         Add vpfd32, lpae and evtstrm.
11845         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11846         Increase to 22.
11847
11848 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
11849
11850         * math/auto-libm-test-in: Add tests of clog10.
11851         * math/auto-libm-test-out: Regenerated.
11852         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11853         * sysdeps/i386/fpu/libm-test-ulps: Update.
11854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11855
11856 2014-02-18  Andreas Schwab  <schwab@suse.de>
11857
11858         [BZ #16574]
11859         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11860         Store non-zero if the second buffer was newly allocated.
11861         (send_dg): Likewise.
11862         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11863         to send_vc and send_dg.
11864         (res_nsend): Pass NULL for ansp2_malloced.
11865         * resolv/res_query.c (__libc_res_nquery): Add parameter
11866         answerp2_malloced and pass it down to __libc_res_nsend.
11867         (res_nquery): Pass additional NULL to __libc_res_nquery.
11868         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11869         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
11870         second answer buffer if answerp2_malloced was set.
11871         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11872         (__libc_res_nquerydomain): Add parameter
11873         answerp2_malloced and pass it down to __libc_res_nquery.
11874         (res_nquerydomain): Pass additional NULL to
11875         __libc_res_nquerydomain.
11876         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11877         additional NULL to __libc_res_nsend and __libc_res_nquery.
11878         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11879         additional NULL to __libc_res_nsearch.
11880         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
11881         parameter of __libc_res_nsearch to check for separately allocated
11882         second buffer.
11883         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11884         __libc_res_nquery.
11885         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11886         additional NULL to __libc_res_nquery.
11887         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11888         __libc_res_nsearch.
11889         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11890         * include/resolv.h: Update prototypes of __libc_res_nquery,
11891         __libc_res_nsearch, __libc_res_nsend.
11892
11893 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
11894
11895         * math/auto-libm-test-in: Add tests of fma.
11896         * math/auto-libm-test-out: Regenerated.
11897         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11898         (fma_towardzero_test_data): Likewise.
11899         (fma_downward_test_data): Likewise.
11900         (fma_upward_test_data): Likewise.
11901         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11902         mpc_mode.
11903         (rounding_modes): Add values for new field.
11904         (func_calc_method): Add value mpfr_fff_f.
11905         (func_calc_desc): Add mpfr_fff_f union field.
11906         (test_function): Add field exact_args.
11907         (FUNC): Add macro argument EXACT_ARGS.
11908         (FUNC_mpfr_f_f): Update call to FUNC.
11909         (FUNC_mpfr_f_f): Likewise.
11910         (FUNC_mpfr_ff_f): Likewise.
11911         (FUNC_mpfr_if_f): Likewise.
11912         (FUNC_mpc_c_f): Likewise.
11913         (FUNC_mpc_c_c): Likewise.
11914         (test_functions): Add fma.  Update calls to FUNC.
11915         (handle_input_arg): Add argument exact_args.
11916         (add_test): Update call to handle_input_arg.
11917         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
11918         (output_for_one_input_case): Update call to calc_generic_results.
11919         Recalculate exact zero results in each rounding mode.
11920
11921         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11922         non-negative before setting low bit.
11923         * math/auto-libm-test-in: Mark one asin test possibly having
11924         spurious underflow.
11925         * math/auto-libm-test-out: Regenerated.
11926         * sysdeps/i386/fpu/libm-test-ulps: Update.
11927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11928
11929 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
11930
11931         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11932         * sysdeps/unix/sysv/linux/microblaze: Move directory from
11933         ports/sysdeps/unix/sysv/linux/microblaze.
11934         * README: Add missing listing for microblaze*-*-linux-gnu.
11935
11936 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
11937
11938         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11939         duplicate code
11940
11941 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
11942
11943         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11944         * sysdeps/unix/sysv/linux/ia64: Move directory from
11945         ports/sysdeps/unix/sysv/linux/ia64.
11946         * README: Update listing for ia64-*-linux-gnu.
11947
11948 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
11949             Joseph Myers  <joseph@codesourcery.com>
11950
11951         * Makeconfig (test-name): New variable.
11952         (evaluate-test): Likewise.
11953         * Makerules (do-test-clean): Remove .test-result files.
11954         (common-mostlyclean): Likewise.
11955         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11956         * scripts/evaluate-test.sh: New file.
11957
11958 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
11959
11960         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11961         separate $(objpfx)tst-fopenloc-cmp.out and
11962         $(objpfx)tst-fopenloc-mem.out targets.
11963         (tests): Update dependencies.
11964         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11965         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11966         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11967         (tst-rxspencer-no-utf8-ARGS): New variable.
11968         (tst-rxspencer-no-utf8-ENV): Likewise.
11969         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11970         instead of $(objpfx)tst-rxspencer-mem.
11971         ($(objpfx)tst-rxspencer-mem): Change target to
11972         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
11973         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11974         * posix/tst-rxspencer-no-utf8.c: New file.
11975
11976         * elf/Makefile ($(objpfx)order.out): Remove rule.
11977         [$(run-built-tests) = yes] (tests): Depend on
11978         $(objpfx)order-cmp.out.
11979         ($(objpfx)order-cmp.out): New rule.
11980         [$(run-built-tests) = yes] (tests): Depend on
11981         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11982         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11983         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11984         $(objpfx)tst-array5-static-cmp.out.
11985         ($(objpfx)tst-array1.out): Remove rule.
11986         ($(objpfx)tst-array1-cmp.out): New rule.
11987         ($(objpfx)tst-array1-static.out): Remove rule.
11988         ($(objpfx)tst-array1-static-cmp.out): New rule.
11989         ($(objpfx)tst-array2.out): Remove rule.
11990         ($(objpfx)tst-array2-cmp.out): New rule.
11991         ($(objpfx)tst-array3.out): Remove rule.
11992         ($(objpfx)tst-array3-cmp.out): New rule.
11993         ($(objpfx)tst-array4.out): Remove rule.
11994         ($(objpfx)tst-array4-cmp.out): New rule.
11995         ($(objpfx)tst-array5.out): Remove rule.
11996         ($(objpfx)tst-array5-cmp.out): New rule.
11997         ($(objpfx)tst-array5-static.out): Remove rule.
11998         ($(objpfx)tst-array5-static-cmp.out): New rule.
11999         [$(run-built-tests) = yes] (tests): Depend on
12000         $(objpfx)order2-cmp.out.
12001         ($(objpfx)order2.out): Remove rule.
12002         ($(objpfx)order2-cmp.out): New rule.
12003         ($(objpfx)tst-initorder.out): Remove rule.
12004         [$(run-built-tests) = yes] (tests): Depend on
12005         $(objpfx)tst-initorder-cmp.out.
12006         ($(objpfx)tst-initorder-cmp.out): New rule.
12007         ($(objpfx)tst-initorder2.out): Remove rule.
12008         [$(run-built-tests) = yes] (tests): Depend on
12009         $(objpfx)tst-initorder2-cmp.out.
12010         ($(objpfx)tst-initorder2-cmp.out): New rule.
12011         [$(run-built-tests) = yes] (tests): Depend on
12012         $(objpfx)tst-unused-dep-cmp.out.
12013         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12014         ($(objpfx)tst-unused-dep-cmp.out): New rule.
12015         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12016         on $(objpfx)tst-setvbuf1-cmp.out.
12017         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12018         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12019         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12020         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12021         ($(objpfx)tst-svc.out): Remove rule.
12022         ($(objpfx)tst-svc-cmp.out): New rule.
12023
12024 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
12025
12026         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12027         * ctype/ctype.h [__USE_MISC]: Likewise.
12028         * dirent/dirent.h [__USE_MISC]: Likewise.
12029         * grp/grp.h [__USE_MISC]: Likewise.
12030         * io/fcntl.h [__USE_MISC]: Likewise.
12031         * io/sys/stat.h [__USE_MISC]: Likewise.
12032         * libio/stdio.h [__USE_MISC]: Likewise.
12033         * posix/unistd.h [__USE_MISC]: Likewise.
12034         * pwd/pwd.h [__USE_MISC]: Likewise.
12035         * stdlib.h [__USE_MISC]: Likewise.
12036         * string/bits/string2.h [__USE_MISC]: Likewise.
12037         * string/string.h [__USE_MISC]: Likewise.
12038         * time/time.h [__USE_MISC]: Likewise.
12039
12040 2014-02-13  Andreas Schwab  <schwab@suse.de>
12041
12042         [BZ #16574]
12043         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12044         second answer buffer if it was separately allocated.
12045
12046 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
12047
12048         * sysdeps/mips/math-tests.h: Include <features.h>.
12049         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12050         (ROUNDING_TESTS_long_double): Do not define.
12051         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12052         (EXCEPTION_TESTS_long_double): Likewise.
12053         * sysdeps/mips/mips64/libm-test-ulps: Update.
12054
12055         * include/features.h (__USE_BSD): Remove macro definitions.
12056         (__USE_SVID): Likewise.
12057         (_BSD_SOURCE): Likewise.
12058         (_SVID_SOURCE): Likewise.
12059         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12060         from definition of _DEFAULT_SOURCE.
12061         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12062         [_DEFAULT_SOURCE].
12063         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12064         * bits/mman.h [__USE_BSD]: Likewise.
12065         * bits/termios.h [__USE_BSD]: Likewise.
12066         * bits/waitstatus.h [__USE_BSD]: Likewise.
12067         * ctype/ctype.h [__USE_SVID]: Likewise.
12068         * dirent/dirent.h [__USE_BSD]: Likewise.
12069         * grp/grp.h [__USE_SVID]: Likewise.
12070         [__USE_BSD]: Likewise.
12071         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12072         * io/fcntl.h [__USE_BSD]: Likewise.
12073         * io/ftw.h [__USE_BSD]: Likewise.
12074         * io/sys/stat.h [__USE_BSD]: Likewise.
12075         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12076         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12077         * libio/stdio.h [__USE_SVID]: Likewise.
12078         [__USE_BSD]: Likewise.
12079         * math/math.h [__USE_SVID]: Likewise.
12080         [__USE_BSD]: Likewise.
12081         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12082         * misc/bits/syslog.h [__USE_BSD]: Likewise.
12083         * misc/search.h [__USE_SVID]: Likewise.
12084         * misc/sys/mman.h [__USE_BSD]: Likewise.
12085         * misc/sys/syslog.h [__USE_BSD]: Likewise.
12086         * misc/sys/uio.h [__USE_BSD]: Likewise.
12087         * posix/bits/unistd.h [__USE_BSD]: Likewise.
12088         * posix/glob.h [__USE_BSD]: Likewise.
12089         * posix/regex.h [__USE_BSD]: Likewise.
12090         * posix/sys/types.h [__USE_BSD]: Likewise.
12091         [__USE_SVID]: Likewise.
12092         * posix/sys/utsname.h [__USE_SVID]: Likewise.
12093         * posix/sys/wait.h [__USE_BSD]: Likewise.
12094         [__USE_SVID]: Likewise.
12095         * posix/unistd.h [__USE_BSD]: Likewise.
12096         [__USE_SVID]: Likewise.
12097         * pwd/pwd.h [__USE_SVID]: Likewise.
12098         * resolv/netdb.h [__USE_BSD]: Likewise.
12099         * setjmp/setjmp.h [__USE_BSD]: Likewise.
12100         * signal/signal.h [__USE_BSD]: Likewise.
12101         [__USE_SVID]: Likewise.
12102         * socket/sys/socket.h [__USE_BSD]: Likewise.
12103         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12104         * stdlib/stdlib.h [__USE_BSD]: Likewise.
12105         [__USE_SVID]: Likewise.
12106         * string/bits/string2.h [__USE_BSD]: Likewise.
12107         [__USE_SVID]: Likewise.
12108         * string/bits/string3.h [__USE_BSD]: Likewise.
12109         * string/endian.h [__USE_BSD]: Likewise.
12110         * string/string.h [__USE_SVID]: Likewise.
12111         [__USE_BSD]: Likewise.
12112         * string/strings.h [__USE_BSD]: Likewise.
12113         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12114         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12115         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12116         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12117         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12118         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12119         Likewise.
12120         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12121         Likewise.
12122         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12123         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12124         Likewise.
12125         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12126         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12127         Likewise.
12128         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12129         Likewise.
12130         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12131         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12132         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12133         Likewise.
12134         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12135         Likewise.
12136         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12137         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12138         * termios/termios.h [__USE_BSD]: Likewise.
12139         * time/sys/time.h [__USE_BSD]: Likewise.
12140         * time/time.h [__USE_BSD]: Likewise.
12141         [__USE_SVID]: Likewise.
12142
12143         * Makefile (subdir_targets): Remove subdir_lint.out.
12144
12145         * stdio-common/Makefile (do-tst-unbputc): Remove target.
12146         (do-tst-printf): Likewise.
12147         (tests): Depend directly on $(objpfx)tst-unbputc.out and
12148         $(objpfx)tst-printf.out.
12149
12150         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12151
12152         * Makerules (check-abi-%): Change target to
12153         $(objpfx)check-abi-%.out.
12154         (check-abi target): Update dependencies.
12155         (check-abi-pattern variable): Redirect output of diff to $@.
12156         (check-abi variable): Likewise.
12157         * elf/Makefile (check-abi): Update dependencies.
12158
12159         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12160         unused.
12161         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12162         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12163         subnormal range.
12164         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12165         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12166         value has largest subnormal exponent.
12167         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12168         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12169         * sysdeps/aarch64/soft-fp/sfp-machine.h
12170         (_FP_TININESS_AFTER_ROUNDING): New macro.
12171         * sysdeps/alpha/soft-fp/sfp-machine.h
12172         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12173         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12174         Likewise.
12175         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12176         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12177         * sysdeps/mips/soft-fp/sfp-machine.h
12178         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12179         * sysdeps/powerpc/soft-fp/sfp-machine.h
12180         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12181         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12182         Likewise.
12183         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12184         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12185         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12186         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12187         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12188         Likewise.
12189
12190 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
12191
12192         [BZ #16545]
12193         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12194         model 1.
12195
12196 2014-02-12  Richard Henderson  <rth@redhat.com>
12197
12198         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12199         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12200         * sysdeps/unix/sysv/linux/alpha: Move directory from
12201         ports/sysdeps/unix/sysv/linux/alpha.
12202         * README: Update listing for alpha-*-linux-gnu.
12203
12204 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
12205
12206         * include/features.h: Update comment documenting feature test
12207         macros.
12208         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
12209         _DEFAULT_SOURCE.
12210         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12211         (_SVID_SOURCE): Likewise.
12212         (_DEFAULT_SOURCE): Update description of default features.
12213         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12214         with _GNU_SOURCE.
12215         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12216         (S_ISVTX): Likewise.
12217         * manual/math.texi (Mathematical Constants): Likewise.
12218         * manual/signal.texi (Interrupted Primitives): Likewise.
12219         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12220         * math/test-matherr.c (_SVID_SOURCE): Do not define.
12221         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12222         Don't refer to _SVID_SOURCE in warning text.
12223
12224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12225
12226         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12227         already defined.
12228         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12229         * sysdeps/mips/dl-lookup.c: Remove.
12230         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12231
12232 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12233
12234         [BZ #16447]
12235         * math/auto-libm-test-in: Add testcase for expl.
12236         * math/auto-libm-test-out: Regenerate.
12237         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12238         calculation of unsafe.
12239         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12240
12241 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12242
12243         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12244         * sysdeps/unix/sysv/linux/aarch64: Move directory from
12245         ports/sysdeps/unix/sysv/linux/aarch64.
12246         * README: Update listing for aarch64*-*-linux-gnu.
12247
12248 2014-02-11  Will Newton  <will.newton@linaro.org>
12249
12250         * manual/probes.texi (Mathematical Function Probes): Use
12251         "triggered" instead of "hit".
12252
12253         * manual/probes.texi (Internal Probes): Add documentation
12254         of setjmp, longjmp and longjmp_target probes.
12255
12256         * include/stap-probe.h: Add comment about probe argument
12257         format.
12258
12259         * malloc/mtrace.c (attribute_hidden): Remove unused macro
12260         definition.  (tr_where, tr_freehook, tr_mallochook,
12261         tr_reallochook, tr_memalignhook): Use ANSI protoype.
12262
12263 2014-02-11  David S. Miller  <davem@davemloft.net>
12264
12265         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12266         processing int_tests.
12267
12268 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
12269
12270         * sysdeps/mips: Move directory from ports/sysdeps/mips.
12271         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12272         * sysdeps/unix/sysv/linux/mips: Move directory from
12273         ports/sysdeps/unix/sysv/linux/mips.
12274         * README: Update listing for mips-*-linux-gnu and
12275         mips64-*-linux-gnu.
12276
12277 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
12278
12279         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12280         * sysdeps/unix/sysv/linux/m68k: Move directory from
12281         ports/sysdeps/unix/sysv/linux/m68k.
12282         * README: Update listing for m68k-*-linux-gnu.
12283
12284 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
12285
12286         * sysdeps/tile: Move directory from ports/sysdeps/tile.
12287         * sysdeps/unix/sysv/linux/generic: Move directory from
12288         ports/sysdeps/unix/sysv/linux/generic.
12289         * sysdeps/unix/sysv/linux/tile: Move directory from
12290         ports/sysdeps/unix/sysv/linux/tile.
12291         * README: Update listing for tile*-*-linux-gnu.
12292
12293 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
12294
12295         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12296         __builtin_expect.
12297         * benchtests/bench-memmem.c (simple_memmem): Likewise.
12298         * catgets/open_catalog.c (__open_catalog): Likewise.
12299         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12300         * debug/confstr_chk.c: Likewise.
12301         * debug/fread_chk.c (__fread_chk): Likewise.
12302         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12303         * debug/getgroups_chk.c: Likewise.
12304         * debug/mbsnrtowcs_chk.c: Likewise.
12305         * debug/mbsrtowcs_chk.c: Likewise.
12306         * debug/mbstowcs_chk.c: Likewise.
12307         * debug/memcpy_chk.c: Likewise.
12308         * debug/memmove_chk.c: Likewise.
12309         * debug/mempcpy_chk.c: Likewise.
12310         * debug/memset_chk.c: Likewise.
12311         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12312         * debug/strcat_chk.c (__strcat_chk): Likewise.
12313         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12314         * debug/strncat_chk.c (__strncat_chk): Likewise.
12315         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12316         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12317         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12318         * debug/wcpncpy_chk.c: Likewise.
12319         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12320         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12321         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12322         * debug/wcsncpy_chk.c: Likewise.
12323         * debug/wcsnrtombs_chk.c: Likewise.
12324         * debug/wcsrtombs_chk.c: Likewise.
12325         * debug/wcstombs_chk.c: Likewise.
12326         * debug/wmemcpy_chk.c: Likewise.
12327         * debug/wmemmove_chk.c: Likewise.
12328         * debug/wmempcpy_chk.c: Likewise.
12329         * debug/wmemset_chk.c: Likewise.
12330         * dirent/scandirat.c (SCANDIRAT): Likewise.
12331         * dlfcn/dladdr1.c (dladdr1): Likewise.
12332         * dlfcn/dladdr.c (dladdr): Likewise.
12333         * dlfcn/dlclose.c (dlclose_doit): Likewise.
12334         * dlfcn/dlerror.c (__dlerror): Likewise.
12335         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12336         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12337         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12338         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12339         * dlfcn/dlsym.c (dlsym_doit): Likewise.
12340         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12341         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12342         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12343         Likewise.
12344         * elf/dl-conflict.c: Likewise.
12345         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12346         * elf/dl-dst.h: Likewise.
12347         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12348         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12349         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12350         * elf/dl-init.c (call_init, _dl_init): Likewise.
12351         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12352         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12353         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12354         Likewise.
12355         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12356         Likewise.
12357         * elf/dl-minimal.c (__libc_memalign): Likewise.
12358         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12359         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12360         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12361         * elf/dl-sym.c (do_sym): Likewise.
12362         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12363         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12364         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12365         * elf/dl-writev.h (_dl_writev): Likewise.
12366         * elf/ldconfig.c (search_dir): Likewise.
12367         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12368         (dl_main): Likewise.
12369         * elf/setup-vdso.h (setup_vdso): Likewise.
12370         * grp/compat-initgroups.c (compat_call): Likewise.
12371         * grp/fgetgrent.c (fgetgrent): Likewise.
12372         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12373         * grp/putgrent.c (putgrent): Likewise.
12374         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12375         Likewise.
12376         * hurd/hurdinit.c: Likewise.
12377         * iconvdata/8bit-gap.c (struct): Likewise.
12378         * iconvdata/ansi_x3.110.c : Likewise.
12379         * iconvdata/big5.c : Likewise.
12380         * iconvdata/big5hkscs.c : Likewise.
12381         * iconvdata/cp1255.c: Likewise.
12382         * iconvdata/cp1258.c : Likewise.
12383         * iconvdata/cp932.c : Likewise.
12384         * iconvdata/euc-cn.c: Likewise.
12385         * iconvdata/euc-jisx0213.c : Likewise.
12386         * iconvdata/euc-jp.c: Likewise.
12387         * iconvdata/euc-jp-ms.c : Likewise.
12388         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12389         * iconvdata/gb18030.c : Likewise.
12390         * iconvdata/gbbig5.c (const): Likewise.
12391         * iconvdata/gbgbk.c: Likewise.
12392         * iconvdata/gbk.c : Likewise.
12393         * iconvdata/ibm1364.c : Likewise.
12394         * iconvdata/ibm930.c : Likewise.
12395         * iconvdata/ibm932.c: Likewise.
12396         * iconvdata/ibm933.c : Likewise.
12397         * iconvdata/ibm935.c : Likewise.
12398         * iconvdata/ibm937.c : Likewise.
12399         * iconvdata/ibm939.c : Likewise.
12400         * iconvdata/ibm943.c: Likewise.
12401         * iconvdata/iso_11548-1.c: Likewise.
12402         * iconvdata/iso-2022-cn.c : Likewise.
12403         * iconvdata/iso-2022-cn-ext.c : Likewise.
12404         * iconvdata/iso-2022-jp-3.c: Likewise.
12405         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12406         * iconvdata/iso-2022-kr.c : Likewise.
12407         * iconvdata/iso646.c (gconv_end): Likewise.
12408         * iconvdata/iso_6937-2.c : Likewise.
12409         * iconvdata/iso_6937.c : Likewise.
12410         * iconvdata/iso8859-1.c: Likewise.
12411         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12412         * iconvdata/shift_jisx0213.c : Likewise.
12413         * iconvdata/sjis.c : Likewise.
12414         * iconvdata/t.61.c : Likewise.
12415         * iconvdata/tcvn5712-1.c : Likewise.
12416         * iconvdata/tscii.c: Likewise.
12417         * iconvdata/uhc.c : Likewise.
12418         * iconvdata/unicode.c (gconv_end): Likewise.
12419         * iconvdata/utf-16.c (gconv_end): Likewise.
12420         * iconvdata/utf-32.c (gconv_end): Likewise.
12421         * iconvdata/utf-7.c (base64): Likewise.
12422         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12423         * iconv/gconv_close.c (__gconv_close): Likewise.
12424         * iconv/gconv_open.c (__gconv_open): Likewise.
12425         * iconv/gconv_simple.c (internal_ucs4_loop_single)
12426         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12427         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12428         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12429         (ucs4le_internal_loop_single): Likewise.
12430         * iconv/iconv.c (iconv): Likewise.
12431         * iconv/iconv_close.c: Likewise.
12432         * iconv/loop.c (SINGLE): Likewise.
12433         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12434         * include/atomic.h: Likewise.
12435         * inet/inet6_option.c (option_alloc): Likewise.
12436         * intl/bindtextdom.c (set_binding_values): Likewise.
12437         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12438         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12439         * intl/localealias.c (read_alias_file): Likewise.
12440         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12441         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12442         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12443         * libio/fmemopen.c (fmemopen): Likewise.
12444         * libio/iofgets.c (_IO_fgets): Likewise.
12445         * libio/iofgets_u.c (fgets_unlocked): Likewise.
12446         * libio/iofgetws.c (fgetws): Likewise.
12447         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12448         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12449         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12450         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12451         * locale/findlocale.c (_nl_find_locale): Likewise.
12452         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12453         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12454         Likewise.
12455         * locale/setlocale.c (setlocale): Likewise.
12456         * login/programs/pt_chown.c (main): Likewise.
12457         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12458         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12459         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12460         (mmap, mmap64, mremap, munmap): Likewise.
12461         * math/e_exp2l.c: Likewise.
12462         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12463         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12464         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12465         * math/s_catan.c (__catan): Likewise.
12466         * math/s_catanf.c (__catanf): Likewise.
12467         * math/s_catanh.c (__catanh): Likewise.
12468         * math/s_catanhf.c (__catanhf): Likewise.
12469         * math/s_catanhl.c (__catanhl): Likewise.
12470         * math/s_catanl.c (__catanl): Likewise.
12471         * math/s_ccosh.c (__ccosh): Likewise.
12472         * math/s_ccoshf.c (__ccoshf): Likewise.
12473         * math/s_ccoshl.c (__ccoshl): Likewise.
12474         * math/s_cexp.c (__cexp): Likewise.
12475         * math/s_cexpf.c (__cexpf): Likewise.
12476         * math/s_cexpl.c (__cexpl): Likewise.
12477         * math/s_clog10.c (__clog10): Likewise.
12478         * math/s_clog10f.c (__clog10f): Likewise.
12479         * math/s_clog10l.c (__clog10l): Likewise.
12480         * math/s_clog.c (__clog): Likewise.
12481         * math/s_clogf.c (__clogf): Likewise.
12482         * math/s_clogl.c (__clogl): Likewise.
12483         * math/s_csin.c (__csin): Likewise.
12484         * math/s_csinf.c (__csinf): Likewise.
12485         * math/s_csinh.c (__csinh): Likewise.
12486         * math/s_csinhf.c (__csinhf): Likewise.
12487         * math/s_csinhl.c (__csinhl): Likewise.
12488         * math/s_csinl.c (__csinl): Likewise.
12489         * math/s_csqrt.c (__csqrt): Likewise.
12490         * math/s_csqrtf.c (__csqrtf): Likewise.
12491         * math/s_csqrtl.c (__csqrtl): Likewise.
12492         * math/s_ctan.c (__ctan): Likewise.
12493         * math/s_ctanf.c (__ctanf): Likewise.
12494         * math/s_ctanh.c (__ctanh): Likewise.
12495         * math/s_ctanhf.c (__ctanhf): Likewise.
12496         * math/s_ctanhl.c (__ctanhl): Likewise.
12497         * math/s_ctanl.c (__ctanl): Likewise.
12498         * math/w_pow.c: Likewise.
12499         * math/w_powf.c: Likewise.
12500         * math/w_powl.c: Likewise.
12501         * math/w_scalb.c (sysv_scalb): Likewise.
12502         * math/w_scalbf.c (sysv_scalbf): Likewise.
12503         * math/w_scalbl.c (sysv_scalbl): Likewise.
12504         * misc/error.c (error_tail): Likewise.
12505         * misc/pselect.c (__pselect): Likewise.
12506         * nis/nis_callback.c (__nis_create_callback): Likewise.
12507         * nis/nis_call.c (__nisfind_server): Likewise.
12508         * nis/nis_creategroup.c (nis_creategroup): Likewise.
12509         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12510         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12511         * nis/nis_getservlist.c (nis_getservlist): Likewise.
12512         * nis/nis_lookup.c (nis_lookup): Likewise.
12513         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12514         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12515         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12516         * nis/nis_xdr.c (xdr_endpoint): Likewise.
12517         * nis/nss_compat/compat-grp.c (getgrent_next_file)
12518         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12519         * nis/nss_compat/compat-initgroups.c (add_group)
12520         (internal_getgrent_r): Likewise.
12521         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12522         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12523         * nis/nss_compat/compat-spwd.c (getspent_next_file)
12524         (internal_getspnam_r): Likewise.
12525         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12526         (_nss_nis_getaliasbyname_r): Likewise.
12527         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12528         (_nss_nis_getntohost_r): Likewise.
12529         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12530         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12531         (_nss_nis_getgrgid_r): Likewise.
12532         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12533         (internal_nis_gethostent_r, internal_gethostbyname2_r)
12534         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12535         (_nss_nis_gethostbyname4_r): Likewise.
12536         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12537         (initgroups_netid): Likewise.
12538         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12539         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12540         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12541         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12542         (_nss_nis_getprotobynumber_r): Likewise.
12543         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12544         (_nss_nis_getsecretkey): Likewise.
12545         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12546         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12547         (_nss_nis_getpwuid_r): Likewise.
12548         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12549         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12550         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12551         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12552         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12553         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12554         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12555         Likewise.
12556         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12557         (_nss_nisplus_getntohost_r): Likewise.
12558         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12559         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12560         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12561         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12562         Likewise.
12563         * nis/nss_nisplus/nisplus-initgroups.c
12564         (_nss_nisplus_initgroups_dyn): Likewise.
12565         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12566         (_nss_nisplus_getnetbyaddr_r): Likewise.
12567         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12568         (_nss_nisplus_getprotobynumber_r): Likewise.
12569         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12570         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12571         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12572         Likewise.
12573         * nis/nss_nisplus/nisplus-service.c
12574         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12575         (_nss_nisplus_getservbyport_r): Likewise.
12576         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12577         (_nss_nisplus_getspnam_r): Likewise.
12578         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12579         Likewise.
12580         * nscd/aicache.c (addhstaiX): Likewise.
12581         * nscd/cache.c (cache_search, prune_cache): Likewise.
12582         * nscd/connections.c (register_traced_file, send_ro_fd)
12583         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12584         (main_loop_epoll): Likewise.
12585         * nscd/grpcache.c (addgrbyX): Likewise.
12586         * nscd/hstcache.c (addhstbyX): Likewise.
12587         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12588         * nscd/mem.c (gc, mempool_alloc): Likewise.
12589         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12590         (addinnetgrX): Likewise.
12591         * nscd/nscd-client.h (__nscd_acquire_maplock)
12592         (__nscd_drop_map_ref): Likewise.
12593         * nscd/nscd_getai.c (__nscd_getai): Likewise.
12594         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12595         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12596         Likewise.
12597         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12598         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12599         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12600         (__nscd_get_map_ref): Likewise.
12601         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12602         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12603         Likewise.
12604         * nscd/pwdcache.c (addpwbyX): Likewise.
12605         * nscd/selinux.c (preserve_capabilities): Likewise.
12606         * nscd/servicescache.c (addservbyX): Likewise.
12607         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12608         * posix/fnmatch.c (fnmatch): Likewise.
12609         * posix/getopt.c (_getopt_internal_r): Likewise.
12610         * posix/glob.c (glob, glob_in_dir): Likewise.
12611         * posix/wordexp.c (exec_comm_child): Likewise.
12612         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12613         (getanswer_r, gaih_getanswer_slice): Likewise.
12614         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12615         * resolv/res_init.c: Likewise.
12616         * resolv/res_mkquery.c (res_nmkquery): Likewise.
12617         * resolv/res_query.c (__libc_res_nquery): Likewise.
12618         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12619         Likewise.
12620         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12621         * stdio-common/perror.c (perror): Likewise.
12622         * stdio-common/printf_fp.c (___printf_fp): Likewise.
12623         * stdio-common/tmpnam.c (tmpnam): Likewise.
12624         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12625         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12626         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12627         Likewise.
12628         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12629         * stdlib/putenv.c (putenv): Likewise.
12630         * stdlib/setenv.c (__add_to_environ): Likewise.
12631         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12632         * stdlib/strtol_l.c (INTERNAL): Likewise.
12633         * string/memmem.c (memmem): Likewise.
12634         * string/strerror.c (strerror): Likewise.
12635         * string/strnlen.c (__strnlen): Likewise.
12636         * string/test-memmem.c (simple_memmem): Likewise.
12637         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12638         * sunrpc/pm_getport.c (__get_socket): Likewise.
12639         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12640         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12641         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12642         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12643         Likewise.
12644         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12645         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12646         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12647         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12648         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12649         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12650         Likewise.
12651         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12652         Likewise.
12653         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12654         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12655         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12656         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12657         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12658         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12659         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12660         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12661         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12662         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12663         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12664         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12665         Likewise.
12666         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12667         Likewise.
12668         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12669         Likewise.
12670         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12671         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12672         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12673         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12674         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12675         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12676         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12677         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12679         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12680         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12681         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12682         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12683         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12684         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12685         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12686         Likewise.
12687         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12688         Likewise.
12689         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12690         Likewise.
12691         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12692         Likewise.
12693         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12694         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12695         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12696         Likewise.
12697         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12698         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12699         * sysdeps/posix/opendir.c (__opendirat): Likewise.
12700         * sysdeps/posix/sleep.c: Likewise.
12701         * sysdeps/posix/tempname.c: Likewise.
12702         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12703         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12704         Likewise.
12705         * sysdeps/powerpc/powerpc32/dl-machine.h
12706         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12707         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12708         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12709         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12710         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12711         Likewise.
12712         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
12713         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12714         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12715         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12716         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12717         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12718         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12719         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12720         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12721         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
12722         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12723         (elf_machine_lazy_rel): Likewise.
12724         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12725         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12726         (elf_machine_lazy_rel): Likewise.
12727         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12728         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12729         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12730         * sysdeps/unix/grantpt.c (grantpt): Likewise.
12731         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12732         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12733         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12734         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12735         Likewise.
12736         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12737         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12738         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12739         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12740         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12741         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12742         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12743         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12744         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12745         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12746         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12747         Likewise.
12748         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12749         (__posix_fallocate64_l64): Likewise.
12750         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12751         (posix_fallocate): Likewise.
12752         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12753         Likewise.
12754         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12755         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12756         (getifaddrs_internal): Likewise.
12757         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12758         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12759         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12760         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12761         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12762         (__posix_fallocate64_l64): Likewise.
12763         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12764         Likewise.
12765         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
12766         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12767         (__get_clockfreq): Likewise.
12768         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12769         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12770         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12771         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12772         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12773         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12774         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12775         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12776         Likewise.
12777         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12778         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12779         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12780         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12781         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12782         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12783         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12784         Likewise.
12785         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12786         (posix_fallocate): Likewise.
12787         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12788         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12789         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
12790         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12791         (elf_machine_rela, elf_machine_rela_relative)
12792         (elf_machine_lazy_rel): Likewise.
12793         * time/asctime.c (asctime_internal): Likewise.
12794         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12795         * time/tzset.c (__tzset_parse_tz): Likewise.
12796         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12797         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12798         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12799         * wcsmbs/wcsmbsload.h: Likewise.
12800
12801         [BZ #15894]
12802         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12803
12804         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12805         (arena_get2): Remove THREAD_STATS conditionals.
12806         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12807         (__malloc_stats, int): Likewise.
12808
12809 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
12810
12811         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12812         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
12813
12814         * manual/setjmp.texi: Fix typos/grammar errors.
12815
12816         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12817         Only return early when n is <= 0.  Delete unused return statement.
12818
12819         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12820         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12821         * debug/tst-longjmp_chk3.c: New file.
12822
12823         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12824         (test_main): Replace code with set_fortify_handler call.
12825         * debug/test-strcpy_chk.c: Likewise.
12826         * debug/tst-chk1.c: Likewise.
12827         * debug/tst-longjmp_chk.c: Likewise.
12828         * test-skeleton.c: Include fcntl.h & paths.h
12829         (set_fortify_handler): Define.
12830
12831         * debug/tst-longjmp_chk.c: Add header comment and include
12832         ../test-skeleton.c.
12833         (do_test): Mark static.
12834         (TEST_FUNCTION): Define.
12835
12836         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12837         (IP_PMTUDISC_INTERFACE): Likewise.
12838         (IP_MULTICAST_IF): Likewise.
12839         (IP_MULTICAST_TTL): Likewise.
12840         (IP_MULTICAST_LOOP): Likewise.
12841         (IP_ADD_MEMBERSHIP): Likewise.
12842         (IP_DROP_MEMBERSHIP): Likewise.
12843         (IP_UNBLOCK_SOURCE): Likewise.
12844         (IP_BLOCK_SOURCE): Likewise.
12845         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12846         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12847         (IP_MSFILTER): Likewise.
12848         (MCAST_JOIN_GROUP): Likewise.
12849         (MCAST_BLOCK_SOURCE): Likewise.
12850         (MCAST_UNBLOCK_SOURCE): Likewise.
12851         (MCAST_LEAVE_GROUP): Likewise.
12852         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12853         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12854         (MCAST_MSFILTER): Likewise.
12855         (IP_MULTICAST_ALL): Likewise.
12856         (IP_UNICAST_IF): Likewise.
12857
12858         * timezone/Makefile: Delete $(have-ksh) check.
12859         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12860         * timezone/tzselect.ksh: Add +x mode bits.
12861
12862         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12863         (ANON_INODE_FS_MAGIC): Likewise.
12864         (BDEVFS_MAGIC): Likewise.
12865         (BINFMTFS_MAGIC): Likewise.
12866         (BTRFS_TEST_MAGIC): Likewise.
12867         (CRAMFS_MAGIC_WEND): Likewise.
12868         (DEBUGFS_MAGIC): Likewise.
12869         (ECRYPTFS_SUPER_MAGIC): Likewise.
12870         (EXT3_SUPER_MAGIC): Likewise.
12871         (EXT4_SUPER_MAGIC): Likewise.
12872         (FUTEXFS_SUPER_MAGIC): Likewise.
12873         (HOSTFS_SUPER_MAGIC): Likewise.
12874         (HUGETLBFS_MAGIC): Likewise.
12875         (MINIX3_SUPER_MAGIC): Likewise.
12876         (MTD_INODE_FS_MAGIC): Likewise.
12877         (NILFS_SUPER_MAGIC): Likewise.
12878         (OPENPROM_SUPER_MAGIC): Likewise.
12879         (PIPEFS_MAGIC): Likewise.
12880         (PSTOREFS_MAGIC): Likewise.
12881         (QNX6_SUPER_MAGIC): Likewise.
12882         (RAMFS_MAGIC): Likewise.
12883         (REISERFS_SUPER_MAGIC_STRING): Likewise.
12884         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12885         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12886         (SECURITYFS_MAGIC): Likewise.
12887         (SELINUX_MAGIC): Likewise.
12888         (SMACK_MAGIC): Likewise.
12889         (SOCKFS_MAGIC): Likewise.
12890         (SQUASHFS_MAGIC): Likewise.
12891         (STACK_END_MAGIC): Likewise.
12892         (TMPFS_MAGIC): Likewise.
12893         (USBDEVICE_SUPER_MAGIC): Likewise.
12894         (V9FS_MAGIC): Likewise.
12895         (XENFS_SUPER_MAGIC): Likewise.
12896         (CRAMFS_MAGIC): Fix typo in comment.
12897         (EXT2_SUPER_MAGIC): Update comment.
12898         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12899
12900 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
12901
12902         * sysdeps/arm: Move directory from ports/sysdeps/arm.
12903         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12904         * sysdeps/unix/sysv/linux/arm: Move directory from
12905         ports/sysdeps/unix/sysv/linux/arm.
12906         * README: Update listing for arm-*-linux-gnueabi.
12907
12908         * README: Remove mention of am33.
12909
12910 2014-02-07  Roland McGrath  <roland@hack.frob.com>
12911
12912         * bits/sigset.h (__sigemptyset): Use a statement expression rather
12913         than the comma operator, to avoid "rhs of comma has no effect"
12914         compiler warnings.
12915         (__sigfillset, __sigandset, __sigorset): Likewise.
12916         * include/signal.h (__sigemptyset): Likewise.
12917         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12918
12919 2014-02-07  Allan McRae  <allan@archlinux.org>
12920
12921         * version.h (RELEASE): Set to "development".
12922         (VERSION): Set to "2.19.90"
12923         * NEWS: Add 2.20 section.
12924
12925 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
12926
12927         [BZ #16529]
12928         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12929
12930 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12931
12932         * manual/contrib.texi: Update entry for Carlos O'Donell,
12933         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12934
12935 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
12936
12937         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12938
12939         * sysdeps/unix/sysv/linux/kernel-features.h
12940         [__LINUX_KERNEL_VERSION >= 0x020621]
12941         (__ASSUME_PROC_PID_TASK_COMM): Define.
12942
12943 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12944
12945         [BZ #16398]
12946         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12947         conversion when destination buffer does not have enough space.
12948         * libio/tst-ftell-partial-wide.c: New test case.
12949         * libio/Makefile (tests): Add tst-ftell-partial-wide.
12950
12951         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12952         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
12953         Leonard and Allan McRae.
12954
12955 2014-02-04  David S. Miller  <davem@davemloft.net>
12956
12957         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12958         32-bit.
12959
12960 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12961
12962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12963         New file
12964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12965         New file
12966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12967         New file.
12968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12969         New file.
12970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12971         New file.
12972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12973         New file.
12974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12975         New file.
12976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12977         New file.
12978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12979         New file.
12980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12981         New file.
12982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12983         New file.
12984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12985         New file.
12986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12987         New file.
12988
12989 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12990
12991         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12992         * shlib-versions: Likewise.
12993
12994 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12995             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12996
12997         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12998         (abilist-pattern): New variable, set to %-le.abilist.
12999
13000         * Makerules (abilist-pattern): New variable.
13001         (vpath): Use $(abilist-pattern) in place of %.abilist.
13002         (check-abi-% pattern rule): Likewise.
13003         (check-abi, update-abi): Likewise.
13004
13005 2014-02-04  Eric Wong  <normalperson@yhbt.net>
13006
13007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13008
13009 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
13010
13011         * manual/startup.texi: Add next, previous, and top entries for
13012         the `Program Arguments' and `Environment Variables' nodes.
13013
13014 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
13015
13016         * manual/macros.texi: Add comments before MTASC-safety macros.
13017
13018         * manual/users.texi: Document MTASC-safety properties.
13019
13020         * manual/threads.texi (pthread_key_create, pthread_key_delete)
13021         (pthread_getspecific, pthread_setspecific): Format with
13022         @deftypefun, and add @safety note.
13023         * manual/signal.texi: Move comments that analyze the above
13024         functions to their home place.
13025
13026 2014-02-03  Allan McRae  <allan@archlinux.org>
13027
13028         * po/sl.po: Update Slovenian translation from translation project.
13029
13030 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
13031
13032         * manual/time.texi (timegm): Add missing blank after @c.
13033         Reported by Joseph Myers <joseph@codesourcery.com>.
13034
13035 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
13036
13037         * manual/check-safety.sh: New.
13038         * manual/Makefile ($(objpfx)stamp-summary): Run it.
13039
13040         * manual/terminal.texi: Document MTASC-safety properties.
13041
13042         * manual/filesys.texi: Document MTASC-safety properties.
13043
13044         * manual/errno.texi: Document MTASC-safety properties.
13045
13046         * manual/intro.texi: Document safety identifiers and
13047         conditionals.
13048
13049         * manual/string.texi (wcstok): Fix prototype.
13050         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13051
13052         * manual/time.texi: Document MTASC-safety properties.
13053
13054         * manual/string.texi: Document MTASC-safety properties.
13055
13056         * manual/threads.texi: Document MTASC-safety properties.
13057
13058         * manual/stdio.texi: Document MTASC-safety properties.
13059
13060         * manual/syslog.texi: Document MTASC-safety properties.
13061
13062         * manual/sysinfo.texi: Document MTASC-safety properties.
13063
13064         * manual/startup.texi: Document MTASC-safety properties.
13065
13066         * manual/socket.texi: Document MTASC-safety properties.
13067
13068         * manual/signal.texi: Document MTASC-safety properties.
13069
13070 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
13071
13072         * manual/setjmp.texi: Document MTASC-safety properties.
13073
13074         * manual/search.texi: Document MTASC-safety properties.
13075
13076         * manual/resource.texi: Document MTASC-safety properties.
13077
13078         * manual/process.texi: Document MTASC-safety properties.
13079
13080         * manual/platform.texi: Document MTASC-safety properties.
13081
13082         * manual/pipe.texi: Document MTASC-safety properties.
13083
13084         * manual/pattern.texi: Document MTASC-safety properties.
13085
13086         * manual/message.texi: Document MTASC-safety properties.
13087
13088         [BZ #12751]
13089         * manual/memory.texi: Document MTASC-safety properties.
13090
13091         * manual/math.texi: Document MTASC-safety properties.
13092
13093         * manual/locale.texi: Document MTASC-safety properties.
13094
13095         * manual/llio.texi: Document MTASC-safety properties.
13096
13097         * manual/libdl.texi: New.
13098
13099         * manual/lang.texi: Document MTASC-safety properties.
13100
13101         * manual/job.texi: Document MTASC-safety properties.
13102
13103         * manual/getopt.texi: Document MTASC-safety properties.
13104
13105         * manual/ctype.texi: Document MTASC-safety properties.
13106
13107 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
13108
13109         [BZ #16046]
13110         * csu/libc-tls.c (static_map): Remove variable.
13111         (__libc_setup_tls): Use main executable's link map for TLS data.
13112         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13113         casing for LM_ID_BASE and GL(dl_nns).
13114         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13115         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
13116         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13117         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13118         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13119         member.
13120         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13121         l_phnum members.
13122
13123 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
13124
13125         * manual/debug.texi: Document MTASC-safety properties.
13126
13127 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
13128
13129         [BZ #16510]
13130         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13131         of __x86_64__ when disabling x87 inline functions.
13132
13133 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
13134
13135         * manual/charset.texi: Document MTASC-safety properties.
13136
13137         * manual/crypt.texi: Document MTASC-safety properties.
13138
13139         * manual/conf.texi: Document MTASC-safety properties.
13140
13141         * manual/arith.texi: Document MTASC-safety properties.
13142
13143         * manual/argp.texi: Document MTASC-safety properties.
13144
13145         * manual/macros.texi: Introduce macros to document multi
13146         thread, asynchronous signal and asynchronous cancellation
13147         safety properties.
13148         * manual/intro.texi: Introduce the properties themselves.
13149
13150 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13151
13152         * sysdeps/sh/sh4/Makefile: New file.
13153
13154 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
13155
13156         * math/gen-libm-test.pl ($srcdir): New variable.
13157         ($auto_input): Use it.
13158
13159 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13160
13161         [BZ #16506]
13162         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13163         access beyond array bounds when parsing netgroups file.
13164
13165         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13166         the old buffer before realloc.
13167
13168 2014-01-27  Allan McRae  <allan@archlinux.org>
13169
13170         * po/fr.po: Update French translation from translation project.
13171
13172 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13173
13174         * sysdeps/sh/libm-test-ulps: Regenerate.
13175
13176 2014-01-24  David S. Miller  <davem@davemloft.net>
13177
13178         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13179
13180 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13181
13182         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13183         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13184
13185 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13186
13187         [BZ #16474]
13188         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13189         string pointers after reallocation.
13190
13191 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13192
13193         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13194         __SH4A__ instead of __SH_FPU_ANY__.
13195
13196 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13197
13198         * sysdeps/sh/fpu_control.h: New file.
13199         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13200         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13201         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13202         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13203         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13204         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13205         * sysdeps/sh/sys/ucontext.h: Remove.
13206         * sysdeps/sh/sys: Remove directory.
13207
13208 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13209
13210         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13211         s390/sys/ucontext.h.
13212         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13213         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13214
13215 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
13216
13217         [BZ #15605]
13218         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13219
13220 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13221
13222         [BZ#16431]
13223         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13224         Adjust the vDSO correctly for internal calls.
13225         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13226
13227 2014-01-20  Allan McRae  <allan@archlinux.org>
13228
13229         * po/ca.po: Update Catalan translation from translation project.
13230
13231 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
13232
13233         * sysdeps/s390/sotruss-lib.c: New file.
13234
13235 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13236
13237         [BZ#16430]
13238         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13239         (__GI___gettimeofday): Alias for a different internal symbol to avoid
13240         local calls issues by not having a PLT stub required for IFUNC calls.
13241         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13242
13243 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
13244
13245         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13246         * math/test-fpucw-static.c: Likewise.
13247
13248 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13249
13250         [BZ #16453]
13251         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13252
13253 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13254
13255         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13256         implementation for powerpc.
13257
13258 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
13259
13260         [BZ #14782]
13261         * sysdeps/posix/system.c (__libc_system): Do not enable
13262         asynchronous cancellation.
13263
13264 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13265
13266         [BZ #16427]
13267         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13268         handling only for numbers special also in the IEEE case.
13269
13270 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13271
13272         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13273
13274 2014-01-11  Allan McRae  <allan@archlinux.org>
13275
13276         * po/bg.po: Update Bulgarian translation from translation project.
13277
13278         * po/de.po: Update German translation from translation project.
13279
13280 2014-01-10  Roland McGrath  <roland@hack.frob.com>
13281
13282         * sysdeps/generic/gcc-compat.h: New file.
13283
13284 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13285
13286         * benchtests/asin-inputs: Correct slow inputs.
13287         * benchtests/acos-inputs: Likewise.
13288
13289 2014-01-10  Allan McRae  <allan@archlinux.org>
13290
13291         * po:sv.po: Update Swedish translation from translation project.
13292
13293         * po/vi.po: Update Vietnamese translation from translation project.
13294
13295         * po/eo.po: Update Esperanto translation from translation project.
13296
13297         * po/cs.po: Update Czech translation from translation project.
13298
13299         * po/nl.po: Update Dutch translation from translation project.
13300
13301         * po/pl.po: Update Polish translation from translation project.
13302
13303         * po/ru.po: Update Russian translation from translation project.
13304
13305         * po/uk.po: Update Ukrainian translation from translation project.
13306
13307 2014-01-08  Brooks Moses  <bmoses@google.com>
13308
13309         * elf/dl-load.c: Fix comment typo.
13310
13311 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
13312
13313         * po/header.pot: Rename to...
13314         * po/pot.header: ... this.
13315         * po/Makefile: Use pot.header.
13316
13317 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
13318             Maxim Kuvyrkov  <maxim@kugelworks.com>
13319
13320         [BZ #16394]
13321         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13322         SRC and DEST against LEN.
13323
13324 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13325
13326         [BZ #16414]
13327         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13328         implementation.
13329         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13330
13331 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13332
13333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13334
13335 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
13336
13337         [BZ #16408]
13338         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13339         for large positive arguments.
13340
13341 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
13342
13343         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13344
13345         * math/auto-libm-test-in: Mark various tests with
13346         xfail-rounding:ldbl-128ibm.
13347         * math/auto-libm-test-out: Regenerated.
13348
13349         [BZ #16407]
13350         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13351         Increase overflow threshold.
13352
13353 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
13354
13355         [BZ #14286]
13356         * stdio-common/vfprintf.c: Check for integer overflow.
13357
13358 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13359
13360         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13361         the first argument and return value of __tls_get_addr_internal.
13362
13363 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13364
13365         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13366         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13367
13368 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13369
13370         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13371         * sysdeps/s390/rtld-global-offsets.sym: New file.
13372         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13373         GLIBC_2.19 symbol.
13374         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13375         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13376         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13377         ... this.
13378         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13379         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13380         ... this.
13381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13382         Regenerate.
13383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13384         Regenerate.
13385         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13386         halfs of GPRs for high_gprs contexts.
13387         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13388         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
13389         field.
13390         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13391         uc_flags field.
13392         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13393         64 bit versions:
13394         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13395         for high GPRs (uc_high_gprs) and for future extensions
13396         (__reserved).
13397         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13398         for future extensions (__reserved).
13399         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13400         64 bit versions:
13401         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13402         SC_HIGHGPRS offset definition.
13403         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13404         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13405
13406         * Versions.def: Add GLIBC_2.19 for libpthread.
13407         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13408         siglongjmp for libpthread with GLIBC_2.19 symver.
13409         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13410         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13411         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13412         * sysdeps/s390/__longjmp.c: New file.
13413         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13414         * sysdeps/s390/longjmp.c: New file.
13415         * sysdeps/s390/setjmp.S: New file.
13416         * sysdeps/s390/sigjmp.S: New file.
13417         * sysdeps/s390/v1-longjmp.c: New file.
13418         * sysdeps/s390/v1-setjmp.h: New file.
13419         * sysdeps/s390/v1-sigjmp.c: New file.
13420         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13421         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13422         GLIBC_2.19 version.
13423         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13424         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13425         versioned symbols for ____longjmp_chk.
13426         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13427         Likewise.
13428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13429         Regenerate.
13430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13431         Regenerate.
13432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13433         Regenerate.
13434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13435         Regenerate.
13436         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13437         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13438         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13439         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13440         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13441         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13442         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13443         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13444         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13445         * sysdeps/s390/rtld-__longjmp.c: New file.
13446         * sysdeps/s390/rtld-setjmp.S: New file.
13447
13448 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
13449
13450         [BZ #16400]
13451         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13452         Return -__logl (x) for small positive arguments without evaluating
13453         a polynomial.
13454
13455 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
13456
13457         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13458         Rename to ...
13459         (__ptrace_peeksiginfo_args): ... this.
13460         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13461         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13462         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13463
13464 2014-01-06  Allan McRae  <allan@archlinux.org>
13465
13466         * inet/netinet/in.h: Fix typo in comment.
13467
13468 2014-01-05  Andreas Jaeger  <aj@suse.de>
13469
13470         * sysdeps/i386/fpu/libm-test-ulps: Update.
13471
13472 2014-01-05  Allan McRae  <allan@archlinux.org>
13473
13474         * po/libc.pot: Regenerated.
13475
13476         * malloc/memusagestat.c: Fix gettext call formatting.
13477
13478 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
13479
13480         * nscd/nscd.c: Improve usage() output.
13481
13482 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
13483
13484         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13485         * sysdeps/unix/sysv/linux/configure: Regenerated.
13486         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13487         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13488
13489 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13490
13491         [BZ #16390]
13492         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13493         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13494
13495 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13496
13497         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13498         extra tokens at end of #undef directive.
13499         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13500         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13501         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13502
13503 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13504
13505         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13506
13507         * math/auto-libm-test-in: Mark various tests with
13508         xfail-rounding:ldbl-128ibm.
13509         * math/auto-libm-test-out: Regenerated.
13510
13511 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
13512
13513         [BZ #16386]
13514         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13515         numbers with subnormal high part when calculating exponent.
13516
13517         [BZ #16385]
13518         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13519         fabs.
13520
13521         [BZ #16384]
13522         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13523         M_LN2l.
13524         (__ieee754_acoshl): Use __log1pl not __log1p.
13525
13526 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
13527
13528         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13529         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13530         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13531         (grow_heap, heap_trim, _int_new_arena, get_free_list)
13532         (reused_arena, arena_get2): Convert to GNU style.
13533         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13534         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13535         (memalign_check, __malloc_set_state): Likewise.
13536         * malloc/mallocbug.c (main): Likewise.
13537         * malloc/malloc.c (__malloc_assert, malloc_init_state)
13538         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13539         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13540         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13541         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13542         (__posix_memalign, malloc_info): Likewise.
13543         * malloc/malloc.h: Likewise.
13544         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13545         (mallochook, memalignhook, reallochook, mabort): Likewise.
13546         * malloc/mcheck.h: Likewise.
13547         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13548         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13549         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13550         * malloc/morecore.c (__default_morecore): Likewise.
13551         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13552         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13553         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13554         (print_and_abort): Likewise.
13555         * malloc/obstack.h: Likewise.
13556         * malloc/set-freeres.c (__libc_freeres): Likewise.
13557         * malloc/tst-mallocstate.c (main): Likewise.
13558         * malloc/tst-mtrace.c (main): Likewise.
13559         * malloc/tst-realloc.c (do_test): Likewise.
13560
13561 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13562
13563         [BZ #16366]
13564         * nscd/netgroupcache.c (do_notfound): New function.
13565         (addgetnetgrentX): Use it.
13566
13567         [BZ # 16365]
13568         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13569         NSS_STATUS_NOTFOUND.
13570
13571 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
13572
13573         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13575
13576 2014-01-01  Allan McRae  <allan@archlinux.org>
13577
13578         * scripts/update-copyrights: Update configure input file suffix.
13579
13580         * NEWS: Update copyright year.
13581         * catgets/gencat.c: Likewise.
13582         * csu/version.c: Likewise.
13583         * debug/catchsegv.sh: Likewise.
13584         * debug/pcprofiledump.c: Likewise.
13585         * debug/xtrace.sh: Likewise.
13586         * elf/ldconfig.c: Likewise.
13587         * elf/ldd.bash.in: Likewise.
13588         * elf/pldd.c: Likewise.
13589         * elf/sotruss.ksh: Likewise.
13590         * elf/sprof.c: Likewise.
13591         * iconv/iconv_prog.c: Likewise.
13592         * iconv/iconvconfig.c: Likewise.
13593         * locale/programs/locale.c: Likewise.
13594         * locale/programs/localedef.c: Likewise.
13595         * login/programs/pt_chown.c: Likewise.
13596         * malloc/memusage.sh: Likewise.
13597         * malloc/memusagestat.c: Likewise.
13598         * malloc/mtrace.pl: Likewise.
13599         * manual/libc.texinfo: Likewise.
13600         * nscd/nscd.c: Likewise.
13601         * nss/getent.c: Likewise.
13602         * nss/makedb.c: Likewise.
13603         * posix/getconf.c: Likewise.
13604         * scripts/test-installation.pl: Likewise.
13605
13606         * All files with FSF copyright notices: Update copyright dates
13607         using scripts/update-copyrights.
13608         * intl/plural.c: Regenerated.
13609         * locale/programs/charmap-kw.h: Likewise.
13610         * locale/programs/locfile-kw.h: Likewise.
13611
13612 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
13613
13614         * sysdeps/unix/sysv/linux/configure: Regenerated.
13615         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13616         the linux/fanotify.h header.
13617         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13618         HAVE_LINUX_FANOTIFY_H is defined.
13619
13620 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13621
13622         * benchtests/cos-inputs: New inputs.
13623         * benchtests/sin-inputs: Likewise.
13624
13625         * benchtests/atan-inputs: New inputs. Fix name of multiple
13626         precision fallback inputs.
13627
13628         * benchtests/atanh-inputs: New inputs.
13629         * benchtests/tanh-inputs: Likewise.
13630
13631         * benchtests/acosh-inputs: New inputs.
13632         * benchtests/asinh-inputs: Likewise.
13633
13634         * benchtests/cosh-inputs: New inputs.
13635         * benchtests/sinh-inputs: Likewise.
13636
13637         * benchtests/acos-inputs: Add more inputs.
13638         * benchtests/asin-inputs: Likewise.
13639
13640 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
13641
13642         [BZ #16375]
13643         * manual/arith.texi: Fix spelling.
13644         * manual/charset.texi: Likewise.
13645         * manual/errno.texi: Likewise.
13646         * manual/filesys.texi: Likewise.
13647         * manual/lang.texi: Likewise.
13648         * manual/llio.texi: Likewise.
13649         * manual/locale.texi: Likewise.
13650         * manual/message.texi: Likewise.
13651         * manual/resource.texi: Likewise.
13652         * manual/search.texi: Likewise.
13653         * manual/setjmp.texi: Likewise.
13654         * manual/stdio.texi: Likewise.
13655         * manual/string.texi: Likewise.
13656         * manual/sysinfo.texi: Likewise.
13657         * manual/time.texi: Likewise.
13658
13659 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
13660
13661         * po/sl.po: New file.
13662
13663 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
13664
13665         * .gitignore: Add core/.gdbinit/.gdb_history.
13666
13667 2013-12-27  Allan McRae  <allan@archlinux.org>
13668
13669         [BZ #16369]
13670         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13671         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13672
13673 2013-12-24  Brooks Moses  <bmoses@google.com>
13674
13675         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13676         all compilers that claim C++98 compliance, not just GCC.
13677         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13678         Likewise.
13679
13680 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13681
13682         * NEWS: Restore accidentally deleted bug-fix entries.
13683
13684 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13685             Ondřej Bílka  <neleai@seznam.cz>
13686
13687         [BZ #15073]
13688         * malloc/malloc.c (_int_free): Perform sanity check only if we
13689         have_lock.
13690
13691 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
13692
13693         [BZ #12986]
13694         * manual/stdio.texi (String Input Conversions): Clarify that character
13695         classes are not supported.
13696
13697 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13698
13699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13700
13701 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
13702
13703         [BZ #16337]
13704         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13705         Calculate results for small negative arguments directly rather
13706         than using reflection formula with special underflow handling.
13707
13708         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13709         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13710         sysdeps/unix/bsd/bsd4.4/syscalls.list.
13711         (fchflags): Likewise.
13712         (revoke): Likewise.
13713         (setlogin): Likewise.
13714         (sigaltstack): Likewise.
13715         (wait4): Likewise.
13716         (sigblock): Remove.
13717         (sigsetmask): Likewise.
13718         (wait3): Likewise.
13719         (waitpid): Likewise.
13720         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13721         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13722         file.
13723         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13724         * sysdeps/unix/bsd/Makefile: ... here.
13725         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13726         * sysdeps/unix/bsd/Versions: ... here.
13727         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13728         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13729         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13730         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13731         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13732         * sysdeps/unix/bsd/sigblock.c: ... here.
13733         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13734         * sysdeps/unix/bsd/sigsetmask.c: ... here.
13735         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13736         * sysdeps/unix/bsd/sigvec.c: ... here.
13737         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13738         * sysdeps/unix/bsd/tcdrain.c: ... here.
13739         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13740         * sysdeps/unix/bsd/tcgetattr.c: ... here.
13741         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13742         * sysdeps/unix/bsd/tcsetattr.c: ... here.
13743         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13744         * sysdeps/unix/bsd/wait.c: ... here.
13745         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13746         * sysdeps/unix/bsd/wait3.c: ... here.
13747         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13748         * sysdeps/unix/bsd/waitpid.c: ... here.
13749
13750 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
13751
13752         [BZ #16356]
13753         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13754         round-to-nearest for [!USE_AS_EXPM1L].
13755         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13756         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
13757         more tests of exp and exp10.  Expect some exp10 tests to miss
13758         exceptions or fail in directed rounding modes.
13759         * math/auto-libm-test-out: Regenerated.
13760         * math/libm-test.inc (exp10_tonearest_test_data): New array.
13761         (exp10_test_tonearest): New function.
13762         (exp10_towardzero_test_data): New array.
13763         (exp10_test_towardzero): New function.
13764         (exp10_downward_test_data): New array.
13765         (exp10_test_downward): New function.
13766         (exp10_upward_test_data): New array.
13767         (exp10_test_upward): New function.
13768         (main): Call the new functions.
13769         * sysdeps/i386/fpu/libm-test-ulps: Update.
13770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13771
13772 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
13773
13774         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13775         asinh, atan, atan2, atanh, cbrt, cos and cosh.
13776         * math/auto-libm-test-out: Regenerated.
13777         * math/libm-test.inc (acosh_test_data): Add more tests.
13778         (atanh_test_data): Likewise.
13779         (ceil_test_data): Likewise.
13780         (copysign_test_data): Likewise.
13781         * sysdeps/i386/fpu/libm-test-ulps: Update.
13782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13783
13784         * timezone/checktab.awk: Update from tzcode 2013i.
13785         * timezone/private.h: Likewise.
13786         * timezone/scheck.c: Likewise.
13787         * timezone/tzfile.h: Likewise.
13788         * timezone/tzselect.ksh: Likewise.
13789         * timezone/zdump.c: Likewise.
13790         * timezone/zic.c: Likewise.
13791
13792         * math/auto-libm-test-in: Add tests of cpow.
13793         * math/auto-libm-test-out: Regenerated.
13794         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
13795         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13796         mpc_cc_c.
13797         (func_calc_desc): Add mpc_cc_c union field.
13798         (test_functions): Add cpow.
13799         (special_fill_2pi): New function.
13800         (special_real_inputs): Add 2pi.
13801         (calc_generic_results): Handle mpc_cc_c.
13802         * sysdeps/i386/fpu/libm-test-ulps: Update.
13803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13804
13805         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13806         csqrt, ctan and ctanh.
13807         * math/auto-libm-test-out: Regenerated.
13808         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13809         (TEST_COND_x86): Likewise.
13810         (ccos_test_data): Use AUTO_TESTS_c_c.
13811         (ccosh_test_data): Likewise.
13812         (cexp_test_data): Likewise.
13813         (clog_test_data): Likewise.
13814         (csqrt_test_data): Likewise.
13815         (ctan_test_data): Likewise.
13816         (ctan_tonearest_test_data): Likewise.
13817         (ctan_towardzero_test_data): Likewise.
13818         (ctan_downward_test_data): Likewise.
13819         (ctan_upward_test_data): Likewise.
13820         (ctanh_test_data): Likewise.
13821         (ctanh_tonearest_test_data): Likewise.
13822         (ctanh_towardzero_test_data): Likewise.
13823         (ctanh_downward_test_data): Likewise.
13824         (ctanh_upward_test_data): Likewise.
13825         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13826         mpc_c_c.
13827         (func_calc_desc): Add mpc_c_c union field.
13828         (FUNC_mpc_c_c): New macro.
13829         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13830         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13831         ctanh.
13832         (special_fill_min_subnorm_p120): New function.
13833         (special_real_inputs): Add min_subnorm_p120.
13834         (calc_generic_results): Handle mpc_c_c.
13835         * sysdeps/i386/fpu/libm-test-ulps: Update.
13836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13837
13838 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13839
13840         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13841         (do_sin_slow): New functions.
13842         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13843         (cslow2, csloww1, csloww2): Use the new functions.
13844
13845         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13846         Use M to change sign of result instead of X.  Assume X is
13847         positive.
13848         (csloww1): Likewise.
13849         (__sin): Adjust.
13850         (__cos): Adjust.
13851
13852         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13853         arguments A and DA.
13854         (__sin): Adjust.
13855         (__cos): Likewise.
13856
13857         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13858         (__cos): Likewise.
13859         (sloww1): Don't adjust sign of DX.
13860         (csloww1): Likewise.
13861         (sloww2): Use X directly and don't adjust sign of DX.
13862         (csloww2): Likewise.
13863
13864 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13865
13866         * math/auto-libm-test-in: Add tests of cabs and carg.
13867         * math/auto-libm-test-out: Regenerated.
13868         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13869         (carg_test_data): Likewise.
13870         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13871         mpc_c_f.
13872         (func_calc_desc): Add mpc_c_f union field.
13873         (test_functions): Add cabs and carg.
13874         (calc_generic_results): Handle mpc_c_f.
13875
13876         * sysdeps/powerpc/powerpc32/libgcc-compat.S
13877         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13878         as a macro and a compat symbol.
13879         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13880         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13881         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13882         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13883         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13884         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13885         not use .hidden.
13886         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13887         Likewise.
13888         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13889         Likewise.
13890         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13891         Likewise.
13892         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13893         Likewise.
13894         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13895         Likewise.
13896         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13897         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13898         from GLIBC_2.3.2.
13899
13900 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13901
13902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13903
13904 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13905
13906         * manual/texinfo.tex: Update to version 2013-11-26.10 with
13907         trailing whitespace removed.
13908         * scripts/config.guess: Update to version 2013-11-29.
13909         * scripts/config.sub: Update to version 2013-10-01.
13910
13911         * math/auto-libm-test-in: Add tests of sincos.
13912         * math/auto-libm-test-out: Regenerated.
13913         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13914         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13915         mpfr_f_11.
13916         (func_calc_desc): Add mpfr_f_11 union field.
13917         (test_functions): Add sincos.
13918         (calc_generic_results): Handle mpfr_f_11.
13919         * sysdeps/i386/fpu/libm-test-ulps: Update.
13920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13921
13922 2013-12-19  Andreas Schwab  <schwab@suse.de>
13923
13924         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13925         CALL_MCOUNT.
13926         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13927         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13928         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13929
13930 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13931
13932         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13933         * sysdeps/i386/fpu/libm-test-ulps: Update.
13934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13935
13936         [BZ #16293]
13937         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13938         round-to-nearest mode when using frndint.
13939         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13940         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13941         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13942         Likewise.
13943         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
13944         sinh test to fail.
13945         * math/auto-libm-test-out: Regenerated.
13946         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13947         (TEST_COND_x86): Likewise.
13948         (expm1_tonearest_test_data): New array.
13949         (expm1_test_tonearest): New function.
13950         (expm1_towardzero_test_data): New array.
13951         (expm1_test_towardzero): New function.
13952         (expm1_downward_test_data): New array.
13953         (expm1_test_downward): New function.
13954         (expm1_upward_test_data): New array.
13955         (expm1_test_upward): New function.
13956         (main): Run the new test functions.
13957         * sysdeps/i386/fpu/libm-test-ulps: Update.
13958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13959
13960         * include/features.h: Update comment documenting feature test
13961         macros.  Mention _DEFAULT_SOURCE in comment.
13962         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13963         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13964         _BSD_SOURCE and _SVID_SOURCE.
13965         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13966         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13967         !_SVID_SOURCE]: Likewise.
13968         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13969         (__USE_POSIX_IMPLICITLY): Define.
13970         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13971         (_POSIX_SOURCE): Undefine and redefine.
13972         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13973         (_POSIX_C_SOURCE): Likewise.
13974         * manual/creature.texi (_DEFAULT_SOURCE): Document.
13975         (Feature Test Macros): Update documentation of default features.
13976
13977 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13978
13979         * benchtests/Makefile: Add bench-strtok.
13980         * benchtests/bench-strtok.c: New file: strtok benchtest.
13981
13982 2013-12-19  Allan McRae  <allan@archlinux.org>
13983
13984         * manual/install.texi: Suppress menu for plain text output.
13985         * INSTALL: Regenerated.
13986
13987 2013-12-18  Brooks Moses  <bmoses@google.com>
13988
13989         [BZ #15846]
13990         * misc/getauxval.c: Include errno.h.
13991         (__getauxval): Set errno to ENOENT if the requested type is not
13992         found.
13993         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13994         don't declare with __attribute_const__.
13995         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13996         * manual/startup.texi: Document that getauxval sets errno.
13997
13998 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13999
14000         * math/auto-libm-test-in: Add tests of jn and yn.
14001         * math/auto-libm-test-out: Regenerated.
14002         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14003         (yn_test_data): Likewise.
14004         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14005         mpfr_if_f.
14006         (func_calc_desc): Add mpfr_if_f union field.
14007         (FUNC_mpfr_if_f): New macro.
14008         (test_functions): Add jn and yn.
14009         (calc_generic_results): Assert type of second input for
14010         mpfr_ff_f.  Handle mpfr_if_f.
14011         (output_for_one_input_case): Disable all checking for arguments
14012         fitting floating-point types in case of an integer argument.
14013         * sysdeps/i386/fpu/libm-test-ulps: Update.
14014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14015
14016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14017         Don't expect fegetround reference in libm.so.
14018
14019 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14020
14021         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14022         $(config-cflags-nofma).
14023
14024 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14025
14026         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14027         * math/auto-libm-test-out: Regenerated.
14028
14029         [BZ #16338]
14030         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14031         to determine exponent and adjust argument to have exponent of -1.
14032         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14033         log2.
14034         * math/auto-libm-test-out: Regenerated.
14035         * sysdeps/i386/fpu/libm-test-ulps: Update.
14036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14037
14038 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
14039
14040         * manual/probes.texi: Remove cases when per-thread arenas are
14041         disabled.
14042
14043 2013-12-18  Andreas Schwab  <schwab@suse.de>
14044
14045         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14046         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14047         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14048         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14049         * sysdeps/i386/i686/multiarch/Makefile: Update.
14050         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14051
14052 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14053
14054         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14055         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14056
14057 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
14058
14059         [BZ #15968]
14060         Support TZ transition times < 00:00:00.
14061         This is needed for version-3 tz-format files; it supports time
14062         stamps past 2037 for America/Godthab (the only entry in the tz
14063         database for which this change is relevant).
14064         * manual/time.texi (TZ Variable): Document transition times
14065         from -167:59:59 through -00:00:01.
14066         * time/tzset.c (tz_rule): Time of day is now signed.
14067         (__tzset_parse_tz): Parse negative time of day.
14068
14069         Document TZ transition times >= 25:00:00.
14070         * manual/time.texi (TZ Variable): Document transition times from
14071         25:00:00 through 167:59:59.  These are already supported, and this
14072         support will help with version-3 tz-format files.
14073
14074         * manual/time.texi (TZ Variable): Modernize North America example
14075         to reflect current (i.e., 2007-and-later) daylight saving rules.
14076
14077         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14078
14079 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14080
14081         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14082         * sysdeps/unix/bsd/bits/stat.h: Likewise.
14083         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14084         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14085         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14086         * sysdeps/unix/bsd/bsdstat.h: Likewise.
14087         * sysdeps/unix/bsd/clock.c: Likewise.
14088         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14089         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14090         * sysdeps/unix/bsd/init-posix.c: Likewise.
14091         * sysdeps/unix/bsd/poll.c: Likewise.
14092         * sysdeps/unix/bsd/ptsname.c: Likewise.
14093         * sysdeps/unix/bsd/seekdir.c: Likewise.
14094         * sysdeps/unix/bsd/setegid.c: Likewise.
14095         * sysdeps/unix/bsd/seteuid.c: Likewise.
14096         * sysdeps/unix/bsd/setgid.c: Likewise.
14097         * sysdeps/unix/bsd/setrgid.c: Likewise.
14098         * sysdeps/unix/bsd/setruid.c: Likewise.
14099         * sysdeps/unix/bsd/setsid.c: Likewise.
14100         * sysdeps/unix/bsd/setuid.c: Likewise.
14101         * sysdeps/unix/bsd/sigaction.c: Likewise.
14102         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14103         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14104         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14105         * sysdeps/unix/bsd/telldir.c: Likewise.
14106         * sysdeps/unix/bsd/times.c: Likewise.
14107         * sysdeps/unix/bsd/usleep.c: Likewise.
14108
14109         * misc/Makefile (install-lib): Remove libbsd-compat.a.
14110         ($(objpfx)libbsd-compat.a): Remove rule.
14111
14112         * include/features.h (__FAVOR_BSD): Do not define.
14113         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14114         features conflicting with POSIX.
14115         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14116         (_BSD_SOURCE): Remove description of not being a subset of other
14117         feature test macros.
14118         * manual/job.texi (getpgrp): Do not document BSD version.
14119         (getpgid): Do not document by reference to BSD getpgrp.
14120         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14121         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14122         * signal/signal.h [__FAVOR_BSD]: Likewise.
14123         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14124         instead of making contents conditional on [__FAVOR_BSD].
14125         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14126
14127 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14128
14129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14130
14131 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14132
14133         [BZ #16314]
14134         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14135         values below 2**-450, not 2**-500.
14136         * math/auto-libm-test-in: Don't allow spurious underflow from
14137         hypot.
14138         * math/auto-libm-test-out: Regenerated.
14139
14140         [BZ #16316]
14141         [BZ #16330]
14142         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14143         values of ha and hb and sort them after adjusting subnormal
14144         arguments.
14145         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14146         Likewise.
14147         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14148         values of ea and eb and sort them after adjusting subnormal
14149         arguments.
14150         * math/auto-libm-test-in: Do not expect some hypot tests of
14151         subnormals to fail.  Add more hypot tests.
14152         * math/auto-libm-test-out: Regenerated.
14153
14154 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14155
14156         [BZ #13304]
14157         * sysdeps/sh/s_fma.c: New file.
14158         * sysdeps/sh/s_fmaf.c: New file.
14159         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
14160         version.
14161         * sysdeps/sh/Implies: Add sh/soft-fp.
14162
14163 2013-12-16  Roland McGrath  <roland@hack.frob.com>
14164
14165         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
14166         level of indirection to members `objname', `errstring', `malloced'.
14167         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14168         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
14169         it as the __longjmp argument (just pass 1 instead).
14170         (_dl_catch_error): Initialize C with argument pointers and address of
14171         volatile local ERRCODE rather than copying values out of C at return.
14172
14173 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
14174
14175         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14176         * math/auto-libm-test-out: Regenerated.
14177         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14178         (hypot_test_data): Likewise.
14179         (pow_test_data): Likewise.
14180         (pow_tonearest_test_data): Likewise.
14181         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14182         mpfr_ff_f.
14183         (func_calc_desc): Add mpfr_ff_f union field.
14184         (FUNC_mpfr_ff_f): New macro.
14185         (test_functions): Add atan2, hypot and pow.
14186         (special_fill_min): New function.
14187         (special_fill_minus_min): Likewise.
14188         (special_fill_min_subnorm): Likewise.
14189         (special_fill_minus_min_subnorm): Likewise.
14190         (special_real_inputs): Add min, -min, min_subnorm and
14191         -min_subnorm.
14192         (calc_generic_results): Handle mpfr_ff_f.
14193         * sysdeps/i386/fpu/libm-test-ulps: Update.
14194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14195
14196 2013-12-16  Will Newton  <will.newton@linaro.org>
14197
14198         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14199         (Aligned Memory Blocks): Add documentation for aligned_alloc
14200         and suggest it as an alternative to posix_memalign.
14201         (Hooks for Malloc): Document __memalign_hook is also called
14202         for aligned_alloc.  (Summary of Malloc): Add summary for
14203         aligned alloc.  Document __memalign_hook is also called
14204         for aligned_alloc.
14205
14206 2013-12-16  Will Newton  <will.newton@linaro.org>
14207
14208         * manual/memory.texi (Malloc Examples): Clarify default
14209         alignment documentation.  Suggest posix_memalign rather
14210         than memalign or valloc.
14211         (Aligned Memory Blocks): Remove suggestion to use memalign
14212         or valloc.  Remove obsolete comment about BSD.
14213         Document memalign errno values and mark the function obsolete.
14214         Document posix_memalign returned error codes.  Mark valloc
14215         as obsolete.  (Hooks for Malloc): __memalign_hook is also
14216         called for posix_memalign and valloc.
14217         (Summary of Malloc): Add posix_memalign to function summary.
14218         __memalign_hook is also called for posix_memalign and valloc.
14219
14220 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14221
14222         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14223         TAYLOR_SIN.
14224         (__sin): Adjust.
14225         (__cos): Likewise.
14226         (sloww): Use mynumber union.  Expand ternary operator into
14227         if-else statements.
14228         (cslow): use mynumber union.
14229
14230 2013-12-16  Allan McRae  <allan@archlinux.org>
14231
14232         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14233         * configure: Regenerated.
14234
14235         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14236
14237         [BZ #14120]
14238         * configure.ac: Added --enable-maintainer-mode. Check for
14239         autoconf when enabled.
14240         * configure: Regenerated.
14241
14242         * nscd/nscd.service: New file.
14243         * nscd/nscd.tmpfiles: New file.
14244
14245 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
14246
14247         [BZ #12100]
14248         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14249         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14250         * sysdeps/x86_64/multiarch/strstr.c: ... here.
14251         (strstr): Add __strstr_sse2_unaligned ifunc.
14252         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14253         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14254         (strcasestr): Remove __strcasestr_sse42 ifunc.
14255         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14256         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14258
14259 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14260
14261         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14262         * sysdeps/sh/bits/fenv.h: ... here.
14263         * sysdeps/sh/sh4/fpu/bits: Remove directory.
14264
14265 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14266
14267         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14268
14269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14270         hypotf multiarch implementations.
14271         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14272         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14273         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14274         multiarch hypot for PPC64.
14275         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14276         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14277         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14278         multiarch hypotf for PPC64.
14279
14280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14281         modff multiarch implementations.
14282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14285         multiarch modf for PPC64.
14286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14289         multiarch modff for PPC64.
14290
14291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14292         and logl multiarch implementations.
14293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14296         multiarch logb for PPC64.
14297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14300         multiarch logb for PPC64.
14301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14304         multiarch logb for PPC64.
14305
14306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14307         isinff multiarch implementation.
14308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14309         file.
14310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14312         multiarch isinf for PPC64.
14313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14314         file.
14315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14316         multiarch isinff for PPC64.
14317
14318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14319         finitef multiarch implementation.
14320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14321         file.
14322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14324         multiarch finite for PPC64.
14325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14326         file.
14327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14328         multiarch finitef for PPC64.
14329
14330         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14331         lrint multiarch implementation.
14332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14333         file.
14334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14336         multiarch llrint for PPC64.
14337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14338         multiarch lrint for PPC64.
14339
14340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14341         copysignf multiarch implementation.
14342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14343         file.
14344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14345         file.
14346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14347         multiarch copysign for PPC64.
14348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14349         multiarch copysignf for PPC64.
14350
14351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14352         multiarch implementation.
14353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14354         file.
14355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14356         file.
14357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14358         file.
14359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14360         file.
14361         multiarch llround for PPC64.
14362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14363         multiarch trunc for PPC64.
14364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14365         multiarch truncf for PPC64.
14366
14367         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14368         multiarch implementation.
14369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14370         file.
14371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14372         file.
14373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14374         file.
14375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14376         file.
14377         multiarch llround for PPC64.
14378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14379         multiarch round for PPC64.
14380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14381         multiarch roundf for PPC64.
14382
14383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14384         multiarch implementation.
14385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14386         file.
14387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14388         file.
14389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14390         file.
14391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14392         file.
14393         multiarch llround for PPC64.
14394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14395         multiarch floor for PPC64.
14396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14397         multiarch floorf for PPC64.
14398
14399         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14400         multiarch implementation.
14401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14402         file.
14403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14404         file.
14405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14406         file.
14407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14408         file.
14409         multiarch llround for PPC64.
14410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14411         multiarch ceil for PPC64.
14412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14413         multiarch ceilf for PPC64.
14414
14415         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14416         multiarch implementation.
14417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14418         file.
14419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14420         file.
14421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14422         file.
14423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14424         multiarch llround for PPC64.
14425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14426         multiarch lround for PPC64.
14427
14428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14429         multiarch implementation.
14430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14433         file.
14434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14437         multiarch isnan for PPC64.
14438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14439         multiarch isnanf for PPC64.
14440
14441         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14442         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14443         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14444         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14445         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14447
14448         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14449         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14450         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14451         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14452
14453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14454         multiarch implementations.
14455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14456         (__libc_ifunc_impl_list): Likewise.
14457         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14458         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14459         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14460         multiarch stpcpy for PPC64.
14461
14462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14463         multiarch implementations.
14464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14465         (__libc_ifunc_impl_list): Likewise.
14466         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14467         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14468         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14469         multiarch strcpy for PPC64.
14470
14471         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14472         redefine function name.
14473         (_wordcopy_fwd_dest_aligned): Likewise.
14474         (_wordcopy_bwd_aligned): Likewise.
14475         (_wordcopy_bwd_dest_aligned): Likewise.
14476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14477         multiarch implementations.
14478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14479         (__libc_ifunc_impl_list): Likewise.
14480         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14481         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14482         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14483         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14484         multiarch wcscpy for PPC64.
14485
14486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14487         multiarch implementations.
14488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14489         (__libc_ifunc_impl_list): Likewise.
14490         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14491         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14492         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14493         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14494         multiarch wcscpy for PPC64.
14495
14496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14497         multiarch implementations.
14498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14499         (__libc_ifunc_impl_list): Likewise.
14500         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14501         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14502         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14503         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14504         multiarch wcsrchr for PPC64.
14505
14506         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14507         multiarch implementations.
14508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14509         (__libc_ifunc_impl_list): Likewise.
14510         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14511         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14512         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14513         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14514         multiarch wcschr for PPC64.
14515
14516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14517         multiarch implementations.
14518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14519         (__libc_ifunc_impl_list): Likewise.
14520         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14521         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14522         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14523         multiarch strchrnul for PPC64.
14524
14525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14526         implementations.
14527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14528         (__libc_ifunc_impl_list): Likewise.
14529         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14530         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14531         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14532         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14533         strchr for PPC64.
14534
14535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14536         implementations.
14537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14538         (__libc_ifunc_impl_list): Likewise.
14539         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14540         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14541         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14542         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14543         strncmp for PPC64.
14544
14545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14546         multiarch implementations.
14547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14548         (__libc_ifunc_impl_list): Likewise.
14549         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14550         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14551         strncasecmp for PPC64.
14552         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14553         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14554         multiarch strncasecmp_l for PPC64.
14555
14556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14557         multiarch implementations.
14558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14559         (__libc_ifunc_impl_list): Likewise.
14560         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14561         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14562         multiarch strcasecmp for PPC64.
14563         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14564         file.
14565         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14566         multiarch strcasecmp_l for PPC64.
14567
14568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14569         implementations.
14570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14571         (__libc_ifunc_impl_list): Likewise.
14572         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14573         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14574         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14575         strnlen for PPC64.
14576
14577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14578         implementations.
14579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14580         (__libc_ifunc_impl_list): Likewise.
14581         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14582         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14583         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14584         strlen for PPC64.
14585
14586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14587         implementations.
14588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14589         (__libc_ifunc_impl_list): Likewise.
14590         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14591         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14592         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14593         rawmemrchr for PPC64.
14594
14595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14596         implementation.
14597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14598         (__libc_ifunc_impl_list): Likewise.
14599         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14600         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14601         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14602         memrchr for PPC64.
14603
14604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14605         implementation.
14606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14607         (__libc_ifunc_impl_list): Likewise.
14608         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14609         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14610         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14611         memchr for PPC64.
14612
14613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14614         implementation.
14615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14616         (__libc_ifunc_impl_list): Likewise.
14617         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14618         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14619         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14620         mempcpy for PPC64.
14621
14622         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14623         avoid cretion of __bzero symbol.
14624         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14625         Likewise.
14626         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14627         Likewise.
14628         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14629         Likewise.
14630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14631         multiarch implementations.
14632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14633         (__libc_ifunc_impl_list): Likewise.
14634         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14635         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14636         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14637         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14638         bzero for PPC32.
14639         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14640         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14641         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14642         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14643         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14644         memset for PPC64.
14645         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14646
14647         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14648         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14649         implementations.
14650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14651         (__libc_ifunc_impl_list): Likewise.
14652         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14653         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14654         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14655         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14656         memcmp for PPC64.
14657
14658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14659         multiarch for POWER/PPC64.
14660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14661         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14662         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14663         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14664         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14665         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14666         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14667         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14668         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14669         memcpy for PPC64.
14670
14671         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14672         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14673         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14674         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14675         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14676         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14677         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14678         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14679         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14680         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14681         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14682         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14683         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14684         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14685         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14693
14694 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14695
14696         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14697
14698 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14699
14700         * benchtests/Makefile (bench): Add exp2 and log2.
14701         (LDLIBS-bench-exp2): Add -lm.
14702         (LDLIBS-bench-log2): Likewise.
14703         * benchtests/exp2-inputs: New inputs file.
14704         * benchtests/log2-inputs: New inputs file.
14705         * benchtests/log-inputs: Add new inputs.
14706         * benchtests/tan-inputs: Likewise.
14707
14708 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14709
14710         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14711         definition...
14712         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14713         (csloww2): ... from here.
14714
14715         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14716         instead of structures.
14717         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14718         (POLYNOMIAL): Likewise.
14719         (TAYLOR_SLOW): Likewise.
14720         (__sin): Likewise.
14721         (__cos): Likewise.
14722         (slow1): Likewise.
14723         (slow2): Likewise.
14724         (sloww): Likewise.
14725         (sloww1); Likewise.
14726         (sloww2): Likewise.
14727         (bsloww1): Likewise.
14728         (bsloww2): Likewise.
14729         (cslow2): Likewise.
14730         (csloww): Likewise.
14731         (csloww1): Likewise.
14732         (csloww2): Likewise.
14733
14734 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
14735
14736         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
14737         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14738         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
14739         * malloc/hooks.c (realloc_check): Likewise.
14740
14741         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14742         * malloc/arena.c: Remove PER_THREAD conditional.
14743         [!PER_THREAD]: Remove code.
14744         (ptmalloc_unlock_all2): Likewise.
14745         (ptmalloc_init): Likewise.
14746         (_int_new_arena): Likewise.
14747         (arena_get2): Likewise.
14748         * malloc/hooks.c (__malloc_get_state): Likewise.
14749         (__malloc_set_state): Likewise.
14750         * malloc/malloc.c: Likewise.
14751         (struct malloc_state): Likewise.
14752         (struct malloc_par): Likewise.
14753         (__libc_realloc): Likewise.
14754         (__libc_mallopt): Likewise.
14755
14756 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14757
14758         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14759
14760 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
14761
14762         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14763         macro to a function.  Check for zero perturb_byte.
14764         (_int_malloc, _int_free): Remove zero perturb_byte checks.
14765
14766         * malloc/malloc.c: (force_reg): Remove.
14767         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14768         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
14769         force_reg by atomic_forced_read.
14770         * malloc/arena.c (ptmalloc_init): Likewise.
14771         * malloc/hooks.c (top_check): Likewise.
14772
14773 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14774
14775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14776
14777 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
14778
14779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14780
14781 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
14782
14783         * math/auto-libm-test-in: Add tests of lgamma.
14784         * math/auto-libm-test-out: Regenerated.
14785         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14786         (M_LOG_2_SQRT_PIl): Likewise.
14787         (lgamma_test_data): Use AUTO_TESTS_f_f1.
14788         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14789         mpfr_f_f1.
14790         (func_calc_desc): Add mpfr_f_f1 union field.
14791         (ARGS1): New macro.
14792         (ARGS2): Likewise.
14793         (ARGS3): Likewise.
14794         (ARGS4): Likewise.
14795         (RET1): Likewise.
14796         (RET2): Likewise.
14797         (CALC): Likewise.
14798         (FUNC): Likewise.
14799         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14800         (test_functions): Add lgamma.
14801         (calc_generic_results): Handle mpfr_f_f1.
14802         * sysdeps/i386/fpu/libm-test-ulps: Update.
14803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14804
14805 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14806
14807         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14808         __mpn_add_n for PowerPC64/POWER7.
14809         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14810         __mpn_sub_n for PowerPC64/POWER7.
14811
14812         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14813         __mpn_addmul_1 for PowerPC64.
14814         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14815         __mpn_submul_1 for PowerPC64.
14816         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14817         for PowerPC64.
14818         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14819         for PowerPC64.
14820
14821 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
14822
14823         [BZ #15089]
14824         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14825
14826 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14827
14828         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14829
14830         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14831         add multiarch folders.
14832         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14833         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14834         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14835         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14836         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14837         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14838         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14839         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14840         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14841         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14842         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14849
14850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14851         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14853         New file.
14854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14855         New file.
14856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14857         multiarch __ieee754_hypot for PowerPC32.
14858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14859         New file.
14860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14861         New file.
14862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14863         multiarch __ieee754_hypotf for PowerPC32.
14864
14865         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14866         long_double_symbol only if __logbl is defined.
14867         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14868         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14869         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14870         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14871         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14872         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14873         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14874         path for implementation.
14875         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14876         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14878         logb, and logbl multiarch implementations for PowerPC32.
14879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14880         file.
14881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14882         file.
14883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14884         multiarch logb for PowerPC32.
14885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14886         file.
14887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14888         file.
14889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14890         multiarch logbf for PowerPC32.
14891         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14893         file.
14894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14895         multiarch logbl implementation for PowerPC32.
14896
14897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14898         and modff multiarch implementations.
14899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14900         New file.
14901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14902         New file.
14903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14904         multiarch modf for PowerPC32.
14905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14906         New file.
14907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14908         New file.
14909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14910         multiarch modff for PowerPC32.
14911
14912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14913         and lrintf multiarch implementations.
14914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14915         New file.
14916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14917         New file.
14918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14919         multiarch lrint for PowerPC32.
14920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14921         file: multiarch lrintf for PowerPC32.
14922
14923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14924         and lroundf multiarch implementations.
14925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14926         New file.
14927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14928         New file.
14929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14930         New file.
14931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14932         multiarch lround for PowerPC32.
14933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14934         file: multiarch lroundf for PowerPC32.
14935
14936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14937         copysign and copysignf multiarch implementations.
14938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14939         New file.
14940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14941         New file.
14942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14943         file: multiarch copysign for PowerPC32.
14944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14945         file: multiarch copysignf for PowerPC32.
14946
14947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14948         and truncf multiarch implementations.
14949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14950         New file.
14951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14952         file.
14953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14954         multiarch trunc for PowerPC32.
14955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14956         New file.
14957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14958         New file.
14959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14960         multiarch truncf for PowerPC32.
14961
14962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14963         and roundf multiarch implementations.
14964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14965         New file.
14966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14967         file.
14968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14969         multiarch round for PowerPC32.
14970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14971         New file.
14972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14973         New file.
14974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14975         multiarch roundf for PowerPC32.
14976
14977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14978         and floorf multiarch implementations.
14979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14980         New file.
14981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14982         file.
14983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14984         multiarch floor for PowerPC32.
14985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14986         New file.
14987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14988         New file.
14989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14990         multiarch floorf for PowerPC32.
14991
14992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14993         and ceilf multiarch implementations.
14994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14995         New file.
14996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14997         file.
14998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14999         multiarch ceil for PowerPC32.
15000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15001         New file.
15002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15003         file.
15004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15005         multiarch ceilf for PowerPC32.
15006
15007         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15008         is defined.
15009         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15010         FINITEF is defined.
15011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15012         and finitef multiarch implementations.
15013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15014         New file.
15015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15016         file.
15017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15018         multiarch finite for PowerPC32.
15019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15020         New file.
15021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15022         file: multiarch finitef for PowerPC32.
15023
15024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15025         and isinff multiarch implementations.
15026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15027         file.
15028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15029         file.
15030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15031         multiarch isinf for PowerPC32.
15032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15033         New file.
15034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15035         multiarch isinff for PowerPC32.
15036
15037         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15038         alias when __isnan is defined.
15039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15040         and isnanf multiarch implementations.
15041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15042         file.
15043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15044         file.
15045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15046         file.
15047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15048         file.
15049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15050         multiarch isnan for PowerPC32.
15051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15052         New file.
15053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15054         New file.
15055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15056         multiarch isnanf for PowerPC32.
15057
15058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15059         and sqrtf multiarch implementations.
15060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15061         file.
15062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15063         file.
15064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15065         multiarch sqrt for PowerPC32.
15066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15067         file.
15068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15069         file.
15070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15071         multiarch sqrtf for PowerPC32.
15072
15073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15074         and llroundf multiarch implementations.
15075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15076         New file.
15077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15078         New file.
15079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15080         New file.
15081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15082         file: multiarch llround for PowerPC32.
15083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15084         file: multiarch llroundf for PowerPC32.
15085
15086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15087         multiarch PowerPC32 fpu implementations.
15088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15089         New file.
15090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15091         New file.
15092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15093         multiarch llrint for PowerPC32.
15094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15095         New file.
15096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15097         New file.
15098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15099         file.
15100
15101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15102
15103         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15104         file.
15105         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15106         file.
15107         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15108         file.
15109         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15110         multiarch wordcopy for PPC32.
15111         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15112         wordcopy objects.
15113         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15114         (__libc_ifunc_impl_list): Likewise.
15115         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15116         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15117         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15118         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15119         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15120         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15121
15122         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15124         file.
15125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15126         file.
15127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15128         file.
15129         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15130         multiarch wcscpy for PPC32.
15131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15132         multiarch objects.
15133         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15134         (__libc_ifunc_impl_list): Likewise.
15135         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15136         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15137         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15138         sysdeps/powerpc/power6/wcscpy.c.
15139
15140         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15142         file.
15143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15144         file.
15145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15146         file.
15147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15148         multiarch wcsrchr for PPC32.
15149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15150         multiarch objects.
15151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15152         (__libc_ifunc_impl_list): Likewise.
15153         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15154         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15155         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15156         sysdeps/powerpc/power6/wcsrchr.c.
15157
15158         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15159         file.
15160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15161         file.
15162         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15163         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15164         multiarch wcschr for PPc32.
15165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15166         multiarch objects.
15167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15168         (__libc_ifunc_impl_list): Likewise.
15169         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15170         * sysdeps/powerpc/power6/wcschr.c: ... to here.
15171         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15172         sysdeps/powerpc/power6/wcschr.c.
15173
15174         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15175         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15176         file.
15177         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15178         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15179         file: multiarch strchr for PPC32.
15180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15181         multiarch objects.
15182         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15183         (__libc_ifunc_impl_list): Likewise.
15184
15185         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15186         name.
15187         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15188         file.
15189         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15190         file.
15191         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15192         multiarch strchrnul for PPC32.
15193         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15194         multiarch objects.
15195         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15196         (__libc_ifunc_impl_list): Likewise.
15197
15198         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15199         file.
15200         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15201         multiarch strncasecmp for PPC32.
15202         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15203         file.
15204         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15205         multiarch strncasecmp_l for PPC32.
15206         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15207         strncasecmp multiarch objects.
15208         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15209         (__libc_ifunc_impl_list): Likewise.
15210
15211         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15212         file.
15213         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15214         multiarch strncasecmp for PPC32.
15215         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15216         New file.
15217         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15218         multiarch strcasecmp_l for PPC32.
15219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15220         multiarch objects.
15221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15222         (__libc_ifunc_impl_list): Likewise.
15223
15224         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15225         file.
15226         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15227         file.
15228         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15229         multiarch strncmp for PPC32.
15230         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15231         multiarch objects.
15232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15233         (__libc_ifunc_impl_list): Likewise.
15234
15235         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15236         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15237         file.
15238         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15239         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15241         multiarch objects.
15242         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15243         (__libc_ifunc_impl_list): Likewise.
15244
15245         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15246         file.
15247         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15248         file.
15249         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15251         multiarch objects.
15252         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15253         (__libc_ifunc_impl_list): Likewise.
15254
15255         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15256         file.
15257         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15258         file.
15259         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15260         multiarch rawmemchr for PPC32.
15261         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15262         multiarch objects.
15263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15264         (__libc_ifunc_impl_list): Likewise.
15265
15266         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15267         file.
15268         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15269         file.
15270         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15271         file: memrchr multiarch for PPC32.
15272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15273         multiarch objects.
15274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15275         (__libc_ifunc_impl_list): Likewise.
15276
15277         * string/memchr.c (__memchr): Using macro to redefine symbol name.
15278         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15279         file.
15280         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15281         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15282         multiarch memchr for PPC32.
15283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15284         multiarch objects.
15285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15286         (__libc_ifunc_impl_list): Likewise.
15287
15288         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15289         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15290         file.
15291         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15292         file.
15293         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15294         file: multiarch mempcpy for PPC32.
15295         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15296         multiarch objects.
15297         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15298         (__libc_ifunc_impl_list): Likewise.
15299
15300         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15301         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15302         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15303         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15304         multiarch bzero for PPC32.
15305         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15306         file.
15307         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15308         file.
15309         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15310         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15311         file: multiarch memset for PPC32.
15312         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15314         memset multiarch objects.
15315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15316         (__libc_ifunc_impl_list): Likewise.
15317
15318         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15319         file.
15320         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15321         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15322         memcmp for PPC32.
15323         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15324         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15325         multiarch objects.
15326         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15327         (__libc_ifunc_impl_list): Likewise.
15328
15329         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15330         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15331         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15332         file.
15333         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15334         file.
15335         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15336         file.
15337         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15338         multiarch memcpy for PPC32.
15339         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15340         multiarch objects.
15341         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15342         (__libc_ifunc_impl_list): Likewise.
15343
15344         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15345         support multiarch for POWER/PPC32.
15346         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15347         Likewise.
15348         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15350         Implies file to make multiarch folder appers before the fpu and
15351         default folder for power4 configuration.
15352
15353 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15354
15355         * scripts/bench.pl: Append volatile keyword to type.
15356
15357 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15358
15359         * sysdeps/sh/sotruss-lib.c: New file.
15360         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15361
15362 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15363
15364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15365
15366 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
15367
15368         [BZ #6810]
15369         * math/w_tgamma.c: Include <errno.h>.
15370         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
15371         * math/w_tgammaf.c: Include <errno.h>.
15372         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
15373         * math/w_tgammal.c: Include <errno.h>.
15374         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
15375         * math/auto-libm-test-in: Do not allow missing errno on tgamma
15376         underflow.  Add more tgamma tests.
15377         * math/auto-libm-test-out: Regenerated.
15378         * sysdeps/i386/fpu/libm-test-ulps: Update.
15379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15380
15381         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15382         sin, sinh, tan, tanh, tgamma, y0 and y1.
15383         * math/auto-libm-test-out: Regenerated.
15384         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15385         (TEST_COND_x86): Likewise.
15386         (M_E2l): Remove macro.
15387         (M_E3l): Likewise.
15388         (M_2_SQRT_PIl): Likewise.
15389         (M_SQRT_PIl): Likewise.
15390         (M_1_DIV_El): Likewise.
15391         (log_test_data): Use AUTO_TESTS_f_f.
15392         (log10_test_data): Likewise.
15393         (log1p_test_data): Likewise.
15394         (log2_test_data): Likewise.
15395         (sin_test_data): Likewise.
15396         (sin_tonearest_test_data): Likewise.
15397         (sin_towardzero_test_data): Likewise.
15398         (sin_downward_test_data): Likewise.
15399         (sin_upward_test_data): Likewise.
15400         (sinh_test_data): Likewise.
15401         (sinh_tonearest_test_data): Likewise.
15402         (sinh_towardzero_test_data): Likewise.
15403         (sinh_downward_test_data): Likewise.
15404         (sinh_upward_test_data): Likewise.
15405         (tan_test_data): Likewise.
15406         (tan_tonearest_test_data): Likewise.
15407         (tan_towardzero_test_data): Likewise.
15408         (tan_downward_test_data): Likewise.
15409         (tan_upward_test_data): Likewise.
15410         (tanh_test_data): Likewise.
15411         (tgamma_test_data): Likewise.
15412         (y0_test_data): Likewise.
15413         (y1_test_data): Likewise.
15414         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15415         (special_real_inputs): Add pi/4.
15416         * sysdeps/i386/fpu/libm-test-ulps: Update.
15417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15418
15419 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15420
15421         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15422         "longjmp_target" static probes.
15423         (__longjmp): Rename to __longjmp_symbol.
15424         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15425         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15426         on which longjmp to generate.
15427         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15428         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15429         probe.
15430         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15431         (__sigjmp_save): Rename to __sigjmp_save_symbol.
15432         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15433         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15434         and __sigjmp_save_symbol based on which sigsetjmp to generated.
15435         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15437         __longjmp_symbol based on which __longjmp to generate.
15438         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15439         probe.
15440         (setjmp): Rename to setjmp_symbol.
15441         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15442         (_setjmp): Rename to _setjmp_symbol.
15443         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15444         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15445         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15446         which setjmp to generate.
15447         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15448         "longjmp_target" static probes.
15449
15450 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15451
15452         * benchtests/README: Add note about output arguments.
15453         * benchtests/bench-sincos.c: Remove file.
15454         * benchtests/sincos-inputs: New file.
15455         * scripts/bench.pl: Identify output arguments and define
15456         static variables for them.
15457
15458         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15459
15460         [BZ #15941]
15461         * Makefile (INSTALL): Add install-plain.texi as the primary
15462         dependency.
15463         * manual/install-plain.texi: New file.
15464         * manual/install.texi: Include node directive only for
15465         non-plaintext output.
15466
15467 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
15468
15469         * stdlib/longlong.h: Update from GCC.
15470
15471         [BZ #6807]
15472         [BZ #15901]
15473         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15474         * math/w_j0f.c (y0f): Likewise.
15475         * math/w_j0l.c (__y0l): Likewise.
15476         * math/w_j1.c (y1): Likewise.
15477         * math/w_j1f.c (y1f): Likewise.
15478         * math/w_j1l.c (__y1l): Likewise
15479         * math/w_jn.c (yn): Likewise.
15480         * math/w_jnf.c (ynf): Likewise.
15481         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15482         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
15483         value for Bessel function domain errors outside _SVID_ mode.
15484         Adjust sign of return value for yn (negative integer, 0).
15485         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15486         by zero in return for negative x and set sign appropriately for
15487         negative n.
15488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15489         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15490         * math/libm-test.inc (y0_test_data): Add more tests and adjust
15491         expectations in error cases.
15492         (y1_test_data): Likewise.
15493         (yn_test_data): Likewise.
15494         * sysdeps/i386/fpu/libm-test-ulps: Update.
15495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15496
15497 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15498
15499         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15500         "64" to "64-v1".  Add "64-v2".
15501         (abi-64-options): Rename to ...
15502         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
15503         (abi-64-condition): Rename to ...
15504         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
15505         (abi-64-ld-soname): Rename to ...
15506         (abi-64-v1-ld-soname): ... this.
15507         (abi-64-v2-options): Define.
15508         (abi-64-v2-condition): Likewise.
15509         (abi-64-v2-ld-soname): Likewise.
15510         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15511         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15515
15516 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15517             Alan Modra  <amodra@gmail.com>
15518
15519         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15520         New versions for use with the ELFv2 ABI.
15521         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15522         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15523         declaration.
15524         (struct La_ppc64v2_retval): Likewise.
15525         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15526         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15527         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15528         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15529         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15530         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15531         Do not save or restore CR.
15532         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15533         (_dl_profile_resolve): Do no save or restore CR.  Support extended
15534         return values for ELFv2 ABI.  Fix location of FPR return registers.
15535         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15536         updated values for _CALL_ELF == 2.
15537         (La_regs, La_retval, int_retval): Likewise.
15538
15539 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15540
15541         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15542         (FRAME_MIN_SIZE_PARM): Likewise.
15543         (FRAME_BACKCHAIN): Likewise.
15544         (FRAME_CR_SAVE): Likewise.
15545         (FRAME_LR_SAVE): Likewise.
15546         (FRAME_TOC_SAVE): Likewise.
15547         (FRAME_PARM_SAVE): Likewise.
15548         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15549         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15550         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15551         (call_mcount_parm_offset): New macro.
15552         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15553         (PROF): Use symbolic stack frame offsets.
15554         (TAIL_CALL_SYSCALL_ERROR): Likewise.
15555         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15556         Redefine in terms of FRAME_MIN_SIZE.
15557         (_dl_runtime_resolve): Use symbolic stack frame offsets.
15558         (_dl_profile_resolve): Likewise.  Update comment.
15559         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15560         symbols stack frame offsets.
15561         (__sigsetjmp): Likewise.
15562         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15563         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15564         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15565         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15566
15567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15568         (FRAME_BACKCHAIN): Remove.
15569         (FRAME_CR_SAVE): Likewise.
15570         (FRAME_LR_SAVE): Likewise.
15571         (FRAME_COMPILER_DW): Likewise.
15572         (FRAME_LINKER_DW): Likewise.
15573         (FRAME_TOC_SAVE): Likewise.
15574         (FRAME_PARM_SAVE): Likewise.
15575         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15576         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15577         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15579         (CHECK_SP): Use symbolic stack frame offsets.
15580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15581         zone" instead of caller's parameter save area for temp storage.
15582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15583         Likewise.  Also, use symbolic stack frame offsets.
15584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15585         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15586         our own stack frame instead of the caller's.
15587         (__socket): Use symbolic stack frame offsets.
15588
15589 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15590             Alan Modra  <amodra@gmail.com>
15591
15592         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15593         Define.
15594         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15595         (PPC64_LOCAL_ENTRY_OFFSET): Define.
15596         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15597         New function.
15598         (elf_machine_fixup_plt): Call it.
15599         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
15600         reloc arguments.
15601         (elf_machine_rela): Update call to elf_machine_plt_conflict.
15602         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15603         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15604         r2 before calling target.
15605
15606 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15607             Alan Modra  <amodra@gmail.com>
15608
15609         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15610         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15611         versions of macros to support ELFv2 ABI.
15612         (LOCALENTRY): New macro.
15613         (ENTRY, EALIGN): Use it.
15614         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15615         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15616         fall through into ENTRY entry point.
15617         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15618         Only define if _CALL_ELF != 2.
15619
15620         (elf_machine_matches_host): Verify ABI version matches.
15621         (RTLD_START): Use LOCALENTRY.
15622         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15623         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15624         (PLT_ENTRY_WORDS): New macro.
15625         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15626         (elf_machine_runtime_setup): Support ELFv2 ABI.
15627         (elf_machine_fixup_plt): Likewise.
15628         (elf_machine_plt_conflict): Likewise.
15629         (resolve_ifunc): Likewise.
15630         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15631         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15632         Likewise.
15633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15634         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15636         (makecontext): Support ELFv2 ABI.
15637         * elf/elf.h (EF_PPC64_ABI): Define.
15638
15639 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15640
15641         * sysdeps/powerpc/powerpc64/sysdep.h
15642         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15643         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15644         (ENTRY) [ASSEMBLER]: ... but instead here ...
15645         (EALIGN) [ASSEMBLER]: ... and here.
15646         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15647         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15648         (ENTRY_2) [!ASSEMBLER]: Use it.
15649         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15650         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
15651         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15652         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15653         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15655         Use PPC64_LOAD_FUNCPTR.
15656
15657         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15658
15659 2013-12-04  Alan Modra  <amodra@gmail.com>
15660
15661         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15662         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15663         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15664         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15665
15666         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15667         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15668         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15669         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15670         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15671         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15672
15673 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15674
15675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15676         (__makecontext): Fix incorrect CFI when backtracing out of
15677         context created via makecontext.
15678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15679         (__setcontext): Fix incorrect CFI during switch to new context.
15680         (__novec_setcontext): Likewise.
15681
15682 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
15683
15684         [BZ #4772]
15685         * time/strptime_l.c (__strptime_internal): Allow modifiers
15686         in strptime.
15687         * time/tst-strptime.c (day_tests): Add testcase.
15688
15689 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15690
15691         * scripts/bench.pl: Skip over blank lines.
15692
15693 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15694
15695         [BZ #926]
15696         * manual/time.texi (Calendar Time): Clarify what timezone functions
15697         use.
15698
15699 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15700
15701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15702
15703 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
15704
15705         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15706         implementation.
15707         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15708         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15709         * debug/memset_chk.c (__memset_chk): Likewise.
15710         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15711         * debug/strncpy_chk.c: Likewise.
15712
15713 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
15714
15715         [BZ #15268]
15716         [BZ #15425]
15717         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15718         (__ieee754_exp): For possibly underflowing results, check size of
15719         result and force underflow exception if required.
15720         * math/auto-libm-test-in: Add more tests of exp.
15721         * math/auto-libm-test-out: Regenerated.
15722         * sysdeps/i386/fpu/libm-test-ulps: Update.
15723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15724
15725         [BZ #16283]
15726         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15727         * math/w_exp2f.c (__exp2f): Likewise.
15728         * math/w_exp2l.c (__exp2l): Likewise.
15729         * math/auto-libm-test-in: Do not allow missing errno on exp2
15730         underflow.
15731         * math/auto-libm-test-out: Regenerated.
15732
15733 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
15734
15735         [BZ #16274]
15736         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15737         handle filename validation.
15738         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15739         (do_open): Delete.
15740
15741 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
15742
15743         [BZ #6786]
15744         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15745         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15746         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15747         <float.h>.
15748         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15749         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15750         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15751         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15752         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15753         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15754         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15755         * math/auto-libm-test-in: Don't allow missing errno from erfc.
15756         Add more erfc tests.
15757         * math/auto-libm-test-out: Regenerated.
15758         * sysdeps/i386/fpu/libm-test-ulps: Update.
15759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15760
15761         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15762         exp2, expm1, j0 and j1.
15763         * math/auto-libm-test-out: Regenerated.
15764         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15765         (erfc_test_data): Likewise.
15766         (exp_test_data): Likewise.
15767         (exp_tonearest_test_data): Likewise.
15768         (exp_towardzero_test_data): Likewise.
15769         (exp_downward_test_data): Likewise.
15770         (exp_upward_test_data): Likewise.
15771         (exp10_test_data): Likewise.
15772         (exp2_test_data): Likewise.
15773         (expm1_test_data): Likewise.
15774         (j0_test_data): Likewise.
15775         (j1_test_data): Likewise.
15776         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15777         (input_flag_type): Add flag_xfail_rounding.
15778         (input_flags): Add xfail-rounding.
15779         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15780         (output_for_one_input_case): Handle flag_xfail_rounding.
15781         * sysdeps/i386/fpu/libm-test-ulps: Update.
15782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15783
15784 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
15785
15786         [BZ #16289]
15787         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15788         division by 0.
15789
15790 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15791
15792         [BZ #16195]
15793         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15794         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15795         (STAP_PROBE0): New macro.
15796         (STAP_PROBE1): Likewise.
15797         (STAP_PROBE2): Likewise.
15798         (STAP_PROBE3): Likewise.
15799         (STAP_PROBE4): Likewise.
15800
15801 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
15802
15803         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15804
15805 2013-12-02  Steve Ellcey  <sellcey@mips.com>
15806
15807         * benchtests/Makefile (bench): Add sqrt.
15808         (LDLIBS-bench-sqrt): New.
15809         * benchtests/sqrt-input: New.
15810
15811 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
15812
15813         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15814         (GAIH_EAI): Likewise.
15815         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15816         (gaih_inet): Likewise.
15817         (getaddrinfo): Don't use GAIH_EAI.
15818
15819         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15820         (struct gaih): Remove definition.
15821
15822 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15823
15824         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15825         Use HERRNOP directly.
15826
15827 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15828
15829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15830
15831 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
15832
15833         * math/gen-auto-libm-tests.c (test_functions): Add more
15834         single-argument functions.
15835         (special_fill_pi_2): New function.
15836         (special_fill_minus_pi_2): Likewise.
15837         (special_fill_pi_6): Likewise.
15838         (special_fill_minus_pi_6): Likewise.
15839         (special_fill_pi_3): Likewise.
15840         (special_fill_2pi_3): Likewise.
15841         (special_fill_e): Likewise.
15842         (special_fill_1_e): Likewise.
15843         (special_fill_e_minus_1): Likewise.
15844         (special_real_inputs): Add more special inputs.
15845         (output_for_one_input_case): Do not require ERANGE on underflow to
15846         zero if round-to-nearest result does not underflow to zero, unless
15847         exact results required.
15848         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15849         atan, atanh, cbrt, cos and cosh.
15850         * math/auto-libm-test-out: Regenerated.
15851         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15852         (acos_tonearest_test_data): Likewise.
15853         (acos_towardzero_test_data): Likewise.
15854         (acos_downward_test_data): Likewise.
15855         (acos_upward_test_data): Likewise.
15856         (acosh_test_data): Likewise.
15857         (asin_test_data): Likewise.
15858         (asin_tonearest_test_data): Likewise.
15859         (asin_towardzero_test_data): Likewise.
15860         (asin_upward_test_data): Likewise.
15861         (asinh_test_data): Likewise.
15862         (atan_test_data): Likewise.
15863         (atanh_test_data): Likewise.
15864         (cbrt_test_data): Likewise.
15865         (cos_test_data): Likewise.
15866         (cos_tonearest_test_data): Likewise.
15867         (cos_towardzero_test_data): Likewise.
15868         (cos_downward_test_data): Likewise.
15869         (cos_upward_test_data): Likewise.
15870         (cosh_test_data): Likewise.
15871         (cosh_tonearest_test_data): Likewise.
15872         (cosh_towardzero_test_data): Likewise.
15873         (cosh_downward_test_data): Likewise.
15874         (cosh_upward_test_data): Likewise.
15875         * sysdeps/i386/fpu/libm-test-ulps: Update.
15876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15877
15878 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
15879
15880         [BZ #6787]
15881         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15882         * math/w_exp10f.c (__exp10f): Likewise.
15883         * math/w_exp10l.c (__exp10l): Likewise.
15884         * math/libm-test.inc (exp10_test_data): Add more tests and expect
15885         errno settings in existing tests.
15886
15887         [BZ #14032]
15888         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15889         precision control set to double precision.
15890         * sysdeps/i386/fpu/w_sqrt.c: New file.
15891         * math/auto-libm-test-in: Add more tests.
15892         * math/auto-libm-test-out: Update.
15893
15894         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15895         (sqrt_test_tonearest): New function.
15896         (sqrt_towardzero_test_data): New variable.
15897         (sqrt_test_towardzero): New function.
15898         (sqrt_downward_test_data): New variable.
15899         (sqrt_test_downward): New function.
15900         (sqrt_upward_test_data): New variable.
15901         (sqrt_test_upward): New function.
15902         (main): Call the new functions.
15903
15904         * math/gen-auto-libm-tests.c: New file.
15905         * math/auto-libm-test-in: Likewise.
15906         * math/auto-libm-test-out: New generated file.
15907         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15908         variables.
15909         (%beautify): Add generated representations of zero.
15910         (top level): Set $auto_input and call parse_auto_input.
15911         (beautify): Remove trailing "f" from hex float constants.
15912         (parse_args): Handle XFAIL_TEST.
15913         (convert_condition): New function.
15914         (or_value): Likewise.
15915         (or_cond_value): Likewise.
15916         (generate_testfile): Handle AUTO_TESTS_* lines.
15917         (parse_auto_input): New function.
15918         * math/libm-test.inc (XFAIL_TEST): New macro.
15919         (ERRNO_UNCHANGED): Update value.
15920         (ERRNO_EDOM): Likewise.
15921         (ERRNO_ERANGE): Likewise.
15922         (IGNORE_RESULT): Likewise.
15923         (TEST_COND_flt_32): New macro.
15924         (TEST_COND_dbl_64): Likewise.
15925         (TEST_COND_ldbl_96_intel): Likewise.
15926         (TEST_COND_ldbl_96_m68k): Likewise.
15927         (TEST_COND_ldbl_128): Likewise.
15928         (TEST_COND_ldbl_128ibm): Likewise.
15929         (TEST_COND_long32): Likewise.
15930         (TEST_COND_long64): Likewise.
15931         (TEST_COND_before_rounding): Likewise.
15932         (TEST_COND_after_rounding): Likewise.
15933         (enable_test): Handle XFAIL_TEST flag.
15934         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15935         with finite results.
15936         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15937         auto-libm-test-out.
15938
15939 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15940             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15941
15942         [BZ #16214]
15943         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15944         __tls_get_addr_internal instead of __tls_get_offset in order to
15945         avoid GOT pointer dependency.  Make rtld export
15946         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15947         __tls_get_addr since we are a __tls_get_offset platform.
15948         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15949         GOT pointer being set up before.
15950         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15951
15952 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
15953
15954         * manual/math.texi (Errors in Math Functions): Document accuracy
15955         goals.
15956
15957         [BZ #15004]
15958         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15959         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15960         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15961         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15962         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15963         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15964         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15965         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15966         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15967         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15968         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15969         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15970         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15971         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15972         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15973         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15974
15975         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15976         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15977         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15978         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15979         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15980         Likewise.
15981         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15982         Likewise.
15983         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15984         Likewise.
15985         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15986         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15987         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15988         atomic-feupdateenv and flt-rounds.
15989         * sysdeps/powerpc/nofpu/Versions (libc): Add
15990         __atomic_feholdexcept, __atomic_feclearexcept,
15991         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15992         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15993         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15994         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15995         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15996         here.
15997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15998         Update.
15999
16000         * manual/arith.texi (FP Exceptions): Document that exceptions may
16001         not be raised when matherr is used.
16002         (Math Error Reporting): Document overflow in directed rounding
16003         modes.  Document that errno may not be set when finite values are
16004         returned on overflow.  Document intent to set errno on underflow
16005         only for underflow to zero.
16006
16007         [BZ #16271]
16008         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16009         round-to-nearest then adjust result for other rounding modes.
16010         * include/fenv.h (fegetround): Use libm_hidden_proto.
16011         * math/fegetround.c (fegetround): Use libm_hidden_def.
16012         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16013         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16014         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16015         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16016         Likewise.
16017         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16018         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16019         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16020         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16021
16022 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16023
16024         [BZ #16077]
16025         * nss/Versions (libnss_files): Add
16026         _nss_files_gethostbyname3_r.
16027         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16028         New function.
16029         (HOST_DB_LOOKUP): Remove macro.
16030         (_nss_files_gethostbyname_r): Implement function without the
16031         HOST_DB_LOOKUP macro.
16032         (_nss_files_gethostbyname2_r): Likewise.
16033
16034 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
16035
16036         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16037
16038 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
16039
16040         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16041         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16042         warning.
16043
16044 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16045
16046         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16047         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16048         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16049         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16050         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16051         __fe_nomask_env_priv and attribute_hidden.
16052         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16053         (libc_feupdateenv_test_ppc): Likewise.
16054         (libc_feresetround_ppc): Likewise.
16055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16056         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16057         compat_symbol macro.
16058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16059         (__fe_nomask_env): Likewise.
16060         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16061
16062 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16063
16064         * string/Makefile: Remove ifunc tests.
16065         * string/test-string.h: Define TEST_IFUNC.
16066         * string/test-bcopy-ifunc.c: Remove.
16067         * string/test-bzero-ifunc.c: Likewise.
16068         * string/test-memccpy-ifunc.c: Likewise.
16069         * string/test-memchr-ifunc.c: Likewise.
16070         * string/test-memcmp-ifunc.c: Likewise.
16071         * string/test-memcpy-ifunc.c: Likewise.
16072         * string/test-memmem-ifunc.c: Likewise.
16073         * string/test-memmove-ifunc.c: Likewise.
16074         * string/test-mempcpy-ifunc.c: Likewise.
16075         * string/test-memrchr-ifunc.c: Likewise.
16076         * string/test-memset-ifunc.c: Likewise.
16077         * string/test-rawmemchr-ifunc.c: Likewise.
16078         * string/test-stpcpy-ifunc.c: Likewise.
16079         * string/test-stpncpy-ifunc.c: Likewise.
16080         * string/test-strcasecmp-ifunc.c: Likewise.
16081         * string/test-strcasestr-ifunc.c: Likewise.
16082         * string/test-strcat-ifunc.c: Likewise.
16083         * string/test-strchr-ifunc.c: Likewise.
16084         * string/test-strchrnul-ifunc.c: Likewise.
16085         * string/test-strcmp-ifunc.c: Likewise.
16086         * string/test-strcpy-ifunc.c: Likewise.
16087         * string/test-strcspn-ifunc.c: Likewise.
16088         * string/test-strlen-ifunc.c: Likewise.
16089         * string/test-strncasecmp-ifunc.c: Likewise.
16090         * string/test-strncat-ifunc.c: Likewise.
16091         * string/test-strncmp-ifunc.c: Likewise.
16092         * string/test-strncpy-ifunc.c: Likewise.
16093         * string/test-strnlen-ifunc.c: Likewise.
16094         * string/test-strpbrk-ifunc.c: Likewise.
16095         * string/test-strrchr-ifunc.c: Likewise.
16096         * string/test-strspn-ifunc.c: Likewise.
16097         * string/test-strstr-ifunc.c: Likewise.
16098
16099 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16100
16101         * benchtests/Makefile: Remove ifunc tests.
16102         * benchtests/bench-string.h: Define TEST_IFUNC.
16103         * benchtests/bench-bcopy-ifunc.c: Remove.
16104         * benchtests/bench-bzero-ifunc.c: Likewise.
16105         * benchtests/bench-memccpy-ifunc.c: Likewise.
16106         * benchtests/bench-memchr-ifunc.c: Likewise.
16107         * benchtests/bench-memcmp-ifunc.c: Likewise.
16108         * benchtests/bench-memcpy-ifunc.c: Likewise.
16109         * benchtests/bench-memmem-ifunc.c: Likewise.
16110         * benchtests/bench-memmove-ifunc.c: Likewise.
16111         * benchtests/bench-mempcpy-ifunc.c: Likewise.
16112         * benchtests/bench-memrchr-ifunc.c: Likewise.
16113         * benchtests/bench-memset-ifunc.c: Likewise.
16114         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16115         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16116         * benchtests/bench-stpcpy-ifunc.c: Likewise.
16117         * benchtests/bench-stpncpy-ifunc.c: Likewise.
16118         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16119         * benchtests/bench-strcasestr-ifunc.c: Likewise.
16120         * benchtests/bench-strcat-ifunc.c: Likewise.
16121         * benchtests/bench-strchr-ifunc.c: Likewise.
16122         * benchtests/bench-strchrnul-ifunc.c: Likewise.
16123         * benchtests/bench-strcmp-ifunc.c: Likewise.
16124         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16125         * benchtests/bench-strcpy-ifunc.c: Likewise.
16126         * benchtests/bench-strcspn-ifunc.c: Likewise.
16127         * benchtests/bench-strlen-ifunc.c: Likewise.
16128         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16129         * benchtests/bench-strncat-ifunc.c: Likewise.
16130         * benchtests/bench-strncmp-ifunc.c: Likewise.
16131         * benchtests/bench-strncpy-ifunc.c: Likewise.
16132         * benchtests/bench-strnlen-ifunc.c: Likewise.
16133         * benchtests/bench-strpbrk-ifunc.c: Likewise.
16134         * benchtests/bench-strrchr-ifunc.c: Likewise.
16135         * benchtests/bench-strsep-ifunc.c: Likewise.
16136         * benchtests/bench-strspn-ifunc.c: Likewise.
16137         * benchtests/bench-strstr-ifunc.c: Likewise.
16138
16139 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16140
16141         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16142
16143 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16144
16145         * resolv/netdb.h: Use __glibc_reserved instead __unused.
16146         * rt/aio.h: Likewise.
16147         * sysdeps/gnu/bits/utmp.h: Likewise.
16148         * sysdeps/gnu/bits/utmpx.h: Likewise.
16149         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16150         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16151         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16152         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16153         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16154         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16155         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16156         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16157         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16158         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16159         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16160         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16161         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16163         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16164         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16165         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16166         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16167         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16168         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16169         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16170         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16171         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16172         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16173         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16174         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16175         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16176         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16177         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16178         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16179         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16180         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16181         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16182         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16183         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16184         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16185         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16186         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16187         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16188         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16189         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16190         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16191
16192 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
16193
16194         [BZ #16245]
16195         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16196         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16197
16198 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
16199
16200         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16201         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16202         Likewise.
16203
16204 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16205
16206         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16207         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16208         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16209         (__fesetround): Remove define.
16210         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16211         rounding and exceptions handling.
16212         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16213         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16214         (__fe_nomask_env): Likewise.
16215         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16216         __fegetround instead of fegetround.
16217         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16218         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16219
16220 2013-11-21  Roland McGrath  <roland@hack.frob.com>
16221
16222         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16223         it's there.
16224
16225         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16226
16227 2013-11-21  Meador Inge  <meadori@codesourcery.com>
16228
16229         [BZ #11157]
16230         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16231         (encrypt_r): Likewise.
16232         * malloc/obstack.h (obstack_free): Likewise.
16233         * posix/unistd.h (encrypt): Likewise.
16234
16235 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
16236
16237         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16238         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16239         DL_CALL_DT_FINI() that call the functions directly.
16240         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16241         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16242         * elf/dl-fini.c: Likewise.
16243
16244 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
16245
16246         * malloc/hooks.c (memalign_check): Add alignment rounding.
16247         * malloc/malloc.c (_mid_memalign): New function.
16248         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16249         Implement by calling _mid_memalign.
16250         * manual/probes.texi (Memory Allocation Probes): Remove
16251         memory_valloc_retry and memory_pvalloc_retry.
16252
16253 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16254
16255         * locale/programs/locarchive.c (open_archive): Add const
16256         qualifier to ARCHIVEFNAME and copy default fname to
16257         DEFAULT_FNAME.
16258
16259         [BZ #15601]
16260         * libio/tst-widetext.input: Rename Oriya to Odia.
16261         * locale/iso-639.def: Likewise.
16262
16263         * manual/probes.texi (Mathematical Function Probes): Add
16264         documentation for sin, cos, asin and acos probes.
16265         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16266         (__sin32): Add slowasin probe.
16267         (__cos32): Add slowacos probe.
16268         (__mpsin): Add slowsin probe.
16269         (__mpcos): Add slowcos probe.
16270
16271 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
16272
16273         [BZ #15483]
16274         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16275         thread-local __sim_exceptions_thread and global
16276         __sim_exceptions_global.
16277         (__sim_disabled_exceptions): Change to thread-local
16278         __sim_disabled_exceptions_thread and global
16279         __sim_disabled_exceptions_global.
16280         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16281         and global __sim_round_mode_global.
16282         (__simulate_exceptions): Use thread-local floating-point state and
16283         set global state from it as needed.
16284         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16285         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16286         __sim_round_mode_thread.
16287         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16288         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16289         and global __sim_exceptions_global.
16290         (__sim_disabled_exceptions): Change to thread-local
16291         __sim_disabled_exceptions_thread and global
16292         __sim_disabled_exceptions_global.
16293         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16294         and global __sim_round_mode_global.
16295         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16296         (SIM_SET_GLOBAL): Likewise.
16297         * sysdeps/powerpc/soft-fp/sfp-machine.h
16298         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16299         __sim_round_mode_thread.
16300         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16301         __sim_disabled_exceptions_thread.
16302         (__sim_exceptions): Change to __sim_exceptions_thread.
16303         (__sim_disabled_exceptions): Change to
16304         __sim_disabled_exceptions_thread.
16305         (__sim_round_mode): Change to __sim_round_mode_thread.
16306         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16307         thread-local floating-point state and set global state from it as
16308         needed.
16309         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16310         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16311         (__sim_disabled_exceptions): Remove extern declaration.
16312         (feenableexcept): Use thread-local floating-point state and set
16313         global state from it as needed.
16314         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16315         extern declaration.
16316         (__sim_disabled_exceptions): Likewise.
16317         (__sim_round_mode): Likewise.
16318         (__fegetenv): Use thread-local floating-point state.
16319         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16320         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16321         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16322         floating-point state and set global state from it as needed.
16323         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16324         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16325         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16326         Likewise.
16327         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16328         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16329         Likewise.
16330         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16331         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16332         Use __sim_round_mode_thread.
16333         * math/test-fenv-tls.c: New file.
16334         * math/Makefile (tests): Add test-fenv-tls.
16335         ($(objpfx)test-fenv-tls): Depend on
16336         $(common-objpfx)nptl/libpthread.so.
16337
16338 2013-11-19  Andreas Schwab  <schwab@suse.de>
16339
16340         * locale/programs/locale.c (show_info): Decode wordarray elements.
16341         * locale/categories.def (LC_MONETARY): Add element for
16342         _NL_MONETARY_CRNCYSTR.
16343         * locale/C-monetary.c (conversion_rate): New variable.
16344         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16345         element.
16346
16347 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
16348
16349         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16350         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16351
16352 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16353
16354         * elf/Makefile (tst-auxv): New test.
16355         * elf/tst-auxv.c: New
16356         * elf/rtld.c (dl_main): Adjust AT_EXECFN
16357
16358 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
16359
16360         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16361         (hidden_proto): Caller changed.
16362         (hidden_tls_proto): New macro.
16363         (libc_hidden_tls_proto): Likewise.
16364         (rtld_hidden_tls_proto): Likewise.
16365         (libm_hidden_tls_proto): Likewise.
16366         (libresolv_hidden_tls_proto): Likewise.
16367         (librt_hidden_tls_proto): Likewise.
16368         (libdl_hidden_tls_proto): Likewise.
16369         (libnss_files_hidden_tls_proto): Likewise.
16370         (libnsl_hidden_tls_proto): Likewise.
16371         (libnss_nisplus_hidden_tls_proto): Likewise.
16372         (libutil_hidden_tls_proto): Likewise.
16373
16374 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
16375
16376         [BZ #10253]
16377         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16378         (decompose_rpath): Defer expansion to fillin_rpath.
16379         (_dl_init_paths): Pass linkmap to fillin_rpath.
16380
16381 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16382
16383         * benchtests/Makefile: Add strsep.
16384         * benchtests/bench-strsep.c: New file: strsep benchtest.
16385         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16386
16387 2013-11-18  Andreas Schwab  <schwab@suse.de>
16388
16389         * locale/programs/locale.c (show_info) [case byte]: Check for
16390         '\377' instead of '\177'.
16391         * locale/C-monetary.c (not_available): Always use "\377".
16392         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16393         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
16394         detect unavailable sign_posn locale elements.
16395         * locale/localeconv.c (__localeconv): For grouping and
16396         mon_grouping handle "\177" and "\377" like no grouping.
16397         (INT_ELEM): New macro.  Use it to set all numeric members.
16398         * locale/programs/ld-monetary.c (monetary_read)
16399         <tok_mon_grouping>: Normalize single -1 to the empty string.
16400         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16401         Likewise.
16402
16403 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16404
16405         [BZ #16055]
16406         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16407         when we match (nil).
16408         * stdio-common/tst-sscanf.c (struct test): Add testcase.
16409
16410 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
16411
16412         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16413         (NO_TEST_INLINE): Update value.
16414         (ERRNO_UNCHANGED): Likewise.
16415         (ERRNO_EDOM): Likewise.
16416         (ERRNO_ERANGE): Likewise.
16417         (IGNORE_RESULT): Likewise.
16418         (check_float_internal): Check signs of NaN results if
16419         TEST_NAN_SIGN used.
16420         (check_complex): Pass TEST_NAN_SIGN flag through to second
16421         check_float_internal call.
16422         (copysign_test_data): Add tests with quiet NaNs as second
16423         argument.  Use TEST_NAN_SIGN.
16424         (fabs_test_data): Add test of negative quiet NaN argument.  Use
16425         TEST_NAN_SIGN.
16426         (signbit_test_data): Add tests of quiet NaN argument.
16427         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16428
16429         * math/gen-libm-test.pl (show_exceptions): Take extra argument
16430         $ignore_result.
16431         (parse_args): Handle function results specified as IGNORE.
16432         * math/libm-test.inc (IGNORE_RESULT): New macro.
16433         (check_float_internal): Do not check numerical result if flag
16434         IGNORE_RESULT set.
16435         (check_complex): Pass through IGNORE_RESULT to second
16436         check_float_internal call.
16437         (check_int): Do not check numerical result if flag IGNORE_RESULT
16438         set.
16439         (check_long): Likewise.
16440         (check_bool): Likewise.
16441         (check_longlong): Likewise.
16442         (lrint_test_data): Add tests of infinite and NaN arguments.
16443         (lrint_tonearest_test_data): Likewise.
16444         (lrint_towardzero_test_data): Likewise.
16445         (lrint_downward_test_data): Likewise.
16446         (lrint_upward_test_data): Likewise.
16447         (llrint_test_data): Likewise.
16448         (llrint_tonearest_test_data): Likewise.
16449         (llrint_towardzero_test_data): Likewise.
16450         (llrint_downward_test_data): Likewise.
16451         (llrint_upward_test_data): Likewise.
16452         (lround_test_data): Likewise.
16453         (llround_test_data): Likewise.
16454
16455         * math/libm-test.inc (NO_TEST_INLINE): New macro.
16456         (ERRNO_UNCHANGED): Update value.
16457         (ERRNO_EDOM): Likewise.
16458         (ERRNO_ERANGE): Likewise.
16459         (NO_TEST_INLINE_FLOAT): New macro.
16460         (NO_TEST_INLINE_DOUBLE): Likewise.
16461         (enable_test): New function.
16462         (RUN_TEST_f_f): Check enable_test before running test.
16463         (RUN_TEST_2_f): Likewise.
16464         (RUN_TEST_fff_f): Likewise.
16465         (RUN_TEST_c_f): Likewise.
16466         (RUN_TEST_f_f1): Likewise.
16467         (RUN_TEST_fF_f1): Likewise.
16468         (RUN_TEST_fI_f1): Likewise.
16469         (RUN_TEST_ffI_f1): Likewise.
16470         (RUN_TEST_c_c): Likewise.
16471         (RUN_TEST_cc_c): Likewise.
16472         (RUN_TEST_f_i): Likewise.
16473         (RUN_TEST_f_i_tg): Likewise.
16474         (RUN_TEST_ff_i_tg): Likewise.
16475         (RUN_TEST_f_b): Likewise.
16476         (RUN_TEST_f_b_tg): Likewise.
16477         (RUN_TEST_f_l): Likewise.
16478         (RUN_TEST_f_L): Likewise.
16479         (RUN_TEST_fFF_11): Likewise.
16480         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16481         conditionals.
16482         (cosh_test_data): Likewise.
16483         (exp_test_data): Likewise.
16484         (expm1_test_data): Likewise.
16485         (hypot_test_data): Likewise.
16486         (pow_test_data): Likewise.
16487         (sinh_test_data): Likewise.
16488         (tanh_test_data): Likewise.
16489         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16490         flags argument.
16491
16492         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16493         tests with quiet NaN input and output.
16494         (acosh_test_data): Likewise.
16495         (asin_test_data): Likewise.
16496         (asinh_test_data): Likewise.
16497         (atan_test_data): Likewise.
16498         (atanh_test_data): Likewise.
16499         (atan2_test_data): Likewise.
16500         (cbrt_test_data): Likewise.
16501         (cos_test_data): Likewise.
16502         (cosh_test_data): Likewise.
16503         (erf_test_data): Likewise.
16504         (erfc_test_data): Likewise.
16505         (exp_test_data): Likewise.
16506         (exp10_test_data): Likewise.
16507         (exp2_test_data): Likewise.
16508         (expm1_test_data): Likewise.
16509         (hypot_test_data): Likewise.
16510         (j0_test_data): Likewise.
16511         (j1_test_data): Likewise.
16512         (jn_test_data): Likewise.
16513         (lgamma_test_data): Likewise.
16514         (log_test_data): Likewise.
16515         (log10_test_data): Likewise.
16516         (log1p_test_data): Likewise.
16517         (log2_test_data): Likewise.
16518         (pow_test_data): Likewise.
16519         (scalb_test_data): Likewise.
16520         (sin_test_data): Likewise.
16521         (sincos_test_data): Likewise.
16522         (sinh_test_data): Likewise.
16523         (tan_test_data): Likewise.
16524         (tanh_test_data): Likewise.
16525         (tgamma_test_data): Likewise.
16526         (y0_test_data): Likewise.
16527         (y1_test_data): Likewise.
16528         (yn_test_data): Likewise.
16529
16530         [BZ #16167]
16531         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16532         argument being NaN and avoid computations with second argument in
16533         that case.
16534         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16535         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16536         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16537
16538 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
16539
16540         * locale/iso-639.def: Add Chitwani Tharu (the).
16541
16542 2013-11-14  Andreas Schwab  <schwab@suse.de>
16543
16544         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16545         word instead of empty string.
16546
16547 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16548
16549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16550         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16552         (__fe_nomask_env): Likewise.
16553
16554 2013-11-13  Steve Ellcey  <sellcey@mips.com>
16555
16556         * benchtests/bench-timing.h: Include time.h.
16557
16558 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
16559
16560         [BZ #15997]
16561         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16562         to 3.4.0 for x32.
16563         * sysdeps/unix/sysv/linux/configure: Regenerated.
16564
16565 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
16566
16567         [BZ #16151]
16568         * stdlib/strtod_l.c (round_and_return): Do not consider
16569         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16570         exponent one less than half the least subnormal exponent.
16571         * stdlib/test-strtod-round-data: Add more tests.
16572         * stdlib/tst-strtod-round.c (tests): Regenerated.
16573
16574 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16575
16576         [BZ #14143]
16577         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16578         (__fe_mask_env): Likewise.
16579         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16580         libm_hidden_proto and add function prototype.
16581         (__fe_mask_env): Add function prototype.
16582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16583         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16585         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16587         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16588
16589 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16590
16591         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16592         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16593
16594 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16595
16596         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16597         of htab_find_slot().
16598
16599 2013-11-11  David S. Miller  <davem@davemloft.net>
16600
16601         [BZ #16150]
16602         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16603         symbol in the non-vis3 case in static builds.
16604         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16605         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16606         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16607         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16608
16609 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
16610
16611         [BZ #387]
16612         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16613         it is empty.
16614
16615 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16616
16617         * benchtests/Makefile: Add bench-strtod.
16618         * benchtests/bench-strtod.c: New file: strtod benchtest
16619
16620 2013-11-11  Andreas Schwab  <schwab@suse.de>
16621
16622         [BZ #16153]
16623         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16624         terminating NUL in key length.
16625
16626 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16627
16628         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16629         Add artificial ODP entry for vDSO symbol for PPC64.
16630         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16631         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16632
16633 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16634
16635         [BZ #15374]
16636         * nss/getent.c (services_keys): Recognize services starting with digit.
16637
16638 2013-11-06  David S. Miller  <davem@davemloft.net>
16639
16640         [BZ #15985]
16641         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16642         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16643
16644 2013-11-06  Will Newton  <will.newton@linaro.org>
16645
16646         * manual/memory.texi (Malloc Examples): Remove register
16647         keyword from examples.
16648
16649 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
16650
16651         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16652
16653 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
16654
16655         [BZ #6981]
16656         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16657         depending on [__GCC_IEC_559 > 0].
16658         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16659         depending on [__GCC_IEC_559_COMPLEX > 0].
16660
16661 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
16662
16663         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16664         to iso-639.def.
16665
16666 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
16667
16668         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16669
16670 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
16671
16672         [BZ #16112]
16673         * malloc/malloc (malloc_info): Do not handle first bin as
16674         special case.
16675
16676 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
16677
16678         * locale/iso-639.def: Add Central Nahuatl (nhn).
16679
16680 2013-11-01  Bruno Haible  <bruno@clisp.org>
16681
16682         [BZ #7003]
16683         * manual/math.texi (BSD Random): Specify range upper bound as
16684         in POSIX.
16685
16686 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
16687
16688         * locale/iso-639.def: Add Meadow Mari (mhr).
16689
16690 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
16691
16692         [BZ #14752], [BZ #15763]
16693         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16694         Validate name.
16695         * rt/tst_shm.c: Add test for escaping directory.
16696
16697 2013-10-31  Andreas Schwab  <schwab@suse.de>
16698
16699         [BZ #15917]
16700         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16701         followed by 'x' as part of digit sequence.
16702         * stdio-common/tst-sscanf.c (double_tests2): New tests.
16703
16704 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16705
16706         [BZ #16037]
16707         * configure.ac: allow GNU Make 4.0 and greater.
16708         * configure: Regenerated.
16709
16710 2013-10-30  Will Newton  <will.newton@linaro.org>
16711
16712         [BZ #16038]
16713         * malloc/hooks.c (memalign_check): Limit alignment to the
16714         maximum representable power of two.
16715         * malloc/malloc.c (__libc_memalign): Likewise.
16716         * malloc/tst-memalign.c (do_test): Add test for very
16717         large alignment values.
16718         * malloc/tst-posix_memalign.c (do_test): Likewise.
16719
16720 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
16721
16722         [BZ #11087]
16723         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16724         (munmap_chunk): Likewise.
16725         (mremap_chunk): Likewise.
16726
16727 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
16728
16729         [BZ #15799]
16730         * stdlib/div.c (div): Remove obsolete code.
16731         * stdlib/ldiv.c (ldiv): Likewise.
16732         * stdlib/lldiv.c (lldiv): Likewise.
16733
16734 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16735
16736         [BZ #16071]
16737         * nss/nss_files/files-XXX.c (get_contents_ret): New
16738         enumerator.
16739         (get_contents): New function.
16740         (internal_getent): Use it.  Expand size of LINEBUFLEN.
16741
16742 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
16743
16744         * configure.in: Moved to ...
16745         * configure.ac: ... here. Change reference to configure.in
16746         to configure.ac.
16747         * sysdeps/arm/preconfigure.ac: ... here.
16748         configure.in to configure.ac.
16749         * sysdeps/gnu/configure.in: Moved to ...
16750         * sysdeps/gnu/configure.ac: ... here.
16751         * sysdeps/i386/configure.in: Moved to ...
16752         * sysdeps/i386/configure.ac: ... here.
16753         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16754         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16755         * sysdeps/mach/configure.in: Moved to ...
16756         * sysdeps/mach/configure.ac: ... here.
16757         * sysdeps/mach/hurd/configure.in: Moved to ...
16758         * sysdeps/mach/hurd/configure.ac: ... here.
16759         * sysdeps/powerpc/configure.in: Moved to ...
16760         * sysdeps/powerpc/configure.ac: ... here.
16761         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16762         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16763         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16764         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16765         * sysdeps/s390/s390-32/configure.in: Moved to ...
16766         * sysdeps/s390/s390-32/configure.ac: ... here.
16767         * sysdeps/s390/s390-64/configure.in: Moved to ...
16768         * sysdeps/s390/s390-64/configure.ac: ... here.
16769         * sysdeps/sh/configure.in: Moved to ...
16770         * sysdeps/sh/configure.ac: ... here.
16771         * sysdeps/sparc/configure.in: Moved to ...
16772         * sysdeps/sparc/configure.ac: ... here.
16773         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16774         * sysdeps/unix/sysv/linux/configure.ac: ... here.
16775         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16776         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16777         * sysdeps/x86_64/configure.in: Moved to ...
16778         * sysdeps/x86_64/configure.ac: ... here.
16779         * sysdeps/x86_64/preconfigure.in: Moved to ...
16780         * sysdeps/x86_64/preconfigure.ac: ... here.
16781         * aclocal.m4: Change reference to configure.in to configure.ac.
16782         * config.h.in: Likewise.
16783         * manual/install.texi: Likewise.
16784         * manual/maint.texi: Likewise.
16785         * Makefile: Likewise.
16786         * malloc/Makefile: Likewise.
16787         * nscd/Makefile: Likewise.
16788         * Makeconfig: Change reference to configure.in and
16789         preconfigure.in to configure.ac and preconfigure.ac
16790         respectively.
16791         * INSTALL: Regenerated.
16792         * configure: Likewise.
16793         * sysdeps/gnu/configure: Likewise.
16794         * sysdeps/i386/configure: Likewise.
16795         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16796         * sysdeps/mach/configure: Likewise.
16797         * sysdeps/mach/hurd/configure: Likewise.
16798         * sysdeps/powerpc/configure: Likewise.
16799         * sysdeps/powerpc/powerpc32/configure: Likewise.
16800         * sysdeps/powerpc/powerpc64/configure: Likewise.
16801         * sysdeps/s390/s390-32/configure: Likewise.
16802         * sysdeps/s390/s390-64/configure: Likewise.
16803         * sysdeps/sh/configure: Likewise.
16804         * sysdeps/sparc/configure: Likewise.
16805         * sysdeps/unix/sysv/linux/configure: Likewise.
16806         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16807         * sysdeps/x86_64/configure: Likewise.
16808         * sysdeps/x86_64/preconfigure: Likewise.
16809
16810 2013-10-29  Andreas Schwab  <schwab@suse.de>
16811
16812         * stdio-common/Makefile (tst-swscanf-ENV): Define.
16813
16814 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16815
16816         * benchtests/pow-inputs: Add new inputs.
16817
16818         * benchtests/exp-inputs: Add new inputs.
16819
16820         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16821         conditional check for return value.
16822         (__cos32): Likewise.
16823
16824 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16825
16826         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16827         to provide a boost for large inputs with word alignment.
16828         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16829         implementation based on optimized PPC64 strcpy.
16830         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16831         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16832         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16833         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16834
16835 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16836
16837         [BZ #2801]
16838         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16839
16840 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16841
16842         [BZ #14876]
16843         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16844         * time/tst-strptime.c (day_tests): Add testcase.
16845
16846 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16847
16848         [BZ #14029]
16849         * manual/pattern.texi: Acknowledge that fnmatch can fail.
16850
16851 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
16852
16853         [BZ #16074]
16854         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16855         MAP_FAILED on error.
16856
16857 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16858
16859         [BZ #16072]
16860         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16861         heap for large requests.
16862
16863 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
16864
16865         [BZ #9954]
16866         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16867         result if the result has no associated interface.
16868         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16869         interface for all 127.X.Y.Z addresses.
16870
16871 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
16872
16873         * locale/iso-639.def: Add Ligurian (lij)
16874
16875 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
16876
16877         [BZ #15825]
16878         * sunrpc/rpc_main.c: Document rpcgen -5.
16879
16880 2013-10-19  Michael Stahl  <mstahl@redhat.com>
16881
16882         * elf/rtld.c (do_preload): Print the reason why preloading failed.
16883
16884 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16885
16886         [BZ #10278]
16887         * posix/glob.c: Match only directories when trailing slash is present.
16888         * posix/tst-gnuglob.c (my_opendir): Do not open files.
16889         (main): Add testcase.
16890
16891 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16892
16893         [BZ #15670]
16894         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16895
16896 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
16897
16898         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16899         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16900         AUTH_DES and cindex for FIPS 140-2.
16901         (DES Encryption): Add cindex FIPS 46-3.
16902
16903         * locale/locarchive.h (struct locarhandle): Add fname.
16904         * locale/programs/localedef.c (main): Pass ARGV[remaining]
16905         if an optional argument was specified to --list-archive,
16906         otherwise NULL.
16907         * locale/programs/locarchive.c (show_archive_content): Take new
16908         argument fname and pass it via ah.fname to open_archive.
16909         * locale/programs/localedef.h: Update decl.
16910         (open_archive): If AH->fname is non-null, open that file
16911         rather than the default file name, and don't ignore ENOENT.
16912         (create_archive): Set AH.fname to NULL.
16913         (delete_locales_from_archive): Likewise.
16914         (add_locales_to_archive): Likewise.
16915         * locale/programs/locfile.c (write_all_categories): Likewise.
16916
16917 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
16918             Aldy Hernandez  <aldyh@redhat.com>
16919
16920         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16921         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16922         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16923         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16924         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16925         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16926         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16927         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16928         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16929         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16930         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16931         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16932         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16933         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16934         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16935         Likewise.
16936         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16937         Likewise.
16938         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16939         Likewise.
16940         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16941         Likewise.
16942         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16943         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16944         Likewise.
16945         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16946         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16947         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16948         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16949         Likewise.
16950         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16951         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16952         * sysdeps/powerpc/preconfigure: Likewise.
16953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16954         Likewise.
16955         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16956         Replace contents of file by #include of <fenv_libc.h>.
16957         * sysdeps/powerpc/soft-fp/sfp-machine.h
16958         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16959         and <sys/prctl.h>.
16960         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16961         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16962         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16963         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16964         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16965         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16966         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16967         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16968         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16969         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16970         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16971         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16973         Allow copysignl PLT reference to be missing.
16974
16975 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
16976             Joseph Myers  <joseph@codesourcery.com
16977
16978         [BZ #15948]
16979         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16980         single character.
16981         (add_to_tablewc): Assert sequence of wide characters is nonempty.
16982
16983 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16984
16985         * elf/tst-tls-dlinfo.c: Don't include tls.h.
16986         * elf/tst-tls1.c: Likewise.
16987         * elf/tst-tls10.h: Likewise.
16988         * elf/tst-tls14.c: Likewise.
16989         * elf/tst-tls2.c: Likewise.
16990         * elf/tst-tls3.c: Likewise.
16991         * elf/tst-tls4.c: Likewise.
16992         * elf/tst-tls5.c: Likewise.
16993         * elf/tst-tls6.c: Likewise.
16994         * elf/tst-tls7.c: Likewise.
16995         * elf/tst-tls8.c: Likewise.
16996         * elf/tst-tls9.c: Likewise.
16997         * elf/tst-tlsmod1.c: Likewise.
16998         * elf/tst-tlsmod13.c: Likewise.
16999         * elf/tst-tlsmod13a.c: Likewise.
17000         * elf/tst-tlsmod14a.c: Likewise.
17001         * elf/tst-tlsmod16a.c: Likewise.
17002         * elf/tst-tlsmod16b.c: Likewise.
17003         * elf/tst-tlsmod2.c: Likewise.
17004         * elf/tst-tlsmod3.c: Likewise.
17005         * elf/tst-tlsmod4.c: Likewise.
17006         * elf/tst-tlsmod5.c: Likewise.
17007         * elf/tst-tlsmod6.c: Likewise.
17008
17009 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
17010
17011         [BZ #12486]
17012         * malloc/malloc.c: remove checks for statistics.
17013
17014 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17015
17016         [BZ #15277]
17017         * inet/inet_net.c (inet_network): Detect additional invalid strings.
17018         * inet/tst-network.c: Add testcase.
17019
17020 2013-10-17  Andreas Schwab  <schwab@suse.de>
17021
17022         [BZ #15218]
17023         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17024         to determine canonical name.
17025
17026 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17027
17028         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17029         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17030         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17031         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17032         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17033         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17034         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17035         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17036         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17037         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17038         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17039         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17040         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17041         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17042         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17043         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17044         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17045         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17046         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17047         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17048         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17049         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17050         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17051         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17052         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17053         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17054         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17055         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17056         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17057         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17058         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17059         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17060         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17061         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17062         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17063         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17064         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17065         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17066         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17067         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17068         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17069         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17070         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17071         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17072         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17073         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17074         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17075         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17076         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17077         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17078         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17079         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17080         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17081         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17082         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17083         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17084         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17085         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17086
17087 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
17088
17089         [BZ #16041]
17090         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17091         make result into a quiet NaN.
17092
17093 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
17094
17095         * soft-fp/adddf3.c: Fix horizontal whitespace.
17096         * soft-fp/addsf3.c: Likewise.
17097         * soft-fp/addtf3.c: Likewise.
17098         * soft-fp/divdf3.c: Likewise.
17099         * soft-fp/divsf3.c: Likewise.
17100         * soft-fp/divtf3.c: Likewise.
17101         * soft-fp/double.h: Likewise.
17102         * soft-fp/eqdf2.c: Likewise.
17103         * soft-fp/eqsf2.c: Likewise.
17104         * soft-fp/eqtf2.c: Likewise.
17105         * soft-fp/extenddftf2.c: Likewise.
17106         * soft-fp/extended.h: Likewise.
17107         * soft-fp/extendsfdf2.c: Likewise.
17108         * soft-fp/extendsftf2.c: Likewise.
17109         * soft-fp/extendxftf2.c: Likewise.
17110         * soft-fp/fixdfdi.c: Likewise.
17111         * soft-fp/fixdfsi.c: Likewise.
17112         * soft-fp/fixdfti.c: Likewise.
17113         * soft-fp/fixsfdi.c: Likewise.
17114         * soft-fp/fixsfsi.c: Likewise.
17115         * soft-fp/fixsfti.c: Likewise.
17116         * soft-fp/fixtfdi.c: Likewise.
17117         * soft-fp/fixtfsi.c: Likewise.
17118         * soft-fp/fixtfti.c: Likewise.
17119         * soft-fp/fixunsdfdi.c: Likewise.
17120         * soft-fp/fixunsdfsi.c: Likewise.
17121         * soft-fp/fixunsdfti.c: Likewise.
17122         * soft-fp/fixunssfdi.c: Likewise.
17123         * soft-fp/fixunssfsi.c: Likewise.
17124         * soft-fp/fixunssfti.c: Likewise.
17125         * soft-fp/fixunstfdi.c: Likewise.
17126         * soft-fp/fixunstfsi.c: Likewise.
17127         * soft-fp/fixunstfti.c: Likewise.
17128         * soft-fp/floatdidf.c: Likewise.
17129         * soft-fp/floatdisf.c: Likewise.
17130         * soft-fp/floatditf.c: Likewise.
17131         * soft-fp/floatsidf.c: Likewise.
17132         * soft-fp/floatsisf.c: Likewise.
17133         * soft-fp/floatsitf.c: Likewise.
17134         * soft-fp/floattidf.c: Likewise.
17135         * soft-fp/floattisf.c: Likewise.
17136         * soft-fp/floattitf.c: Likewise.
17137         * soft-fp/floatundidf.c: Likewise.
17138         * soft-fp/floatundisf.c: Likewise.
17139         * soft-fp/floatunditf.c: Likewise.
17140         * soft-fp/floatunsidf.c: Likewise.
17141         * soft-fp/floatunsisf.c: Likewise.
17142         * soft-fp/floatunsitf.c: Likewise.
17143         * soft-fp/floatuntidf.c: Likewise.
17144         * soft-fp/floatuntisf.c: Likewise.
17145         * soft-fp/floatuntitf.c: Likewise.
17146         * soft-fp/fmadf4.c: Likewise.
17147         * soft-fp/fmasf4.c: Likewise.
17148         * soft-fp/fmatf4.c: Likewise.
17149         * soft-fp/gedf2.c: Likewise.
17150         * soft-fp/gesf2.c: Likewise.
17151         * soft-fp/getf2.c: Likewise.
17152         * soft-fp/ledf2.c: Likewise.
17153         * soft-fp/lesf2.c: Likewise.
17154         * soft-fp/letf2.c: Likewise.
17155         * soft-fp/muldf3.c: Likewise.
17156         * soft-fp/mulsf3.c: Likewise.
17157         * soft-fp/multf3.c: Likewise.
17158         * soft-fp/negdf2.c: Likewise.
17159         * soft-fp/negsf2.c: Likewise.
17160         * soft-fp/negtf2.c: Likewise.
17161         * soft-fp/op-1.h: Likewise.
17162         * soft-fp/op-2.h: Likewise.
17163         * soft-fp/op-4.h: Likewise.
17164         * soft-fp/op-8.h: Likewise.
17165         * soft-fp/op-common.h: Likewise.
17166         * soft-fp/quad.h: Likewise.
17167         * soft-fp/single.h: Likewise.
17168         * soft-fp/soft-fp.h: Likewise.
17169         * soft-fp/sqrtdf2.c: Likewise.
17170         * soft-fp/sqrtsf2.c: Likewise.
17171         * soft-fp/sqrttf2.c: Likewise.
17172         * soft-fp/subdf3.c: Likewise.
17173         * soft-fp/subsf3.c: Likewise.
17174         * soft-fp/subtf3.c: Likewise.
17175         * soft-fp/truncdfsf2.c: Likewise.
17176         * soft-fp/trunctfdf2.c: Likewise.
17177         * soft-fp/trunctfsf2.c: Likewise.
17178         * soft-fp/trunctfxf2.c: Likewise.
17179         * soft-fp/unorddf2.c: Likewise.
17180         * soft-fp/unordsf2.c: Likewise.
17181         * soft-fp/unordtf2.c: Likewise.
17182
17183 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
17184
17185         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17186         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17187
17188 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
17189
17190         * elf/dl-libc.c: Clear initfini list after freeing.
17191
17192 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
17193
17194         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17195         * soft-fp/addsf3.c: Likewise.
17196         * soft-fp/addtf3.c: Likewise.
17197         * soft-fp/divdf3.c: Likewise.
17198         * soft-fp/divsf3.c: Likewise.
17199         * soft-fp/divtf3.c: Likewise.
17200         * soft-fp/double.h: Likewise.
17201         * soft-fp/eqdf2.c: Likewise.
17202         * soft-fp/eqsf2.c: Likewise.
17203         * soft-fp/eqtf2.c: Likewise.
17204         * soft-fp/extenddftf2.c: Likewise.
17205         * soft-fp/extended.h: Likewise.
17206         * soft-fp/extendsfdf2.c: Likewise.
17207         * soft-fp/extendsftf2.c: Likewise.
17208         * soft-fp/extendxftf2.c: Likewise.
17209         * soft-fp/fixdfdi.c: Likewise.
17210         * soft-fp/fixdfsi.c: Likewise.
17211         * soft-fp/fixdfti.c: Likewise.
17212         * soft-fp/fixsfdi.c: Likewise.
17213         * soft-fp/fixsfsi.c: Likewise.
17214         * soft-fp/fixsfti.c: Likewise.
17215         * soft-fp/fixtfdi.c: Likewise.
17216         * soft-fp/fixtfsi.c: Likewise.
17217         * soft-fp/fixtfti.c: Likewise.
17218         * soft-fp/fixunsdfdi.c: Likewise.
17219         * soft-fp/fixunsdfsi.c: Likewise.
17220         * soft-fp/fixunsdfti.c: Likewise.
17221         * soft-fp/fixunssfdi.c: Likewise.
17222         * soft-fp/fixunssfsi.c: Likewise.
17223         * soft-fp/fixunssfti.c: Likewise.
17224         * soft-fp/fixunstfdi.c: Likewise.
17225         * soft-fp/fixunstfsi.c: Likewise.
17226         * soft-fp/fixunstfti.c: Likewise.
17227         * soft-fp/floatdidf.c: Likewise.
17228         * soft-fp/floatdisf.c: Likewise.
17229         * soft-fp/floatditf.c: Likewise.
17230         * soft-fp/floatsidf.c: Likewise.
17231         * soft-fp/floatsisf.c: Likewise.
17232         * soft-fp/floatsitf.c: Likewise.
17233         * soft-fp/floattidf.c: Likewise.
17234         * soft-fp/floattisf.c: Likewise.
17235         * soft-fp/floattitf.c: Likewise.
17236         * soft-fp/floatundidf.c: Likewise.
17237         * soft-fp/floatundisf.c: Likewise.
17238         * soft-fp/floatunsidf.c: Likewise.
17239         * soft-fp/floatunsisf.c: Likewise.
17240         * soft-fp/floatuntidf.c: Likewise.
17241         * soft-fp/floatuntisf.c: Likewise.
17242         * soft-fp/floatuntitf.c: Likewise.
17243         * soft-fp/fmadf4.c: Likewise.
17244         * soft-fp/fmasf4.c: Likewise.
17245         * soft-fp/fmatf4.c: Likewise.
17246         * soft-fp/gedf2.c: Likewise.
17247         * soft-fp/gesf2.c: Likewise.
17248         * soft-fp/getf2.c: Likewise.
17249         * soft-fp/ledf2.c: Likewise.
17250         * soft-fp/lesf2.c: Likewise.
17251         * soft-fp/letf2.c: Likewise.
17252         * soft-fp/muldf3.c: Likewise.
17253         * soft-fp/mulsf3.c: Likewise.
17254         * soft-fp/multf3.c: Likewise.
17255         * soft-fp/negdf2.c: Likewise.
17256         * soft-fp/negsf2.c: Likewise.
17257         * soft-fp/negtf2.c: Likewise.
17258         * soft-fp/op-1.h: Likewise.
17259         * soft-fp/op-2.h: Likewise.
17260         * soft-fp/op-4.h: Likewise.
17261         * soft-fp/op-8.h: Likewise.
17262         * soft-fp/op-common.h: Likewise.
17263         * soft-fp/quad.h: Likewise.
17264         * soft-fp/single.h: Likewise.
17265         * soft-fp/soft-fp.h: Likewise.
17266         * soft-fp/sqrtdf2.c: Likewise.
17267         * soft-fp/sqrtsf2.c: Likewise.
17268         * soft-fp/sqrttf2.c: Likewise.
17269         * soft-fp/subdf3.c: Likewise.
17270         * soft-fp/subsf3.c: Likewise.
17271         * soft-fp/subtf3.c: Likewise.
17272         * soft-fp/truncdfsf2.c: Likewise.
17273         * soft-fp/trunctfdf2.c: Likewise.
17274         * soft-fp/trunctfsf2.c: Likewise.
17275         * soft-fp/trunctfxf2.c: Likewise.
17276         * soft-fp/unorddf2.c: Likewise.
17277         * soft-fp/unordsf2.c: Likewise.
17278         * soft-fp/unordtf2.c: Likewise.
17279
17280 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
17281
17282         [BZ #15672]
17283         * misc/error.c (error_tail): Fix possible buffer overflow.
17284
17285 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
17286
17287         [BZ #13028]
17288         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17289         address.
17290
17291 2013-10-14  P. J. McDermott  <pj@pehjota.net>
17292
17293         [BZ #832]
17294         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
17295         testing pipefail option.
17296
17297 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17298
17299         * soft-fp/double.h: Indent preprocessor directives inside #if.
17300         * soft-fp/extended.h: Likewise.
17301         * soft-fp/op-2.h: Likewise.
17302         * soft-fp/op-4.h: Likewise.
17303         * soft-fp/op-common.h: Likewise.
17304         * soft-fp/quad.h: Likewise.
17305         * soft-fp/single.h: Likewise.
17306         * soft-fp/soft-fp.h: Likewise.
17307
17308 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
17309
17310         * iconv/iconv_prog.c: Fix typos.
17311         * stdio-common/psiginfo-data.h: Likewise.
17312
17313 2013-10-12   Reuben Thomas <rrt@sc3d.org>
17314
17315         [BZ #15764]
17316         * locale/setlocale.c: Fix typo.
17317
17318 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17319
17320         [BZ #16036]
17321         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17322         signaling NaN arguments.
17323         * soft-fp/unordsf2.c (__unordsf2): Likewise.
17324         * soft-fp/unordtf2.c (__unordtf2): Likewise.
17325
17326         [BZ #14910]
17327         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17328         unordered operands.
17329         * soft-fp/gesf2.c (__gesf2): Likewise.
17330         * soft-fp/getf2.c (__getf2): Likewise.
17331         * soft-fp/ledf2.c (__ledf2): Likewise.
17332         * soft-fp/lesf2.c (__lesf2): Likewise.
17333         * soft-fp/letf2.c (__letf2): Likewise.
17334
17335         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17336         * soft-fp/eqsf2.c (__eqsf2): Likewise.
17337         * soft-fp/eqtf2.c (__eqtf2): Likewise.
17338         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17339         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17340         * soft-fp/fixdfti.c (__fixdfti): Likewise.
17341         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17342         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17343         * soft-fp/fixsfti.c (__fixsfti): Likewise.
17344         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17345         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17346         * soft-fp/fixtfti.c (__fixtfti): Likewise.
17347         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17348         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17349         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17350         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17351         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17352         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17353         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17354         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17355         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17356         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17357         * soft-fp/floatdisf.c (__floatdisf): Likewise.
17358         * soft-fp/floatsisf.c (__floatsisf): Likewise.
17359         * soft-fp/floattidf.c (__floattidf): Likewise.
17360         * soft-fp/floattisf.c (__floattisf): Likewise.
17361         * soft-fp/floattitf.c (__floattitf): Likewise.
17362         * soft-fp/floatundidf.c (__floatundidf): Likewise.
17363         * soft-fp/floatundisf.c (__floatundisf): Likewise.
17364         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17365         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17366         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17367         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17368         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17369         * soft-fp/gesf2.c (__gesf2): Likewise.
17370         * soft-fp/getf2.c (__getf2): Likewise.
17371         * soft-fp/ledf2.c (__ledf2): Likewise.
17372         * soft-fp/lesf2.c (__lesf2): Likewise.
17373         * soft-fp/letf2.c (__letf2): Likewise.
17374
17375         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17376         Undefine and redefine.
17377         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17378         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17379         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17380         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17381         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17382         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17383         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17384         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17385         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17386         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17387         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17388         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17389         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17390         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17391         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17392
17393         [BZ #16032]
17394         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17395         without decrementing exponent if mantissa >= that for the
17396         denominator, not >.
17397         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17398         denominator, not >.  Decrement exponent in < case instead of
17399         incrementing in >= case.
17400         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17401         without decrementing exponent if mantissa >= that for the
17402         denominator, not >.
17403
17404         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17405         computing saturated result for unsigned overflow.
17406
17407 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17408             Jeff Law  <law@redhat.com>
17409
17410         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17411         (atan2Mp): Add systemtap probe marker.
17412         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17413         (__ieee754_log): Add systemtap probe marker.
17414         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17415         (atanMp): Add systemtap probe marker.
17416         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17417         (tanMp): Add systemtap probe marker.
17418         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17419         (__slowexp): Add systemtap probe marker.
17420         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17421         (__slowpow): Add systemtap probe marker.
17422         * manual/probes.texi: Document probes.
17423
17424 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
17425
17426         [BZ #15362]
17427         * libio/fileops.c (_IO_new_file_write): Return count of bytes
17428         written.
17429         (_IO_new_file_xsputn): Don't return EOF if nothing has been
17430         written.
17431         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17432         written to buffer but not flushed.
17433         * libio/iofwrite_u.c:  Likewise.
17434         * libio/iopadn.c:  Return bytes returned even if EOF was
17435         encountered.
17436         * libio/iowpadn.c:  Likewise.
17437         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17438         if _IO_padn does not write the whole buffer.
17439         [!COMPILE_WPRINTF] (PAD): Likewise.
17440
17441 2013-10-10  David S. Miller  <davem@davemloft.net>
17442
17443         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17444         directory block.
17445
17446 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17447
17448         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
17449         instead of FSF address.
17450         * soft-fp/fixdfti.c: Likewise.
17451         * soft-fp/fixsfti.c: Likewise.
17452         * soft-fp/fixtfti.c: Likewise.
17453         * soft-fp/fixunsdfti.c: Likewise.
17454         * soft-fp/fixunssfti.c: Likewise.
17455         * soft-fp/fixunstfti.c: Likewise.
17456         * soft-fp/floattidf.c: Likewise.
17457         * soft-fp/floattisf.c: Likewise.
17458         * soft-fp/floattitf.c: Likewise.
17459         * soft-fp/floatuntidf.c: Likewise.
17460         * soft-fp/floatuntisf.c: Likewise.
17461         * soft-fp/floatuntitf.c: Likewise.
17462         * soft-fp/trunctfxf2.c: Likewise.
17463
17464         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
17465         * soft-fp/fixdfti.c: Likewise.
17466         * soft-fp/fixsfti.c: Likewise.
17467         * soft-fp/fixtfti.c: Likewise.
17468         * soft-fp/fixunsdfti.c: Likewise.
17469         * soft-fp/fixunssfti.c: Likewise.
17470         * soft-fp/fixunstfti.c: Likewise.
17471         * soft-fp/floattidf.c: Likewise.
17472         * soft-fp/floattisf.c: Likewise.
17473         * soft-fp/floattitf.c: Likewise.
17474         * soft-fp/floatuntidf.c: Likewise.
17475         * soft-fp/floatuntisf.c: Likewise.
17476         * soft-fp/floatuntitf.c: Likewise.
17477         * soft-fp/trunctfxf2.c: Likewise.
17478
17479 2013-10-10  David S. Miller  <davem@davemloft.net>
17480
17481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17482
17483 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
17484
17485         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17486         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17487         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17488         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17489         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17490         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17491         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17492
17493         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17494         for NaNs before doing comparisons on argument.
17495         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17496         Likewise.
17497
17498 2013-10-10  Will Newton  <will.newton@linaro.org>
17499
17500         * malloc/hooks.c (memalign_check): Ensure the value of bytes
17501         passed to _int_memalign does not overflow.
17502
17503 2013-10-10  Torvald Riegel  <triegel@redhat.com>
17504
17505         * scripts/bench.pl: Add include-sources directive.
17506         * benchtests/README: Update documentation.
17507
17508 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17509
17510         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17511         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17512         instead of FP_INIT_ROUNDMODE.
17513         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17514         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17515
17516         [BZ #16034]
17517         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
17518         copy class of input value.
17519         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
17520         not handle exceptions.
17521         * soft-fp/negsf2.c (__negsf2): Likewise.
17522         * soft-fp/negtf2.c (__negtf2): Likewise.
17523         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17524
17525 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
17526
17527         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17528         semicolon.  From Linux kernel.
17529
17530 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
17531
17532         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17533
17534 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
17535
17536         [BZ #156]
17537         * manual/socket.texi: Added statement about buffer
17538         for gethostbyname2_r.
17539
17540 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
17541
17542         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17543         Use .p2align directive instead, throughout.
17544         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17545         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17546         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17547         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17548         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17549         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17550         * sysdeps/x86_64/strchr.S: Likewise.
17551         * sysdeps/x86_64/strrchr.S: Likewise.
17552
17553 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17554
17555         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17556
17557         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17558
17559         * sysdeps/generic/math_private.h (__mpsin1): Remove
17560         declaration.
17561         (__mpcos1): Likewise.
17562         (__mpsin): New argument __range_reduce.
17563         (__mpcos): Likewise.
17564         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17565         (slow): Use __mpsin and __mpcos.
17566         (slow1): Likewise.
17567         (slow2): Likewise.
17568         (sloww): Likewise.
17569         (sloww1): Likewise.
17570         (sloww2): Likewise.
17571         (bsloww): Likewise.
17572         (bsloww1): Likewise.
17573         (bsloww2): Likewise.
17574         (cslow2): Likewise.
17575         (csloww): Likewise.
17576         (csloww1): Likewise.
17577         (csloww2): Likewise.
17578         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17579         range_reduce.  Merge in __mpsin1.
17580         (__mpcos): Likewise.
17581         (__mpsin1): Remove.
17582         (__mpcos1): Likewise.
17583
17584 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
17585
17586         * locale/loadlocale.c (_nl_intern_locale_data): Use
17587         LOCFILE_ALIGNED_P.
17588         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17589         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17590         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17591         obstack data is appropriately aligned.
17592         (obstack_int32_grow_fast): Likewise.
17593         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17594         * locale/programs/locfile.c (add_locale_uint32): Likewise.
17595         (add_locale_uint32_array): Likewise.
17596
17597 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17598
17599         * benchtests/Makefile: Remove ARGLIST and RET variables.
17600         ($(objpfx)bench-%.c): Pass only function name to the script.
17601         * benchtests/README: Update documentation.
17602         * benchtests/acos-inputs: Add new directives.
17603         * benchtests/acosh-inputs: Likewise.
17604         * benchtests/asin-inputs: Likewise.
17605         * benchtests/asinh-inputs: Likewise.
17606         * benchtests/atan-inputs: Likewise.
17607         * benchtests/atanh-inputs: Likewise.
17608         * benchtests/cos-inputs: Likewise.
17609         * benchtests/cosh-inputs: Likewise.
17610         * benchtests/exp-inputs: Likewise.
17611         * benchtests/log-inputs: Likewise.
17612         * benchtests/pow-inputs: Likewise.
17613         * benchtests/rint-inputs: Likewise.
17614         * benchtests/sin-inputs: Likewise.
17615         * benchtests/sinh-inputs: Likewise.
17616         * benchtests/tan-inputs: Likewise.
17617         * benchtests/tanh-inputs: Likewise.
17618         * scripts/bench.pl: Add support for new directives.
17619
17620 2013-10-07  Alan Modra  <amodra@gmail.com>
17621
17622         * README: Fix careless merge.
17623
17624 2013-10-05  Alan Modra  <amodra@gmail.com>
17625
17626         * NEWS: Mention powerpc64le support and bugs fixed.
17627         * README: Both big-endian and little-endian powerpc64 supported.
17628
17629 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17630
17631         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17632         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17633         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17634         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17635
17636 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
17637
17638         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17639         match prototype.
17640
17641 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
17642
17643         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17644         Move -mhard-float appending from
17645         ports/sysdeps/powerpc/powerpc32/Makefile.
17646         [$(with-fp) = yes] (ASFLAGS): Likewise.
17647         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17648         * sysdeps/powerpc/nofpu: Move directory from
17649         ports/sysdeps/powerpc/nofpu.
17650         * sysdeps/powerpc/soft-fp: Move directory from
17651         ports/sysdeps/powerpc/soft-fp.
17652         * sysdeps/powerpc/powerpc32/405: Move directory from
17653         ports/sysdeps/powerpc/powerpc32/405.
17654         * sysdeps/powerpc/powerpc32/440: Move directory from
17655         ports/sysdeps/powerpc/powerpc32/440.
17656         * sysdeps/powerpc/powerpc32/464: Move directory from
17657         ports/sysdeps/powerpc/powerpc32/464.
17658         * sysdeps/powerpc/powerpc32/476: Move directory from
17659         ports/sysdeps/powerpc/powerpc32/476.
17660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17661         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17663         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17665         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17667         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17669         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17670         * README: Update for powerpc-*-linux-gnu software floating point
17671         support in libc.
17672
17673         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17674         case to powerpc/powerpc32*.
17675         * sysdeps/unix/sysv/linux/configure: Regenerated.
17676
17677         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17678         (_FPU_MASK_OM): Define as 0x04.
17679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17681         0x00c10080.
17682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17683         0x0000003c.
17684         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17685
17686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17687         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17688         getcontext_e500.
17689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17690         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17691         setcontext_e500.
17692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17693         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17694         and setcontext_e500.
17695
17696 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
17697
17698         * locale/iso-3166.def: Update iso-1366.def and related occurrences
17699
17700 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17701
17702         * manual/threads.texi (Default Thread Attributes): Fix typo.
17703
17704 2013-10-04  Will Newton  <will.newton@linaro.org>
17705
17706         * malloc/Makefile: Add tst-memalign.
17707         * malloc/tst-memalign.c: New file.
17708
17709         * malloc/tst-posix_memalign.c: Add comments.
17710         (do_test): Add comments and call free on all potentially
17711         allocated pointers. Add space after cast.
17712
17713         * malloc/tst-pvalloc.c: Add comments.
17714         (do_test): Add comments and call free on all potentially
17715         allocated pointers. Remove duplicate check for NULL pointer.
17716         Add space after cast.
17717
17718         * malloc/tst-valloc.c: Add comments.
17719         (do_test): Add comments and call free on all potentially
17720         allocated pointers. Remove duplicate check for NULL pointer.
17721         Add space after cast.
17722
17723 2013-10-04  Alan Modra  <amodra@gmail.com>
17724
17725         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17726         Use stdint types in rather than __attribute__((mode())).
17727         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17728
17729 2013-10-04  Alan Modra  <amodra@gmail.com>
17730
17731         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17732         Correct handling of unaligned relocs for little-endian.
17733         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17734
17735 2013-10-04  Alan Modra  <amodra@gmail.com>
17736
17737         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17738         * configure: Regenerate.
17739         * nptl/shlib-versions: Powerpc*le starts at 2.18.
17740         * shlib-versions: Likewise.
17741
17742 2013-10-04  Alan Modra  <amodra@gmail.com>
17743
17744         * string/tester.c (test_memrchr): Increment reported test cycle.
17745
17746 2013-10-04  Alan Modra  <amodra@gmail.com>
17747
17748         * string/test-memcpy.c (do_one_test): When reporting errors, print
17749         string address and don't overrun end of string.
17750
17751 2013-10-04  Alan Modra  <amodra@gmail.com>
17752
17753         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17754         insrdi.  Make better use of reg selection to speed exit slightly.
17755         Schedule entry path a little better.  Remove useless "are we done"
17756         checks on entry to main loop.  Handle wrapping around zero address.
17757         Correct main loop count.  Handle single left-over word from main
17758         loop inline rather than by using loop_small.  Remove extra word
17759         case in loop_small caused by wrong loop count.  Add little-endian
17760         support.
17761         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17762         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
17763         cache hint.
17764         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17765         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17766         support.  Avoid rlwimi.
17767         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17768
17769 2013-10-04  Alan Modra  <amodra@gmail.com>
17770
17771         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
17772         insrdi.  Formatting.
17773         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17774         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17775         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17776         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17777         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17778         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17779
17780 2013-10-04  Alan Modra  <amodra@gmail.com>
17781
17782         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17783         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17784         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17785         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17786         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17787         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17788         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17789         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17790         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
17791         use of regs.  Use power7 mtocrf.  Tidy function tails.
17792
17793 2013-10-04  Alan Modra  <amodra@gmail.com>
17794
17795         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17796         Formatting.  Consistently use rXXX register defines or rN defines.
17797         Use early exit labels that avoid restoring unused non-volatile regs.
17798         Make cr field use more consistent with rWORDn compares.  Rename
17799         regs used as shift registers for unaligned loop, using rN defines
17800         for short lifetime/multiple use regs.
17801         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17802         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
17803         addi 1,1,64 to pop stack frame.  Simplify return value code.
17804         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17805
17806 2013-10-04  Alan Modra  <amodra@gmail.com>
17807
17808         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17809         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
17810         rather than rlwimi.
17811         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17812         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17813         little-endian support.  Correct typos.
17814         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
17815         rather than rlwimi.
17816         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
17817         in loop and entry code to keep "and." results.
17818         (strchr): Add little-endian support.  Comment.  Move cntlzd
17819         earlier in tail.
17820         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17821
17822 2013-10-04  Alan Modra  <amodra@gmail.com>
17823
17824         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17825         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17826         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17827         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17828
17829 2013-10-04  Alan Modra  <amodra@gmail.com>
17830
17831         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17832         (rTMP): Define as r11.
17833         (strcmp): Add little-endian support.  Optimise tail.
17834         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17835         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17836         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17837         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17838         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17839         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17840         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17841
17842 2013-10-04  Alan Modra  <amodra@gmail.com>
17843
17844         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17845         little-endian support.  Remove unnecessary "are we done" tests.
17846         Handle "s" wrapping around zero and extremely large "size".
17847         Correct main loop count.  Handle single left-over word from main
17848         loop inline rather than by using small_loop.  Correct comments.
17849         Delete "zero" tail, use "end_max" instead.
17850         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17851
17852 2013-10-04  Alan Modra  <amodra@gmail.com>
17853
17854         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17855         support.  Don't branch over align.
17856         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17857         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17858         support.  Rearrange tmp reg use to suit.  Comment.
17859         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17860
17861 2013-10-04  Alan Modra  <amodra@gmail.com>
17862
17863         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17864
17865 2013-10-04  Alan Modra  <amodra@gmail.com>
17866
17867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17868         conditional form of branch and link when obtaining pc.
17869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17870
17871 2013-10-04  Alan Modra  <amodra@gmail.com>
17872
17873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17874         HIWORD/LOWORD.
17875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17877
17878 2013-10-04  Alan Modra  <amodra@gmail.com>
17879
17880         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17881         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17882         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17883         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17884         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17885         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17886         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17887         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17888         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17889         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17890
17891 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17892             Alistair Popple <alistair@ozlabs.au.ibm.com>
17893             Alan Modra <amodra@gmail.com>
17894
17895         [BZ #15723]
17896         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17897         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17898         _dl_hwcap access for little-endian.
17899         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
17900         destroy vmx regs when saving unaligned.
17901         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17902         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
17903         destroy vmx regs when saving unaligned.
17904
17905 2013-10-04  Alan Modra  <amodra@gmail.com>
17906
17907         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17908         Don't use a union to pack hi/low value.
17909
17910 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17911
17912         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17913         for little-endian.
17914         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17915         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17916         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17917         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17918         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17919
17920 2013-10-04  Alan Modra  <amodra@gmail.com>
17921
17922         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17923         constants to usual value for .cst8 section, and remove redundant
17924         high address load.
17925         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17926         constant for 0x1p52.  Load little-endian words of double from
17927         correct stack offsets.
17928
17929 2013-10-04  Alan Modra  <amodra@gmail.com>
17930
17931         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17932         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17933         words of double from correct stack offsets.
17934         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17935         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17936         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17937         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17938         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17939         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17940         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17941         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17942         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17943         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17944         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17945         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17946         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17947         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17948         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17949         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17950         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17951
17952 2013-10-04  Alan Modra  <amodra@gmail.com>
17953
17954         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17955         64-bit int/double union.
17956         (_FPU_SETCW): Likewise.
17957         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17958         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17959
17960 2013-10-04  Alan Modra  <amodra@gmail.com>
17961
17962         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17963         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17964
17965 2013-10-04  Alan Modra  <amodra@gmail.com>
17966
17967         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17968         use vector int constants.
17969         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17970
17971 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17972
17973         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17974         array with long long.
17975         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17976         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17977         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17978         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17979         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17980         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17981         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17982         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17983         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17984         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17985         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17986         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17987         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17988
17989 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17990
17991         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17992         (__signbit): Likewise.  Correct for little-endian.
17993         (__signbitl): Call __signbit.
17994         (lrint): Correct for little-endian.
17995         (lrintf): Call lrint.
17996
17997 2013-10-04  Alan Modra  <amodra@gmail.com>
17998
17999         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18000         union 32-bit int array member with 64-bit int array.
18001         (t515, tm256): Double rather than long double.
18002         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18003
18004 2013-10-04  Alan Modra  <amodra@gmail.com>
18005
18006         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18007         Delete.
18008         (IEEE854_LONG_DOUBLE_BIAS): Delete.
18009         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18010         version of math_ldbl.h.
18011
18012 2013-10-04  Alan Modra  <amodra@gmail.com>
18013
18014         [BZ #15734], [BZ #15735]
18015         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18016         all uses of ieee875 long double macros and unions.  Simplify test
18017         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
18018         ldbl_extract_mantissa value for ix,iy exponents.  Properly
18019         normalize after ldbl_extract_mantissa, and don't add hidden bit
18020         already handled.  Don't treat low word of ieee854 mantissa like
18021         low word of IBM long double and mask off bit when testing for
18022         zero.
18023         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18024         all uses of ieee875 long double macros and unions.  Simplify tests
18025         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
18026         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
18027         two1022, instead use their values.  Recognise that tests for large
18028         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
18029         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18030         Rewrite all uses of ieee875 long double macros and unions.  Simplify
18031         test for 0.0L and nan.  Correct negation.
18032         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18033         ieee875 long double macros and unions.  Correct output for large
18034         magnitude x.  Correct absolute value calculation.
18035         (__erfcl): Likewise.
18036         * math/libm-test.inc: Add tests for errors discovered in IBM long
18037         double versions of fmodl, remainderl, erfl and erfcl.
18038
18039 2013-10-04  Alan Modra  <amodra@gmail.com>
18040
18041         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18042         all uses of ieee854 long double macros and unions.  Simplify tests
18043         for long doubles that are fully specified by the high double.
18044         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18045         Likewise.
18046         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18047         Remove dead code too.
18048         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18049         (__ieee754_ynl): Likewise.
18050         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18051         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18052         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18053         Remove dead code too.
18054         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18055         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18056         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18057         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18058         Simplify.
18059         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18060         Simplify.
18061         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18062         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18063         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18064         Comment on variable precision.
18065         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18066         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18067         Likewise.
18068         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18069         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18070         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18071         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18072         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18073
18074 2013-10-04  Alan Modra  <amodra@gmail.com>
18075
18076         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18077         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18078         all uses of ieee854 long double macros and unions.
18079         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18080         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18081         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18082         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18083         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18084         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18085         Likewise.
18086         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18087         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18088         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18089         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18090         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18091         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18092         Simplify sign and nan test too.
18093         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18094         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18095         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18096         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18097         Likewise.
18098         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18099         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18100         Likewise.
18101         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18102         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18103         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18104         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18105         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18106         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18107
18108 2013-10-04  Alan Modra  <amodra@gmail.com>
18109
18110         * stdio-common/printf_size.c (__printf_size): Don't use
18111         union ieee854_long_double in fpnum union.
18112         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
18113         signbit macro to retrieve sign from long double.
18114         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18115         retrieve sign from long double.
18116         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18117         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18118         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18119         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18120         * math/test-misc.c (main): Don't use union ieee854_long_double.
18121
18122 2013-10-04  Alan Modra  <amodra@gmail.com>
18123
18124         [BZ #15680]
18125         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18126         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18127         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18128         calculation.  Remove unnecessary test for denormal exponent.
18129         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18130         Correct handling of denormals.  Avoid undefined shift behaviour.
18131         Correct normalisation of low mantissa when low double is denormal.
18132         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18133         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
18134         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18135         Correct normalisation of low mantissa.  Test for overflow of high
18136         mantissa and normalise.
18137         (ldbl_nearbyint): Use more readable constant for two52.
18138         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18139         (__mpn_construct_long_double): Fix test for overflow of high
18140         mantissa and correct normalisation.  Avoid undefined shift.
18141
18142 2013-10-04  Alan Modra  <amodra@gmail.com>
18143
18144         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18145         (union ibm_extended_long_double): Define as an array of ieee754_double.
18146         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18147         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18148         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18149         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18150         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18151         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18152         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18153         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18154         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18155         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18156         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18157
18158 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
18159
18160         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18161         page size instead of calling getpagesize.
18162
18163         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18164         (LOCFILE_ALIGN_MASK): Likewise.
18165         (LOCFILE_ALIGN_UP): Likewise.
18166         (LOCFILE_ALIGNED_P): Likewise.
18167         * locale/programs/ld-collate.c (collate_output): Use the new
18168         macros instead of __alignof__ (int32_t).
18169         * locale/weight.h (findidx): Likewise.
18170
18171 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
18172
18173         [BZ #431]
18174         * manual/string.texi: Fix strncat and wcsncat.
18175
18176 2013-10-03  Brooks Moses  <bmoses@google.com>
18177
18178         [BZ #15915]
18179         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18180         * Makerules: ...here, and adjust associated comments.
18181
18182 2013-10-02  Will Newton  <will.newton@linaro.org>
18183
18184         * malloc/Makefile: Add tst-pvalloc.
18185         * malloc/tst-pvalloc.c: New file.
18186
18187 2013-10-02  Will Newton  <will.newton@linaro.org>
18188
18189         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18190         improve test coverage.
18191
18192 2013-10-02  Will Newton  <will.newton@linaro.org>
18193
18194         * malloc/Makefile: Add tst-posix_memalign.
18195         * malloc/tst-posix_memalign.c: New file.
18196
18197 2013-10-01  Eric Blake  <eblake@redhat.com>
18198
18199         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18200         Use __THROWNL rather than __THROW on static functions.
18201
18202 2013-09-30  Petr Machata  <pmachata@redhat.com>
18203
18204         * elf/elf.h (R_AARCH64_ABS16): New macro.
18205         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18206         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18207         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18208         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18209         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18210         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18211         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18212         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18213         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18214         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18215         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18216         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18217         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18218         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18219         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18220         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18221         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18222         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18223         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18224         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18225         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18226         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18227         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18228         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18229         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18230         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18231         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18232         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18233         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18234         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18235         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18236         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18237         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18238         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18239         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18240         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18241         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18242         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18243         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18244         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18245         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18246         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18247         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18248         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18249         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18250         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18251         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18252         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18253         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18254         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18255         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18256         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18257         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18258         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18259         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18260         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18261         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18262         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18263         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18264         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18265         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18266         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18267         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18268         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18269         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18270         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18271         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18272         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18273         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18274         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18275         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18276         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18277         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18278         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18279         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18280         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18281         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18282         (R_AARCH64_TLSDESC_LDR): Likewise.
18283         (R_AARCH64_TLSDESC_ADD): Likewise.
18284         (R_AARCH64_TLSDESC_CALL): Likewise.
18285
18286 2013-09-30  Andreas Schwab  <schwab@suse.de>
18287
18288         [BZ #15048]
18289         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18290         the nss database lookup.
18291         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18293
18294 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
18295
18296         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18297
18298 2013-09-28  P. J. McDermott  <pj@pehjota.net>
18299
18300         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18301         ${Bash-specific parameter/pattern/string} parameter expansion.
18302         * sysdeps/unix/make-syscalls.sh: Likewise.
18303
18304 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18305
18306         * sysdeps/sh/stackguard-macros.h: New file.
18307
18308 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
18309
18310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18312         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18313         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18314         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18315         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18316
18317 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18318
18319         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18320         Fix thread ID register.
18321
18322 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
18323
18324         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18325         [POSIX || UNIX98]: Require rather than permitting all symbols from
18326         <time.h>.
18327         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18328         element of struct sched_param.
18329         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18330         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18331         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18332         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18333         constant.
18334
18335 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
18336
18337         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18338         argument calculation.
18339
18340 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18341
18342         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18343         Expect macro.
18344         [POSIX] (pthread_attr_t): Do not require type.
18345         [POSIX] (pthread_cond_t): Likewise.
18346         [POSIX] (pthread_condattr_t): Likewise.
18347         [POSIX] (pthread_key_t): Likewise.
18348         [POSIX] (pthread_mutex_t): Likewise.
18349         [POSIX] (pthread_mutexattr_t): Likewise.
18350         [POSIX] (pthread_once_t): Likewise.
18351         [POSIX] (pthread_t): Likewise.
18352         [POSIX-based standards] (pthread_atfork): Expect function.
18353
18354 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18355             Richard Sandiford  <richard@codesourcery.com>
18356
18357         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18358         (swap_endianness_p): New extern variable.
18359         (set_big_endian): New inline function.
18360         (maybe_swap_uint32): Likewise.
18361         (maybe_swap_uint32_array): Likewise.
18362         (maybe_swap_uint32_obstack): Likewise.
18363         * locale/programs/locfile.c: Include <stdbool.h>.
18364         (swap_endianness_p): New variable.
18365         (add_locale_uint32): Call maybe_swap_uint32.
18366         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18367         (write_locale_data): Call maybe_swap_uint32_array.
18368         * locale/programs/ld-collate.c (obstack_int32_grow): Call
18369         maybe_swap_uint32.
18370         (obstack_int32_grow_fast): Likewise.
18371         (output_weightwc): Call maybe_swap_uint32_obstack.
18372         (collate_output): Likewise.
18373         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18374         (OPT_LITTLE_ENDIAN): Likewise.
18375         (options): Add --little-endian and --big-endian options.
18376         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18377         * locale/programs/locarchive.c: Include "locfile.h".
18378         (GET): New macro.
18379         (SET): Likewise.
18380         (INC): Likewise.
18381         (create_archive): Use the new macros to access fields of
18382         structures directly mapped from or written to locale archives.
18383         (oldlocrecentcmp): Likewise.
18384         (enlarge_archive): Likewise.
18385         (insert_name): Likewise.
18386         (add_alias): Likewise.
18387         (add_locale): Likewise.
18388         (delete_locales_from_archive): Likewise.
18389         (show_archive_content): Likewise.
18390         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
18391         locale data.
18392
18393 2013-09-24  Roland McGrath  <roland@hack.frob.com>
18394
18395         * manual/freemanuals.texi: Updated from (newly) canonical copy at
18396         http://www.gnu.org/doc/freemanuals.texi.
18397         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18398
18399 2013-09-24  Will Newton  <will.newton@linaro.org>
18400
18401         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18402         macro.
18403
18404 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
18405
18406         * locale/hashval.h (compute_hashval): Interpret bytes of key as
18407         unsigned char.
18408
18409 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
18410
18411         * manual/threads.texi (POSIX Threads): Fix a typo.
18412
18413 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18414
18415         [BZ #14547]
18416         * string/tst-strcoll-overflow.c: New test case.
18417         * string/Makefile (xtests): Add tst-strcoll-overflow.
18418         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18419         cache if string sizes may cause integer overflow.
18420
18421         [BZ #14547]
18422         * string/strcoll_l.c (coll_seq): New members rule, idx,
18423         save_idx and back_us.
18424         (get_next_seq_nocache): New function.
18425         (do_compare_nocache): New function.
18426         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18427         when malloc fails.
18428
18429 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
18430
18431         [BZ #15754]
18432         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18433         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18434         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18435
18436         [BZ #15754]
18437         * elf/Makefile (tests): Add tst-ptrguard1.
18438         (tests-static): Add tst-ptrguard1-static.
18439         (tst-ptrguard1-ARGS): Define.
18440         (tst-ptrguard1-static-ARGS): Define.
18441         * elf/tst-ptrguard1.c: New file.
18442         * elf/tst-ptrguard1-static.c: New file.
18443         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18444         * sysdeps/i386/stackguard-macros.h: Likewise.
18445         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18446         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18447         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18448         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18449         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18450         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18451
18452 2013-09-23  Hector Marco  <hecmargi@upv.es>
18453             Ismael Ripoll  <iripoll@disca.upv.es>
18454             Carlos O'Donell  <carlos@redhat.com>
18455
18456         [BZ #15754]
18457         * sysdeps/generic/stackguard-macros.h: Define
18458         __pointer_chk_guard_local and POINTER_CHK_GUARD.
18459         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18460         Define __pointer_chk_guard_local.
18461         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18462         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18463
18464 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
18465
18466         [BZ #15859]
18467         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18468
18469 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
18470
18471         * include/string.h (__ffs): Declare as hidden.
18472         * string/ffs.c (__ffs): Define as hidden.
18473         * sysdeps/i386/ffs.c (__ffs): Likewise.
18474         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18475         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18476         * sysdeps/s390/ffs.c (__ffs): Likewise.
18477         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18478
18479 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
18480
18481         * NEWS: Mention malloc probes.
18482
18483         * malloc/arena.c (new_heap): New memory_heap_new probe.
18484         (grow_heap): New memory_heap_more probe.
18485         (shrink_heap): New memory_heap_less probe.
18486         (heap_trim): New memory_heap_free probe.
18487         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18488         (systrim): New memory_sbrk_less probe.
18489         * manual/probes.texi: Document them.
18490
18491         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18492         * manual/probes.texi: Document it.
18493
18494         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18495         (__libc_realloc): Add memory_realloc_retry probe.
18496         (__libc_memalign): Add memory_memalign_retry probe.
18497         (__libc_valloc): Add memory_valloc_retry probe.
18498         (__libc_pvalloc): Add memory_pvalloc_retry probe.
18499         (__libc_calloc): Add memory_calloc_retry probe.
18500         * manual/probes.texi: Document them.
18501
18502         * malloc/arena.c (get_free_list): Add probe
18503         memory_arena_reuse_free_list.
18504         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18505         and memory_arena_reuse.
18506         (arena_get2) [!PER_THREAD]: Likewise.
18507         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18508         memory_arena_reuse_realloc.
18509         * manual/probes.texi: Document them.
18510
18511         * malloc/malloc.c (__libc_free): Add
18512         memory_mallopt_free_dyn_thresholds probe.
18513         (__libc_mallopt): Add multiple memory_mallopt probes.
18514         * manual/probes.texi: Document them.
18515
18516         * malloc/malloc.c: Include stap-probe.h.
18517         (__libc_mallopt): Add memory_mallopt probe.
18518         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18519         * manual/probes.texi: New.
18520         * manual/Makefile (chapters): Add probes.
18521         * manual/threads.texi: Set next node.
18522
18523 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
18524
18525         [BZ #15963, #13985]
18526         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18527         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18528         Add `Chinese' to `nan' entry name.
18529
18530 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18531
18532         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18533         (POLYNOMIAL): Likewise.
18534         (TAYLOR_SINCOS): Likewise.
18535         (TAYLOR_SLOW): Likewise.
18536         (__sin): Use TAYLOR_SINCOS.
18537         (__cos): Likewise.
18538         (slow): Use TAYLOR_SLOW.
18539         (sloww): Likewise.
18540         (bsloww): Likewise.
18541         (csloww): Likewise.
18542
18543 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18544
18545         * stdlib/strtod_l.c: Fix buffer overrun.
18546
18547 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18548
18549         * benchtests/Makefile (bench): Add sincos.
18550         * benchtests/bench-sincos.c: New file.
18551
18552         * math/libm-test.inc (cos_test_data): New test inputs.
18553         (sin_test_data): Likewise.
18554
18555         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18556         macro.
18557         (__sin): Use it.
18558         (__cos): Likewise.
18559         (slow1): Likewise.
18560         (slow2): Likewise.
18561         (sloww1): Likewise.
18562         (sloww2): Likewise.
18563         (bsloww1): Likewise.
18564         (bsloww2): Likewise.
18565         (cslow2): Likewise.
18566         (csloww1): Likewise.
18567         (csloww2): Likewise.
18568
18569         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18570         function.
18571         (__sin): Use it.
18572         (__cos): Likewise.
18573
18574         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18575         gotos.
18576         (__cos): Likewise.
18577
18578 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
18579
18580         * config.h.in (HAVE_MIPS_NAN2008): New macro.
18581         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18582         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18583         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18584         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18585         * elf/cache.c (print_entry): Handle the new cache flags.
18586
18587 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18588             Aldy Hernandez  <aldyh@redhat.com>
18589
18590         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18591         Change condition to [_SOFT_FLOAT].
18592         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18593         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18597         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18604         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18607         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18608         declaration.
18609
18610 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18611
18612         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18613         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18614         (__longjmp): Use LOAD_GP to load saved GPRs.
18615         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18616         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18617         (__sigsetjmp): Use SAVE_GP to save GPRs.
18618
18619         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18620         Do not append -msoft-float.
18621         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18622
18623 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18624
18625         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18626
18627 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
18628
18629         [BZ #15966]
18630         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18631         (_FPU_GETCW): Use initial "__" on variable and field names but not
18632         on macro parameter name.
18633         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
18634         parentheses around reference to macro parameter.
18635
18636 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
18637
18638         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18639         prototype.
18640         (ctype_startup): Use uint32_t in cast and sizeof for
18641         ctype->charnames.
18642
18643 2013-09-11  Jia Liu  <proljc@gmail.com>
18644
18645         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18646         __daddr_t_defined.
18647         [__FreeBSD__]: Likewise.
18648
18649 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
18650
18651         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18652         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18653         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18654         (strchr): Remove __strchr_sse42 ifunc selection.
18655         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18656         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18657
18658 2013-09-11  Will Newton  <will.newton@linaro.org>
18659
18660         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18661         parameter to RES. Remove hardcoded 1000 value.
18662         * benchtests/bench-skeleton.c (main): Pass RES parameter
18663         to TIMING_INIT and multiply result by 1000.
18664
18665 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18666
18667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18668
18669 2013-09-11  Andreas Schwab  <schwab@suse.de>
18670
18671         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18672         if not defined.
18673         (O_TMPFILE) [__USE_GNU]: Define.
18674         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18675         Define.
18676
18677 2013-09-11  Will Newton  <will.newton@linaro.org>
18678
18679         [BZ #15857]
18680         * malloc/malloc.c (__libc_memalign): Check the value of bytes
18681         does not overflow.
18682
18683 2013-09-11  Will Newton  <will.newton@linaro.org>
18684
18685         [BZ #15856]
18686         * malloc/malloc.c (__libc_valloc): Check the value of bytes
18687         does not overflow.
18688
18689 2013-09-11  Will Newton  <will.newton@linaro.org>
18690
18691         [BZ #15855]
18692         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18693         does not overflow.
18694
18695 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
18696
18697         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18698         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18699         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18700         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18701         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18702
18703 2013-09-10  Allan McRae  <allan@archlinux.org>
18704
18705         [BZ #15748]
18706         * manual/arith.texi (Parsing of Floats): Clarify
18707         cross-reference.
18708
18709         [BZ #15849]
18710         * manual/install.texi (Running make install): Mention
18711         --enable-pt-chown.
18712         * INSTALL: Regenerated.
18713
18714 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
18715
18716         * csu/init-first.c (_init): Remove the !SHARED condition around
18717         FPU control word initialization.
18718         * elf/dl-support.c (_dl_fpu_control): New variable.
18719         (_dl_aux_init) <AT_FPUCW>: Initialize it.
18720         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18721         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18722         * math/test-fpucw-static.c: New file.
18723         * math/test-fpucw-ieee.c: New file.
18724         * math/test-fpucw-ieee-static.c: New file.
18725         * math/Makefile (tests): Add `test-fpucw-ieee' and
18726         `$(tests-static)'.
18727         (tests-static): New variable.
18728         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18729         dependency to...
18730         [($(build-shared),yes)]
18731         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18732         ... this.
18733         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18734         New dependency.
18735
18736 2013-09-09  Allan McRae  <allan@archlinux.org>
18737
18738         [BZ #15939]
18739         * manual/string.texi (Collation Functions): Fix typo in
18740         strcoll example.
18741         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18742
18743         [BZ #15893]
18744         * stdlib/isomac.c (get_null_defines): Fix memory leak.
18745
18746         [BZ #15892]
18747         * libio/memstream.c (open_memstream): Fix memory leak.
18748         * libio/wmemstream.c (open_wmemstream): Likewise.
18749
18750         [BZ #15895]
18751         * nscd/netgroupcache.c: Fix nesting of ifdefs.
18752
18753 2013-09-09  Will Newton  <will.newton@linaro.org>
18754
18755         * malloc/Makefile: Add tst-realloc to tests.
18756         * malloc/tst-realloc.c: New file.
18757
18758 2013-09-09  Allan McRae  <allan@archlinux.org>
18759
18760         [BZ #15844]
18761         * COPYING: Update from GNU website to fix FSF address.
18762         * COPYING.LIB: Likewise.
18763
18764 2013-09-06  David S. Miller  <davem@davemloft.net>
18765
18766         * po/zh_TW.po: Update Chinese (traditional) translation from
18767         translation project.
18768
18769 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
18770             Joseph Myers  <joseph@codesourcery.com>
18771
18772         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18773         "localeinfo.h".
18774         (obstack_chunk_alloc): New macro.
18775         (obstack_chunk_free): Likewise.
18776         (record_offset): New function.
18777         (init_locale_data): Likewise.
18778         (align_locale_data): Likewise.
18779         (add_locale_empty): Likewise.
18780         (add_locale_raw_data): Likewise.
18781         (add_locale_raw_obstack): Likewise.
18782         (add_locale_string): Likewise.
18783         (add_locale_wstring): Likewise.
18784         (add_locale_uint32): Likewise.
18785         (add_locale_uint32_array): Likewise.
18786         (add_locale_char): Likewise.
18787         (start_locale_structure): Likewise.
18788         (end_locale_structure): Likewise.
18789         (start_locale_prelude): Likewise.
18790         (end_locale_prelude): Likewise.
18791         (write_locale_data): Take locale_file structure rather than an
18792         iovec.
18793         * locale/programs/locfile.h: Include "obstack.h".
18794         (struct locale_file): Change to store locale file contents instead
18795         of header.
18796         (init_locale_data): New prototype.
18797         (align_locale_data): Likewise.
18798         (add_locale_empty): Likewise.
18799         (add_locale_raw_data): Likewise.
18800         (add_locale_raw_obstack): Likewise.
18801         (add_locale_string): Likewise.
18802         (add_locale_wstring): Likewise.
18803         (add_locale_uint32): Likewise.
18804         (add_locale_uint32_array): Likewise.
18805         (add_locale_char): Likewise.
18806         (start_locale_structure): Likewise.
18807         (end_locale_structure): Likewise.
18808         (start_locale_prelude): Likewise.
18809         (end_locale_prelude): Likewise.
18810         (write_locale_data): Update prototype.
18811         * locale/programs/3level.h (struct TABLE): Remove result field.
18812         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18813         Use new locale_file interface.
18814         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18815         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18816         * locale/programs/ld-address.c (address_output): Use new
18817         locale_file interface.
18818         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18819         NO_ADD_LOCALE.
18820         (collate_finish): Don't call collseq_table_finalize.
18821         (collate_output): Use new locale_file interface.
18822         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18823         in file.
18824         (NO_FINALIZE): Change to NO_ADD_LOCALE.
18825         (TABLE): Move defines earlier in file.
18826         (ELEMENT): Likewise.
18827         (DEFAULT): Likewise.
18828         (wctrans_table_add): Move macro and inline function earlier in
18829         file.
18830         (struct wctype_table): Move type earlier in file.
18831         (add_locale_wctype_table): New static prototype.
18832         (struct locale_ctype_t): Use logical types instead of struct iovec
18833         pointers for members.
18834         (ctype_output): Use new locale_file interface.
18835         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
18836         new locale_file interface.
18837         (allocate_arrays): Update for use of new locale_file interface.
18838         * locale/programs/ld-identification.c (identification_output): Use
18839         new locale_file interface.
18840         * locale/programs/ld-measurement.c (measurement_output): Likewise.
18841         * locale/programs/ld-messages.c (messages_output): Likewise.
18842         * locale/programs/ld-monetary.c (monetary_output): Likewise.
18843         * locale/programs/ld-name.c (name_output): Likewise.
18844         * locale/programs/ld-numeric.c (numeric_output): Likewise.
18845         * locale/programs/ld-paper.c (paper_output): Likewise.
18846         * locale/programs/ld-telephone.c (telephone_output): Likewise.
18847         * locale/programs/ld-time.c (time_output): Likewise.
18848
18849 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18850
18851         * benchtests/Makefile: Add memrchr benchmark.
18852         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18853         benchmark as memrchr.
18854         * benchtests/bench-memrchr-ifunc.c: New file.
18855         * benchtests/bench-memrchr.c: New file.
18856
18857 2013-09-06   Will Newton  <will.newton@linaro.org>
18858
18859         * benchtests/Makefile (string-bench): Add memcpy.
18860
18861 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
18862             Cong Wang  <amwang@redhat.com>
18863
18864         [BZ #15850]
18865         * sysdeps/unix/sysv/linux/bits/in.h
18866         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18867         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18868         before __USE_KERNEL_IPV6_DEFS uses.
18869         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18870         IPPROTO_BEETPH.
18871         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18872         sockaddr_in6, or ipv6_mreq.
18873
18874 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18875
18876         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18877         memory access for final bytes in some large inputs.
18878         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18879
18880 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18881
18882         * string/test-memrchr.c: New file.
18883         * string/test-memrchr-ifunc.c: New file.
18884         * string/Makefile: Add new memrchr testcase.
18885
18886 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
18887
18888         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18889         fanotify_init returns EPERM.
18890
18891 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18892
18893         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18894         errors.
18895         (top level): Treat second token from macro or constant entries for
18896         allowed headers as allowed.
18897         * include/complex.h: Condition internal declarations on
18898         [!_ISOMAC].
18899         * include/fenv.h: Condition include of <stdbool.h> and internal
18900         declarations on [!_ISOMAC].
18901
18902 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
18903
18904         [BZ #15923]
18905         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18906
18907 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18908
18909         * configure.in (--enable-versioning): Remove configure option.
18910         (libc_cv_asm_symver_directive): Remove configure test.
18911         (libc_cv_ld_version_script_option): Likewise.
18912         (VERSIONING): Remove variable and AC_SUBST.
18913         (DO_VERSIONING): Remove AC_DEFINE.
18914         * configure: Regenerated.
18915         * config.h.in (DO_VERSIONING): Remove macro.
18916         * Makerules [$(versioning) = yes]: Change conditionals to
18917         [$(build-shared) = yes].
18918         * config.make.in (versioning): Remove variable.
18919         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18920         [$(build-shared) = yes].
18921         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18922         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18923         * elf/Makefile [$(versioning) = yes]: Change conditionals to
18924         [$(build-shared) = yes].
18925         * extra-lib.mk [$(versioning) = yes]: Likewise.
18926         * hurd/Makefile [$(versioning) = yes]: Likewise.
18927         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18928         [SHARED].
18929         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18930         [SHARED].
18931         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18932         [SHARED && !NO_HIDDEN].
18933         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18934         [SHARED].
18935         [SHARED && DO_VERSIONING]: Likewise..
18936         * libio/Makefile [$(versioning) = yes]: Change conditionals to
18937         [$(build-shared) = yes].
18938         * manual/install.texi (--disable-versioning): Remove
18939         documentation.
18940         * INSTALL: Regenerated.
18941         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18942         to [SHARED].
18943         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18944         [$(build-shared) = yes].
18945         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18946         * sysdeps/i386/i686/multiarch/strstr-c.c
18947         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18948         [SHARED && !NO_HIDDEN].
18949         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18950         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18951         * sysdeps/powerpc/powerpc32/dl-machine.c
18952         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18953         * sysdeps/powerpc/powerpc32/sysdep.h
18954         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18955         to [SHARED && PIC && !NO_HIDDEN].
18956         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18957         conditional to [SHARED].
18958
18959 2013-09-04   Will Newton  <will.newton@linaro.org>
18960
18961         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18962         * benchtests/bench-string.h: Include bench-timing.h instead
18963         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18964         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18965         call to HP_TIMING_DIFF_INIT.
18966         * benchtests/bench-memccpy.c: Use bench-timing.h macros
18967         instead of hp-timing.h macros.
18968         * benchtests/bench-memchr.c: Likewise.
18969         * benchtests/bench-memcmp.c: Likewise.
18970         * benchtests/bench-memcpy.c: Likewise.
18971         * benchtests/bench-memmem.c: Likewise.
18972         * benchtests/bench-memmove.c: Likewise.
18973         * benchtests/bench-memset.c: Likewise.
18974         * benchtests/bench-rawmemchr.c: Likewise.
18975         * benchtests/bench-strcasecmp.c: Likewise.
18976         * benchtests/bench-strcasestr.c: Likewise.
18977         * benchtests/bench-strcat.c: Likewise.
18978         * benchtests/bench-strchr.c: Likewise.
18979         * benchtests/bench-strcmp.c: Likewise.
18980         * benchtests/bench-strcpy.c: Likewise.
18981         * benchtests/bench-strcpy_chk.c: Likewise.
18982         * benchtests/bench-strlen.c: Likewise.
18983         * benchtests/bench-strncasecmp.c: Likewise.
18984         * benchtests/bench-strncat.c: Likewise.
18985         * benchtests/bench-strncmp.c: Likewise.
18986         * benchtests/bench-strncpy.c: Likewise.
18987         * benchtests/bench-strnlen.c: Likewise.
18988         * benchtests/bench-strpbrk.c: Likewise.
18989         * benchtests/bench-strrchr.c: Likewise.
18990         * benchtests/bench-strspn.c: Likewise.
18991         * benchtests/bench-strstr.c: Likewise.
18992
18993 2013-09-04  Will Newton  <will.newton@linaro.org>
18994
18995         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18996
18997 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18998
18999         [BZ #15427]
19000         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19001         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19002         * math/libm-test.inc (lgamma_test_data): Add more tests.
19003         * sysdeps/i386/fpu/libm-test-ulps: Update.
19004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19005
19006 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
19007
19008         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19009         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19010         Add ifunc.
19011         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19012         Add strcmp-sse2-unaligned
19013         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19014
19015 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19016
19017         * Versions.def (libc): Add GLIBC_2.19.
19018
19019 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19020
19021         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19022         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19023
19024 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
19025
19026         [BZ #14155]
19027         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19028         intermediate calculations in recurrence.
19029         (__ieee754_ynf): Likewise.
19030         * math/libm-test.inc (jn_test_data): Do not allow spurious
19031         underflow exception.  Add more tests.
19032         (yn_test_data): Add more tests.
19033         * sysdeps/i386/fpu/libm-test-ulps: Update.
19034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19035
19036 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
19037
19038         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19039
19040 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19041
19042         * csu/init-first.c: Fix then/than typos.
19043         * locale/programs/ld-collate.c: Likewise.
19044         * locale/programs/linereader.h: Likewise.
19045         * manual/charset.texi: Likewise.
19046         * manual/filesys.texi: Likewise.
19047         * manual/stdio.texi: Likewise.
19048         * manual/string.texi: Likewise.
19049         * stdlib/fmtmsg.c: Likewise.
19050         * sysdeps/i386/stpncpy.S: Likewise.
19051         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19052         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19053         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19054         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19055
19056 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19057
19058         * elf/dl-open.c: Fix typos.
19059         * iconvdata/gbbig5.c: Likewise.
19060         * iconvdata/iso-2022-jp.c: Likewise.
19061         * iconv/gconv_int.h: Likewise.
19062         * iconv/loop.c: Likewise.
19063         * nis/rpcsvc/nis.h: Likewise.
19064         * resolv/ns_name.c: Likewise.
19065         * stdio-common/vfscanf.c: Likewise.
19066         * streams/stropts.h: Likewise.
19067         * sunrpc/rpc_thread.c: Likewise.
19068         * sysdeps/i386/strpbrk.S: Likewise.
19069         * sysdeps/ieee754/k_standard.c: Likewise.
19070         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19071         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19072         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19073         * sysdeps/mach/hurd/profil.c: Likewise.
19074         * sysdeps/s390/dl-procinfo.h: Likewise.
19075         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19076         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19077         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19078         * sysdeps/x86_64/dl-trampoline.S: Likewise.
19079         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19080
19081 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
19082
19083         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19085
19086 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
19087
19088         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19089         aix specific files.
19090         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19091         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19092         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19093         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19094         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19095         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19096         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19097         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19098
19099 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19100             Roland McGrath  <roland@hack.frob.com>
19101
19102         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19103         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19104
19105 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19106
19107         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19108         __executable_start symbol instead of _start.
19109
19110 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19111
19112         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19113         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19114         Move macros to...
19115         * sysdeps/gnu/ldsodefs.h: ... this new file.
19116
19117         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19118         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19119         instead of ELFOSABI_LINUX.
19120
19121         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19122         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19123         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19124         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19125         Likewise.
19126         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19127         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19128         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19129         Likewise.
19130         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19131         (ibm_extended_long_double): Add ieee_nan member.
19132         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19133         (do_test): New function.
19134
19135         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19136         TEST_TRUNC.
19137         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19138         functions, renamed from truncdfsf_test, trunctfsf_test,
19139         trunctfdf_test.
19140         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19141         functions.
19142         (do_test): Run all these.
19143
19144 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
19145
19146         * argp/argp-help.c: Fix typos.
19147         * argp/argp-parse.c: Likewise.
19148         * debug/backtracesyms.c: Likewise.
19149         * elf/elf.h: Likewise.
19150         * malloc/malloc.c: Likewise.
19151         * nis/nis_print.c: Likewise.
19152         * resolv/res_comp.c: Likewise.
19153         * stdlib/stdlib.h: Likewise.
19154         * sunrpc/clnt_tcp.c: Likewise.
19155         * sunrpc/clnt_udp.c: Likewise.
19156         * sunrpc/clnt_unix.c: Likewise.
19157         * sysdeps/unix/bsd/ptsname.c: Likewise.
19158         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19159         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19161         Likewise.
19162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19163         Likewise.
19164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19165         Likewise.
19166         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19167
19168 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19169
19170         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19172
19173 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
19174
19175         [BZ #15897]
19176         * dlfcn/Makefile (tests): Add bug-dl-leaf.
19177         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19178         ($(objpfx)bug-dl-leaf): New rule.
19179         ($(objpfx)bug-dl-leaf.so): Likewise.
19180         ($(objpfx)bug-dl-leaf.out): Likewise.
19181         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19182         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19183         * dlfcn/bug-dl-leaf.c: New test.
19184         * dlfcn/bug-dl-leaf-lib.c: Likewise.
19185         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19186         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19187         (dlclose): Likewise.
19188         (dlmopen): Likewise.
19189
19190 2013-08-27  Roland McGrath  <roland@hack.frob.com>
19191
19192         * include/netdb.h [!_ISOMAC]:
19193         Don't include <tls.h>.
19194         (h_errno, __libc_h_errno): Move declaration and macros out of
19195         [_LIBC_REENTRANT].
19196
19197         * include/resolv.h [_RESOLV_H_]:
19198         Don't include <tls.h>.
19199         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19200         * resolv/res_libc.c: Don't include <tls.h>.
19201         (_res): Use __attribute__ ((nocommon)) in place of
19202         __attribute__ ((section (".bss"))).
19203
19204         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19205         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19206
19207         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19208
19209         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19210         only under [SIOCGIFCONF && SIOCGIFNETMASK].
19211
19212         * resolv/res_mkquery.c: Include <sys/time.h>.
19213
19214         * inet/ifreq.c: Moved to ...
19215         * sysdeps/unix/ifreq.c: ... here.
19216         * inet/ifreq.c: New file, true stub version.
19217
19218         * socket/sa_len.c: New file.
19219         * socket/Makefile (aux): Add it.
19220         * sysdeps/unix/sysv/linux/Makefile
19221         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19222         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19223         and #include <socket/sa_len.c>.
19224         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19225         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19226
19227         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19228         * bits/socket.h: ... here.
19229
19230         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19231         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19232         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19233
19234 2013-08-27  Andreas Schwab  <schwab@suse.de>
19235
19236         [BZ #15736]
19237         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19238         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19239         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19240         * string/test-strcasecmp.c (test_main): Run tests in several
19241         locales.
19242         * string/test-strncasecmp.c (test_main): Likewise.
19243
19244         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19245         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19246         to __strcasecmp_nonascii and __strncasecmp_nonascii.
19247         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19248         (__strncasecmp_ssse3) [PIC]: Likewise.
19249
19250 2013-08-26  Roland McGrath  <roland@hack.frob.com>
19251
19252         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19253
19254         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19255         instead of explicitly declaring xdecrypt.
19256         * nis/nss_nis/nis-publickey.c: Likewise.
19257
19258 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19259
19260         [BZ #15890]
19261         * nscd/aicache.c: Include res_hconf.h.
19262         (addhstaiX): Initialize res_hconf.
19263
19264 2013-08-26  Andreas Schwab  <schwab@suse.de>
19265
19266         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19267         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19268
19269 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19270
19271         * nscd/aicache.c (addhstaiX): Fix indentation.
19272
19273 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
19274
19275         * configure.ac: Quote $build_pt_chown test.
19276         * configure: Regenerated.
19277
19278 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
19279
19280         [BZ #15532]
19281         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19282         * math/s_cexpf.c (__cexpf): Likewise.
19283         * math/s_cexpl.c (__cexpl): Likewise.
19284         * math/libm-test.inc (cexp_test_data): Correct expected return
19285         value for NaN + i0.  Add another test.
19286
19287 2013-08-22  David S. Miller  <davem@davemloft.net>
19288
19289         * po/ca.po: Update Catalan translation from translation project.
19290         * po/uk.po: Add Ukrainian translations from translation project.
19291
19292 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
19293
19294         [BZ #15797]
19295         * math/s_fdim.c (__fdim): Check for infinite arguments if result
19296         is infinite, not alongside NaN test.
19297         * math/s_fdimf.c (__fdimf): Likewise.
19298         * math/s_fdiml.c (__fdiml): Likewise.
19299         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
19300         errno is unchanged.
19301
19302 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
19303
19304         * argp/argp-help.c: Fix typos.
19305         * crypt/speeds.c: Likewise.
19306         * csu/check_fds.c: Likewise.
19307         * elf/dl-load.c: Likewise.
19308         * elf/dl-open.c: Likewise.
19309         * elf/reldep3.c: Likewise.
19310         * elf/reldep.c: Likewise.
19311         * elf/sprof.c: Likewise.
19312         * iconv/iconv_charmap.c: Likewise.
19313         * iconv/skeleton.c: Likewise.
19314         * iconv/strtab.c: Likewise.
19315         * io/lockf64.c: Likewise.
19316         * libio/libioP.h: Likewise.
19317         * resolv/gai_notify.c: Likewise.
19318         * resolv/ns_name.c: Likewise.
19319         * resolv/ns_samedomain.c: Likewise.
19320         * resolv/res_send.c: Likewise.
19321         * stdlib/random.c: Likewise.
19322         * sunrpc/rpc/xdr.h: Likewise.
19323         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19324         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19325         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19326         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19327         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19328         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19329         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19330         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19331         * sysdeps/mach/hurd/check_fds.c: Likewise.
19332         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19333         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19334         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19335         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19336         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19337         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19338         * sysdeps/pthread/aio_notify.c: Likewise.
19339         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19340         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19341         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19342         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19343         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19344
19345 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19346
19347         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19348         version if bit_Slow_SSE4_2 is set.
19349         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19350         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19351
19352 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19353
19354         [BZ #15867]
19355         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19356         trampoline stack frame information.
19357         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19358         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19359         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19360         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19361         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19362         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19363         (_libc_vdso_platform_setup): Initialize the signal trampolines.
19364         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19365         sa_flags value.
19366         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19367         interrupting a syscall and set with option SA_SIGINFO.
19368
19369 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19370
19371         [BZ #15531]
19372         * math/s_cproj.c (__cproj): Only return an infinity if one part of
19373         argument is infinite.
19374         * math/s_cprojf.c (__cprojf): Likewise.
19375         * math/s_cprojl.c (__cprojl): Likewise.
19376         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19377         * math/libm-test.inc (cproj_test_data): Add more tests.
19378
19379         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19380
19381         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19382         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19383         size.  Use __ffs to determine corresponding shift.
19384
19385 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19386             Roland McGrath  <roland@hack.frob.com>
19387
19388         * Makefile (INSTALL): Remove trailing blank lines from output of
19389         makeinfo.
19390
19391 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19392
19393         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19394         Align 32 bit compat elf_greg to 8 bytes.
19395
19396 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
19397
19398         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19399
19400 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19401
19402         * string/strcoll_l.c (coll_seq): New structure.
19403         (get_next_seq_cached): New function.
19404         (get_next_seq): New function.
19405         (do_compare): New function.
19406         (STRCOLL): Use GNU style definition.  Simplify implementation
19407         by using get_next_seq, get_next_seq_cached and do_compare.
19408
19409 2013-08-16  Florian Weimer  <fweimer@redhat.com>
19410
19411         [BZ #14699]
19412         CVE-2013-4237
19413         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19414         member.
19415         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19416         member.
19417         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19418         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19419         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
19420         conditional.
19421         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19422         GETDENTS_64BIT_ALIGNED.
19423         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19424         * manual/filesys.texi (Reading/Closing Directory): Document
19425         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
19426         strongly.
19427         * manual/conf.texi (Limits for Files): Add portability note to
19428         NAME_MAX, PATH_MAX.
19429         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19430
19431 2013-08-13  Andreas Schwab  <schwab@suse.de>
19432
19433         [BZ #15749]
19434         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19435         of fabs.
19436         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19437         LDBL_MAX_EXP >= 16384]: Add tests for it.
19438
19439 2013-08-12  David S. Miller  <davem@davemloft.net>
19440
19441         * version.h (RELEASE): Set to "development".
19442         (VERSION): Set to "2.18.90".
19443         * NEWS: Add 2.19 section.
19444
19445 2013-08-03  David S. Miller  <davem@davemloft.net>
19446
19447         * po/ko.po: Update Korean translation from translation project.
19448
19449 2013-08-01  David S. Miller  <davem@davemloft.net>
19450
19451         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
19452         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19453         Bilka.
19454
19455 2013-07-30  David S. Miller  <davem@davemloft.net>
19456
19457         * po/fr.po: Update French translation from translation project.
19458
19459 2013-07-28  David S. Miller  <davem@davemloft.net>
19460
19461         * po/cs.po: Update Czech translation from translation project.
19462
19463         * po/sv.po: Update Swedish translation from translation project.
19464
19465 2013-07-27  David S. Miller  <davem@davemloft.net>
19466
19467         * po/eo.po: Update Esperanto translation from translation project.
19468
19469         * po/vi.po: Update Vietnamese translation from translation project.
19470
19471         * po/de.po: Update German translation from translation project.
19472
19473 2013-07-26  David S. Miller  <davem@davemloft.net>
19474
19475         * po/bg.po: Update Bulgarian translation from translation project.
19476
19477         * po/nl.po: Update Dutch translation from translation project.
19478         * po/pl.po: Update Polish translation from translation project.
19479         * po/ru.po: Update Russian translation from translation project.
19480
19481 2013-07-24  David S. Miller  <davem@davemloft.net>
19482
19483         * po/libc.pot: Update.
19484
19485 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19486
19487         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19488         variable page size.
19489         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19490         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19491         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19492
19493 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19494
19495         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19496
19497 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19498             Andreas Schwab  <schwab@suse.de>
19499             Roland McGrath  <roland@hack.frob.com>
19500             Joseph Myers  <joseph@codesourcery.com>
19501             Carlos O'Donell  <carlos@redhat.com>
19502
19503         [BZ #15755]
19504         * config.h.in: Define HAVE_PT_CHOWN.
19505         * config.make.in (build-pt-chown): New variable.
19506         * configure.in (--enable-pt_chown): New configure option.
19507         * configure: Regenerate.
19508         * login/Makefile: Include Makeconfig.  Build pt_chown only if
19509         build-pt-chown is enabled.
19510         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19511         pt_chown to fix pty ownership.
19512         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19513         CLOSE_ALL_FDS.
19514         * manual/install.texi (Configuring and compiling): Mention
19515         --enable-pt_chown. Add @findex for grantpt.
19516         * INSTALL: Regenerate.
19517
19518 2013-07-20  David S. Miller  <davem@davemloft.net>
19519
19520         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19521         difference between 32-bit and 64-bit.
19522
19523 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
19524
19525         [BZ #15711]
19526         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19527         Avoid system header dependency with -ffreestanding.
19528         ($(objpfx)bits/syscall%d): Likewise.
19529
19530 2013-07-13  David S. Miller  <davem@davemloft.net>
19531
19532         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19533         underflows from atanl/atan2l due to bug 15319.
19534         (casinh_test_data): Likewise.
19535
19536 2013-07-07  David S. Miller  <davem@davemloft.net>
19537
19538         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19539
19540 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
19541
19542         * sysdeps/i386/fpu/libm-test-ulps: Update.
19543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19544
19545 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19546
19547         * configure.in (--enable-lock-elision): Fix message text.
19548         * INSTALL: Regenerate.
19549         * configure: Regenerate.
19550
19551 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19552
19553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19554
19555 2013-07-03  Andreas Jaeger  <aj@suse.de>
19556
19557         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19558         define.
19559         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19560         (ptrace_peeksiginfo_args): Add.
19561         (__ptrace_peeksiginfo_flags): Add.
19562         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19563         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19564         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19565
19566 2013-07-03  Allan McRae  <allan@archlinux.org>
19567
19568         * sysdeps/i386/fpu/libm-test-ulps: Update.
19569
19570 2013-07-02  David S. Miller  <davem@davemloft.net>
19571
19572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19573
19574 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
19575
19576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19577
19578 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19579
19580         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19582
19583 2013-07-02  Andi Kleen <ak@linux.intel.com>
19584
19585         * config.h.in (ENABLE_LOCK_ELISION): Add.
19586         * configure.in (--enable-lock-elision): Add option.
19587         * manual/install.texi: Document --enable lock elision.
19588         * configure: Regenerate
19589         * INSTALL: Regenerate.
19590
19591 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
19592
19593         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19594         SSE4.2 strcasecmp for libc.a.
19595         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19596
19597 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19598
19599         [BZ #13304]
19600         * soft-fp/op-common.h (_FP_FMA): New macro.
19601         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19602         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
19603         (_FP_MUL_MEAT_1_imm): ... here.
19604         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
19605         (_FP_MUL_MEAT_1_wide): ... here.
19606         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
19607         (_FP_MUL_MEAT_1_hard): ... here.
19608         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19609         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
19610         (_FP_MUL_MEAT_2_wide): ... here.
19611         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
19612         (_FP_MUL_MEAT_2_wide_3mul): ... here.
19613         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
19614         (_FP_MUL_MEAT_2_gmp): ... here.
19615         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19616         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
19617         (_FP_MUL_MEAT_4_wide): ... here.
19618         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
19619         (_FP_MUL_MEAT_4_gmp): ... here.
19620         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19621         (_FP_WFRACBITS_DW_S): Likewise.
19622         (_FP_WFRACXBITS_DW_S): Likewise.
19623         (_FP_HIGHBIT_DW_S): Likewise.
19624         (FP_FMA_S): Likewise.
19625         (_FP_FRAC_HIGH_DW_S): Likewise.
19626         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19627         (_FP_WFRACBITS_DW_D): Likewise.
19628         (_FP_WFRACXBITS_DW_D): Likewise.
19629         (_FP_HIGHBIT_DW_D): Likewise.
19630         (FP_FMA_D): Likewise.
19631         (_FP_FRAC_HIGH_DW_D): Likewise.
19632         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19633         (_FP_WFRACBITS_DW_E): Likewise.
19634         (_FP_WFRACXBITS_DW_E): Likewise.
19635         (_FP_HIGHBIT_DW_E): Likewise.
19636         (FP_FMA_E): Likewise.
19637         (_FP_FRAC_HIGH_DW_E): Likewise.
19638         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19639         (_FP_WFRACBITS_DW_Q): Likewise.
19640         (_FP_WFRACXBITS_DW_Q): Likewise.
19641         (_FP_HIGHBIT_DW_Q): Likewise.
19642         (FP_FMA_Q): Likewise.
19643         (_FP_FRAC_HIGH_DW_Q): Likewise.
19644         * soft-fp/fmasf4.c: New file.
19645         * soft-fp/fmadf4.c: Likewise.
19646         * soft-fp/fmatf4.c: Likewise.
19647
19648 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19649
19650         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19651         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19652         Silvermont.
19653         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19654         macro.
19655         (index_Slow_SSE4_2): Likewise.
19656         (index_Prefer_PMINUB_for_stringop): Likewise.
19657         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19658         bit_Slow_SSE4_2 is set.
19659         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19660         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19661
19662 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19663
19664         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19665         rtld_global._dl_hwcap2.
19666         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19667         POWER8.
19668         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19669         POWER8 feature descriptions defined in _dl_hwcap2.
19670         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19671         string handling for POWER8 feature bits.
19672         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19673         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19674         _dl_powerpc_cap_flags.
19675         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19676         * sysdeps/powerpc/rtld-global-offsets.sym
19677         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19678         _dl_hwcap2 in the rtld_global_ro structure.
19679
19680 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19681
19682         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19683         hardware capabilities in support of AT_HWCAP2.
19684         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19685         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19686         GLRO(dl_hwcap2).
19687         (_dl_show_auxv): Add support for calling _dl_procinfo to display
19688         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
19689         explicitly the unknown a_type display mechanism is used.
19690         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19691         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19692         struct member.
19693         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19694         to macro prototype for AT_HWCAP2 support.
19695         * sysdeps/i386/dl-procinfo.h: Likewise.
19696         * sysdeps/s390/dl-procinfo.h: Likewise.
19697         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19698         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
19699         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
19700         return -1 for unknown a_type display fallback.
19701         * sysdeps/sparc/dl-procinfo.h: Likewise.
19702         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19703         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19704
19705 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
19706
19707         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19708         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19709
19710 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
19711
19712         [BZ #12492]
19713         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19714         mprotect making __stack_prot writable.
19715
19716 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
19717             Joseph Myers  <joseph@codesourcery.com>
19718
19719         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19720         as being properly aligned.
19721
19722 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
19723
19724         * dlfcn/modstatic5.c: New file.
19725         * dlfcn/tststatic5.c: New file.
19726         * dlfcn/Makefile (tests): Add tststatic5.
19727         (tests-static): Likewise.
19728         (modules-names): Add modstatic5.
19729         (tststatic5-ENV): New variable.
19730         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19731
19732         [BZ #15022]
19733         * elf/dl-support.c (_dl_main_map): New variable.
19734         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19735         (_dl_nns, _dl_load_adds): Set to 1.
19736         (_dl_initial_searchlist): Refer to _dl_main_map.
19737         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19738         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19739         call to _dl_get_origin.
19740         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19741         around call_map.
19742         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19743         * dlfcn/modstatic3.c: New file.
19744         * dlfcn/tststatic3.c: New file.
19745         * dlfcn/tststatic4.c: New file.
19746         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19747         (tests-static): Likewise.
19748         (modules-names): Add modstatic3.
19749         (tststatic3-ENV, tststatic4-ENV): New variables.
19750         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19751         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19752
19753 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
19754
19755         * configure.in (CC): Require GCC version 4.4 or later.
19756         * configure: Regenerated.
19757         * manual/install.texi (Tools for Compilation): Update GCC version
19758         requirement.
19759         * INSTALL: Regenerated.
19760
19761 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19762
19763         [BZ #15674]
19764         * string/test-memcmp.c (check2): New.
19765         (main): Call check2.
19766
19767         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19768
19769 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
19770
19771         [BZ #15022]
19772         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19773         over to...
19774         (dl_open_worker) [!SHARED]: ... here.
19775
19776 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19777
19778         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19779
19780 2013-06-25  Richard Henderson  <rth@redhat.com>
19781
19782         * locale/programs/locarchive.c: Include <libc-internal.h>
19783
19784 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
19785
19786         * manual/texinfo.tex: Update to version 2013-06-21.17, with
19787         trailing whitespace removed.
19788
19789 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
19790
19791         [BZ #10283]
19792         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19793         * locale/programs/locarchive.c: Include libc-mmap.h.
19794         (prepare_address_space): Take two new outputs (the mmap base and len).
19795         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
19796         values.
19797         (create_archive): Declare new mmap base and len values for
19798         prepare_address_space, and store the result in ah.
19799         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19800         (enlarge_archive): If ah->mmap_base is not NULL, use that and
19801         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19802         Declare new mmap base and len values for
19803         prepare_address_space, and store the result in new_ah.
19804         (open_archive): Declare new mmap base and len values for
19805         prepare_address_space, and store the result in ah.
19806         (close_archive): If ah->mmap_base is not NULL, use that and
19807         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19808         * sysdeps/generic/libc-mmap.h: New file.
19809
19810 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
19811
19812         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19813         (ALIGN_UP): Likewise.
19814         (PTR_ALIGN_DOWN): Likewise.
19815         (PTR_ALIGN_UP): Likewise.
19816
19817 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19818
19819         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19820         entry mapped to PPC_PLATFORM_POWER8.
19821         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19822         POWER8.
19823         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19824         (_dl_string_platform): Add case for exporting platform position for
19825         POWER8.
19826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19827         search path to sysdeps/powerpc/powerpc32/power8 directory.
19828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19829         search path to sysdeps/powerpc/powerpc64/power8 directory.
19830         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19831         power7 directories.
19832         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19833         power7 directories.
19834
19835 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19836
19837         * INSTALL: Regenerate.
19838
19839         * nscd/connections.c (nscd_init): Fix comment.
19840
19841 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
19842
19843         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19844
19845         [BZ #15667]
19846         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19847         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19848
19849 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19850
19851         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19852         DL_DST_REQ_STATIC.
19853         (DL_DST_REQ_STATIC): Remove macro.
19854
19855 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
19856
19857         [BZ #7006]
19858         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19859         with a shift of 0 bits.
19860
19861 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19862
19863         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19864         $(tststatic-ENV).
19865
19866 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19867
19868         [BZ #15655]
19869         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19870
19871 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19872
19873         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19874         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19875         accepts -fno-tree-loop-distribute-patterns.
19876         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19877         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19878         recursive call.
19879         * string/memset.c (memset): Likewise.
19880         * string/test-memmove.c (simple_memmove): Disable loop transformation
19881         to library calls.
19882         * string/test-memset.c (simple_memset): Likewise.
19883         * benchtests/bench-memmove.c (simple_memmove): Likewise.
19884         * benchtests/bench-memset.c (simple_memset): Likewise.
19885         * configure: Regenerated.
19886
19887 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
19888
19889         * math/test-misc.c (main): Ignore fesetround failure when failures
19890         of subsequent rounding tests would be ignored.
19891
19892         [BZ #15654]
19893         * math/fedisblxcpt.c (fedisableexcept): Return 0.
19894         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19895         * math/fegetenv.c (__fegetenv): Return 0.
19896         * math/fegetexcept.c (fegetexcept): Return 0.
19897         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19898         FE_TONEAREST.
19899         * math/feholdexcpt.c (feholdexcept): Return 0.
19900         * math/fesetenv.c (__fesetenv): Return 0.
19901         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19902         argument FE_TONEAREST.
19903         * math/feupdateenv.c (__feupdateenv): Return 0.
19904         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19905
19906 2013-06-18  Roland McGrath  <roland@hack.frob.com>
19907
19908         * elf/rtld-Rules (rtld-compile-command.S): New variable.
19909         (rtld-compile-command.s, rtld-compile-command.c): New variables.
19910         ($(objpfx)rtld-%.os rules): Use them.
19911
19912 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19913
19914         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19915         fields.
19916
19917 2013-06-17  Roland McGrath  <roland@hack.frob.com>
19918
19919         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19920         length of target pattern, then descending length of dependency pattern.
19921         * configure.in (AWK): Require gawk 3.1.2 or newer.
19922         * manual/install.texi (Tools for Compilation): Say that we do.
19923         * configure: Regenerated.
19924
19925         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19926         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19927         * scripts/sysd-rules.awk: ... this new script.
19928         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19929         than a glob-style pattern.
19930
19931 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
19932
19933         * math/test-misc.c (main): Do not treat incorrectly rounded
19934         conversions as failure unless ROUNDING_TESTS passes.
19935
19936 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
19937
19938         [BZ #15631]
19939         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19940         restore exception state around main square root computation, then
19941         check for inexactness explicitly.
19942
19943         * math/libm-test.inc (fma_test_data): Add another test.
19944
19945 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19946
19947         * manual/threads.texi (Non-POSIX Extensions): New document
19948         node.  Document pthread_getattr_default_np and
19949         pthread_setattr_default_np.
19950
19951         * Versions.def (libpthread): Add GLIBC_2.18.
19952         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19954         Likewise.
19955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19956         Likewise.
19957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19958         Likewise.
19959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19960         Likewise.
19961         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19962         Likewise.
19963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19964         Likewise.
19965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19966         Likewise.
19967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19968         Likewise.
19969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19970         Likewise.
19971
19972 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19973
19974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19975         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19976
19977 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19978             H.J. Lu  <hjl.tools@gmail.com>
19979
19980         [BZ #15627]
19981         * sysdeps/x86_64/rtld-memset.c: Remove file.
19982         * sysdeps/x86_64/rtld-memset.S: New file.
19983
19984 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
19985
19986         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19987         (test_in_one_mode): Take arguments for whether the rounding mode
19988         is supported for each floating-point type.
19989         (do_test): Pass new arguments to test_in_one_mode using
19990         ROUNDING_TESTS.
19991
19992 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19993
19994         * posix/tst-waitid.c (do_test): Distinguish different instances of
19995         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19996         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19997         before entering the kernel for waitpid.
19998
19999 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20000
20001         * NEWS: Fix note on clock function precision.  Text by Roland
20002         McGrath.
20003
20004 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20005
20006         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20007         it into place only when and if the sanity check passes.
20008
20009 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
20010
20011         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20012         output for whether conversion result is exact.  Take argument
20013         indicating whether type is IBM long double.
20014         (round_for_all): Change need_exact field to ibm_ld.
20015         * stdlib/tst-strtod-round.c (struct exactness): New type.
20016         (struct test): Change bool ld_ok field to struct exactness exact.
20017         (TEST): Update all definitions for change to field.
20018         (tests): Regenerate array contents.
20019         (test_in_one_mode): Take pointer to new field instead of old ld_ok
20020         field value.  Check for IBM long double here.
20021         (do_test): Update calls to test_in_one_mode.
20022
20023 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20024
20025         [BZ #12515]
20026         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20027         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20028
20029 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20030
20031         [BZ #15605]
20032         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20033         generated by the compiler on loop optimizations.
20034         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20035         general definitions.
20036
20037 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
20038
20039         * math/bug-nextafter.c: Include <math-tests.h>.
20040         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20041         the relevant type.
20042         * math/bug-nexttoward.c: Include <math-tests.h>.
20043         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20044         the relevant type.
20045         * math/test-misc.c: Include <math-tests.h>.
20046         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20047         the relevant type.
20048
20049 2013-06-12  Andreas Jaeger  <aj@suse.de>
20050
20051         * po/ia.po: Update Interlingua translation from translation
20052         project.
20053
20054 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20055
20056         * include/fenv.h: Include stdbool.h.
20057         (struct rm_ctx): New structure.
20058         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20059         Define macro.
20060         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20061         (SET_RESTORE_ROUNDF): Likewise.
20062         (SET_RESTORE_ROUNDL): Likewise.
20063         (SET_RESTORE_ROUND_NOEX): Likewise.
20064         (SET_RESTORE_ROUND_NOEXF): Likewise.
20065         (SET_RESTORE_ROUND_NOEXL): Likewise.
20066         (SET_RESTORE_ROUND_53BIT): Likewise.
20067         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20068         (libc_feresetround_noexf_ctx): Likewise.
20069         (libc_feresetround_noexl_ctx): Likewise.
20070         (libc_feholdsetround_53bit_ctx): Likewise.
20071         (libc_feresetround_53bit_ctx): Likewise.
20072         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20073         (libc_feholdexcept_setround_sse_ctx): New function.
20074         (libc_fesetenv_sse_ctx): Likewise.
20075         (libc_feupdateenv_sse_ctx): Likewise.
20076         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20077         (libc_feholdexcept_setround_387_ctx): Likewise.
20078         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20079         (libc_feholdsetround_387_prec_ctx): Likewise.
20080         (libc_feholdsetround_387_ctx): Likewise.
20081         (libc_feholdsetround_387_53bit_ctx): Likewise.
20082         (libc_feholdsetround_sse_ctx): Likewise.
20083         (libc_feresetround_sse_ctx): Likewise.
20084         (libc_feresetround_387_ctx): Likewise.
20085         (libc_feupdateenv_387_ctx): Likewise.
20086         (libc_feholdexcept_setroundf_ctx): Define macro.
20087         (libc_fesetenvf_ctx): Likewise.
20088         (libc_feupdateenvf_ctx): Likewise.
20089         (libc_feholdsetroundf_ctx): Likewise.
20090         (libc_feresetroundf_ctx): Likewise.
20091         (libc_feholdexcept_setround_ctx): Likewise.
20092         (libc_fesetenv_ctx): Likewise.
20093         (libc_feupdateenv_ctx): Likewise.
20094         (libc_feholdsetround_ctx): Likewise.
20095         (libc_feresetround_ctx): Likewise.
20096         (libc_feholdexcept_setroundl_ctx): Likewise.
20097         (libc_feupdateenvl_ctx): Likewise.
20098         (libc_feholdsetroundl_ctx): Likewise.
20099         (libc_feresetroundl_ctx): Likewise.
20100         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20101         (libc_feresetround_53bit_ctx): Likewise.
20102
20103 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20104
20105         * locale/iso-639.def: Convert to UTF-8.
20106
20107 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
20108
20109         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20110         (EXCEPTION_TESTS_double): Likewise.
20111         (EXCEPTION_TESTS_long_double): Likewise.
20112         (EXCEPTION_TESTS): Likewise.
20113         * math/libm-test.inc (test_exceptions): Only test exceptions if
20114         EXCEPTION_TESTS (FLOAT).
20115
20116 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20117
20118         * benchtests/Makefile (string-bench): Add strcpy_chk and
20119         stpcpy_chk.
20120         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20121         * benchtests/bench-stpcpy_chk.c: New file.
20122         * benchtests/bench-strcpy_chk-ifunc.c: New file.
20123         * benchtests/bench-strcpy_chk.c: New file.
20124         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20125         code.
20126         (do_test): Likewise.
20127
20128 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20129
20130         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20131         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20132         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20133         with tabs where appropriate.
20134         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20135         dl-procinfo.h.
20136         [PPC_PLATFORM_PPC440]: Likewise.
20137         [PPC_PLATFORM_PPC464]: Likewise.
20138         [PPC_PLATFORM_PPC476]: Likewise.
20139         (_dl_string_platform): Add support for detecting ppc405, ppc440,
20140         ppc464, and ppc476 platform strings merging from ports/
20141         dl-procinfo.h.
20142
20143 2013-06-11  Andreas Schwab  <schwab@suse.de>
20144
20145         [BZ #14991]
20146         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20147         (from_ucs4_idx): Regenerate.
20148         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20149         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20150         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20151         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20152         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20153         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20154         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20155         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20156         from FROM_LOOP and TO_LOOP specific macros.
20157         (BODY): Handle combining characters.
20158         * iconvdata/BIG5HKSCS.irreversible: Update.
20159         * iconvdata/BIG5HKSCS.precomposed: New file.
20160         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20161         characters.
20162         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20163
20164 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20165
20166         * include/sys/time.h: Fix indentation and add copyright header.
20167
20168         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20169         (do_test): Likewise.
20170         * string/test-memchr.c (do_one_test): Likewise.
20171         (do_test): Likewise.
20172         * string/test-memcmp.c (do_one_test): Likewise.
20173         (do_test): Likewise.
20174         * string/test-memcpy.c (do_one_test): Likewise.
20175         (do_test): Likewise.
20176         * string/test-memmem.c (do_one_test): Likewise.
20177         (do_test): Likewise.
20178         (do_random_tests): Likewise.
20179         * string/test-memmove.c (do_one_test): Likewise.
20180         (do_test): Likewise.
20181         * string/test-memset.c (do_one_test): Likewise.
20182         (do_test): Likewise.
20183         * string/test-rawmemchr.c (do_one_test): Likewise.
20184         (do_test): Likewise.
20185         * string/test-strcasecmp.c (do_one_test): Likewise.
20186         (do_test): Likewise.
20187         * string/test-strcasestr.c (do_one_test): Likewise.
20188         (do_test): Likewise.
20189         * string/test-strcat.c (do_one_test): Likewise.
20190         (do_test): Likewise.
20191         * string/test-strchr.c (do_one_test): Likewise.
20192         (do_test): Likewise.
20193         * string/test-strcmp.c (do_one_test): Likewise.
20194         (do_test): Likewise.
20195         * string/test-strcpy.c (do_one_test): Likewise.
20196         (do_test): Likewise.
20197         * string/test-string.h: Likewise.
20198         (test_init): Likewise.
20199         * string/test-strlen.c (do_one_test): Likewise.
20200         (do_test): Likewise.
20201         * string/test-strncasecmp.c (do_one_test): Likewise.
20202         (do_test): Likewise.
20203         * string/test-strncat.c (do_one_test): Likewise.
20204         (do_test): Likewise.
20205         * string/test-strncmp.c (do_one_test): Likewise.
20206         (do_test_limit): Likewise.
20207         (do_test): Likewise.
20208         * string/test-strncpy.c (do_one_test): Likewise.
20209         (do_test): Likewise.
20210         * string/test-strnlen.c (do_one_test): Likewise.
20211         (do_test): Likewise.
20212         * string/test-strpbrk.c (do_one_test): Likewise.
20213         (do_test): Likewise.
20214         * string/test-strrchr.c (do_one_test): Likewise.
20215         (do_test): Likewise.
20216         * string/test-strspn.c (do_one_test): Likewise.
20217         (do_test): Likewise.
20218         * string/test-strstr.c (do_one_test): Likewise.
20219         (do_test): Likewise.
20220
20221         * benchtests/Makefile (string-bench): Add string benchmarks.
20222         * benchtests/bench-bcopy-ifunc.c: New file.
20223         * benchtests/bench-bcopy.c: New file.
20224         * benchtests/bench-bzero-ifunc.c: New file.
20225         * benchtests/bench-bzero.c: New file.
20226         * benchtests/bench-memccpy-ifunc.c: New file.
20227         * benchtests/bench-memccpy.c: New file.
20228         * benchtests/bench-memchr-ifunc.c: New file.
20229         * benchtests/bench-memchr.c: New file.
20230         * benchtests/bench-memcmp-ifunc.c: New file.
20231         * benchtests/bench-memcmp.c: New file.
20232         * benchtests/bench-memmem-ifunc.c: New file.
20233         * benchtests/bench-memmem.c: New file.
20234         * benchtests/bench-memmove-ifunc.c: New file.
20235         * benchtests/bench-memmove.c: New file.
20236         * benchtests/bench-mempcpy-ifunc.c: New file.
20237         * benchtests/bench-mempcpy.c: New file.
20238         * benchtests/bench-memset-ifunc.c: New file.
20239         * benchtests/bench-memset.c: New file.
20240         * benchtests/bench-rawmemchr-ifunc.c: New file.
20241         * benchtests/bench-rawmemchr.c: New file.
20242         * benchtests/bench-stpcpy-ifunc.c: New file.
20243         * benchtests/bench-stpcpy.c: New file.
20244         * benchtests/bench-stpncpy-ifunc.c: New file.
20245         * benchtests/bench-stpncpy.c: New file.
20246         * benchtests/bench-strcasecmp-ifunc.c: New file.
20247         * benchtests/bench-strcasecmp.c: New file.
20248         * benchtests/bench-strcasestr-ifunc.c: New file.
20249         * benchtests/bench-strcasestr.c: New file.
20250         * benchtests/bench-strcat-ifunc.c: New file.
20251         * benchtests/bench-strcat.c: New file.
20252         * benchtests/bench-strchr-ifunc.c: New file.
20253         * benchtests/bench-strchr.c: New file.
20254         * benchtests/bench-strchrnul-ifunc.c: New file.
20255         * benchtests/bench-strchrnul.c: New file.
20256         * benchtests/bench-strcmp-ifunc.c: New file.
20257         * benchtests/bench-strcmp.c: New file.
20258         * benchtests/bench-strcpy-ifunc.c: New file.
20259         * benchtests/bench-strcpy.c: New file.
20260         * benchtests/bench-strcspn-ifunc.c: New file.
20261         * benchtests/bench-strcspn.c: New file.
20262         * benchtests/bench-strlen-ifunc.c: New file.
20263         * benchtests/bench-strlen.c: New file.
20264         * benchtests/bench-strncasecmp-ifunc.c: New file.
20265         * benchtests/bench-strncasecmp.c: New file.
20266         * benchtests/bench-strncat-ifunc.c: New file.
20267         * benchtests/bench-strncat.c: New file.
20268         * benchtests/bench-strncmp-ifunc.c: New file.
20269         * benchtests/bench-strncmp.c: New file.
20270         * benchtests/bench-strncpy-ifunc.c: New file.
20271         * benchtests/bench-strncpy.c: New file.
20272         * benchtests/bench-strnlen-ifunc.c: New file.
20273         * benchtests/bench-strnlen.c: New file.
20274         * benchtests/bench-strpbrk-ifunc.c: New file.
20275         * benchtests/bench-strpbrk.c: New file.
20276         * benchtests/bench-strrchr-ifunc.c: New file.
20277         * benchtests/bench-strrchr.c: New file.
20278         * benchtests/bench-strspn-ifunc.c: New file.
20279         * benchtests/bench-strspn.c: New file.
20280         * benchtests/bench-strstr-ifunc.c: New file.
20281         * benchtests/bench-strstr.c: New file.
20282
20283         * benchtests/Makefile: Disable parallel execution of targets.
20284         (string-bench): Add memcpy.
20285         (benchset): New variable to store a list of benchmark sets.
20286         (bench-func): Renamed from bench.
20287         (bench-set): New target.
20288         (bench): Depend on bench-func and bench-set.
20289         * benchtests/README: Add section on benchmark sets.
20290         * benchtests/bench-memcpy-ifunc.c: New file.
20291         * benchtests/bench-memcpy.c: New file.
20292         * benchtests/bench-string.h: New file.
20293
20294 2013-06-11  Andreas Schwab  <schwab@suse.de>
20295
20296         [BZ #15577]
20297         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20298         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20299         values in the triple.
20300         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20301         terminator in the group key.
20302
20303 2013-06-11  Andreas Jaeger  <aj@suse.de>
20304
20305         * po/zh_TW.po: Update Chinese (traditional) translation from
20306         translation project.
20307
20308 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20309
20310         * include/time.h (__clock_gettime): Add libc_hidden_proto.
20311         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20312         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
20313         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20314         (clock_getcpuclockid): Likewise.
20315         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20316         Add weak_alias and libc_hidden_def.
20317         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20318         * rt/clock_gettime.c (clock_gettime): Rename to
20319         __clock_gettime.  Add weak_alias and libc_hidden_def.
20320         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20321         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20322         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
20323         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20324         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20325         Likewise.
20326         * rt/clock_settime.c (clock_settime): Rename to
20327         __clock_settime.  Add weak_alias and libc_hidden_def.
20328         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20329
20330 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
20331
20332         * mach/err_boot.sub: Remove trailing whitespace.
20333         * mach/err_ipc.sub: Likewise.
20334         * mach/err_mach.sub: Likewise.
20335
20336         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20337         (ROUNDING_TESTS_double): Likewise.
20338         (ROUNDING_TESTS_long_double): Likewise.
20339         (ROUNDING_TESTS): Likewise.
20340         * math/libm-test.inc: Include <math-tests.h>.
20341         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20342         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20343         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20344         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20345
20346 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20347
20348         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20349         of assigning.
20350
20351 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
20352
20353         * sysdeps/gnu/errlist.awk: Do not generate space at end of
20354         otherwise empty TRANS lines.
20355         * sysdeps/gnu/errlist.c: Regenerated.
20356
20357         * catgets/gencat.c (error_print): Use (void) in function
20358         definition.
20359         * crypt/crypt_util.c (__init_des): Likewise.
20360         * crypt/speeds.c (Stop): Likewise.
20361         (main): Likewise.
20362         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20363         * inet/ruserpass.c (token): Likewise.
20364         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20365         * intl/localealias.c (extend_alias_table): Likewise.
20366         * intl/plural-exp.c (init_germanic_plural): Likewise.
20367         * libio/fcloseall.c (__fcloseall): Likewise.
20368         * libio/genops.c (_IO_flush_all): Likewise.
20369         (_IO_flush_all_linebuffered): Likewise.
20370         (_IO_cleanup): Likewise.
20371         (_IO_iter_begin): Likewise.
20372         (_IO_iter_end): Likewise.
20373         (_IO_list_lock): Likewise.
20374         (_IO_list_unlock): Likewise.
20375         (_IO_list_resetlock): Likewise.
20376         * libio/getchar.c (getchar): Likewise.
20377         * libio/getchar_u.c (getchar_unlocked): Likewise.
20378         * libio/getwchar.c (getwchar): Likewise.
20379         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20380         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20381         * login/getpt.c (__getpt): Likewise.
20382         * login/tst-utmp.c (main): Likewise.
20383         * malloc/hooks.c (__malloc_check_init): Likewise.
20384         * malloc/malloc.c (__malloc_stats): Likewise.
20385         * malloc/mtrace.c (tr_break): Likewise.
20386         (mtrace): Likewise.
20387         (muntrace): Likewise.
20388         * misc/fstab.c (endfsent): Likewise.
20389         * misc/getclktck.c (__getclktck): Likewise.
20390         * misc/getdtsz.c (__getdtablesize): Likewise.
20391         * misc/gethostid.c (gethostid): Likewise.
20392         * misc/getpagesize.c (__getpagesize): Likewise.
20393         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20394         (__get_nprocs): Likewise.
20395         (__get_phys_pages): Likewise.
20396         (__get_avphys_pages): Likewise.
20397         * misc/getttyent.c (getttyent): Likewise.
20398         (setttyent): Likewise.
20399         (endttyent): Likewise.
20400         * misc/getusershell.c (getusershell): Likewise.
20401         (endusershell): Likewise.
20402         (setusershell): Likewise.
20403         (initshells): Likewise.
20404         * misc/hsearch.c (__hdestroy): Likewise.
20405         * misc/sync.c (sync): Likewise.
20406         * misc/syslog.c (closelog_internal): Likewise.
20407         (closelog): Likewise.
20408         * misc/ttyslot.c (ttyslot): Likewise.
20409         * misc/vhangup.c (vhangup): Likewise.
20410         * posix/fork.c (__fork): Likewise.
20411         * posix/getegid.c (__getegid): Likewise.
20412         * posix/geteuid.c (__geteuid): Likewise.
20413         * posix/getgid.c (__getgid): Likewise.
20414         * posix/getpid.c (__getpid): Likewise.
20415         * posix/getppid.c (__getppid): Likewise.
20416         * posix/getuid.c (__getuid): Likewise.
20417         * posix/pause.c (pause): Likewise.
20418         * posix/setpgrp.c (setpgrp): Likewise.
20419         * posix/setsid.c (__setsid): Likewise.
20420         * posix/test-vfork.c (noop): Likewise.
20421         * resolv/gethnamaddr.c (_endhtent): Likewise.
20422         (_gethtent): Likewise.
20423         (ht_endhostent): Likewise.
20424         (gethostent): Likewise.
20425         (dns_service): Likewise.
20426         * stdlib/drand48.c (drand48): Likewise.
20427         * stdlib/lrand48.c (lrand48): Likewise.
20428         * stdlib/mrand48.c (mrand48): Likewise.
20429         * stdlib/rand.c (rand): Likewise.
20430         * stdlib/random.c (__random): Likewise.
20431         * stdlib/setenv.c (clearenv): Likewise.
20432         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20433         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20434         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20435         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20436         (__get_nprocs): Likewise.
20437         (__get_phys_pages): Likewise.
20438         (__get_avphys_pages): Likewise.
20439         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20440         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20441         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20442         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20443         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20444         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20445         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20446         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20447         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20448         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20449         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20450         * sysdeps/mach/hurd/sync.c (sync): Likewise.
20451         * sysdeps/posix/clock.c (clock): Likewise.
20452         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20453         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20454         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20455         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20456         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20457         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20458         (__get_nprocs_conf): Likewise.
20459         (__get_phys_pages): Likewise.
20460         (__get_avphys_pages): Likewise.
20461         * time/clock.c (clock): Likewise.
20462         * time/tzset.c (__tzname_max): Likewise.
20463
20464 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
20465
20466         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20467         (__bswap_32): Do not use "register".
20468         * crypt/crypt.c (_ufc_doit_r): Likewise.
20469         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20470         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20471         * gmon/gmon.c (__monstartup): Likewise.
20472         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20473         * hurd/hurdmalloc.c (more_memory): Likewise.
20474         (malloc): Likewise.
20475         (free): Likewise.
20476         (realloc): Likewise.
20477         (malloc_fork_prepare): Likewise.
20478         (malloc_fork_parent): Likewise.
20479         (malloc_fork_child): Likewise.
20480         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20481         (_svcauth_des): Likewise.
20482         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20483         * inet/inet_net.c (inet_network): Likewise.
20484         * inet/inet_netof.c (inet_netof): Likewise.
20485         * inet/rcmd.c (__validuser2_sa): Likewise.
20486         * io/fts.c (fts_open): Likewise.
20487         (fts_load): Likewise.
20488         (fts_close): Likewise.
20489         (fts_read): Likewise.
20490         (fts_children): Likewise.
20491         (fts_build): Likewise.
20492         (fts_stat): Likewise.
20493         (fts_sort): Likewise.
20494         (fts_alloc): Likewise.
20495         (fts_lfree): Likewise.
20496         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20497         (_IO_file_xsgetn): Likewise.
20498         (_IO_file_xsgetn_mmap): Likewise.
20499         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20500         (_IO_cookie_write): Likewise.
20501         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20502         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20503         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20504         * malloc/obstack.c (_obstack_begin): Likewise.
20505         (_obstack_begin_1): Likewise.
20506         (_obstack_newchunk): Likewise.
20507         (_obstack_allocated_p): Likewise.
20508         (obstack_free): Likewise.
20509         (_obstack_memory_used): Likewise.
20510         * misc/getttyent.c (getttynam): Likewise.
20511         (getttyent): Likewise.
20512         (skip): Likewise.
20513         (value): Likewise.
20514         * misc/getusershell.c (initshells): Likewise.
20515         * misc/syslog.c (__vsyslog_chk): Likewise.
20516         * misc/ttyslot.c (ttyslot): Likewise.
20517         * nis/nis_hash.c (__nis_hash): Likewise.
20518         * posix/fnmatch_loop.c (FCT): Likewise.
20519         * posix/getconf.c (print_all): Likewise.
20520         (main): Likewise.
20521         * posix/getopt.c (exchange): Likewise.
20522         * posix/glob.c (globfree): Likewise.
20523         (prefix_array): Likewise.
20524         (__glob_pattern_type): Likewise.
20525         * resolv/arpa/nameser.h (NS_GET16): Likewise.
20526         (NS_GET32): Likewise.
20527         (NS_PUT16): Likewise.
20528         (NS_PUT32): Likewise.
20529         * resolv/gethnamaddr.c (getanswer): Likewise.
20530         (gethostbyname2): Likewise.
20531         (gethostbyaddr): Likewise.
20532         (_gethtent): Likewise.
20533         (_gethtbyname2): Likewise.
20534         (_gethtbyaddr): Likewise.
20535         * resolv/ns_print.c (dst_s_get_int16): Likewise.
20536         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20537         * resolv/res_init.c (__res_vinit): Likewise.
20538         (net_mask): Likewise.
20539         * resolv/res_mkquery.c (outchar): Likewise.
20540         (PRINT): Likewise.
20541         * stdio-common/printf_fp.c (outchar): Likewise.
20542         (PRINT): Likewise.
20543         * stdio-common/printf_fphex.c (outchar): Likewise.
20544         (PRINT): Likewise.
20545         * stdio-common/printf_size.c (outchar): Likewise.
20546         (PRINT): Likewise.
20547         * stdio-common/test_rdwr.c (main): Likewise.
20548         * stdio-common/tfformat.c (matches): Likewise.
20549         * stdio-common/vfprintf.c (outchar): Likewise.
20550         (printf_unknown): Likewise.
20551         (buffered_vfprintf): Likewise.
20552         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20553         * stdio-common/xbug.c (AppendToBuffer): Likewise.
20554         (ReadFile): Likewise.
20555         * stdlib/qsort.c (SWAP): Likewise.
20556         (_quicksort): Likewise.
20557         * stdlib/setenv.c (__add_to_environ): Likewise.
20558         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20559         * stdlib/strtol_l.c (__strtol_l): Likewise.
20560         * stdlib/tst-strtod.c (main): Likewise.
20561         * stdlib/tst-strtol.c (main): Likewise.
20562         * stdlib/tst-strtoll.c (main): Likewise.
20563         * string/bits/string2.h (__strcmp_cc): Likewise.
20564         (__strcmp_cg): Likewise.
20565         (__strcspn_c1): Likewise.
20566         (__strcspn_c2): Likewise.
20567         (__strcspn_c3): Likewise.
20568         (__strspn_c1): Likewise.
20569         (__strspn_c2): Likewise.
20570         (__strspn_c3): Likewise.
20571         (__strsep_1c): Likewise.
20572         (__strsep_2c): Likewise.
20573         (__strsep_3c): Likewise.
20574         * string/memccpy.c (__memccpy): Likewise.
20575         * string/stpcpy.c (__stpcpy): Likewise.
20576         * string/strcmp.c (strcmp): Likewise.
20577         * string/strrchr.c (strrchr): Likewise.
20578         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20579         Likewise.
20580         * sysdeps/mach/hurd/getcwd.c
20581         (_hurd_canonicalize_directory_name_internal): Likewise.
20582         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20583         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20584         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20585         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20586         Likewise, in both definitions.
20587         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20588         definitions.
20589         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20590         64] (__bswap_64): Likewise.
20591         * time/test_time.c (main): Likewise.
20592         * time/tzfile.c (__tzfile_read): Likewise.
20593         (__tzfile_compute): Likewise.
20594         * time/tzset.c (__tzset_parse_tz): Likewise.
20595         (tzset_internal): Likewise.
20596         (compute_change): Likewise.
20597         * wcsmbs/wcscat.c (__wcscat): Likewise.
20598         * wcsmbs/wcschr.c (wcschr): Likewise.
20599         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20600         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20601         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20602         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20603         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20604         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20605         * wcsmbs/wmemchr.c (wmemchr): Likewise.
20606         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20607         * wcsmbs/wmemset.c (wmemset): Likewise.
20608
20609 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
20610
20611         * scripts/config.guess: Update to version 2013-05-16.
20612         * scripts/config.sub: Update to version 2013-04-24.
20613         * scripts/install-sh: Update to version 2011-11-20.07.
20614         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20615         * scripts/move-if-change: Update to version 2012-01-06 07:23.
20616
20617 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
20618
20619         * debug/fgetws_u_chk.c: Fix leading whitespaces.
20620         * elf/sln.c: Likewise.
20621         * hurd/hurd/ioctl.h: Likewise.
20622         * hurd/hurdmalloc.c: Likewise.
20623         * hurd/xattr.c: Likewise.
20624         * include/shlib-compat.h: Likewise.
20625         * inet/ruserpass.c: Likewise.
20626         * libio/iofgets_u.c: Likewise.
20627         * libio/iofgetws_u.c: Likewise.
20628         * locale/programs/ld-identification.c: Likewise.
20629         * locale/programs/ld-time.c: Likewise.
20630         * mach/msg-destroy.c: Likewise.
20631         * nss/nss_files/files-netgrp.c: Likewise.
20632         * resolv/res_data.c: Likewise.
20633         * soft-fp/op-1.h: Likewise.
20634         * soft-fp/op-2.h: Likewise.
20635         * soft-fp/op-4.h: Likewise.
20636         * soft-fp/op-common.h: Likewise.
20637         * stdio-common/printf_fphex.c: Likewise.
20638         * stdlib/strtod_l.c: Likewise.
20639         * sunrpc/rpc/clnt.h: Likewise.
20640         * sysdeps/generic/framestate.c: Likewise.
20641         * sysdeps/i386/bsd-_setjmp.S: Likewise.
20642         * sysdeps/i386/bsd-setjmp.S: Likewise.
20643         * sysdeps/i386/__longjmp.S: Likewise.
20644         * sysdeps/i386/setjmp.S: Likewise.
20645         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20646         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20647         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20648         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20649         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20650         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20651         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20652         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20653         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20654         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20655         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20656         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20657         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20658         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20659         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20660         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20661         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20662         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20663         * sysdeps/ieee754/support.c: Likewise.
20664         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20665         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20666         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20667         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20668         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20669         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20670         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20671         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20672         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20673         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20674         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20675         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20676         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20677         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20678         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20679         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20680         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20682
20683 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
20684
20685         * posix/transbug.c: Remove executable mode.
20686
20687 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
20688
20689         * crypt/speeds.c: Remove trailing whitespace.
20690         * dlfcn/default.c: Likewise.
20691         * elf/ifuncdep2.c: Likewise.
20692         * elf/ifuncmain1.c: Likewise.
20693         * elf/ifuncmain1vis.c: Likewise.
20694         * elf/testobj.h: Likewise.
20695         * elf/tst-stackguard1.c: Likewise.
20696         * gmon/sys/gmon.h: Likewise.
20697         * hurd/hurdmsg.c: Likewise.
20698         * hurd/new-fd.c: Likewise.
20699         * hurd/ports-get.c: Likewise.
20700         * iconvdata/ibm1008_420.c: Likewise.
20701         * inet/tst-getni1.c: Likewise.
20702         * inet/tst-getni2.c: Likewise.
20703         * libio/ioungetc.c: Likewise.
20704         * libio/wfiledoalloc.c: Likewise.
20705         * manual/libm-err-tab.pl: Likewise.
20706         * math/w_dremf.c: Likewise.
20707         * misc/ftruncate.c: Likewise.
20708         * posix/bug-glob2.c: Likewise.
20709         * posix/tst-pcre.c: Likewise.
20710         * posix/wait4.c: Likewise.
20711         * resolv/README: Likewise.
20712         * resolv/res_debug.h: Likewise.
20713         * resolv/tst-inet_ntop.c: Likewise.
20714         * setjmp/bug269-setjmp.c: Likewise.
20715         * soft-fp/extended.h: Likewise.
20716         * soft-fp/op-1.h: Likewise.
20717         * soft-fp/op-2.h: Likewise.
20718         * soft-fp/op-4.h: Likewise.
20719         * soft-fp/op-8.h: Likewise.
20720         * soft-fp/testit.c: Likewise.
20721         * stdio-common/bug16.c: Likewise.
20722         * stdlib/random.c: Likewise.
20723         * sunrpc/rpcsvc/rquota.x: Likewise.
20724         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20725         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20726         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20727         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20728         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20729         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20730         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20731         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20732         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20733         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20734         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20735         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20736         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20737         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20738         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20739         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20740         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20741         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20742         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20743         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20744         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20745         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20746         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20747         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20748         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20749         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20750         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20751         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20752         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20753         * sysdeps/ieee754/s_lib_version.c: Likewise.
20754         * sysdeps/mach/hurd/check_fds.c: Likewise.
20755         * sysdeps/mach/hurd/getsockname.c: Likewise.
20756         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20757         * sysdeps/mach/hurd/recvfrom.c: Likewise.
20758         * sysdeps/powerpc/bits/link.h: Likewise.
20759         * sysdeps/powerpc/dl-procinfo.c: Likewise.
20760         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20761         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20762         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20763         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20764         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20765         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20766         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20767         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20768         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20769         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20770         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20771         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20772         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20773         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20774         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20775         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20776         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20777         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20778         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20779         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20780         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20781         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20782         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20783         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20784         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20785         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20786         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20787         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20788         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20789         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20790         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20791         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20792         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20793         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20794         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20795         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20796         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20797         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20798         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20799         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20800         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20801         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20802         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20803         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20804         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20805         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20806         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20807         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20808         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20809         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20810         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20811         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20812         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20813         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20814         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20815         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20816         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20817         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20818         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20819         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20820         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20821         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20822         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20823         * sysdeps/powerpc/sysdep.h: Likewise.
20824         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20825         * sysdeps/s390/s390-64/sub_n.S: Likewise.
20826         * sysdeps/sh/dl-trampoline.S: Likewise.
20827         * sysdeps/sh/memset.S: Likewise.
20828         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20829         * sysdeps/sh/strlen.S: Likewise.
20830         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20831         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20832         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20833         * sysdeps/sparc/sparc32/rem.S: Likewise.
20834         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20835         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20836         * sysdeps/sparc/sparc32/strchr.S: Likewise.
20837         * sysdeps/sparc/sparc32/udiv.S: Likewise.
20838         * sysdeps/sparc/sparc32/urem.S: Likewise.
20839         * sysdeps/sparc/sparc64/add_n.S: Likewise.
20840         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20841         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20842         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20843         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20844         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20845         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20846         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20847         * sysdeps/unix/bsd/times.c: Likewise.
20848         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20849         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20853         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20854         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20855         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20856         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20857         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20858         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20859         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20860         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20861         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20862         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20863         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20864         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20865         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20866         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20867         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20868         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20869         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20870         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20871         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20872         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20873         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20874         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20875         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20876         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20877         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20878         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20879         * sysdeps/x86_64/strcspn.S: Likewise.
20880
20881 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20882
20883         * locale/C-translit.h: Revert #include <stdint.h> because this is a
20884         generated file.  Regenerate properly from gen-translit.pl.
20885         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
20886         locale/C-translit.h.
20887
20888 2013-06-05  Andreas Schwab  <schwab@suse.de>
20889
20890         [BZ #15100]
20891         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20892         week as 6 instead of -1.
20893         * time/tst-strptime.c (day_tests): Add test case.
20894
20895 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20896
20897         * sysdeps/generic/math_private.h
20898         (libc_feholdexcept_setround_53bit): Replace with
20899         libc_feholdsetround_53bit.
20900         (libc_feupdateenv_53bit): Replace with
20901         libc_feresetround_53bit.
20902         (SET_RESTORE_ROUND_53BIT): Adjust.
20903
20904 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20905
20906         * string/test-strchrnul.c: Add copyright header.
20907
20908         * posix/tst-getaddrinfo4.c: Increase test timeout.
20909
20910 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
20911
20912         [BZ #15536]
20913         * math/libm-test.inc (MAX_EXP): Remove
20914         (MIN_EXP): Define.
20915         (ulp): Use MIN_EXP - MANT_DIG.
20916         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20917
20918 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
20919
20920         * po/be.po: Revert last change.
20921         * po/zh_CN.po: Likewise.
20922         * po/header.pot: Likewise.
20923
20924 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
20925
20926         * Makefile ($(common-objpfx)linkobj/libc.so): Define
20927         link-libc-deps to empty as target-specific variable.
20928         * Makerules (link-libc-args): New variable.
20929         (libc-for-link): Likewise.
20930         (link-libc-deps): Likewise.
20931         (lib%.so): Depend on $(link-libc-deps).  Link with
20932         $(link-libc-args).
20933         (build-module): Link with $(link-libc-args).
20934         (build-module-asneeded): Likewise.
20935         (build-module-helper-objlist): Filter out $(link-libc-deps) from
20936         list of objects.
20937         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20938         target-specific variable.
20939         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20940         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20941         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20942         libc.
20943         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20944         libc and ld.so.
20945         ($(objpfx)libpcprofile.so): Likewise.
20946         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20947         libc_nonshared.a.
20948         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20949         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20950         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20951         $(link-libc-deps).
20952         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20953         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20954         * login/Makefile ($(objpfx)libutil.so): Likewise.
20955         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20956         * math/Makefile ($(objpfx)libm.so): Likewise.
20957         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20958         $(objpfx)libnsl.so): Define libc-for-link as target-specific
20959         variable instead of depending directly on libc.
20960         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20961         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20962         $(link-libc-deps).
20963         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20964         libc.
20965         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20966         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20967         ($(objpfx)libanl.so): Likewise.
20968         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20969         ld.so.
20970         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20971         $(link-libc-deps).
20972         * sysdeps/i386/fpu/Makefile: Remove file.
20973         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20974         ($(objpfx)libm.so): Remove dependency on ld.so.
20975
20976 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
20977
20978         [BZ # 15553]
20979         * nis/yp_xdr.c (XDRMAXNAME): Define.
20980         (XDRMAXRECORD): Define.
20981         (xdr_domainname): Use XDRMAXNAME.
20982         (xdr_mapname): Likewise.
20983         (xdr_peername): Likewise.
20984         (xdr_keydat): Use XDRMAXRECORD.
20985         (xdr_valdat): Likewise.
20986
20987 2013-05-30  Jeff Law  <law@redhat.com>
20988
20989         [BZ #14256]
20990         * manual/errno.texi (ESTALE): Update to account for more than
20991         just NFS file systems.
20992         * sysdeps/gnu/errlist.c: Regenerated.
20993
20994 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20995
20996         [BZ #15465]
20997         * elf/Makefile (tests): Add tst-null-argv.
20998         (modules-names):  Add tst-null-argv-lib.
20999         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21000         (tst-null-argv-ENV): Set environment for tst-null-argv.
21001         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21002         (RTLD_PROGNAME): New macro.
21003         * elf/tst-null-argv.c: New test case.
21004         * elf/tst-null-argv-lib.c: Library for test case.
21005         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21006         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21007         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21008         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21009         * elf/dl-init.c (call_init): Likewise.
21010         (_dl_init): Likewise.
21011         * elf/dl-load.c (print_search_path): Likewise.
21012         (_dl_map_object): Likewise.
21013         * elf/dl-lookup.c (do_lookup_x): Likewise.
21014         (add_dependency): Likewise.
21015         (_dl_lookup_symbol_x): Likewise.
21016         (_dl_debug_bindings): Likewise.
21017         * elf/dl-open.c (_dl_show_scope): Likewise.
21018         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21019         * elf/dl-version.c (match_symbol): Likewise.
21020         (_dl_check_map_versions): Likewise.
21021         * elf/rtld.c (dl_main): Likewise.
21022         (print_unresolved): Use RTLD_PROGNAME.
21023         (print_missing_version): Likewise.
21024         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21025         (elf_machine_rela): Likewise.
21026         * sysdeps/powerpc/powerpc32/dl-machine.c
21027         (__process_machine_rela): Likewise.
21028         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21029         Likewise.
21030         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21031         Likewise.
21032         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21033         Likewise.
21034         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21035         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21036         Likewise.
21037         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21038         Likewise.
21039         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21040
21041 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
21042
21043         * po/be.po: Add descriptive title.
21044         * po/zh_CN.po: Likewise.
21045         * po/header.pot: Likewise.
21046
21047 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
21048
21049         * locale/programs/locarchive.c (create_archive): Inlucde fname in
21050         error message.
21051         (enlarge_archive): Likewise.
21052
21053 2013-05-28  Ben North  <ben@redfrontdoor.org>
21054
21055         * manual/arith.texi (frexp): It is the magnitude of the return
21056         value which lies in [0.5, 1), not the return value itself.
21057
21058 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21059
21060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21061
21062 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
21063
21064         * stdio-common/bug26.c (main): Correct fscanf template.
21065
21066         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21067         declare _dl_skip_args.
21068
21069         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21070         Don't declare.
21071
21072         * manual/platform.texi: Add missing @end deftypefun.
21073
21074 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21075
21076         [BZ #15529]
21077         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21078         bit of mantissa of 2^16382.
21079         * math/libm-test.inc (hypot_test_data): Add more tests.
21080
21081         * math/libm-test.inc: Add drem and pow10 to list of tested
21082         functions.
21083         (pow10_test): New function.
21084         (drem_test): Likewise.
21085         (drem_test_tonearest): Likewise.
21086         (drem_test_towardzero): Likewise.
21087         (drem_test_downward): Likewise.
21088         (drem_test_upward): Likewise.
21089         (main): Call the new functions.
21090
21091         * math/libm-test.inc (finite_test_data): Remove.
21092         (finite_test): Run tests from isfinite_test_data.
21093         (gamma_test_data): Remove.
21094         (gamma_test): Run tests from lgamma_test_data.
21095         * sysdeps/i386/fpu/libm-test-ulps: Update.
21096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21097
21098 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21099
21100         * manual/platform.texi: Add PowerPC PPR function set documentation.
21101         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21102         implementation.
21103
21104 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
21105
21106         * math/libm-test.inc (MAX_EXP): Define.
21107         (ULPDIFF): Define.
21108         (ulp): New function.
21109         (check_float_internal): Use ULPDIFF.
21110         (cpow_test): Disable failing test.
21111         (check_ulp): Test ulp() implemetnation.
21112         (main): Call check_ulp before starting tests.
21113
21114 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21115
21116         * math/gen-libm-test.pl (generate_testfile): Do not handle
21117         START_DATA and END_DATA.
21118         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21119         END_DATA.
21120         (acos_tonearest_test_data): Likewise.
21121         (acos_towardzero_test_data): Likewise.
21122         (acos_downward_test_data): Likewise.
21123         (acos_upward_test_data): Likewise.
21124         (acosh_test_data): Likewise.
21125         (asin_test_data): Likewise.
21126         (asin_tonearest_test_data): Likewise.
21127         (asin_towardzero_test_data): Likewise.
21128         (asin_downward_test_data): Likewise.
21129         (asin_upward_test_data): Likewise.
21130         (asinh_test_data): Likewise.
21131         (atan_test_data): Likewise.
21132         (atanh_test_data): Likewise.
21133         (atan2_test_data): Likewise.
21134         (cabs_test_data): Likewise.
21135         (cacos_test_data): Likewise.
21136         (cacosh_test_data): Likewise.
21137         (carg_test_data): Likewise.
21138         (casin_test_data): Likewise.
21139         (casinh_test_data): Likewise.
21140         (catan_test_data): Likewise.
21141         (catanh_test_data): Likewise.
21142         (cbrt_test_data): Likewise.
21143         (ccos_test_data): Likewise.
21144         (ccosh_test_data): Likewise.
21145         (ceil_test_data): Likewise.
21146         (cexp_test_data): Likewise.
21147         (cimag_test_data): Likewise.
21148         (clog_test_data): Likewise.
21149         (clog10_test_data): Likewise.
21150         (conj_test_data): Likewise.
21151         (copysign_test_data): Likewise.
21152         (cos_test_data): Likewise.
21153         (cos_tonearest_test_data): Likewise.
21154         (cos_towardzero_test_data): Likewise.
21155         (cos_downward_test_data): Likewise.
21156         (cos_upward_test_data): Likewise.
21157         (cosh_test_data): Likewise.
21158         (cosh_tonearest_test_data): Likewise.
21159         (cosh_towardzero_test_data): Likewise.
21160         (cosh_downward_test_data): Likewise.
21161         (cosh_upward_test_data): Likewise.
21162         (cpow_test_data): Likewise.
21163         (cproj_test_data): Likewise.
21164         (creal_test_data): Likewise.
21165         (csin_test_data): Likewise.
21166         (csinh_test_data): Likewise.
21167         (csqrt_test_data): Likewise.
21168         (ctan_test_data): Likewise.
21169         (ctan_tonearest_test_data): Likewise.
21170         (ctan_towardzero_test_data): Likewise.
21171         (ctan_downward_test_data): Likewise.
21172         (ctan_upward_test_data): Likewise.
21173         (ctanh_test_data): Likewise.
21174         (ctanh_tonearest_test_data): Likewise.
21175         (ctanh_towardzero_test_data): Likewise.
21176         (ctanh_downward_test_data): Likewise.
21177         (ctanh_upward_test_data): Likewise.
21178         (erf_test_data): Likewise.
21179         (erfc_test_data): Likewise.
21180         (exp_test_data): Likewise.
21181         (exp_tonearest_test_data): Likewise.
21182         (exp_towardzero_test_data): Likewise.
21183         (exp_downward_test_data): Likewise.
21184         (exp_upward_test_data): Likewise.
21185         (exp10_test_data): Likewise.
21186         (exp2_test_data): Likewise.
21187         (expm1_test_data): Likewise.
21188         (fabs_test_data): Likewise.
21189         (fdim_test_data): Likewise.
21190         (finite_test_data): Likewise.
21191         (floor_test_data): Likewise.
21192         (fma_test_data): Likewise.
21193         (fma_towardzero_test_data): Likewise.
21194         (fma_downward_test_data): Likewise.
21195         (fma_upward_test_data): Likewise.
21196         (fmax_test_data): Likewise.
21197         (fmin_test_data): Likewise.
21198         (fmod_test_data): Likewise.
21199         (fpclassify_test_data): Likewise.
21200         (frexp_test_data): Likewise.
21201         (gamma_test_data): Likewise.
21202         (hypot_test_data): Likewise.
21203         (ilogb_test_data): Likewise.
21204         (isfinite_test_data): Likewise.
21205         (isgreater_test_data): Likewise.
21206         (isgreaterequal_test_data): Likewise.
21207         (isinf_test_data): Likewise.
21208         (isless_test_data): Likewise.
21209         (islessequal_test_data): Likewise.
21210         (islessgreater_test_data): Likewise.
21211         (isnan_test_data): Likewise.
21212         (isnormal_test_data): Likewise.
21213         (issignaling_test_data): Likewise.
21214         (isunordered_test_data): Likewise.
21215         (j0_test_data): Likewise.
21216         (j1_test_data): Likewise.
21217         (jn_test_data): Likewise.
21218         (ldexp_test_data): Likewise.
21219         (lgamma_test_data): Likewise.
21220         (lrint_test_data): Likewise.
21221         (lrint_tonearest_test_data): Likewise.
21222         (lrint_towardzero_test_data): Likewise.
21223         (lrint_downward_test_data): Likewise.
21224         (lrint_upward_test_data): Likewise.
21225         (llrint_test_data): Likewise.
21226         (llrint_tonearest_test_data): Likewise.
21227         (llrint_towardzero_test_data): Likewise.
21228         (llrint_downward_test_data): Likewise.
21229         (llrint_upward_test_data): Likewise.
21230         (log_test_data): Likewise.
21231         (log10_test_data): Likewise.
21232         (log1p_test_data): Likewise.
21233         (log2_test_data): Likewise.
21234         (logb_test_data): Likewise.
21235         (logb_downward_test_data): Likewise.
21236         (lround_test_data): Likewise.
21237         (llround_test_data): Likewise.
21238         (modf_test_data): Likewise.
21239         (nearbyint_test_data): Likewise.
21240         (nextafter_test_data): Likewise.
21241         (nexttoward_test_data): Likewise.
21242         (pow_test_data): Likewise.
21243         (pow_tonearest_test_data): Likewise.
21244         (pow_towardzero_test_data): Likewise.
21245         (pow_downward_test_data): Likewise.
21246         (pow_upward_test_data): Likewise.
21247         (remainder_test_data): Likewise.
21248         (remainder_tonearest_test_data): Likewise.
21249         (remainder_towardzero_test_data): Likewise.
21250         (remainder_downward_test_data): Likewise.
21251         (remainder_upward_test_data): Likewise.
21252         (remquo_test_data): Likewise.
21253         (rint_test_data): Likewise.
21254         (rint_tonearest_test_data): Likewise.
21255         (rint_towardzero_test_data): Likewise.
21256         (rint_downward_test_data): Likewise.
21257         (rint_upward_test_data): Likewise.
21258         (round_test_data): Likewise.
21259         (scalb_test_data): Likewise.
21260         (scalbn_test_data): Likewise.
21261         (scalbln_test_data): Likewise.
21262         (signbit_test_data): Likewise.
21263         (sin_test_data): Likewise.
21264         (sin_tonearest_test_data): Likewise.
21265         (sin_towardzero_test_data): Likewise.
21266         (sin_downward_test_data): Likewise.
21267         (sin_upward_test_data): Likewise.
21268         (sincos_test_data): Likewise.
21269         (sinh_test_data): Likewise.
21270         (sinh_tonearest_test_data): Likewise.
21271         (sinh_towardzero_test_data): Likewise.
21272         (sinh_downward_test_data): Likewise.
21273         (sinh_upward_test_data): Likewise.
21274         (sqrt_test_data): Likewise.
21275         (tan_test_data): Likewise.
21276         (tan_tonearest_test_data): Likewise.
21277         (tan_towardzero_test_data): Likewise.
21278         (tan_downward_test_data): Likewise.
21279         (tan_upward_test_data): Likewise.
21280         (tanh_test_data): Likewise.
21281         (tgamma_test_data): Likewise.
21282         (trunc_test_data): Likewise.
21283         (y0_test_data): Likewise.
21284         (y1_test_data): Likewise.
21285         (yn_test_data): Likewise.
21286         (significand_test_data): Likewise.
21287
21288         * math/gen-libm-test.pl (@functions): Remove variable.
21289         (generate_testfile): Don't handle START and END lines.
21290         * math/libm-test.inc (START): New macro.
21291         (END): Likewise.
21292         (END_COMPLEX): Likewise.
21293         (acos_test): Use END macro without arguments.
21294         (acos_test_tonearest): Likewise.
21295         (acos_test_towardzero): Likewise.
21296         (acos_test_downward): Likewise.
21297         (acos_test_upward): Likewise.
21298         (acosh_test): Likewise.
21299         (asin_test): Likewise.
21300         (asin_test_tonearest): Likewise.
21301         (asin_test_towardzero): Likewise.
21302         (asin_test_downward): Likewise.
21303         (asin_test_upward): Likewise.
21304         (asinh_test): Likewise.
21305         (atan_test): Likewise.
21306         (atanh_test): Likewise.
21307         (atan2_test): Likewise.
21308         (cabs_test): Likewise.
21309         (cacos_test): Use END_COMPLEX macro without arguments.
21310         (cacosh_test): Likewise.
21311         (carg_test): Use END macro without arguments.
21312         (casin_test): Use END_COMPLEX macro without arguments.
21313         (casinh_test): Likewise.
21314         (catan_test): Likewise.
21315         (catanh_test): Likewise.
21316         (cbrt_test): Use END macro without arguments.
21317         (ccos_test): Use END_COMPLEX macro without arguments.
21318         (ccosh_test): Likewise.
21319         (ceil_test): Use END macro without arguments.
21320         (cexp_test): Use END_COMPLEX macro without arguments.
21321         (cimag_test): Use END macro without arguments.
21322         (clog_test): Use END_COMPLEX macro without arguments.
21323         (clog10_test): Likewise.
21324         (conj_test): Likewise.
21325         (copysign_test): Use END macro without arguments.
21326         (cos_test): Likewise.
21327         (cos_test_tonearest): Likewise.
21328         (cos_test_towardzero): Likewise.
21329         (cos_test_downward): Likewise.
21330         (cos_test_upward): Likewise.
21331         (cosh_test): Likewise.
21332         (cosh_test_tonearest): Likewise.
21333         (cosh_test_towardzero): Likewise.
21334         (cosh_test_downward): Likewise.
21335         (cosh_test_upward): Likewise.
21336         (cpow_test): Use END_COMPLEX macro without arguments.
21337         (cproj_test): Likewise.
21338         (creal_test): Use END macro without arguments.
21339         (csin_test): Use END_COMPLEX macro without arguments.
21340         (csinh_test): Likewise.
21341         (csqrt_test): Likewise.
21342         (ctan_test): Likewise.
21343         (ctan_test_tonearest): Likewise.
21344         (ctan_test_towardzero): Likewise.
21345         (ctan_test_downward): Likewise.
21346         (ctan_test_upward): Likewise.
21347         (ctanh_test): Likewise.
21348         (ctanh_test_tonearest): Likewise.
21349         (ctanh_test_towardzero): Likewise.
21350         (ctanh_test_downward): Likewise.
21351         (ctanh_test_upward): Likewise.
21352         (erf_test): Use END macro without arguments.
21353         (erfc_test): Likewise.
21354         (exp_test): Likewise.
21355         (exp_test_tonearest): Likewise.
21356         (exp_test_towardzero): Likewise.
21357         (exp_test_downward): Likewise.
21358         (exp_test_upward): Likewise.
21359         (exp10_test): Likewise.
21360         (exp2_test): Likewise.
21361         (expm1_test): Likewise.
21362         (fabs_test): Likewise.
21363         (fdim_test): Likewise.
21364         (finite_test): Likewise.
21365         (floor_test): Likewise.
21366         (fma_test): Likewise.
21367         (fma_test_towardzero): Likewise.
21368         (fma_test_downward): Likewise.
21369         (fma_test_upward): Likewise.
21370         (fmax_test): Likewise.
21371         (fmin_test): Likewise.
21372         (fmod_test): Likewise.
21373         (fpclassify_test): Likewise.
21374         (frexp_test): Likewise.
21375         (gamma_test): Likewise.
21376         (hypot_test): Likewise.
21377         (ilogb_test): Likewise.
21378         (isfinite_test): Likewise.
21379         (isgreater_test): Likewise.
21380         (isgreaterequal_test): Likewise.
21381         (isinf_test): Likewise.
21382         (isless_test): Likewise.
21383         (islessequal_test): Likewise.
21384         (islessgreater_test): Likewise.
21385         (isnan_test): Likewise.
21386         (isnormal_test): Likewise.
21387         (issignaling_test): Likewise.
21388         (isunordered_test): Likewise.
21389         (j0_test): Likewise.
21390         (j1_test): Likewise.
21391         (jn_test): Likewise.
21392         (ldexp_test): Likewise.
21393         (lgamma_test): Likewise.
21394         (lrint_test): Likewise.
21395         (lrint_test_tonearest): Likewise.
21396         (lrint_test_towardzero): Likewise.
21397         (lrint_test_downward): Likewise.
21398         (lrint_test_upward): Likewise.
21399         (llrint_test): Likewise.
21400         (llrint_test_tonearest): Likewise.
21401         (llrint_test_towardzero): Likewise.
21402         (llrint_test_downward): Likewise.
21403         (llrint_test_upward): Likewise.
21404         (log_test): Likewise.
21405         (log10_test): Likewise.
21406         (log1p_test): Likewise.
21407         (log2_test): Likewise.
21408         (logb_test): Likewise.
21409         (logb_test_downward): Likewise.
21410         (lround_test): Likewise.
21411         (llround_test): Likewise.
21412         (modf_test): Likewise.
21413         (nearbyint_test): Likewise.
21414         (nextafter_test): Likewise.
21415         (nexttoward_test): Likewise.
21416         (pow_test): Likewise.
21417         (pow_test_tonearest): Likewise.
21418         (pow_test_towardzero): Likewise.
21419         (pow_test_downward): Likewise.
21420         (pow_test_upward): Likewise.
21421         (remainder_test): Likewise.
21422         (remainder_test_tonearest): Likewise.
21423         (remainder_test_towardzero): Likewise.
21424         (remainder_test_downward): Likewise.
21425         (remainder_test_upward): Likewise.
21426         (remquo_test): Likewise.
21427         (rint_test): Likewise.
21428         (rint_test_tonearest): Likewise.
21429         (rint_test_towardzero): Likewise.
21430         (rint_test_downward): Likewise.
21431         (rint_test_upward): Likewise.
21432         (round_test): Likewise.
21433         (scalb_test): Likewise.
21434         (scalbn_test): Likewise.
21435         (scalbln_test): Likewise.
21436         (signbit_test): Likewise.
21437         (sin_test): Likewise.
21438         (sin_test_tonearest): Likewise.
21439         (sin_test_towardzero): Likewise.
21440         (sin_test_downward): Likewise.
21441         (sin_test_upward): Likewise.
21442         (sincos_test): Likewise.
21443         (sinh_test): Likewise.
21444         (sinh_test_tonearest): Likewise.
21445         (sinh_test_towardzero): Likewise.
21446         (sinh_test_downward): Likewise.
21447         (sinh_test_upward): Likewise.
21448         (sqrt_test): Likewise.
21449         (tan_test): Likewise.
21450         (tan_test_tonearest): Likewise.
21451         (tan_test_towardzero): Likewise.
21452         (tan_test_downward): Likewise.
21453         (tan_test_upward): Likewise.
21454         (tanh_test): Likewise.
21455         (tgamma_test): Likewise.
21456         (trunc_test): Likewise.
21457         (y0_test): Likewise.
21458         (y1_test): Likewise.
21459         (yn_test): Likewise.
21460         (significand_test): Likewise.
21461
21462 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
21463
21464         [BZ #15381]
21465         * libio/genops.c (_IO_no_init): Initialize wide struct info.
21466
21467 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21468
21469         [BZ #14894]
21470         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21471         __ppc_mdoio and __ppc_mdoom.
21472         * manual/platform.texi: Document new functions __ppc_yield,
21473         __ppc_mdoio and __ppc_mdoom.
21474
21475 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
21476
21477         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21478         (main): Mention "tls" pseudo-hwcap is legacy.
21479         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21480
21481 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21482
21483         * math/gen-libm-test.pl (parse_args): Output only string of
21484         arguments as text for test name, not full call or descriptions of
21485         tests for extra outputs.
21486         (generate_testfile): Do not pass function name to parse_args.
21487         Generate this_func variable from START.
21488         * math/libm-test.inc (struct test_f_f_data): Rename test_name
21489         field to arg_str.
21490         (struct test_ff_f_data): Likewise.
21491         (test_ff_f_data_nexttoward): Likewise.
21492         (struct test_fi_f_data): Likewise.
21493         (struct test_fl_f_data): Likewise.
21494         (struct test_if_f_data): Likewise.
21495         (struct test_fff_f_data): Likewise.
21496         (struct test_c_f_data): Likewise.
21497         (struct test_f_f1_data): Likewise.  Remove field extra_name.
21498         (struct test_fF_f1_data): Likewise.
21499         (struct test_ffI_f1_data): Likewise.
21500         (struct test_c_c_data): Rename test_name field to arg_str.
21501         (struct test_cc_c_data): Likewise.
21502         (struct test_f_i_data): Likewise.
21503         (struct test_ff_i_data): Likewise.
21504         (struct test_f_l_data): Likewise.
21505         (struct test_f_L_data): Likewise.
21506         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
21507         and extra2_name.
21508         (COMMON_TEST_SETUP): New macro.
21509         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21510         (COMMON_TEST_CLEANUP): Likewise.
21511         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21512         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
21513         macros.
21514         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21515         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
21516         macros.
21517         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21518         (RUN_TEST_fff_f): Take argument string.  Call new setup and
21519         cleanup macros.
21520         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21521         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
21522         macros.
21523         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21524         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
21525         macros.
21526         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21527         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
21528         cleanup macros.
21529         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21530         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
21531         cleanup macros.
21532         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21533         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
21534         cleanup macros.
21535         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21536         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
21537         macros.
21538         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21539         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
21540         macros.
21541         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21542         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
21543         macros.
21544         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21545         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
21546         cleanup macros.
21547         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21548         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
21549         cleanup macros.
21550         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21551         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
21552         macros.
21553         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21554         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
21555         cleanup macros.
21556         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21557         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
21558         macros.
21559         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21560         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
21561         macros.
21562         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21563         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
21564         cleanup macros.
21565         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21566
21567 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
21568
21569         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21570         to _sifields.sigfault.
21571         (si_addr_lsb): Define new macro.
21572         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21573         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21574         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21575
21576 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
21577
21578         [BZ #15441]
21579         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21580         returns -1.
21581         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21582         null return -1.
21583         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21584         loading the domain.
21585
21586 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21587
21588         * math/gen-libm-test.pl (parse_args): Do not include expected
21589         result in test name.
21590         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21591         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21592         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21593         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21594         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21596
21597 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21598
21599         * benchtests/Makefile: Sort function entries.
21600
21601         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21602         tanh, asinh, acosh, atanh.
21603         * benchtests/acos-inputs: New file.
21604         * benchtests/acosh-inputs: New file.
21605         * benchtests/asin-inputs: New file.
21606         * benchtests/asinh-inputs: New file.
21607         * benchtests/atanh-inputs: New file.
21608         * benchtests/cosh-inputs: New file.
21609         * benchtests/log-inputs: New file.
21610         * benchtests/sinh-inputs: New file.
21611         * benchtests/tanh-inputs: New file.
21612
21613 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
21614
21615         [BZ #15339]
21616         * posix/tst-getaddrinfo4.c: New test.
21617         * posix/Makefile (tests): Add it.
21618
21619 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21620
21621         [BZ #15339]
21622         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21623         when no services were used.
21624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21625         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21626
21627 2013-05-21  Andreas Schwab  <schwab@suse.de>
21628
21629         [BZ #15014]
21630         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21631         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21632         successful.
21633         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21634         redundant variable declarations and reallocation of buffer when
21635         parsing as IPv6 address.  Always set NSS status when called from
21636         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
21637         buffer too small.  Correct computation of needed size.
21638         * nss/Makefile (tests): Add test-digits-dots.
21639         * nss/test-digits-dots.c: New test.
21640
21641 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21642
21643         * benchtests/Makefile: Remove instructions for adding
21644         benchmark tests.
21645         * benchtests/README: New file to explain how to execute and
21646         enhance the benchmark tests.
21647
21648 2013-05-21  Andreas Schwab  <schwab@suse.de>
21649
21650         [BZ #15493]
21651         * setjmp/Makefile (tests): Add tst-sigsetjmp.
21652         * setjmp/tst-sigsetjmp.c: New test.
21653
21654 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21655
21656         * sysdeps/x86_64/memset.S (memset): New implementation.
21657         (__bzero): Likewise.
21658         (__memset_tail): New function.
21659
21660 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21661
21662         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21663         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21664         __memcpy_sse2_unaligned ifunc selection.
21665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21666         Add memcpy-sse2-unaligned.S.
21667         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21668         Add: __memcpy_sse2_unaligned.
21669
21670 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
21671
21672         [BZ #15490]
21673         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21674         math_force_eval before restoring floating-point envrionment.
21675         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21676         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21677         Likewise.
21678         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21679         <math_private.h>.
21680         (__nearbyintl): Use math_force_eval before restoring
21681         floating-point environment.
21682         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21683
21684         * math/gen-libm-test.pl (special_functions): Remove.
21685         (parse_args): Don't handle TEST_extra.  Handle functions with no
21686         return value.
21687         * math/libm-test.inc (struct test_sincos_data): Replace with
21688         struct test_fFF_11_data.
21689         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21690         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21691         (sincos_test_data): Change element type to struct
21692         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
21693         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21694         RUN_TEST_LOOP_sincos.
21695         * math/README.libm-test: Don't mention special handling of
21696         individual functions.
21697         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21698         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21699         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21700         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21701         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21703
21704         * math/gen-libm-test.pl (get_variable): Remove function.
21705         (parse_args): Don't show pointer parameters to call in test
21706         names.  Use "extra output N" in test names for extra outputs
21707         rather than naming variables.
21708
21709 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
21710
21711         [BZ #15488]
21712         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21713         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21714         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21715         double tests.
21716         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21717         disable.
21718         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21719         check_long_double.
21720
21721         * math/gen-libm-test.pl (@tests): Remove variable.
21722         ($count): Likewise.
21723         (new_test): Remove function.
21724         (show_exceptions): New function.
21725         (special_functions): Use show_exceptions instead of new_test.
21726         (parse_args): Likewise.
21727         (generate_testfile): Pass only function name in generated call to
21728         print_max_error or print_complex_max_error.
21729         (get_ulps): Do not handle complex tests specially.
21730         (output_test): Rename to ...
21731         (get_all_ulps_for_test): ... this.  Return a string rather than
21732         printing to a file.  Require ulps to be present.
21733         (output_ulps): Generate arrays rather than #defines.
21734         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21735         (struct ulp_data): New type.
21736         (BUILD_COMPLEX_ULP): Remove macro.
21737         (compare_ulp_data): New function.
21738         (find_ulps): Likewise.
21739         (find_test_ulps): Likewise.
21740         (find_function_ulps): Likewise.
21741         (find_complex_function_ulps): Likewise.
21742         (print_max_error): Determine allowed ulps using
21743         find_function_ulps.
21744         (print_complex_max_error): Determine allowed ulps using
21745         find_complex_function_ulps.
21746         (check_float_internal): Determine max ulps using find_test_ulps.
21747         (check_float): Do not take max_ulp parameter.  Update call to
21748         check_float_internal.
21749         (check_complex): Likewise.
21750         (check_int): Do not take max_ulp parameter.
21751         (check_long): Likewise.
21752         (check_bool): Likewise.
21753         (check_longlong): Likewise.
21754         (struct test_f_f_data): Remove max_ulp field.
21755         (struct test_ff_f_data): Likewise.
21756         (struct test_ff_f_data_nexttoward): Likewise.
21757         (struct test_fi_f_data): Likewise.
21758         (struct test_fl_f_data): Likewise.
21759         (struct test_if_f_data): Likewise.
21760         (struct test_fff_f_data): Likewise.
21761         (struct test_c_f_data): Likewise.
21762         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21763         (struct test_fF_f1_data): Likewise.
21764         (struct test_ffI_f1_data): Likewise.
21765         (struct test_c_c_data): Remove max_ulp field.
21766         (struct test_cc_c_data): Likewise.
21767         (struct test_f_i_data): Likewise.
21768         (struct test_ff_i_data): Likewise.
21769         (struct test_f_l_data): Likewise.
21770         (struct test_f_L_data): Likewise.
21771         (struct test_sincos_data): Likewise.
21772         (RUN_TEST_f_f): Do not handle ulps.
21773         (RUN_TEST_LOOP_f_f): Likewise.
21774         (RUN_TEST_2_f): Likewise.
21775         (RUN_TEST_LOOP_2_f): Likewise.
21776         (RUN_TEST_fff_f): Likewise.
21777         (RUN_TEST_LOOP_fff_f): Likewise.
21778         (RUN_TEST_c_f): Likewise.
21779         (RUN_TEST_LOOP_c_f): Likewise.
21780         (RUN_TEST_f_f1): Likewise.
21781         (RUN_TEST_LOOP_f_f1): Likewise.
21782         (RUN_TEST_fF_f1): Likewise.
21783         (RUN_TEST_LOOP_fF_f1): Likewise.
21784         (RUN_TEST_fI_f1): Likewise.
21785         (RUN_TEST_LOOP_fI_f1): Likewise.
21786         (RUN_TEST_ffI_f1): Likewise.
21787         (RUN_TEST_LOOP_ffI_f1): Likewise.
21788         (RUN_TEST_c_c): Likewise.
21789         (RUN_TEST_LOOP_c_c): Likewise.
21790         (RUN_TEST_cc_c): Likewise.
21791         (RUN_TEST_LOOP_cc_c): Likewise.
21792         (RUN_TEST_f_i): Likewise.
21793         (RUN_TEST_LOOP_f_i): Likewise.
21794         (RUN_TEST_f_i_tg): Likewise.
21795         (RUN_TEST_LOOP_f_i_tg): Likewise.
21796         (RUN_TEST_ff_i_tg): Likewise.
21797         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21798         (RUN_TEST_f_b): Likewise.
21799         (RUN_TEST_LOOP_f_b): Likewise.
21800         (RUN_TEST_f_b_tg): Likewise.
21801         (RUN_TEST_LOOP_f_b_tg): Likewise.
21802         (RUN_TEST_f_l): Likewise.
21803         (RUN_TEST_LOOP_f_l): Likewise.
21804         (RUN_TEST_f_L): Likewise.
21805         (RUN_TEST_LOOP_f_L): Likewise.
21806         (RUN_TEST_sincos): Likewise.
21807         (RUN_TEST_LOOP_sincos): Likewise.
21808
21809 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
21810
21811         [BZ #15480]
21812         [BZ #15485]
21813         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21814         main case of finite arguments, set rounding mode to FE_TONEAREST
21815         and discard exceptions.
21816         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21817         exceptions.
21818         (remainder_tonearest_test_data): New variable.
21819         (remainder_test_tonearest): New function.
21820         (remainder_towardzero_test_data): New variable.
21821         (remainder_test_towardzero): New function.
21822         (remainder_downward_test_data): New variable.
21823         (remainder_test_downward): New function.
21824         (remainder_upward_test_data): New variable.
21825         (remainder_test_upward): New function.
21826         (main): Call the new test functions.
21827
21828         * math/libm-test.inc (struct test_f_f1_data): Remove field
21829         extra_init.
21830         (struct test_fF_f1_data): Likewise.
21831         (struct test_ffI_f1_data): Likewise.
21832         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
21833         based on value of EXTRA_EXPECTED.
21834         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21835         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
21836         EXTRA_VAR based on value of EXTRA_EXPECTED.
21837         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21838         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
21839         EXTRA_VAR based on value of EXTRA_EXPECTED.
21840         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21841         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
21842         EXTRA_VAR based on value of EXTRA_EXPECTED.
21843         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21844         * math/gen-libm-test.pl (parse_args): Don't output initializers
21845         for extra output values.
21846
21847         * math/libm-test.inc (check_int): Expect result to be exactly
21848         equal to expected value and do not handle ulps.
21849         (check_long): Likewise.
21850         (check_longlong): Likewise.
21851
21852         * math/libm-test.inc (ceil_test_data): Test for "inexact"
21853         exceptions.
21854         (cimag_test_data): Likewise.
21855         (conj_test_data): Likewise.
21856         (copysign_test_data): Likewise.
21857         (cproj_test_data): Likewise.
21858         (creal_test_data): Likewise.
21859         (fabs_test_data): Likewise.
21860         (fdim_test_data): Likewise.
21861         (finite_test_data): Likewise.
21862         (floor_test_data): Likewise.
21863         (fmax_test_data): Likewise.
21864         (fmin_test_data): Likewise.
21865         (fmod_test_data): Likewise.
21866         (fpclassify_test_data): Likewise.
21867         (frexp_test_data): Likewise.
21868         (ilogb_test_data): Likewise.
21869         (isfinite_test_data): Likewise.
21870         (isgreater_test_data): Likewise.
21871         (isgreaterequal_test_data): Likewise.
21872         (isinf_test_data): Likewise.
21873         (isless_test_data): Likewise.
21874         (islessequal_test_data): Likewise.
21875         (islessgreater_test_data): Likewise.
21876         (isnan_test_data): Likewise.
21877         (isnormal_test_data): Likewise.
21878         (issignaling_test_data): Likewise.
21879         (isunordered_test_data): Likewise.
21880         (ldexp_test_data): Likewise.
21881         (lrint_test_data): Likewise.
21882         (lrint_test_data) [TEST_FLOAT]: Disable one test.
21883         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21884         (lrint_tonearest_test_data): Test for "inexact" exceptions.
21885         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21886         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21887         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21888         test input.
21889         (lrint_towardzero_test_data): Test for "inexact" exceptions.
21890         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21891         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21892         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21893         that test input.
21894         (lrint_downward_test_data): Test for "inexact" exceptions.
21895         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21896         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21897         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21898         test input.
21899         (lrint_upward_test_data): Test for "inexact" exceptions.
21900         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21901         test input.
21902         (llrint_test_data): Test for "inexact" exceptions.
21903         (llrint_test_data) [TEST_FLOAT]: Disable one test.
21904         (llrint_tonearest_test_data): Test for "inexact" exceptions.
21905         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21906         (llrint_towardzero_test_data): Test for "inexact" exceptions.
21907         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21908         (llrint_downward_test_data): Test for "inexact" exceptions.
21909         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21910         (llrint_upward_test_data): Test for "inexact" exceptions.
21911         (logb_test_data): Likewise.
21912         (logb_downward_test_data): Likewise.
21913         (nextafter_test_data): Likewise.
21914         (nexttoward_test_data): Likewise.
21915         (remainder_test_data): Likewise.
21916         (remquo_test_data): Likewise.
21917         (scalbn_test_data): Likewise.
21918         (scalbln_test_data): Likewise.
21919         (signbit_test_data): Likewise.
21920         (sqrt_test_data): Likewise.
21921         (significand_test_data): Likewise.
21922
21923 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21924
21925         [BZ #15424]
21926         * benchtests/bench-modf.c (struct args): Mark arg0 as
21927         volatile.
21928         * scripts/bench.pl: Mark members of struct args as volatile.
21929
21930 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21931
21932         [BZ # 15497]
21933         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21934         negative infinity on POWER6 or lower.
21935         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21936
21937 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21938
21939         [BZ #15442]
21940         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21941         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21942         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21943         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21944         (_FP_SETQNAN): New macro.
21945         (_FP_SETQNAN_SEMIRAW): Likewise.
21946         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21947         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21948         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21949         (FP_EXTEND): Use _FP_FRAC_SNANP.
21950         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21951         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21952         into account.
21953         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21954         New macro.
21955         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21956         Likewise.
21957
21958 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21959
21960         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21961         with DIVIDE_BY_ZERO_EXCEPTION.
21962         (gamma_test_data): Likewise.
21963         (lgamma_test_data): Likewise.
21964         (log_test_data): Likewise.
21965         (log10_test_data): Likewise.
21966         (log2_test_data): Likewise.
21967         (tgamma_test_data): Likewise.
21968
21969         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21970         (acos_test_tonearest): Likewise.
21971         (acos_test_towardzero): Likewise.
21972         (acos_test_downward): Likewise.
21973         (acos_test_upward): Likewise.
21974         (acosh_test): Likewise.
21975         (asin_test): Likewise.
21976         (asin_test_tonearest): Likewise.
21977         (asin_test_towardzero): Likewise.
21978         (asin_test_downward): Likewise.
21979         (asin_test_upward): Likewise.
21980         (asinh_test): Likewise.
21981         (atan_test): Likewise.
21982         (atanh_test): Likewise.
21983         (atan2_test): Likewise.
21984         (cabs_test): Likewise.
21985         (cacos_test): Likewise.
21986         (cacosh_test): Likewise.
21987         (casin_test): Likewise.
21988         (casinh_test): Likewise.
21989         (catan_test): Likewise.
21990         (catanh_test): Likewise.
21991         (cbrt_test): Likewise.
21992         (ccos_test): Likewise.
21993         (ccosh_test): Likewise.
21994         (cexp_test): Likewise.
21995         (clog_test): Likewise.
21996         (clog10_test): Likewise.
21997         (cos_test): Likewise.
21998         (cos_test_tonearest): Likewise.
21999         (cos_test_towardzero): Likewise.
22000         (cos_test_downward): Likewise.
22001         (cos_test_upward): Likewise.
22002         (cosh_test): Likewise.
22003         (cosh_test_tonearest): Likewise.
22004         (cosh_test_towardzero): Likewise.
22005         (cosh_test_downward): Likewise.
22006         (cosh_test_upward): Likewise.
22007         (cpow_test): Likewise.
22008         (csin_test): Likewise.
22009         (csinh_test): Likewise.
22010         (csqrt_test): Likewise.
22011         (ctan_test): Likewise.
22012         (ctan_test_tonearest): Likewise.
22013         (ctan_test_towardzero): Likewise.
22014         (ctan_test_downward): Likewise.
22015         (ctan_test_upward): Likewise.
22016         (ctanh_test): Likewise.
22017         (ctanh_test_tonearest): Likewise.
22018         (ctanh_test_towardzero): Likewise.
22019         (ctanh_test_downward): Likewise.
22020         (ctanh_test_upward): Likewise.
22021         (erf_test): Likewise.
22022         (erfc_test): Likewise.
22023         (exp_test): Likewise.
22024         (exp_test_tonearest): Likewise.
22025         (exp_test_towardzero): Likewise.
22026         (exp_test_downward): Likewise.
22027         (exp_test_upward): Likewise.
22028         (exp10_test): Likewise.
22029         (exp2_test): Likewise.
22030         (expm1_test): Likewise.
22031         (fmod_test): Likewise.
22032         (gamma_test): Likewise.
22033         (hypot_test): Likewise.
22034         (j0_test): Likewise.
22035         (j1_test): Likewise.
22036         (jn_test): Likewise.
22037         (lgamma_test): Likewise.
22038         (log_test): Likewise.
22039         (log10_test): Likewise.
22040         (log1p_test): Likewise.
22041         (log2_test): Likewise.
22042         (logb_test_downward): Likewise.
22043         (pow_test): Likewise.
22044         (pow_test_tonearest): Likewise.
22045         (pow_test_towardzero): Likewise.
22046         (pow_test_downward): Likewise.
22047         (pow_test_upward): Likewise.
22048         (remainder_test): Likewise.
22049         (remquo_test): Likewise.
22050         (sin_test): Likewise.
22051         (sin_test_tonearest): Likewise.
22052         (sin_test_towardzero): Likewise.
22053         (sin_test_downward): Likewise.
22054         (sin_test_upward): Likewise.
22055         (sincos_test): Likewise.
22056         (sinh_test): Likewise.
22057         (sinh_test_tonearest): Likewise.
22058         (sinh_test_towardzero): Likewise.
22059         (sinh_test_downward): Likewise.
22060         (sinh_test_upward): Likewise.
22061         (sqrt_test): Likewise.
22062         (tan_test): Likewise.
22063         (tan_test_tonearest): Likewise.
22064         (tan_test_towardzero): Likewise.
22065         (tan_test_downward): Likewise.
22066         (tan_test_upward): Likewise.
22067         (tanh_test): Likewise.
22068         (tgamma_test): Likewise.
22069         (y0_test): Likewise.
22070         (y1_test): Likewise.
22071         (yn_test): Likewise.
22072
22073         * math/gen-libm-test.pl (adjust_arg): Remove function.
22074         (special_function): Remove argument $in_func.  Only handle
22075         generating output for tables of tests, not inside functions.
22076         (parse_args): Likewise.
22077         (generate_testfile): Remove variable $in_func.  Update call to
22078         parse_args.
22079         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22080         (MINUS_ZERO_INIT): Rename macro to minus_zero.
22081         (PLUS_INFTY_INIT): Rename macro to plus_infty.
22082         (MINUS_INFTY_INIT): Rename macro to minus_infty.
22083         (QNAN_VALUE_INIT): Rename macro to qnan_value.
22084         (MAX_VALUE_INIT): Rename macro to max_value.
22085         (MIN_VALUE_INIT): Rename macro to min_value.
22086         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22087         (plus_zero): Remove variable.
22088         (minus_zero): Likewise.
22089         (plus_infty): Likewise.
22090         (minus_infty): Likewise.
22091         (qnan_value): Likewise.
22092         (max_value): Likewise.
22093         (min_value): Likewise.
22094         (min_subnorm_value): Likewise.
22095
22096 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22097
22098         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22099         uint64_t or uint32_t usage.
22100         * crypt/sha256-block.c: Likewise.
22101         * crypt/sha256-crypt.c: Likewise.
22102         * crypt/sha256.c: Likewise.
22103         * crypt/sha512-block.c: Likewise.
22104         * crypt/sha512-crypt.c: Likewise.
22105         * crypt/sha512.c: Likewise.
22106         * debug/backtrace-tst.c: Likewise.
22107         * debug/pcprofiledump.c: Likewise.
22108         * elf/cache.c: Likewise.
22109         * elf/dl-cache.c: Likewise.
22110         * elf/dl-misc.c: Likewise.
22111         * elf/dl-profile.c: Likewise.
22112         * elf/dl-support.c: Likewise.
22113         * elf/ldconfig.c: Likewise.
22114         * elf/sprof.c: Likewise.
22115         * iconv/dummy-repertoire.c: Likewise.
22116         * iconv/iconv_charmap.c: Likewise.
22117         * iconv/skeleton.c: Likewise.
22118         * iconvdata/8bit-generic.c: Likewise.
22119         * iconvdata/cp737.h: Likewise.
22120         * iconvdata/cp775.h: Likewise.
22121         * iconvdata/ibm1008.h: Likewise.
22122         * iconvdata/ibm1025.h: Likewise.
22123         * iconvdata/ibm1046.h: Likewise.
22124         * iconvdata/ibm1097.h: Likewise.
22125         * iconvdata/ibm1112.h: Likewise.
22126         * iconvdata/ibm1122.h: Likewise.
22127         * iconvdata/ibm1123.h: Likewise.
22128         * iconvdata/ibm1124.h: Likewise.
22129         * iconvdata/ibm1129.h: Likewise.
22130         * iconvdata/ibm1130.h: Likewise.
22131         * iconvdata/ibm1132.h: Likewise.
22132         * iconvdata/ibm1133.h: Likewise.
22133         * iconvdata/ibm1137.h: Likewise.
22134         * iconvdata/ibm1140.h: Likewise.
22135         * iconvdata/ibm1141.h: Likewise.
22136         * iconvdata/ibm1142.h: Likewise.
22137         * iconvdata/ibm1143.h: Likewise.
22138         * iconvdata/ibm1144.h: Likewise.
22139         * iconvdata/ibm1145.h: Likewise.
22140         * iconvdata/ibm1146.h: Likewise.
22141         * iconvdata/ibm1147.h: Likewise.
22142         * iconvdata/ibm1148.h: Likewise.
22143         * iconvdata/ibm1149.h: Likewise.
22144         * iconvdata/ibm1153.h: Likewise.
22145         * iconvdata/ibm1154.h: Likewise.
22146         * iconvdata/ibm1155.h: Likewise.
22147         * iconvdata/ibm1156.h: Likewise.
22148         * iconvdata/ibm1157.h: Likewise.
22149         * iconvdata/ibm1158.h: Likewise.
22150         * iconvdata/ibm1160.h: Likewise.
22151         * iconvdata/ibm1161.h: Likewise.
22152         * iconvdata/ibm1162.h: Likewise.
22153         * iconvdata/ibm1163.h: Likewise.
22154         * iconvdata/ibm1164.h: Likewise.
22155         * iconvdata/ibm1166.h: Likewise.
22156         * iconvdata/ibm1167.h: Likewise.
22157         * iconvdata/ibm12712.h: Likewise.
22158         * iconvdata/ibm1390.h: Likewise.
22159         * iconvdata/ibm1399.h: Likewise.
22160         * iconvdata/ibm16804.h: Likewise.
22161         * iconvdata/ibm4517.h: Likewise.
22162         * iconvdata/ibm4899.h: Likewise.
22163         * iconvdata/ibm4909.h: Likewise.
22164         * iconvdata/ibm4971.h: Likewise.
22165         * iconvdata/ibm5347.h: Likewise.
22166         * iconvdata/ibm803.h: Likewise.
22167         * iconvdata/ibm856.h: Likewise.
22168         * iconvdata/ibm901.h: Likewise.
22169         * iconvdata/ibm902.h: Likewise.
22170         * iconvdata/ibm9030.h: Likewise.
22171         * iconvdata/ibm9066.h: Likewise.
22172         * iconvdata/ibm921.h: Likewise.
22173         * iconvdata/ibm922.h: Likewise.
22174         * iconvdata/ibm9448.h: Likewise.
22175         * iconvdata/isiri-3342.h: Likewise.
22176         * iconvdata/jis0201.h: Likewise.
22177         * include/link.h: Likewise.
22178         * include/netdb.h: Likewise.
22179         * inet/check_native.c: Likewise.
22180         * inet/check_pf.c: Likewise.
22181         * inet/getipv4sourcefilter.c: Likewise.
22182         * inet/getnameinfo.c: Likewise.
22183         * inet/getsourcefilter.c: Likewise.
22184         * inet/htonl.c: Likewise.
22185         * inet/setipv4sourcefilter.c: Likewise.
22186         * inet/setsourcefilter.c: Likewise.
22187         * inet/test-inet6_opt.c: Likewise.
22188         * inet/tst-network.c: Likewise.
22189         * locale/C-collate.c: Likewise.
22190         * locale/C-ctype.c: Likewise.
22191         * locale/C-time.c: Likewise.
22192         * locale/C-translit.h: Likewise.
22193         * locale/loadarchive.c: Likewise.
22194         * locale/programs/3level.h: Likewise.
22195         * locale/programs/charmap.c: Likewise.
22196         * locale/programs/charmap.h: Likewise.
22197         * locale/programs/ld-address.c: Likewise.
22198         * locale/programs/ld-collate.c: Likewise.
22199         * locale/programs/ld-ctype.c: Likewise.
22200         * locale/programs/ld-identification.c: Likewise.
22201         * locale/programs/ld-measurement.c: Likewise.
22202         * locale/programs/ld-messages.c: Likewise.
22203         * locale/programs/ld-monetary.c: Likewise.
22204         * locale/programs/ld-name.c: Likewise.
22205         * locale/programs/ld-numeric.c: Likewise.
22206         * locale/programs/ld-paper.c: Likewise.
22207         * locale/programs/ld-telephone.c: Likewise.
22208         * locale/programs/ld-time.c: Likewise.
22209         * locale/programs/linereader.c: Likewise.
22210         * locale/programs/locale.c: Likewise.
22211         * locale/programs/locarchive.c: Likewise.
22212         * locale/programs/locfile.h: Likewise.
22213         * locale/programs/repertoire.c: Likewise.
22214         * locale/programs/simple-hash.c: Likewise.
22215         * locale/programs/simple-hash.h: Likewise.
22216         * malloc/memusage.c: Likewise.
22217         * malloc/memusagestat.c: Likewise.
22218         * nis/nis_defaults.c: Likewise.
22219         * nis/nis_hash.c: Likewise.
22220         * nis/nis_print.c: Likewise.
22221         * nis/nis_xdr.c: Likewise.
22222         * nscd/connections.c: Likewise.
22223         * nscd/hstcache.c: Likewise.
22224         * nscd/nscd_gethst_r.c: Likewise.
22225         * nscd/nscd_getserv_r.c: Likewise.
22226         * nscd/nscd_helper.c: Likewise.
22227         * nscd/servicescache.c: Likewise.
22228         * nss/makedb.c: Likewise.
22229         * nss/nss_db/db-XXX.c: Likewise.
22230         * nss/nss_db/db-initgroups.c: Likewise.
22231         * nss/nss_db/db-netgrp.c: Likewise.
22232         * nss/nss_files/files-network.c: Likewise.
22233         * nss/nss_files/files-parse.c: Likewise.
22234         * posix/bug-regex5.c: Likewise.
22235         * posix/fnmatch_loop.c: Likewise.
22236         * posix/regcomp.c: Likewise.
22237         * posix/regexec.c: Likewise.
22238         * posix/tst-rfc3484-2.c: Likewise.
22239         * posix/tst-rfc3484-3.c: Likewise.
22240         * posix/tst-rfc3484.c: Likewise.
22241         * resolv/nss_dns/dns-canon.c: Likewise.
22242         * resolv/nss_dns/dns-network.c: Likewise.
22243         * resolv/res_init.c: Likewise.
22244         * resolv/res_mkquery.c: Likewise.
22245         * resolv/tst-aton.c: Likewise.
22246         * stdlib/cxa_atexit.c: Likewise.
22247         * stdlib/cxa_finalize.c: Likewise.
22248         * stdlib/gen-fpioconst.c: Likewise.
22249         * stdlib/strtol_l.c: Likewise.
22250         * string/tst-endian.c: Likewise.
22251         * sunrpc/auth_des.c: Likewise.
22252         * sunrpc/clnt_udp.c: Likewise.
22253         * sunrpc/rtime.c: Likewise.
22254         * sunrpc/svcauth_des.c: Likewise.
22255         * sunrpc/xdr.c: Likewise.
22256         * sunrpc/xdr_intXX_t.c: Likewise.
22257         * sunrpc/xdr_rec.c: Likewise.
22258         * sysdeps/generic/ldconfig.h: Likewise.
22259         * sysdeps/generic/ldsodefs.h: Likewise.
22260         * sysdeps/generic/memusage.h: Likewise.
22261         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22262         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22263         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22264         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22265         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22266         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22267         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22268         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22269         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22270         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22271         * sysdeps/posix/getaddrinfo.c: Likewise.
22272         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22273         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22274         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22275         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22276         * sysdeps/powerpc/test-gettimebase.c: Likewise.
22277         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22278         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22279         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22280         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22281         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22282         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22283         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22284         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22285         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22286         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22287         * sysdeps/x86_64/dl-tls.h: Likewise.
22288         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22289         * time/alt_digit.c: Likewise.
22290         * time/era.c: Likewise.
22291         * wcsmbs/tst-c16c32-1.c: Likewise.
22292
22293 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22294
22295         * math/libm-test.inc (struct test_sincos_data): New type.
22296         (RUN_TEST_LOOP_sincos): New macro.
22297         (sincos_test_data): New variable.
22298         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22299
22300 2013-05-16  Richard Henderson  <rth@redhat.com>
22301
22302         * math/atest-exp2.c (LIMB64): New macro.
22303         (CONSTSZ): New macro.
22304         (mp_exp1, mp_exp_m1, mp_log2): New variables.
22305         (hexdig): Move ...
22306         (print_mpn_fp): ... to function scope.
22307         (read_mpn_hex): Remove.
22308         (get_log2): Remove.
22309         (exp2_mpn): Use mp_log2.
22310         (main): Use mp_exp1.
22311
22312 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22313
22314         * math/libm-test.inc: Remove comment about not testing "inexact"
22315         exceptions.
22316         (INEXACT_EXCEPTION): New macro.
22317         (NO_INEXACT_EXCEPTION): Likewise.
22318         (INVALID_EXCEPTION_OK): Update value.
22319         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22320         (OVERFLOW_EXCEPTION_OK): Likewise.
22321         (UNDERFLOW_EXCEPTION_OK): Likewise.
22322         (IGNORE_ZERO_INF_SIGN): Likewise.
22323         (ERRNO_UNCHANGED): Likewise.
22324         (ERRNO_EDOM): Likewise.
22325         (ERRNO_ERANGE): Likewise.
22326         (test_exceptions): Handle testing "inexact" exceptions.
22327         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22328         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22329         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22330         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22331         INEXACT_EXCEPTION.
22332         (rint_towardzero_test_data): Likewise.
22333         (rint_downward_test_data): Likewise.
22334         (rint_upward_test_data): Likewise.
22335
22336         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22337         with OVERFLOW_EXCEPTION.
22338         (exp10_test_data): Likewise.
22339         (exp2_test_data): Likewise.
22340         (expm1_test_data): Likewise.
22341         (lgamma_test_data): Likewise.
22342         (pow_test_data): Likewise.
22343         (tgamma_test_data): Likewise.
22344         (yn_test_data): Remove duplicate test of overflow.
22345
22346         * math/libm-test.inc (struct test_cc_c_data): New type.
22347         (RUN_TEST_LOOP_cc_c): New macro.
22348         (cpow_test_data): New variable.
22349         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22350
22351         * math/libm-test.inc (struct test_f_L_data): New type.
22352         (RUN_TEST_LOOP_f_L): New macro.
22353         (llrint_test_data): New variable.
22354         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22355         (llrint_tonearest_test_data): New variable.
22356         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22357         (llrint_towardzero_test_data): New variable.
22358         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22359         (llrint_downward_test_data): New variable.
22360         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22361         (llrint_upward_test_data): New variable.
22362         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22363         (llround_test_data): New variable.
22364         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22365
22366 2013-05-13  Peter Collingbourne  <pcc@google.com>
22367
22368         * math/atest-exp2.c (get_log2): Remove const attribute.
22369
22370 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22371
22372         * math/libm-test.inc (struct test_f_l_data): New type.
22373         (RUN_TEST_LOOP_f_l): New macro.
22374         (lrint_test_data): New variable.
22375         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22376         (lrint_tonearest_test_data): New variable.
22377         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22378         (lrint_towardzero_test_data): New variable.
22379         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22380         (lrint_downward_test_data): New variable.
22381         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22382         (lrint_upward_test_data): New variable.
22383         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22384         (lround_test_data): New variable.
22385         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22386
22387 2013-05-15  Peter Collingbourne  <pcc@google.com>
22388
22389         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22390         (EXTRACT_WORDS64) Use where appropriate.
22391         (INSERT_WORDS64) Likewise.
22392
22393         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22394         constraints with x constraints.
22395         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22396
22397         * malloc/obstack.c (_obstack_compat): Add initializer.
22398
22399 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22400
22401         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22402         si_trapno and add si_addr_lsb to _sifields.sigfault.
22403         (si_trapno): Remove macro.
22404         (si_addr_lsb): Define new macro.
22405         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22406
22407 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22408
22409         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22410         instead of TEST_f_l.
22411         (llrint_test_tonearest): Likewise.
22412         (llrint_test_towardzero): Likewise.
22413         (llrint_test_downward): Likewise.
22414         (llrint_test_upward): Likewise.
22415         (llround_test): Likewise.
22416
22417         * math/libm-test.inc (struct test_f_i_data): Add comment.
22418         (RUN_TEST_LOOP_f_b): New macro.
22419         (RUN_TEST_LOOP_f_b_tg): Likewise.
22420         (finite_test_data): New variable.
22421         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22422         (isfinite_test_data): New variable.
22423         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22424         (isinf_test_data): New variable.
22425         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22426         (isnan_test_data): New variable.
22427         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22428         (isnormal_test_data): New variable.
22429         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22430         (issignaling_test_data): New variable.
22431         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22432         (signbit_test_data): New variable.
22433         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22434
22435         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22436         with INVALID_EXCEPTION.
22437         (acosh_test_data): Likewise.
22438         (asin_test_data): Likewise.
22439         (atanh_test_data): Likewise.
22440         (fmod_test_data): Likewise.
22441         (log_test_data): Likewise.
22442         (log10_test_data): Likewise.
22443         (log2_test_data): Likewise.
22444         (pow_test_data): Likewise.
22445         (sqrt_test_data): Likewise.
22446         (y0_test_data): Likewise.
22447         (y1_test_data): Likewise.
22448         (yn_test_data): Likewise.
22449
22450         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22451         function contents.
22452
22453         * math/libm-test.inc (struct test_ff_i_data): New type.
22454         (RUN_TEST_LOOP_ff_i_tg): New macro.
22455         (isgreater_test_data): New variable.
22456         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22457         (isgreaterequal_test_data): New variable.
22458         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22459         (isless_test_data): New variable.
22460         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22461         (islessequal_test_data): New variable.
22462         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22463         (islessgreater_test_data): New variable.
22464         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22465         (isunordered_test_data): New variable.
22466         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22467
22468 2013-05-14  David S. Miller  <davem@davemloft.net>
22469
22470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22471
22472 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
22473
22474         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22475
22476         * math/libm-test.inc (struct test_fF_f1_data): Change type of
22477         extra_test to int.
22478         (struct test_f_i_data): Change type of max_ulp to int.
22479
22480         * math/libm-test.inc (test_ffI_f1_data): New type.
22481         (RUN_TEST_LOOP_ffI_f1): New macro.
22482         (remquo_test_data): New variable.
22483         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22484
22485         * setjmp/tst-setjmp-fp.c: New file.
22486         * setjmp/Makefile (tests): Add tst-setjmp-fp.
22487         (link-libm): New variable.
22488         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22489
22490         * math/libm-test.inc (struct test_f_i_data): New type.
22491         (RUN_TEST_LOOP_f_i): New macro.
22492         (RUN_TEST_LOOP_f_i_tg): Likewise.
22493         (fpclassify_test_data): New variable.
22494         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22495         (ilogb_test_data): New variable.
22496         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22497
22498         * math/libm-test.inc (scalbln_test): Correct function name in END
22499         call.
22500
22501         * math/libm-test.inc (struct test_f_f1_data): Add comment.
22502         (RUN_TEST_LOOP_fI_f1): New macro.
22503         (frexp_test_data): New variable.
22504         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22505
22506         * math/libm-test.inc (struct test_fF_f1_data): New type.
22507         (RUN_TEST_LOOP_fF_f1): New macro.
22508         (modf_test_data): New variable.
22509         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22510
22511         * math/libm-test.inc (struct test_f_f1_data): New type.
22512         (RUN_TEST_LOOP_f_f1): New macro.
22513         (gamma_test_data): New variable.
22514         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22515         (lgamma_test_data): New variable.
22516         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22517
22518 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
22519
22520         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22521         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22522         (main): Comment "tls" pseudo-hwcap.
22523
22524 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
22525
22526         * math/libm-test.inc (struct test_fl_f_data): New type.
22527         (RUN_TEST_LOOP_fl_f): New variable.
22528         (scalbln_test_data): New variable.
22529         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22530
22531         * math/libm-test.inc (struct test_fi_f_data): New type.
22532         (RUN_TEST_LOOP_fi_f): New macro.
22533         (ldexp_test_data): New variable.
22534         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22535         (scalbn_test_data): New variable.
22536         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22537
22538         * math/libm-test.inc (struct test_c_f_data): New type.
22539         (RUN_TEST_LOOP_c_f): New macro.
22540         (cabs_test_data): New variable.
22541         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22542         (carg_test_data): New variable.
22543         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22544         (cimag_test_data): New variable.
22545         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22546         (creal_test_data): New variable.
22547         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22548
22549         * math/libm-test.inc (struct test_if_f_data): New type.
22550         (RUN_TEST_LOOP_if_f): New macro.
22551         (jn_test_data): New variable.
22552         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22553         (yn_test_data): New variable.
22554         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22555
22556         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22557
22558 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22559
22560         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22561         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22562
22563 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22564
22565         * benchtests/Makefile (CPPFLAGS-nonlib): Add
22566         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22567         (bench-deps): Add bench-timing.h.
22568         * benchtests-bench-skeleton.c: Include bench-timing.h.
22569         (main): Use TIMING_* macros instead of clock_gettime.
22570         * benchtests/bench-timing.h: New file.
22571
22572         [BZ #14582]
22573         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22574         Renamed from _LIB_VERSION.
22575         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22576
22577 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
22578
22579         * math/libm-test.inc (struct test_fff_f_data): New type.
22580         (RUN_TEST_LOOP_fff_f): New macro.
22581         (fma_test_data): New variable.
22582         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22583         (fma_towardzero_test_data): New variable.
22584         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22585         (fma_downward_test_data): New variable.
22586         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22587         (fma_upward_test_data): New variable.
22588         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22589
22590         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22591         (struct test_c_c_data): New type.
22592         (RUN_TEST_LOOP_c_c): New macro.
22593         (cacos_test_data): New variable.
22594         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22595         (cacosh_test_data): New variable.
22596         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22597         (casin_test_data): New variable.
22598         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22599         (casinh_test_data): New variable.
22600         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22601         (catan_test_data): New variable.
22602         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22603         (catanh_test_data): New variable.
22604         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22605         (ccos_test_data): New variable.
22606         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22607         (ccosh_test_data): New variable.
22608         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22609         (cexp_test_data): New variable.
22610         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22611         (clog_test_data): New variable.
22612         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22613         (clog10_test_data): New variable.
22614         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22615         (conj_test_data): New variable.
22616         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22617         (cproj_test_data): New variable.
22618         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22619         (csin_test_data): New variable.
22620         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22621         (csinh_test_data): New variable.
22622         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22623         (csqrt_test_data): New variable.
22624         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22625         (ctan_test_data): New variable.
22626         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22627         (ctan_tonearest_test_data): New variable.
22628         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22629         (ctan_towardzero_test_data): New variable.
22630         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22631         (ctan_downward_test_data): New variable.
22632         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22633         (ctan_upward_test_data): New variable.
22634         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22635         (ctanh_test_data): New variable.
22636         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22637         (ctanh_tonearest_test_data): New variable.
22638         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22639         (ctanh_towardzero_test_data): New variable.
22640         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22641         (ctanh_downward_test_data): New variable.
22642         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22643         (ctanh_upward_test_data): New variable.
22644         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22645         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22646         of BUILD_COMPLEX.
22647
22648         * math/libm-test.inc (struct test_ff_f_data): New type.
22649         (struct test_ff_f_data_nexttoward): Likewise.
22650         (RUN_TEST_LOOP_2_f): New macro.
22651         (RUN_TEST_LOOP_ff_f): Likewise.
22652         (atan2_test_data): New variable.
22653         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22654         (copysign_test_data): New variable.
22655         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22656         (fdim_test_data): New variable.
22657         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22658         (fmax_test_data): New variable.
22659         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22660         (fmin_test_data): New variable.
22661         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22662         (fmod_test_data): New variable.
22663         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22664         (hypot_test_data): New variable.
22665         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22666         (nextafter_test_data): New variable.
22667         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22668         (nexttoward_test_data): New variable.
22669         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22670         (pow_test_data): New variable.
22671         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22672         (pow_tonearest_test_data): New variable.
22673         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22674         (pow_towardzero_test_data): New variable.
22675         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22676         (pow_downward_test_data): New variable.
22677         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22678         (pow_upward_test_data): New variable.
22679         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22680         (remainder_test_data): New variable.
22681         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22682         (scalb_test_data): New variable.
22683         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22684         * sysdeps/i386/fpu/libm-test-ulps: Update.
22685
22686 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
22687
22688         * math/libm-test.inc (fma_test): Use max_value instead of local
22689         variable fltmax.
22690         (nextafter_test): Likewise.
22691
22692         * math/libm-test.inc (acos_towardzero_test_data): New variable.
22693         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22694         (acos_downward_test_data): New variable.
22695         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22696         (acos_upward_test_data): New variable.
22697         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22698         (acosh_test_data): New variable.
22699         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22700         (asin_test_data): New variable.
22701         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22702         (asin_tonearest_test_data): New variable.
22703         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22704         (asin_towardzero_test_data): New variable.
22705         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22706         (asin_downward_test_data): New variable.
22707         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22708         (asin_upward_test_data): New variable.
22709         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22710         (asinh_test_data): New variable.
22711         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22712         (atan_test_data): New variable.
22713         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22714         (atanh_test_data): New variable.
22715         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22716         (cbrt_test_data): New variable.
22717         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22718         (ceil_test_data): New variable.
22719         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22720         (cos_test_data): New variable.
22721         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22722         (cos_tonearest_test_data): New variable.
22723         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22724         (cos_towardzero_test_data): New variable.
22725         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22726         (cos_downward_test_data): New variable.
22727         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22728         (cos_upward_test_data): New variable.
22729         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22730         (cosh_test_data): New variable.
22731         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22732         (cosh_tonearest_test_data): New variable.
22733         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22734         (cosh_towardzero_test_data): New variable.
22735         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22736         (cosh_downward_test_data): New variable.
22737         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22738         (cosh_upward_test_data): New variable.
22739         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22740         (erf_test_data): New variable.
22741         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22742         (erfc_test_data): New variable.
22743         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22744         (exp_test_data): New variable.
22745         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22746         (exp_tonearest_test_data): New variable.
22747         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22748         (exp_towardzero_test_data): New variable.
22749         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22750         (exp_downward_test_data): New variable.
22751         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22752         (exp_upward_test_data): New variable.
22753         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22754         (exp10_test_data): New variable.
22755         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22756         (exp2_test_data): New variable.
22757         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22758         (expm1_test_data): New variable.
22759         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22760         (fabs_test_data): New variable.
22761         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22762         (floor_test_data): New variable.
22763         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22764         (j0_test_data): New variable.
22765         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22766         (j1_test_data): New variable.
22767         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22768         (log_test_data): New variable.
22769         (log_test): Run tests with RUN_TEST_LOOP_f_f.
22770         (log10_test_data): New variable.
22771         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22772         (log1p_test_data): New variable.
22773         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22774         (log2_test_data): New variable.
22775         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22776         (logb_test_data): New variable.
22777         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22778         (logb_downward_test_data): New variable.
22779         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22780         (nearbyint_test_data): New variable.
22781         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22782         (rint_test_data): New variable.
22783         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22784         (rint_tonearest_test_data): New variable.
22785         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22786         (rint_towardzero_test_data): New variable.
22787         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22788         (rint_downward_test_data): New variable.
22789         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22790         (rint_upward_test_data): New variable.
22791         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22792         (round_test_data): New variable.
22793         (round_test): Run tests with RUN_TEST_LOOP_f_f.
22794         (sin_test_data): New variable.
22795         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22796         (sin_tonearest_test_data): New variable.
22797         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22798         (sin_towardzero_test_data): New variable.
22799         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22800         (sin_downward_test_data): New variable.
22801         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22802         (sin_upward_test_data): New variable.
22803         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22804         (sinh_test_data): New variable.
22805         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22806         (sinh_tonearest_test_data): New variable.
22807         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22808         (sinh_towardzero_test_data): New variable.
22809         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22810         (sinh_downward_test_data): New variable.
22811         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22812         (sinh_upward_test_data): New variable.
22813         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22814         (sqrt_test_data): New variable.
22815         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22816         (tan_test_data): New variable.
22817         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22818         (tan_tonearest_test_data): New variable.
22819         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22820         (tan_towardzero_test_data): New variable.
22821         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22822         (tan_downward_test_data): New variable.
22823         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22824         (tan_upward_test_data): New variable.
22825         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22826         (tanh_test_data): New variable.
22827         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22828         (tgamma_test_data): New variable.
22829         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22830         (trunc_test_data): New variable.
22831         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22832         (y0_test_data): New variable.
22833         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22834         (y1_test_data): New variable.
22835         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22836         (significand_test_data): New variable.
22837         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22838
22839 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
22840
22841         [BZ #12387]
22842         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22843
22844 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22845
22846         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22847
22848 2013-05-10  Andreas Jaeger  <aj@suse.de>
22849
22850         [BZ #15448]
22851         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22852         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22853
22854 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22855
22856         * math/gen-libm-test.pl (adjust_arg): New function.
22857         (special_functions): Handle generating output in both functions
22858         and arrays.
22859         (parse_args): Likewise.
22860         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
22861         $in_func argument to parse_args.
22862         * math/libm-test.inc (struct test_f_f_data): New type.
22863         (IF_ROUND_INIT_): New macro.
22864         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22865         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22866         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22867         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22868         (ROUND_RESTORE_): Likewise.
22869         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22870         (ROUND_RESTORE_FE_TONEAREST): Likewise.
22871         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22872         (ROUND_RESTORE_FE_UPWARD): Likewise.
22873         (RUN_TEST_LOOP_f_f): New macro.
22874         (acos_test_data): New variable.
22875         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22876         (acos_tonearest_test_data): New variable.
22877         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22878
22879 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22880
22881         * benchtests/bench-skeleton.c (startup): Fix coding style.
22882
22883 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22884
22885         [BZ #6809]
22886         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22887         negative infinity argument.
22888         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22889         negative infinity argument.
22890         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22891         negative infinity argument.
22892         * math/libm-test.inc (tgamma_test): Expect errno to be set for
22893         domain errors.
22894
22895 2013-05-10  Florian Weimer  <fweimer@redhat.com>
22896
22897         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22898         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22899         * iconv/iconv_prog.c (main): Likewise.
22900         * locale/programs/charmap-dir.c (charmap_readdir)
22901         (fopen_uncompressed): Likewise.
22902         * locale/programs/locfile.c (siblings_uncached)
22903         (write_locale_data): Use lstat64 instead of lstat.
22904         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22905         stat.
22906
22907 2013-05-10  Andreas Jaeger  <aj@suse.de>
22908
22909         [BZ #15395]
22910         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22911         localization.
22912         Include <locale.h>.
22913
22914 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
22915
22916         * elf/dl-close.c (_dl_close_worker): Add comments.
22917
22918 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
22919
22920         [BZ #15359]
22921         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22922         high part of pi/2.
22923         (__ieee754_rem_pio2l): Update comments.
22924
22925         [BZ #15429]
22926         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22927         high part of pi/2.
22928         (__ieee754_rem_pio2l): Update comments.
22929
22930         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22931         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22932
22933         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22934         M_PI_4l.
22935
22936         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22937         (M_PI_34_LOG10El): Likewise.
22938         (M_PI2_LOG10El): Likewise.
22939         (M_PI4_LOG10El): Likewise.
22940         (M_PI_LOG10El): Likewise.
22941
22942 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22943
22944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22945
22946 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
22947
22948         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22949         (MINUS_ZERO_INIT): Likewise.
22950         (PLUS_INFTY_INIT): Likewise.
22951         (MINUS_INFTY_INIT): Likewise.
22952         (QNAN_VALUE_INIT): Likewise.
22953         (MAX_VALUE_INIT): Likewise.
22954         (MIN_VALUE_INIT): Likewise.
22955         (MIN_SUBNORM_VALUE_INIT): Likewise.
22956         (plus_zero): Initialize with PLUS_ZERO_INIT.
22957         (minus_zero): Initialize with MINUS_ZERO_INIT.
22958         (plus_infty): Initialize with PLUS_INFTY_INIT.
22959         (minus_infty): Initialize with MINUS_INFTY_INIT.
22960         (qnan_value): Initialize with QNAN_VALUE_INIT.
22961         (max_value): Initialize with MAX_VALUE_INIT.
22962         (min_value): Initialize with MIN_VALUE_INIT.
22963         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22964
22965         * math/libm-test.inc (RUN_TEST_if_f): New macro.
22966         (jn_test): Use TEST_if_f instead of TEST_ff_f.
22967         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22968         (yn_test): Use TEST_if_f instead of TEST_ff_f.
22969
22970         * math/libm-test.inc (RUN_TEST_f_f): New macro.
22971         (RUN_TEST_2_f): Likewise.
22972         (RUN_TEST_ff_f): Likewise.
22973         (RUN_TEST_fi_f): Likewise.
22974         (RUN_TEST_fl_f): Likewise.
22975         (RUN_TEST_fff_f): Likewise.
22976         (RUN_TEST_c_f): Likewise.
22977         (RUN_TEST_f_f1): Likewise.
22978         (RUN_TEST_fF_f1): Likewise.
22979         (RUN_TEST_fI_f1): Likewise.
22980         (RUN_TEST_ffI_f1): Likewise.
22981         (RUN_TEST_c_c): Likewise.
22982         (RUN_TEST_cc_c): Likewise.
22983         (RUN_TEST_f_i): Likewise.
22984         (RUN_TEST_f_i_tg): Likewise.
22985         (RUN_TEST_ff_i_tg): Likewise.
22986         (RUN_TEST_f_b): Likewise.
22987         (RUN_TEST_f_b_tg): Likewise.
22988         (RUN_TEST_f_l): Likewise.
22989         (RUN_TEST_f_L): Likewise.
22990         (RUN_TEST_sincos): Likewise.
22991         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22992         whether to show exceptions.  Do not include ");\n" in return
22993         value.
22994         (special_functions): Output call to RUN_TEST_sincos instead of
22995         check_float calls.  Update calls to new_test.
22996         (parse_args): Output call to single RUN_TEST_* macro instead of
22997         check_* calls and other assignments.  Update calls to new_test.
22998
22999         [BZ #2546]
23000         [BZ #2560]
23001         [BZ #5159]
23002         [BZ #15426]
23003         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23004         input to result for tgamma overflow.
23005         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23006         (gamma_coeff): New variable.
23007         (NCOEFF): New macro.
23008         (gamma_positive): New function.
23009         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23010         underflow here.  Use gamma_positive instead of exp (lgamma) for
23011         other arguments.
23012         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23013         (gamma_coeff): New variable.
23014         (NCOEFF): New macro.
23015         (gammaf_positive): New function.
23016         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23017         underflow here.  Use gamma_positive instead of exp (lgamma) for
23018         other arguments.
23019         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23020         (gamma_coeff): New variable.
23021         (NCOEFF): New macro.
23022         (gammal_positive): New function.
23023         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23024         underflow here.  Use gamma_positive instead of exp (lgamma) for
23025         other arguments.
23026         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23027         (gamma_coeff): New variable.
23028         (NCOEFF): New macro.
23029         (gammal_positive): New function.
23030         (__ieee754_gammal_r): Handle positive infinity, overflow and
23031         underflow here.  Handle NaN the same as positive infinity.  Remove
23032         check x < 0xffffffff for negative integers.  Use gamma_positive
23033         instead of exp (lgamma) for other arguments.
23034         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23035         (gamma_coeff): New variable.
23036         (NCOEFF): New macro.
23037         (gammal_positive): New function.
23038         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23039         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23040         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23041         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23042         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23043         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23044         * sysdeps/generic/math_private.h (__gamma_productf): New
23045         prototype.
23046         (__gamma_product): Likewise.
23047         (__gamma_productl): Likewise.
23048         * math/Makefile (libm-calls): Add gamma_product.
23049         * math/libm-test.inc (tgamma_test): Add more tests.
23050         * sysdeps/i386/fpu/libm-test-ulps: Update.
23051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23052
23053 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
23054
23055         * benchtests/bench-skeleton.c (main): Preheat CPU.
23056
23057 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
23058
23059         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23060
23061 2013-05-07  Roland McGrath  <roland@hack.frob.com>
23062
23063         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23064         and _dl_skip_args_internal.
23065
23066 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
23067
23068         * manual/message.texi (Message Translation): Talk about users.
23069         Message to key mapping impacts design.
23070
23071 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23072
23073         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23074
23075         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23076
23077         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23078         * sysdeps/wordsize-64/glob64.c: ... here.
23079
23080         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23081         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23082         New macros.
23083
23084         * debug/getlogin_r_chk.c: Moved to ...
23085         * login/getlogin_r_chk.c: ... here.
23086         * debug/Makefile (routines): Move getlogin_r_chk to ...
23087         * login/Makefile (routines): ... here.
23088         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23089         * login/Versions (libc: GLIBC_2.4): ... here.
23090
23091         * io/poll.c (__poll): Renamed from poll.
23092         Add libc_hidden_def.
23093         (poll): Define as weak alias.
23094
23095         * debug/ptsname_r_chk.c: Moved to ...
23096         * login/ptsname_r_chk.c: ... here.
23097         * debug/Makefile (routines): Move ptsname_r_chk to ...
23098         * login/Makefile (routines): ... here.
23099         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23100         * login/Versions (libc: GLIBC_2.4): ... here.
23101
23102         * posix/getlogin.c: Moved to ...
23103         * login/getlogin.c: ... here.
23104         * posix/getlogin_r.c: Moved to ...
23105         * login/getlogin_r.c: ... here.
23106         * posix/getlogin_r.c: Moved to ...
23107         * login/getlogin_r.c: ... here.
23108         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23109         * login/Makefile (routines): ... here.
23110         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23111         * login/Versions (libc: GLIBC_2.0): ... here.
23112
23113         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23114         (setrlimit): Define as weak alias.
23115
23116         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23117         Call __ names for open, ftruncate, and close.
23118         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23119         (truncate): Define as weak alias.
23120
23121 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
23122
23123         * math/gen-libm-test.pl (parse_args): Initialize x before each
23124         test of frexp, modf and remquo.
23125
23126         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23127         test signgam value.
23128
23129 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23130
23131         [BZ #15418]
23132         [BZ #15419]
23133         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23134         internal tests.
23135         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23136
23137 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23138
23139         * elf/dl-writev.h: New file.
23140         * elf/dl-misc.c: Include it.
23141         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23142         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23143
23144 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
23145
23146         * math/libm-test.inc (noXFails): Remove variable.
23147         (noXPasses): Likewise.
23148         (BUILD_COMPLEX_INT): Remove macro.
23149         (print_screen): Remove xfail argument.
23150         (print_screen_max_error): Likewise.
23151         (update_stats): Likewise.
23152         (print_max_error): Likewise.  Update calls to other affected
23153         functions.
23154         (print_complex_max_error): Likewise.
23155         (test_single_exception): Update calls to print_screen.
23156         (test_single_errno): Likewise.
23157         (check_float_internal): Remove xfail argument.  Update calls to
23158         other affected functions.
23159         (check_float): Likewise.
23160         (check_complex): Likewise.
23161         (check_int): Likewise.
23162         (check_long): Likewise.
23163         (check_bool): Likewise.
23164         (check_longlong): Likewise.
23165         (main): Don't print noXFails and noXPasses.
23166         * math/gen-libm-test.pl (top level): Don't mention expected
23167         failure handling in comment.
23168         (new_test): Don't handle expected failures.
23169         (parse_args): Don't mention expected failure handling in comment.
23170         (generate_testfile): Don't handle expected failures.
23171         (parse_ulps): Likewise.
23172         (print_ulps_file): Likewise.
23173         (get_failure): Remove function.
23174         (output_test): Don't handle expected failures.
23175         * make/README.libm-test: Don't mention expected failure handling.
23176
23177         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
23178         (minus_zero): Likewise.
23179         (plus_infty): Likewise.
23180         (minus_infty): Likewise.
23181         (qnan_value): Likewise.
23182         (max_value): Likewise.
23183         (min_value): Likewise.
23184         (min_subnorm_value): Likewise.
23185         (initialize): Do not initialize those variables dynamically.
23186
23187 2013-05-03  Roland McGrath  <roland@hack.frob.com>
23188
23189         * io/open.c (__open_2): Moved to ...
23190         * io/open_2.c: ... this new file.
23191         * io/open64.c (__open64_2): Moved to ...
23192         * io/open64_2.c: ... this new file.
23193         * io/openat.c (__openat_2): Moved to ...
23194         * io/openat_2.c: ... this new file.
23195         * io/openat64.c (__openat64_2): Moved to ...
23196         * io/openat64_2.c: ... this new file.
23197         * io/Makefile (routines): Add them.
23198         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23199         * sysdeps/unix/sysv/linux/open_2.c: File removed.
23200         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23201         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23202         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23203         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23204         (__openat64): Add hidden_ver.
23205         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23206         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23207
23208         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23209         Separately conditionalize setting of GLRO(dl_sysinfo) so
23210         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23211         as well, but the actual setting is only under [NEED_DL_SYSINFO].
23212
23213 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23214
23215         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23216         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23217         definition.
23218         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23219         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23220         (_libc_vdso_platform_setup): Add __vdso_time initialization.
23221         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23222         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23223
23224 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
23225
23226         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23227         test signgam value.
23228
23229         * math/libm-test.inc (hypot_test): Do not use
23230         IGNORE_ZERO_INF_SIGN.
23231
23232 2013-05-03  Andreas Jaeger  <aj@suse.de>
23233
23234         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23235         Linux 3.9.
23236         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23237         (PF_MAX): Adjust for VSOCK change.
23238
23239 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23240
23241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23242
23243 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
23244
23245         [BZ #15264]
23246         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23247         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23248         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23249
23250 2013-05-02  David S. Miller  <davem@davemloft.net>
23251
23252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23253
23254 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
23255
23256         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23257
23258 2013-05-01  Roland McGrath  <roland@hack.frob.com>
23259
23260         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23261
23262 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
23263
23264         [BZ #14952]
23265         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23266         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23267         Use __attribute__ ((__gnu_inline__)).
23268         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23269         Don't use __attribute__ ((__gnu_inline__)).
23270
23271 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
23272
23273         [BZ #15423]
23274         * math/s_catan.c (__catan): Handle small real or imaginary part of
23275         input specially to avoid spurious underflow.
23276         * math/s_catanf.c (__catanf): Likewise.
23277         * math/s_catanh.c (__catanh): Likewise.
23278         * math/s_catanhf.c (__catanhf): Likewise.
23279         * math/s_catanhl.c (__catanhl): Likewise.
23280         * math/s_catanl.c (__catanl): Likewise.
23281         * math/libm-test.inc (catan_test): Add more tests.
23282         (catanh_test): Likewise.
23283         * sysdeps/i386/fpu/libm-test-ulps: Update.
23284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23285
23286 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23287
23288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23289
23290 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
23291
23292         [BZ #15416]
23293         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23294         accurately for denominator in atan2.
23295         * math/s_catanf.c (__catanf): Likewise.
23296         * math/s_catanh.c (__catanh): Likewise.
23297         * math/s_catanhf.c (__catanhf): Likewise.
23298         * math/s_catanhl.c (__catanhl): Likewise.
23299         * math/s_catanl.c (__catanl): Likewise.
23300         * math/libm-test.inc (catan_test): Add more tests.
23301         (catanh_test): Likewise.
23302         * sysdeps/i386/fpu/libm-test-ulps: Update.
23303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23304
23305 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23306
23307         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23308
23309         * benchtests/Makefile (bench): Remove slow benchmarks.
23310         * benchtests/atan-inputs: Add slow benchmark inputs.
23311         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23312         (BENCH_FUNC): Accept variant offset.
23313         (VARIANT): Define.
23314         * benchtests/bench-skeleton.c (main): Run benchmark for each
23315         variant.
23316         * benchtests/cos-inputs: Add slow benchmark inputs.
23317         * benchtests/exp-inputs: Likewise.
23318         * benchtests/pow-inputs: Likewise.
23319         * benchtests/sin-inputs: Likewise.
23320         * benchtests/slowatan-inputs: Remove.
23321         * benchtests/slowatan.c: Remove.
23322         * benchtests/slowcos-inputs: Remove.
23323         * benchtests/slowcos.c: Remove.
23324         * benchtests/slowexp-inputs: Remove.
23325         * benchtests/slowexp.c: Remove.
23326         * benchtests/slowpow-inputs: Remove.
23327         * benchtests/slowpow.c: Remove.
23328         * benchtests/slowsin-inputs: Remove.
23329         * benchtests/slowsin.c: Remove.
23330         * benchtests/slowtan-inputs: Remove.
23331         * benchtests/slowtan.c: Remove.
23332         * benchtests/tan-inputs: Add slow benchmark inputs.
23333         * scripts/bench.pl: Parse comments and directives.
23334
23335         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
23336         in CPPFLAGS.
23337         ($(objpfx)bench-%.c): Remove *-ITER.
23338         * benchtests/bench-modf.c: Remove definition of ITER.
23339         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23340         (main): Loop for DURATION seconds instead of fixed number of
23341         iterations.
23342         * scripts/bench.pl: Don't expect iterations in parameters.
23343
23344 2013-04-29  Roland McGrath  <roland@hack.frob.com>
23345
23346         * io/fchdir.c (__fchdir): Renamed from fchdir.
23347         (fchdir): Define as weak alias.
23348
23349 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23350
23351         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23352         (ERRNO_EDOM): Likewise.
23353         (ERRNO_ERANGE): Likewise.
23354         (noErrnoTests): New variable.
23355         (init_max_error): Set errno to 0.
23356         (test_single_errno): New function.
23357         (test_errno): Likewise.
23358         (check_float_internal): Call test_errno.  Set errno to 0.
23359         (check_complex): Refer to errno tests in comment.
23360         (check_int): Call test_errno.  Set errno to 0.
23361         (check_long): Likewise.
23362         (check_bool): Likewise.
23363         (check_longlong): Likewise.
23364         (cos_test): Use ERRNO_* flags for errno tests instead of
23365         check_int.
23366         (expm1_test): Likewise.
23367         (fmod_test): Likewise.
23368         (ilogb_test): Likewise.
23369         (lgamma_test): Likewise.
23370         (pow_test): Likewise.
23371         (remainder_test): Likewise.
23372         (sin_test): Likewise.
23373         (tan_test): Likewise.
23374         (yn_test): Likewise.
23375         (initialize): Set errno to 0.
23376         (main): Print number of errno tests.
23377         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23378
23379 2013-04-29  Andreas Jaeger  <aj@suse.de>
23380
23381         [BZ #15084]
23382         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23383         and RES_USEVC.
23384
23385         [BZ #15085]
23386         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23387         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23388         unimplemented.
23389
23390         [BZ #15380]
23391         * stdlib/random.c (__initstate): Return NULL if
23392         __initstate fails.
23393
23394         [BZ #15086]
23395         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23396         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23397         RES_SNGLKUPREOP.
23398
23399 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23400
23401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23402
23403 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23404
23405         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23406         of individual tests.
23407         (casin_test): Likewise.
23408         (casinh_test): Likewise.
23409
23410 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
23411
23412         [BZ #15409]
23413         * math/s_catan.c (__catan): Handle arguments with large real or
23414         imaginary part separately without squaring.
23415         * math/s_catanf.c (__catanf): Likewise.
23416         * math/s_catanh.c (__catanh): Likewise.
23417         * math/s_catanhf.c (__catanhf): Likewise.
23418         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23419         and redefine.
23420         (__catanhl): Handle arguments with large real or imaginary part
23421         separately without squaring.
23422         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23423         and redefine.
23424         (__catanl): Handle arguments with large real or imaginary part
23425         separately without squaring.
23426         * math/libm-test.inc (catan_test): Add more tests.
23427         (catanh_test): Likewise.
23428         * sysdeps/i386/fpu/libm-test-ulps: Update.
23429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23430
23431 2013-04-27  Andreas Jaeger  <aj@suse.de>
23432
23433         [BZ #15007]
23434         * stdlib/stdlib.h: Update guards for qecvt.
23435         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23436         <stdlib.h>.
23437
23438 2013-04-27  Allan McRae  <allan@archlinux.org>
23439
23440         * sysdeps/i386/fpu/libm-test-ulps: Update.
23441
23442 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
23443
23444         [BZ #15406]
23445         * math/s_catan.c: Include <float.h>.
23446         (__catan): Ensure underflow exception occurs for underflowed
23447         result.
23448         * math/s_catanf.c: Include <float.h>.
23449         (__catanf): Ensure underflow exception occurs for underflowed
23450         result.
23451         * math/s_catanh.c: Include <float.h>.
23452         (__catanh): Ensure underflow exception occurs for underflowed
23453         result.
23454         * math/s_catanhf.c: Include <float.h>.
23455         (__catanhf): Ensure underflow exception occurs for underflowed
23456         result.
23457         * math/s_catanhl.c: Include <float.h>.
23458         (__catanhl): Ensure underflow exception occurs for underflowed
23459         result.
23460         * math/s_catanl.c: Include <float.h>.
23461         (__catanl): Ensure underflow exception occurs for underflowed
23462         result.
23463         * math/libm-test.inc (catan_test): Add more tests.
23464         (catanh_test): Likewise.
23465
23466         [BZ #15405]
23467         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23468         underflowed result.
23469         * math/s_ccoshf.c (__ccoshf): Likewise.
23470         * math/s_ccoshl.c (__ccoshl): Likewise.
23471         * math/s_csin.c (__csin): Likewise.
23472         * math/s_csinf.c (__csinf): Likewise.
23473         * math/s_csinh.c (__csinh): Likewise.
23474         * math/s_csinhf.c (__csinhf): Likewise.
23475         * math/s_csinhl.c (__csinhl): Likewise.
23476         * math/s_csinl.c (__csinl): Likewise.
23477         * math/libm-test.inc (ccos_test): Add more tests.
23478         (ccosh_test): Likewise.
23479         (csin_test): Likewise.
23480         (csinh_test): Likewise.
23481
23482 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23483
23484         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23485         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23486         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23487         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23488         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23489         powerpc/power5+/fpu folders.
23490         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23491
23492
23493 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23494
23495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23496
23497 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
23498
23499         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23500         additions to variable.
23501         [$(config-machine) = x86_64] (modules-names): Likewise.
23502         ($(objpfx)tst-audit3): Remove dependency.
23503         ($(objpfx)tst-audit3.out): Likewise.
23504         ($(objpfx)tst-audit4): Likewise.
23505         ($(objpfx)tst-audit4.out): Likewise.
23506         ($(objpfx)tst-audit5): Likewise.
23507         ($(objpfx)tst-audit5.out): Likewise.
23508         ($(objpfx)tst-audit6): Likewise.
23509         ($(objpfx)tst-audit6.out): Likewise.
23510         ($(objpfx)tst-audit7): Likewise.
23511         ($(objpfx)tst-audit7.out): Likewise.
23512         (tst-audit3-ENV): Remove variable.
23513         (tst-audit4-ENV): Likewise.
23514         (tst-audit5-ENV): Likewise.
23515         (tst-audit6-ENV): Likewise.
23516         (tst-audit7-ENV): Likewise.
23517         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23518         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23519         addition to variable.
23520         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23521         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23522         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23523         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23524         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23525         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23526         tst-audit3, tst-audit4 and tst-audit5.
23527         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23528         tst-audit6 and tst-audit7.
23529         [$(subdir) = elf] (modules-names): Add audit modules for those
23530         tests.
23531         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23532         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23533         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23534         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23535         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23536         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23537         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23538         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23539         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23540         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23541         [$(subdir) = elf] (tst-audit3-ENV): New variable.
23542         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23543         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23544         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23545         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23546         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23547         Likewise.
23548         [$(subdir) = elf && $(config-cflags-avx) = yes]
23549         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23550         [$(subdir) = elf && $(config-cflags-avx) = yes]
23551         (CFLAGS-tst-auditmod4a.c): Likewise.
23552         [$(subdir) = elf && $(config-cflags-avx) = yes]
23553         (CFLAGS-tst-auditmod4b.c): Likewise.
23554         [$(subdir) = elf && $(config-cflags-avx) = yes]
23555         (CFLAGS-tst-auditmod6b.c): Likewise.
23556         [$(subdir) = elf && $(config-cflags-avx) = yes]
23557         (CFLAGS-tst-auditmod6c.c): Likewise.
23558         [$(subdir) = elf && $(config-cflags-avx) = yes]
23559         (CFLAGS-tst-auditmod7b.c): Likewise.
23560         * elf/tst-audit3.c: Move to ...
23561         * sysdeps/x86_64/tst-audit3.c: ... here.
23562         * elf/tst-audit4.c: Move to ...
23563         * sysdeps/x86_64/tst-audit4.c: ... here.
23564         * elf/tst-audit5.c: Move to ...
23565         * sysdeps/x86_64/tst-audit5.c: ... here.
23566         * elf/tst-audit6.c: Move to ...
23567         * sysdeps/x86_64/tst-audit6.c: ... here.
23568         * elf/tst-audit7.c: Move to ...
23569         * sysdeps/x86_64/tst-audit7.c: ... here.
23570         * elf/tst-auditmod3a.c: Move to ...
23571         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23572         * elf/tst-auditmod3b.c: Move to ...
23573         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23574         * elf/tst-auditmod4a.c: Move to ...
23575         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23576         * elf/tst-auditmod4b.c: Move to ...
23577         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23578         * elf/tst-auditmod5a.c: Move to ...
23579         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23580         * elf/tst-auditmod5b.c: Move to ...
23581         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23582         * elf/tst-auditmod6a.c: Move to ...
23583         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23584         * elf/tst-auditmod6b.c: Move to ...
23585         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23586         * elf/tst-auditmod6c.c: Move to ...
23587         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23588         * elf/tst-auditmod7a.c: Move to ...
23589         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23590         * elf/tst-auditmod7b.c: Move to ...
23591         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23592
23593 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
23594
23595         [BZ #15366]
23596         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23597         define unconditionally.
23598         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23599         define unconditionally.
23600         (INT8_C, INT16_C, etc.): Likewise.
23601
23602 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
23603
23604         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23605         __ehdr_start with hidden visibility.
23606
23607         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23608
23609 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
23610
23611         * math/libm-test.inc (cos_test): Use accurate hex constants.
23612         (sincost_test): Likewise.
23613
23614 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
23615
23616         * math/libm-test.inc (catan_test): Add more tests.
23617         (catanh_test): Likewise.
23618
23619         * math/s_catanf.c (__catanf): Use suffixed floating-point
23620         constants.
23621         * math/s_catanhf.c (__catanhf): Likewise.
23622         * math/s_catanhl.c (__catanhl): Likewise.
23623         * math/s_catanl.c (__catanl): Likewise.
23624
23625         [BZ #15394]
23626         * math/s_catan.c (__catan): Calculate imaginary part of result
23627         with log1p not log unless computing log of number close to 0.
23628         * math/s_catanf.c (__catanf): Likewise.
23629         * math/s_catanl.c (__catanl): Likewise.
23630         * math/s_catanh.c (__catanh): Calculate real part of result with
23631         log1p not log unless computing log of number close to 0.
23632         * math/s_catanhf.c (__catanhf): Likewise.
23633         * math/s_catanhl.c (__catanhl): Likewise.
23634         * math/libm-test.inc (catan_test): Add more tests.
23635         (catanh_test): Likewise.
23636         * sysdeps/i386/fpu/libm-test-ulps: Update.
23637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23638
23639 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23640
23641         * benchtests/Makefile: Mention files in which fast and slow
23642         paths of math functions are implemented.
23643
23644 2013-04-23  Roland McGrath  <roland@hack.frob.com>
23645
23646         * sysdeps/posix/timespec_get.c: New file.
23647
23648 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23649
23650         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23651         POWER.
23652         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23653         for POWER.
23654         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23655         powerpc/power5/fpu folders.
23656         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23657         * benchtests/Makefile: Add modf testcase.
23658         * benchtests/bench-modf.c: New file: Benchmark test for mo
23659
23660 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23661
23662         [BZ #14888]
23663         * time/Makefile (tests): Add tst-strptime-whitespace.
23664         * time/strptime_l.c (get_number): Use ISSPACE.
23665         (__strptime_internal): Likewise.
23666         * time/tst-strptime-whitespace.c: New test case.
23667
23668 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
23669
23670         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23671         member.
23672         (_nss_files_init): Set it here.
23673
23674 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
23675
23676         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23677         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23678         unsigned.
23679
23680 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
23681
23682         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23683
23684 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23685
23686         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23687         size just once.
23688
23689 2013-04-21  David S. Miller  <davem@davemloft.net>
23690
23691         * po/ru.po: Update Russion translation from translation project.
23692
23693 2013-04-17  Adam Conrad  <adconrad@0c3.net>
23694
23695         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23696         and setfsgid.
23697
23698 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
23699
23700         * configure.in: Remove i386 configure warning. Remove i386 case.
23701         * configure: Regenerate.
23702         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23703         Add example to error message.
23704         * sysdeps/i386/configure: Regenerate.
23705
23706 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23707
23708         * benchtests/Makefile (bench): Add cos, tan, slowcos and
23709         slowtan.
23710         * benchtests/cos-inputs: New file.
23711         * benchtests/slowcos-inputs: New file.
23712         * benchtests/slowcos.c: New file.
23713         * benchtests/slowtan-inputs: New file.
23714         * benchtests/slowtan.c: New file.
23715         * benchtests/tan-inputs: New file.
23716
23717 2013-04-16  Roland McGrath  <roland@hack.frob.com>
23718
23719         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23720         considered kosher.
23721
23722 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23723
23724         * benchtests/Makefile: Include cppflags-iterator.mk to add
23725         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23726
23727         * Makefile.in (bench-clean): New target.
23728         * benchtests/Makefile (bench-clean): Likewise.
23729
23730 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
23731
23732         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23733
23734 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
23735
23736         * stdio-common/tstdiomisc.c: Fix coding-style violation.
23737
23738 2013-04-15  Andreas Schwab  <schwab@suse.de>
23739
23740         * nscd/grpcache.c (cache_addgr): Properly check for short write.
23741         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23742         * nscd/pwdcache.c (cache_addpw): Likewise.
23743         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
23744         more than recsize.
23745
23746 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23747
23748         * benchtests/Makefile (bench): Write all output to
23749         bench-out.tmp together.
23750
23751 2013-04-15  Andreas Schwab  <schwab@suse.de>
23752
23753         * nscd/nscd.c (main): Don't fork again after closing files.
23754
23755 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23756
23757         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23758
23759         * benchtests/Rules (bench-deps): Collect dependencies into a
23760         single variable.  Add Makefile to dependencies.
23761         ($(objpfx)bench-%.c): Depend on bench-deps.
23762
23763 2013-04-12  Roland McGrath  <roland@hack.frob.com>
23764             Xavier Roche  <roche+kml2@exalead.com>
23765
23766         [BZ #15361]
23767         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23768         just that it's a file descriptor.
23769         * manual/llio.texi (Synchronizing AIO Operations): Update description
23770         for EBADF error from aio_fsync.
23771
23772 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23773
23774         * Rules (bench): Move target definition...
23775         * benchtests/Makefile: ... here.
23776
23777 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
23778
23779         * math/libm-test.inc (cos_test): Fix PI/2 test.
23780         (sincos_test): Likewise.
23781         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23782         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23783
23784 2013-04-11  Andreas Schwab  <schwab@suse.de>
23785
23786         [BZ #13988]
23787         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23788         accept exponent character only when digits were seen.
23789         * stdio-common/Makefile (tests): Add bug26.
23790         * stdio-common/bug26.c: New file.
23791
23792         [BZ #14293]
23793         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23794         non-freeable.
23795
23796 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23797
23798         * Makeconfig (rtld-prefix): Define built linker prefix.
23799         * Rules (run-bench): Use it.
23800         * math/Makefile (run-regen-ulps): Likewise.
23801
23802         * Rules (bench): Remove eval.
23803
23804 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23805             Roland McGrath  <roland@hack.frob.com>
23806             Ondrej Bilka  <neleai@seznam.cz>
23807
23808         [BZ #15346]
23809         * time/getdate.c: Include ctype.h and alloca.h.
23810         (__getdate_r): Trim leading and trailing spaces of input.
23811         * time/tst-getdate.c (tests): Add tests with leading and
23812         trailing spaces.
23813
23814 2013-04-08  Roland McGrath  <roland@hack.frob.com>
23815
23816         [BZ #14280]
23817         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23818         when computing value.
23819
23820 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23821
23822         * math/README.libm-test (How can I generate "libm-test-ulps"?):
23823         Use testrun.sh to run libm tests.
23824
23825         [BZ #15309]
23826         * elf/dl-open.c (dl_open_worker): memset all of seen array.
23827
23828 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
23829
23830         [BZ #15264]
23831         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23832
23833 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23834
23835         * Makefile.in (regen-ulps): New target.
23836         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23837         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23838         [ifneq (no,$(PERL)] (regen-ulps): New target.
23839         [ifeq (no,$(PERL)] (regen-ulps): New target.
23840         * math/libm-test.inc (ulps_file_name): Define.
23841         (output_dir): New variable.
23842         (options): Add "output-dir" option.
23843         (parse_opt): Handle 'o' case.
23844         (main): If output_dir is non-NULL use it as a prefix
23845         otherwise use "".
23846         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23847
23848 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23849
23850         [BZ #10060, #10062]
23851         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23852         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23853         fail configure if __sync_val_compare_and_swap is not inlined.
23854         * sysdeps/i386/configure: Regenerate.
23855         * configure.in: Build for i686 when configured for i386.
23856         * configure: Regenerate.
23857         * README: Remove i386 reference.
23858
23859 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23860
23861         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23862         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23863
23864 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23865
23866         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23867         (lmsnanval): New variables.
23868         (F): Add conversion tests.
23869         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23870         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23871
23872         * stdio-common/tstdiomisc.c (F): Properly collect individual
23873         tests' results.
23874
23875         [BZ #14686, #15336]
23876         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23877         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23878         Instead, use input NaN values or generate a qNaN by arithmetic
23879         operation.  Also fix bugs to comply with the standard.
23880         * math/libm-test.inc (remainder_test): Add more tests.
23881
23882         [BZ #15335, #15342]
23883         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23884         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23885         input NaN values or generate a qNaN by arithmetic operation.
23886
23887         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23888         unreachable code.
23889
23890         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23891         definitions.
23892
23893 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
23894
23895         [BZ #14478]
23896         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23897         underflowed result.
23898         * math/s_cexpf.c (__cexpf): Likewise.
23899         * math/s_cexpl.c (__cexpl): Likewise.
23900         * math/libm-test.inc (cexp_test): Add more tests.
23901
23902 2013-04-03  Andreas Schwab  <schwab@suse.de>
23903
23904         [BZ #15330]
23905         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23906         order arrays from heap if bigger than alloca cutoff.
23907
23908 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
23909
23910         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23911         (SNAN_TESTS_double): Refer to GCC PR56831.
23912         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23913         GCC PR56828.
23914
23915 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23916
23917         * Rules (bench): Move bench.out after the run is complete.
23918
23919         * Rules (bench): Echo currently running benchmark.
23920
23921         * benchtests/Makefile (bench): Add atan and slowatan.
23922         * benchtests/atan-inputs: New file.
23923         * benchtests/slowatan-inputs: New file.
23924         * benchtests/slowatan.c: New file.
23925
23926         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23927         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23928         its value.
23929
23930         [BZ #15305]
23931         * sysdeps/unix/sysv/linux/kernel-features.h
23932         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23933         __ASSUME_XFS_RESTRICTED_CHOWN.
23934         * sysdeps/unix/sysv/linux/pathconf.c
23935         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23936         Save and restore errno.
23937
23938 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
23939
23940         [BZ #15327]
23941         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23942         arguments using __kernel_casinh.
23943         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23944         arguments using __kernel_casinhf.
23945         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23946         arguments using __kernel_casinhl.
23947         * math/libm-test.inc (cacosh_test): Add more tests.
23948         * sysdeps/i386/fpu/libm-test-ulps: Update.
23949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23950
23951 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23952
23953         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23954         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23955
23956         * bench/Makefile (bench): Add sin and slowsin.
23957         * benchtests/sin-inputs: New file.
23958         * benchtests/slowsin-inputs: New file.
23959         * benchtests/slowsin.c: New file.
23960
23961         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23962         (bench): Add slowexp and slowpow.
23963         (exp-ITER): Increase iterations.
23964         (pow-ITER): Likewise.
23965         * benchtests/exp-inputs: Change input.
23966         * benchtests/pow-inputs: Likewise.
23967         * benchtests/slowexp-inputs: New file.
23968         * benchtests/slowexp.c: New file.
23969         * benchtests/slowpow-inputs: New file.
23970         * benchtests/slowpow.c: New file.
23971
23972 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23973
23974         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23975         instructions.
23976         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23977         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23978         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23979         * benchtests/Makefile: Add rint benchtest.
23980         * benchtests/rint-inputs: Input for rint benchtest.
23981
23982 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23983
23984         * Versions.def (libm): Add GLIBC_2.18.
23985         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23986         hidden libm prototypes.
23987         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23988         * math/Makefile (libm-calls): Add s_issignaling.
23989         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23990         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23991         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23992         declaration.
23993         * math/math.h [__USE_GNU] (issignaling): New macro.
23994         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23995         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23996         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23997         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23998         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23999         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24000         * manual/arith.texi (issignaling): New section.
24001         * manual/libm-err-tab.pl (@all_functions): Update comment.
24002         * math/gen-libm-test.pl (parse_args): Apply special handling for
24003         issignaling.
24004         * math/libm-test.inc (print_float, issignaling_test): New
24005         functions.
24006         (check_float_internal): Add issignaling checks.
24007         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24008         default definition.
24009         * sysdeps/powerpc/math-tests.h: New file.
24010         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24011         tests.
24012         * math/test-snan.c (TEST_FUNC): Likewise.
24013
24014 2013-03-30  David S. Miller  <davem@davemloft.net>
24015
24016         * po/de.po: Update from translation team.
24017
24018 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
24019
24020         [BZ #10357]
24021         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24022         imaginary part less than 1.0 and real part less than 0.5
24023         specially.
24024         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24025         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24026         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24027         (cacos_test): Add more tests.
24028         (casin_test): Likewise.
24029         (casinh_test): Likewise.
24030         * sysdeps/i386/fpu/libm-test-ulps: Update.
24031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24032
24033 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24034
24035         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24036         ONE with its value.
24037
24038         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24039         (__pow_mp): Replace ONE and MONE with their values.
24040         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24041         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24042         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24043         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24044         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24045         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24046
24047         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24048
24049         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24050         (__pow_mp): Replace ZERO and MZERO with their values.
24051         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24052         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24053         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24054         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24055         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24056         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24057         (__sqr): Likewise.
24058
24059         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24060
24061         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24062
24063 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24064
24065         * include/stdlib.h [!SHARED] (__call_tls_dtors):
24066         Declare with __attribute__ ((weak)).
24067         * stdlib/exit.c (__libc_atexit) [!SHARED]:
24068         Call __call_tls_dtors only if it's not NULL.
24069
24070 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24071
24072         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24073         didn't do it already, then set _dl_phdr and _dl_phnum based on the
24074         magic __ehdr_start linker symbol if it's defined.
24075         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24076         them up here if it was already done.
24077
24078         * elf/dl-support.c (_dl_phdr): Make pointer to const.
24079         (_dl_aux_init): Use const in cast when setting it.
24080         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24081         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24082         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24083
24084         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24085         Declare them here.
24086         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24087         * csu/libc-tls.c: Nor here.
24088         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24089
24090         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24091         (__libc_message): Never call vsyslog.
24092
24093 2013-03-28  Alan Modra  <amodra@gmail.com>
24094
24095         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24096         Define as empty.
24097         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24098         Likewise.
24099
24100 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24101
24102         [BZ #15214]
24103         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24104         underflow.
24105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24106
24107 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24108
24109         [BZ #15304]
24110         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24111         Don't add gid passed as argument.
24112
24113         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24114
24115 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
24116
24117         [BZ #15307]
24118         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24119         imaginary part between 1.0 and 1.5 and real part less than 0.5
24120         specially.
24121         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24122         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24123         * math/libm-test.inc (cacos_test): Add more tests.
24124         (casin_test): Likewise.
24125         (casinh_test): Likewise.
24126         * sysdeps/i386/fpu/libm-test-ulps: Update.
24127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24128
24129 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24130
24131         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24132         constants.
24133         (norm): Likewise.
24134         (denorm): Likewise.
24135         (__dbl_mp): Likewise.
24136         (add_magnitudes): Likewise.
24137         (sub_magnitudes): Likewise.
24138         (__add): Likewise.
24139         (__sub): Likewise.
24140         (__mul): Likewise.
24141         (__sqr): Likewise.
24142         (__inv): Likewise.
24143         (__dvd): Likewise.
24144
24145         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24146         commented code.
24147         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24148         (__dubcos): Likewise.
24149         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24150         (__ieee754_acos): Likewise.
24151         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24152         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24153         (__exp1): Likewise.
24154         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24155         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24156         (log1): Likewise.
24157         (my_log2): Likewise.
24158         (checkint): Likewise.
24159         * sysdeps/ieee754/dbl-64/e_remainder.c
24160         (__ieee754_remainder): Likewise.
24161         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24162         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24163         (bsloww): Likewise.
24164         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24165
24166         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24167         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24168         MANTISSA_STORE_T to store computations on mantissa.  Use
24169         macros for rounding and division.
24170         (denorm): Likewise.
24171         (__dbl_mp): Likewise.
24172         (add_magnitudes): Likewise.
24173         (sub_magnitudes): Likewise.
24174         (__mul): Likewise.
24175         (__sqr): Likewise.
24176         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24177         powers of two in terms of TWOPOW macro.
24178         (mp_no): Make type of mantissa as MANTISSA_T.
24179         [!RADIXI]: Define RADIXI.
24180         [!TWO52]: Define TWO52.
24181         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24182
24183 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24184
24185         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24186         llroundl symbol when building for PPC32.
24187
24188 2013-03-24  Mark H Weaver  <mhw@netris.org>
24189
24190         * manual/arith.texi (Normalization Functions): Fix prototypes for
24191         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24192
24193 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24194
24195         [BZ #13889]
24196         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24197         high value to check if expl overflow.
24198         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24199         to check for underflow and overflow.
24200         * math/libm-test.inc: Add exp test.
24201
24202 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
24203
24204         [BZ #11120]
24205         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24206         with NOT_IN_libc.
24207
24208 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24209
24210         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24211         symbol.
24212
24213 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24214
24215         * math/gen-libm-test.pl (parse_args, special_functions): Properly
24216         wrap blocks consisting of several statements.
24217
24218         * sysdeps/generic/math-tests.h: New file.
24219         * sysdeps/i386/fpu/math-tests.h: Likewise.
24220         * math/test-snan.c: Include it.
24221         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24222
24223 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24224
24225         [BZ #15285]
24226         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24227         (__ieee754_j0l): Do not improve calculations using cos of twice
24228         input for inputs above LDBL_MAX / 2.0L.
24229         (__ieee754_y0l): Likewise.
24230         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24231         (__ieee754_j1l): Do not improve calculations using cos of twice
24232         input for inputs above LDBL_MAX / 2.0L.
24233         (__ieee754_y1l): Likewise.
24234         * math/libm-test.inc (j0_test): Add another test.
24235         (j1_test): Likewise.
24236         (y0_test): Likewise.
24237         (y1_test): Likewise.
24238         * sysdeps/i386/fpu/libm-test-ulps: Update.
24239
24240 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24241
24242         * Rules ($(objpfx)bench-%.c): Include code from a C source
24243         file.
24244
24245 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24246
24247         [BZ #15287]
24248         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24249         imaginary part 1.0 and real part less than 0.5 specially.
24250         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24251         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24252         * math/libm-test.inc (cacos_test): Add more tests.
24253         (casin_test): Likewise.
24254         (casinh_test): Likewise.
24255         * sysdeps/i386/fpu/libm-test-ulps: Update.
24256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24257
24258 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24259
24260         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24261         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24262
24263 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
24264
24265         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24266         * config.make.in (config-cflags-sse4): Remove variable.
24267         (config-cflags-avx): Likewise.
24268         (config-cflags-sse2avx): Likewise.
24269         (config-cflags-novzeroupper): Likewise.
24270         (config-asflags-i686): Likewise.
24271         (have-mfma4): Likewise.
24272         (have-as-vis3): Likewise.
24273         (MIG): Likewise.
24274         * configure.in (MIG): Do not AC_SUBST.
24275         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24276         (libc_cv_cc_sse4): Do not AC_SUBST.
24277         (libc_cv_cc_avx): Likewise.
24278         (libc_cv_cc_sse2avx): Likewise.
24279         (libc_cv_cc_novzeroupper): Likewise.
24280         (libc_cv_cc_fma4): Likewise.
24281         (libc_cv_as_i686): Likewise.
24282         (libc_cv_sparc_as_vis3): Likewise.
24283         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24284         LIBC_CONFIG_VAR.
24285         (config-asflags-i686): Likewise.
24286         (config-cflags-avx): Likewise.
24287         (config-cflags-sse2avx): Likewise.
24288         (have-mfma4): Likewise.
24289         (config-cflags-novzeroupper): Likewise.
24290         * sysdeps/mach/configure.in (MIG): Likewise.
24291         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24292         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24293         LIBC_CONFIG_VAR.
24294         (config-cflags-avx): Likewise.
24295         (config-cflags-sse2avx): Likewise.
24296         (have-mfma4): Likewise.
24297         (config-cflags-novzeroupper): Likewise.
24298         * configure: Regenerated.
24299         * sysdeps/i386/configure: Likewise.
24300         * sysdeps/mach/configure: Likewise.
24301         * sysdeps/sparc/configure: Likewise.
24302         * sysdeps/x86_64/configure: Likewise.
24303
24304 2013-03-20  Roland McGrath  <roland@hack.frob.com>
24305
24306         [BZ #14812]
24307         * locale/programs/localedef.c (options): Put N_ translation marker
24308         on argument names, not just descriptions.
24309
24310 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24311
24312         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24313
24314 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
24315
24316         [BZ #14176]
24317         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24318
24319 2013-03-19  Roland McGrath  <roland@hack.frob.com>
24320
24321         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24322         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24323         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24324         [!BEFORE_ABORT] (before_abort): New function.
24325         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24326         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24327         (writev_for_fatal): New function.
24328         (WRITEV_FOR_FATAL): New macro; call that.
24329         (backtrace_and_maps): New function.
24330         (BEFORE_ABORT): New macro; call that.
24331         (struct str_list): Type removed.
24332         (__libc_message, __libc_fatal): Functions removed.
24333         Include <sysdeps/posix/libc_fatal.c> instead.
24334
24335 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
24336
24337         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24338         constants.
24339         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24340         double constants.
24341
24342 2013-03-19  Andreas Schwab  <schwab@suse.de>
24343
24344         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24345         * sysdeps/gnu/configure: Regenerate.
24346
24347         * configure.in: Substitute libc_cv_rtlddir.
24348         * configure: Regenerate.
24349         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24350         * Makeconfig (rtlddir, inst_rtlddir): New variables.
24351         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24352         * elf/Makefile (install-others, CFLAGS-interp.c)
24353         (ldso_install, common-ldd-rewrite): Likewise.
24354         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24355         $(inst_slibdir)/$(rtld-installed-name).
24356         * scripts/rellns-sh: Add -p option.
24357         * Makerules (make-shlib-link): Use rellns-sh to get relative name
24358         for source.
24359
24360 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24361
24362         * manual/nptl.texi: Renamed to ...
24363         * manual/threads.texi: ... this.
24364         * manual/Makefile (chapters): Update.
24365
24366 2013-03-18  Roland McGrath  <roland@hack.frob.com>
24367
24368         [BZ #14812]
24369         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24370         on argument names, not just descriptions.
24371         * malloc/memusagestat.c (options): Likewise.
24372         * nss/getent.c (options): Likewise.
24373
24374 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
24375
24376         [BZ #14812]
24377         * iconv/iconv_prog.c (options): Put N_ translation marker
24378         on argument names, not just descriptions.
24379         * iconv/iconvconfig.c (options): Likewise.
24380
24381 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
24382
24383         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24384         implementation which is faster on all x86_64 architectures.
24385         Tested on AMD, Intel Nehalem, SNB, IVB.
24386         * sysdeps/x86_64/strnlen.S: Likewise.
24387
24388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24389         Remove all multiarch strlen and strnlen versions.
24390         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24391         Remove strlen and strnlen related parts.
24392
24393         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24394         Inline strlen part.
24395         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24396
24397         * sysdeps/x86_64/multiarch/strlen.S: Remove.
24398         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24399         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24400         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24401         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24402         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24403
24404 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
24405
24406         * manual/memory.texi (Malloc Tunable Parameters):
24407         Sort parameters alphabetically. Add comments for missing entries.
24408
24409 2013-03-17  David S. Miller  <davem@davemloft.net>
24410
24411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24412
24413 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
24414
24415         [BZ #15283]
24416         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24417         for arguments at most half maximum finite value.
24418         * math/libm-test.inc (j0_test): Add more tests.
24419         (j1_test): Likewise.
24420         (y0_test): Likewise.
24421         (y1_test): Likewise.
24422         * sysdeps/i386/fpu/libm-test-ulps: Update.
24423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24424
24425         [BZ #14155]
24426         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24427         1 / x and functions P and Q for arguments above 0x1p256L.
24428         (__ieee754_y0l): Likewise.
24429         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24430         (__ieee754_y1l): Likewise.
24431         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24432         (j1_test): Likewise.
24433         (y0_test): Likewise.
24434         (y1_test): Likewise.
24435
24436 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
24437
24438         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24439         variable.
24440
24441 2013-03-15  Roland McGrath  <roland@hack.frob.com>
24442
24443         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24444         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24445         zero since it's initialized to EXEC_PAGESIZE.
24446
24447         * sysdeps/unix/sysv/linux/ldsodefs.h
24448         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24449         * sysdeps/generic/ldsodefs.h: ... here.
24450
24451 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
24452
24453         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24454
24455         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24456         math/test-snan.c.
24457         * math/test-snan.c: Renamed from
24458         sysdeps/powerpc/fpu/test-powerpc-snan.c.
24459         * math/Makefile (tests): Add test-snan.
24460         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24461         test-powerpc-snan.
24462
24463         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24464         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
24465         functions.
24466         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
24467         __builtin_nan family of functions.
24468         * math/libm-test.inc (initialize): Initialize qnan_value with
24469         __builtin_nan family of functions.
24470         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24471         Remove variables.
24472         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24473         Remove functions.
24474         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
24475         storage class.  Initialize qNaN_var and sNaN_var with
24476         __builtin_nan and __builtin_nans families of functions,
24477         respectively.
24478
24479         * math/libm-test.inc (acosh_test): Also test with qNaN input.
24480         (sqrt_test): Remove duplicate test with qNaN input.
24481         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24482         (round_test, signbit_test, significand_test): Note missing +/-Inf
24483         as well as qNaN tests.
24484
24485         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24486         qNaN_var.  Fix a few strings, too.
24487         * math/libm-test.inc (nan_value): Rename to qnan_value.
24488         * math/gen-libm-test.pl (%beautify): Adjust to that.
24489         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24490         * math/test-misc.c (main): Likewise.
24491         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24492         to __qnan_bytes, and __qnan_union, respectively.
24493         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24494         Likewise.
24495         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24496         and lqnanval, respectively.
24497         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24498         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24499         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24500         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24501
24502         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24503         * math/test-misc.c (main) [__x86_64__]: Enable test for long
24504         doubles.
24505
24506         * math/test-misc.c (main): Fix copy'n'pastos.
24507         * misc/tst-efgcvt.c (special): Likewise.
24508
24509         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24510         Remove declarations.
24511
24512 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24513
24514         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24515         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24516         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24517         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24518
24519 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24520
24521         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24522         macro to return vdso values correctly in IFUNC implementations.
24523         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24524         Optimization by using IFUNC.
24525
24526 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24527             Richard Henderson  <rth@redhat.com>
24528             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24529
24530         * Makefile.in (bench): New target.
24531         * NEWS: Mention the benchmark framework.
24532         * Rules (bench): Likewise.
24533         (binaries-bench): Generate binaries for functions to
24534         benchmark.
24535         * benchtests/Makefile: New makefile for benchmark tests.
24536         * benchtests/bench-skeleton.c: New skeleton file for benchmark
24537         programs.
24538         * benchtests/exp-inputs: New input file for EXP function.
24539         * benchtests/pow-inputs: New input file for POW function.
24540         * scripts/bench.pl: New script to generate source files for
24541         benchmark programs.
24542
24543 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24544
24545         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24546         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24547         computations on mantissa.  Use macros for rounding and
24548         division.
24549         (denorm): Likewise.
24550         (__dbl_mp): Likewise.
24551         (add_magnitudes): Likewise.
24552         (sub_magnitudes): Likewise.
24553         (__mul): Likewise.
24554         (__sqr): Likewise.
24555         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24556         powers of two in terms of TWOPOW macro.
24557         (mp_no): Make type of mantissa as MANTISSA_T.
24558         [!RADIXI]: Define RADIXI.
24559         [!TWO52]: Define TWO52.
24560         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24561
24562         * manual/nptl.texi (cindex): Modify threads to pthreads.
24563
24564 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
24565
24566         * sysdeps/x86_64/preconfigure: Regenerated.
24567
24568 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
24569
24570         [BZ #14155]
24571         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24572         0x1p28 and above.
24573         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24574         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24575         0x1p28 and above.
24576         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24577         * math/libm-test.inc (j0_test): Do not allow one spurious
24578         underflow exception.
24579         (y1_test): Likewise.
24580
24581 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24582
24583         * manual/Makefile (chapters): Add nptl.
24584         * manual/debug.texi (Debugging Support): Add link to Threads
24585         chapter.
24586         * manual/nptl.texi: New file.
24587
24588         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24589
24590 2013-03-14  Petr Baudis  <pasky@ucw.cz>
24591
24592         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24593         for non-NULL pointer before the memory validity test. Pointed
24594         out by Holger Brunck <holger.brunck@keymile.com>.
24595
24596 2013-03-13  Andreas Schwab  <schwab@suse.de>
24597
24598         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24599         instead of .os.
24600
24601 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
24602
24603         * timezone/zic.c: Update from tzcode 2013b.
24604
24605 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
24606
24607         * manual/install.texi (Configuring and compiling):
24608         Mention i686 and i586.
24609         * INSTALL: Regenerate.
24610
24611 2013-03-12  Roland McGrath  <roland@hack.frob.com>
24612
24613         * sysdeps/init_array/elf-init.c: New file.
24614         * csu/elf-init.c
24615         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24616         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24617
24618         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24619         __gmon_start__ as global, but as static with a .preinit_array pointer.
24620         * sysdeps/init_array/gmon-start.c: New file.  Use that.
24621         * sysdeps/init_array/crti.S: New file, empty except for comments.
24622         * sysdeps/init_array/crtn.S: Likewise.
24623
24624 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
24625
24626         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24627         definining bcopy.
24628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24629         Remove Prefer_SSE_for_memop.
24630         * sysdeps/x86_64/multiarch/init-arch.h: Remove
24631         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24632         HAS_PREFER_SSE_FOR_MEMOP.
24633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24634         memset-x86-64.
24635         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24636         Remove bzero, memset ifunc support.
24637         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24638         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24639         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24640         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24641
24642 2013-03-11  Andreas Schwab  <schwab@suse.de>
24643
24644         [BZ #15234]
24645         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24646         by SHLIB_COMPAT.
24647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24648         (GLIBC_2.16): Remove pthread_atfork.
24649
24650 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24651
24652         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24653         (ptestcases.h): Likewise.
24654
24655 2013-03-08  Roland McGrath  <roland@hack.frob.com>
24656
24657         * Makeconfig ($(common-objpfx)config.status): Depend on
24658         sysdeps/*/preconfigure{,.in} too.
24659
24660 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
24661
24662         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24663         (__free_hook): Use void * instead of __malloc_ptr_t.
24664         (__malloc_hook): Likewise.
24665         (__realloc_hook): Likewise.
24666         (__memalign_hook): Likewise.
24667         (__after_morecore_hook): Likewise.
24668         * malloc/arena.c (save_malloc_hook): Likewise.
24669         (save_free_hook): Likewise.
24670         * malloc/hooks.c (malloc_hook_ini): Likewise.
24671         (realloc_hook_ini): Likewise.
24672         (memalign_hook_ini): Likewise.
24673         * malloc/malloc.c (malloc_hook_ini): Likewise.
24674         (realloc_hook_ini): Likewise.
24675         (memalign_hook_ini): Likewise.
24676         (__free_hook): Likewise.
24677         (__malloc_hook): Likewise.
24678         (__realloc_hook): Likewise.
24679         (__memalign_hook): Likewise.
24680         (__libc_malloc): Likewise.
24681         (__libc_free): Likewise.
24682         (__libc_realloc): Likewise.
24683         (__libc_memalign): Likewise.
24684         (__libc_valloc): Likewise.
24685         (__libc_pvalloc): Likewise.
24686         (__libc_calloc): Likewise.
24687         (__posix_memalign): Likewise.
24688         * malloc/morecore.c (__sbrk): Likewise.
24689         (__default_morecore): Likewise.
24690
24691         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24692
24693         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24694         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24695         __malloc_ptrdiff_t.
24696
24697         * malloc/malloc.h (__malloc_size_t): Remove macro.
24698         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24699         __malloc_size_t.
24700         (old_memalign_hook): Likewise.
24701         (old_realloc_hook): Likewise.
24702         (struct hdr): Likewise.
24703         (flood): Likewise.
24704         (mallochook): Likewise.
24705         (memalignhook): Likewise.
24706         (reallochook): Likewise.
24707         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24708         (tr_old_realloc_hook): Likewise.
24709         (tr_old_memalign_hook): Likewise.
24710         (tr_mallochook): Likewise.
24711         (tr_reallochook): Likewise.
24712         (tr_memalignhook): Likewise.
24713
24714 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24715
24716         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24717         default_ldbl_pack and using as default implementation.
24718         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24719         implementation.
24720         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24721         redundant definition.
24722         (ldbl_insert_mantissa): Likewise.
24723         (ldbl_canonicalize): Likewise.
24724         (ldbl_nearbyint): Likewise.
24725         (ldbl_pack): Rename to ldbl_pack_ppc.
24726         (ldbl_unpack): Rename to ldbl_unpack_ppc.
24727         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24728         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24729
24730 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24731
24732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24733         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24734         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24735         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24736         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24737         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24738         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24739         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24740
24741 2013-03-07  Andreas Jaeger  <aj@suse.de>
24742
24743         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24744         bits/mman-linux.h.
24745
24746 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24747
24748         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24749         Include mpa.h and declare __MPEXP.
24750         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24751         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24752         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24753         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24754         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24755         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24756         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24757
24758         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24759         (__slowpow): Use long double EXPL and LOGL functions to
24760         compute POW.
24761         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24762         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24763         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24764         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24765         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24766         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24767
24768         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24769         intermediate variable to calculate exponent.
24770         (__sqr): Likewise.
24771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24772         Likewise.
24773         (__sqr): Likewise.
24774
24775         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24776         [!NO__SQR]: Define __sqr.
24777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24778         and NO__SQR.  Remove all code except __mul and __sqr.  Include
24779         sysdeps/ieee754/dbl-64/mpa.c.
24780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24781
24782         [BZ #12723]
24783         * posix/Makefile (tests): Add tst-pathconf.
24784         * posix/tst-pathconf.c: New test case.
24785         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24786         _PC_PIPE_BUF.
24787         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24788
24789 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
24790
24791         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24792
24793 2013-03-06  Andreas Jaeger  <aj@suse.de>
24794
24795         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24796         definition via __MAP_ANONYMOUS.
24797
24798         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24799         it's not part of Linux headers.
24800
24801         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24802         (MAP_HUGE_MASK): Define.
24803
24804         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24805         Define.
24806         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24807         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24808         Define.
24809         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24810         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24811         Define.
24812         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24813         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24814         Define.
24815         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24816
24817         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24818         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24819         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24820         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24821         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24822         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24823
24824         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24825         Handle f2fs.
24826
24827         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24828         Handle f2fs and efivarfs.
24829
24830         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24831         f2fs.
24832
24833         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24834         (EFIVARFS_MAGIC): Add.
24835         (F2FS_LINK_MAX): Add.
24836
24837 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24838
24839         * stdio-common/vfprintf.c: Replace __builtin_expect with
24840         __glibc_unlikely.
24841
24842 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
24843
24844         [BZ #13550]
24845         * sysdeps/generic/bp-sym.h: Remove file.
24846         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24847         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24848         <bp-sym.h> and <bp-asm.h>.
24849         (__longjmp): Don't use BP_SYM.
24850         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24851         and <bp-asm.h>.
24852         (memcpy): Don't use BP_SYM.
24853         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24854         <bp-sym.h> and <bp-asm.h>.
24855         (memcpy): Don't use BP_SYM.
24856         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24857         <bp-asm.h>.
24858         (memcpy): Don't use BP_SYM.
24859         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24860         <bp-asm.h>.
24861         (memset): Don't use BP_SYM.
24862         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24863         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24864         (__bzero): Don't use BP_SYM.
24865         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24866         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24867         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24868         <bp-sym.h> and <bp-asm.h>.
24869         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24870         pointers.
24871         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24872         <bp-sym.h> and <bp-asm.h>.
24873         (memcpy): Don't use BP_SYM.
24874         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24875         <bp-sym.h> and <bp-asm.h>.
24876         (memset): Don't use BP_SYM.
24877         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24878         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24879         (__bzero): Don't use BP_SYM.
24880         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24881         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24882         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24883         <bp-sym.h> and <bp-asm.h>.
24884         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24885         pointers.
24886         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24887         <bp-sym.h> and <bp-asm.h>.
24888         (memcpy): Don't use BP_SYM.
24889         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24890         <bp-sym.h> and <bp-asm.h>.
24891         (memset): Don't use BP_SYM.
24892         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24893         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24894         (__bzero): Don't use BP_SYM.
24895         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24896         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24897         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24898         <bp-sym.h> and <bp-asm.h>.
24899         (__memchr): Don't use BP_SYM.
24900         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24901         <bp-sym.h> and <bp-asm.h>.
24902         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24903         pointers.
24904         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24905         <bp-sym.h> and <bp-asm.h>.
24906         (memcpy): Don't use BP_SYM.
24907         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24908         <bp-sym.h> and <bp-asm.h>.
24909         (__mempcpy): Don't use BP_SYM.
24910         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24911         <bp-sym.h> and <bp-asm.h>.
24912         (__memrchr): Don't use BP_SYM.
24913         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24914         <bp-sym.h> and <bp-asm.h>.
24915         (memset): Don't use BP_SYM.
24916         (__bzero): Likewise.
24917         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24918         <bp-sym.h> and <bp-asm.h>.
24919         (__rawmemchr): Don't use BP_SYM.
24920         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24921         <bp-sym.h> and <bp-asm.h>.
24922         (__STRCMP): Don't use BP_SYM.
24923         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24924         <bp-sym.h> and <bp-asm.h>.
24925         (strchr): Don't use BP_SYM.
24926         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24927         <bp-sym.h> and <bp-asm.h>.
24928         (__strchrnul): Don't use BP_SYM.
24929         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24930         <bp-sym.h> and <bp-asm.h>.
24931         (strlen): Don't use BP_SYM.
24932         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24933         <bp-sym.h> and <bp-asm.h>.
24934         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24935         pointers.
24936         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24937         <bp-sym.h> and <bp-asm.h>.
24938         (__strnlen): Don't use BP_SYM.
24939         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24940         <bp-sym.h> and <bp-asm.h>.
24941         (__GI__setjmp): Don't use BP_SYM.
24942         (_setjmp): Likewise.
24943         (__sigsetjmp): Likewise.
24944         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24945         (L(start_addresses)): Don't use BP_SYM.
24946         (_start): Likewise.
24947         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24948         <bp-asm.h>.
24949         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24950         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24951         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24952         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24953         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24954         <bp-asm.h>.
24955         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24956         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
24957         about bounded pointers.
24958         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24959         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24960         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24961         <bp-asm.h>.
24962         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24963         about bounded pointers.  Remove GKM FIXME comments.
24964         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24965         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24966         <bp-asm.h>.
24967         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24968         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
24969         Remove GKM FIXME comments.
24970         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24971         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24972         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24973         <bp-asm.h>.
24974         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24975         about bounded pointers.  Remove GKM FIXME comment.
24976         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24977         and <bp-asm.h>.
24978         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24979         pointers.
24980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24981         <bp-sym.h> and <bp-asm.h>.
24982         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24984         <bp-sym.h> and <bp-asm.h>.
24985         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24986         comment.
24987
24988 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24989
24990         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24991         call free(NULL).
24992
24993 2013-03-05  David S. Miller  <davem@davemloft.net>
24994
24995         * po/es.po: Update from translation team.
24996
24997 2013-03-05  Andreas Jaeger  <aj@suse.de>
24998
24999         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25000         <bits/mman-linux.h>.
25001         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25002         is fine.
25003         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25004         <bits/mman-linux.h> to end of file.
25005         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25006         is fine.
25007         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25008         <bits/mman-linux.h> to end of file.
25009         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25010         is fine.
25011         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25012         <bits/mman-linux.h> to end of file.
25013
25014         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25015         (MCL_CURRENT, MCL_FUTURE): Define here.
25016
25017 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25018
25019         [BZ #15232]
25020         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25021         attribute_hidden.
25022         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25023
25024 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25025
25026         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25027         fourth parameter needed for rt_sigprocmask syscall.
25028         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25029         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25030         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25031         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25032         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25033         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25034
25035 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
25036
25037         [BZ #13550]
25038         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25039         comment about bounded pointers.
25040         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25041         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25042
25043 2013-03-04  Andreas Jaeger  <aj@suse.de>
25044
25045         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25046         common definitions.
25047
25048         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25049         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25050         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25051         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25052         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25053         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25054
25055 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25056
25057         [BZ #15055]
25058         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25059         __ieee754_sqrl instead of __sqrl.
25060
25061 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
25062
25063         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25064         * sysdeps/powerpc/fpu_control.h: ... here.
25065         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25066         * sysdeps/powerpc/bits/fenvinline.h: ... here.
25067         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25068         * sysdeps/powerpc/bits/mathinline.h: ... here.
25069
25070 2013-03-01  Roland McGrath  <roland@hack.frob.com>
25071
25072         * elf/dl-hwcaps.c (_dl_important_hwcaps):
25073         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25074         to just [NEED_DL_SYSINFO_DSO].
25075         * elf/dl-support.c: Likewise.
25076         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25077         * elf/rtld.c (dl_main): Likewise.
25078         * elf/setup-vdso.h (setup_vdso): Likewise.
25079         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25080         * sysdeps/unix/sysv/linux/dl-sysdep.c
25081         (_dl_discover_osversion): Likewise.
25082
25083 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
25084
25085         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25086         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25087
25088 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25089
25090         * NEWS: Mention libm performance improvements and non-x86 PI
25091         futex support.
25092
25093         * csu/libc-start.c (__pthread_initialize_minimal): Change
25094         function arguments.
25095         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25096
25097 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
25098
25099         [BZ #13550]
25100         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25101         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25102         <bp-sym.h> and <bp-asm.h>.
25103         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25104         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25105         and <bp-asm.h>.
25106         (memcpy): Don't use BP_SYM.
25107         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25108         <bp-asm.h>.
25109         (__mpn_add_n): Don't use BP_SYM.
25110         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25111         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25112         and <bp-asm.h>.
25113         (__mpn_addmul_1): Don't use BP_SYM.
25114         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25115         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25116         <bp-sym.h>.
25117         (_setjmp): Don't use BP_SYM.
25118         (__novmx_setjmp): Likewise.
25119         (__GI__setjmp): Likewise.
25120         (__vmx_setjmp): Likewise.
25121         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25122         <bp-sym.h>.
25123         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25124         (__bzero): Don't use BP_SYM.
25125         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25126         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25127         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25128         <bp-sym.h> and <bp-asm.h>.
25129         (memcpy): Don't use BP_SYM.
25130         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25131         <bp-sym.h> and <bp-asm.h>.
25132         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25133         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25134         <bp-sym.h> and <bp-asm.h>.
25135         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25136         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25137         <bp-asm.h>.
25138         (__mpn_lshift): Don't use BP_SYM.
25139         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25140         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25141         <bp-asm.h>.
25142         (memset): Don't use BP_SYM.
25143         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25144         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25145         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25146         <bp-asm.h>.
25147         (__mpn_mul_1): Don't use BP_SYM.
25148         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25149         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25150         <bp-sym.h> and <bp-asm.h>.
25151         (memcmp): Don't use BP_SYM.
25152         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25153         <bp-sym.h> and <bp-asm.h>.
25154         (memcpy): Don't use BP_SYM.
25155         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25156         <bp-sym.h> and <bp-asm.h>.
25157         (memset): Don't use BP_SYM.
25158         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25159         <bp-sym.h> and <bp-asm.h>.
25160         (strncmp): Don't use BP_SYM.
25161         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25162         <bp-sym.h> and <bp-asm.h>.
25163         (memcpy): Don't use BP_SYM.
25164         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25165         <bp-sym.h> and <bp-asm.h>.
25166         (memset): Don't use BP_SYM.
25167         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25168         <bp-sym.h> and <bp-asm.h>.
25169         (__memchr): Don't use BP_SYM.
25170         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25171         <bp-sym.h> and <bp-asm.h>.
25172         (memcmp): Don't use BP_SYM.
25173         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25174         <bp-sym.h> and <bp-asm.h>.
25175         (memcpy): Don't use BP_SYM.
25176         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25177         <bp-sym.h> and <bp-asm.h>.
25178         (__mempcpy): Don't use BP_SYM.
25179         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25180         <bp-sym.h> and <bp-asm.h>.
25181         (__memrchr): Don't use BP_SYM.
25182         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25183         <bp-sym.h> and <bp-asm.h>.
25184         (memset): Don't use BP_SYM.
25185         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25186         <bp-sym.h> and <bp-asm.h>.
25187         (__rawmemchr): Don't use BP_SYM.
25188         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25189         <bp-sym.h> and <bp-asm.h>.
25190         (__STRCMP): Don't use BP_SYM.
25191         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25192         <bp-sym.h> and <bp-asm.h>.
25193         (strchr): Don't use BP_SYM.
25194         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25195         <bp-sym.h> and <bp-asm.h>.
25196         (__strchrnul): Don't use BP_SYM.
25197         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25198         <bp-sym.h> and <bp-asm.h>.
25199         (strlen): Don't use BP_SYM.
25200         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25201         <bp-sym.h> and <bp-asm.h>.
25202         (strncmp): Don't use BP_SYM.
25203         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25204         <bp-sym.h> and <bp-asm.h>.
25205         (__strnlen): Don't use BP_SYM.
25206         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25207         <bp-asm.h>.
25208         (__mpn_rshift): Don't use BP_SYM.
25209         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25210         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25211         <bp-sym.h> and <bp-asm.h>.
25212         (__sigsetjmp): Don't use BP_SYM.
25213         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25214         (L(start_addresses)): Don't use BP_SYM.
25215         (_start): Likewise.
25216         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25217         <bp-asm.h>.
25218         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25219         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25220         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25221         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25222         <bp-asm.h>.
25223         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25224         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25225         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25226         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25227         <bp-asm.h>.
25228         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25229         comments.
25230         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25231         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25232         <bp-asm.h>.
25233         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
25234         FIXME comments.
25235         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25236         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25237         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25238         <bp-asm.h>.
25239         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25240         comment.
25241         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25242         and <bp-asm.h>.
25243         (strncmp): Don't use BP_SYM,
25244         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25245         <bp-asm.h>.
25246         (__mpn_sub_n): Don't use BP_SYM.
25247         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25248         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25249         and <bp-asm.h>.
25250         (__mpn_submul_1): Don't use BP_SYM.
25251         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25253         <bp-sym.h> and <bp-asm.h>.
25254         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25256         <bp-sym.h> and <bp-asm.h>.
25257         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25258         comment.
25259
25260 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25261
25262         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25263         Use ZK to minimize writes to Z.
25264         (sub_magnitudes): Simplify code a bit.
25265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25266         Use ZK to minimize writes to Z.
25267         (sub_magnitudes): Simplify code a bit.
25268
25269 2013-02-27  Roland McGrath  <roland@hack.frob.com>
25270
25271         * csu/gmon-start.c: Add special exception to license text.
25272
25273 2013-02-27  Richard Henderson  <rth@redhat.com>
25274
25275         * scripts/config.guess: Update from config.git.
25276         * scripts/config.sub: Likewise.
25277
25278 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25279
25280         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25281
25282         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25283
25284         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25285
25286         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25287
25288         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25289
25290 2013-02-26  Roland McGrath  <roland@hack.frob.com>
25291
25292         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25293         [$(build-shared = yes].
25294
25295 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25296
25297         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25298         (__mul): Reduce iterations for calculating mantissa.
25299
25300         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25301         MPTWO.
25302         (__mpranred): Likewise.
25303
25304         [BZ #15160]
25305         * malloc/memusagestat.c (main): Draw graphs for heap and stack
25306         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25307
25308 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
25309
25310         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25311         Define __attribute__.
25312
25313 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25314
25315         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25316         unused.
25317         * posix/regex_internal.h (__attribute): Remove.
25318         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25319         (re_string_context_at): Likewise.
25320         (bitset_not): Use __attribute__ and mark function as possibly
25321         unused.
25322         (bitset_merge): Likewise.
25323         (bitset_mask): Likewise.
25324         (re_string_char_size_at): Likewise.
25325         (re_string_wchar_at): Likewise.
25326         (re_string_elem_size_at): Likewise.
25327
25328 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25329
25330         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25331         code.
25332         (cc32): Likewise.
25333
25334         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25335         (__acr): Likewise.
25336         (__cpy): Likewise.
25337         (norm): Likewise.
25338         (denorm): Likewise.
25339         (__dbl_mp): Likewise.
25340         (add_magnitudes): Likewise.
25341         (sub_magnitudes): Likewise.
25342         (__mul): Likewise.
25343         (__inv): Likewise.
25344
25345         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25346         style.
25347
25348         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25349         style.
25350
25351         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25352         code.
25353
25354         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25355         up changes with default code.
25356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25357         Likewise.
25358
25359 2013-02-24  Allan McRae  <allan@archlinux.org>
25360
25361         * manual/socket.texi (The Internet Namespace): Order menu items
25362         to match that in the file.
25363
25364         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25365         node listing of the info page menu.
25366
25367 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
25368
25369         [BZ #13550]
25370         * sysdeps/i386/bp-asm.h: Remove file.
25371         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25372         (PARMS): Do not use macros from bp-asm.h.
25373         (S1): Likewise.
25374         (S2): Likewise.
25375         (SIZE): Likewise.
25376         (__mpn_add_n): Do not use BP_SYM
25377         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25378         "bp-asm.h".
25379         (PARMS): Do not use macros from bp-asm.h.
25380         (S1): Likewise.
25381         (SIZE): Likewise.
25382         (__mpn_addmul_1): Do not use BP_SYM
25383         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25384         "bp-asm.h".
25385         (PARMS): Do not use macros from bp-asm.h.
25386         (SIGMSK): Likewise.
25387         (_setjmp): Likewise.  Do not use BP_SYM.
25388         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25389         "bp-asm.h".
25390         (PARMS): Do not use macros from bp-asm.h.
25391         (SIGMSK): Likewise.
25392         (setjmp): Likewise.  Do not use BP_SYM.
25393         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25394         "bp-asm.h".
25395         (PARMS): Do not use macros from bp-asm.h.
25396         (__frexp): Do not use BP_SYM.
25397         (frexp): Likewise.
25398         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25399         "bp-asm.h".
25400         (PARMS): Do not use macros from bp-asm.h.
25401         (__frexpf): Do not use BP_SYM.
25402         (frexpf): Likewise.
25403         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25404         "bp-asm.h".
25405         (PARMS): Do not use macros from bp-asm.h.
25406         (__frexpl): Do not use BP_SYM.
25407         (frexpl): Likewise.
25408         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25409         "bp-asm.h".
25410         (PARMS): Do not use macros from bp-asm.h.
25411         (__remquo): Do not use BP_SYM.
25412         (remquo): Likewise.
25413         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25414         "bp-asm.h".
25415         (PARMS): Do not use macros from bp-asm.h.
25416         (__remquof): Do not use BP_SYM.
25417         (remquof): Likewise.
25418         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25419         "bp-asm.h".
25420         (PARMS): Do not use macros from bp-asm.h.
25421         (__remquol): Do not use BP_SYM.
25422         (remquol): Likewise.
25423         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25424         "bp-asm.h".
25425         (PARMS): Do not use macros from bp-asm.h.
25426         (DEST): Likewise.
25427         (SRC): Likewise.
25428         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
25429         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25430         "bp-asm.h".
25431         (PARMS): Do not use macros from bp-asm.h.
25432         (strlen): Do not use BP_SYM.
25433         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25434         "bp-asm.h".
25435         (PARMS): Do not use macros from bp-asm.h.
25436         (S1): Likewise.
25437         (S2): Likewise.
25438         (SIZE): Likewise.
25439         (__mpn_add_n): Do not use BP_SYM.
25440         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25441         "bp-asm.h".
25442         (PARMS): Do not use macros from bp-asm.h.
25443         (S1): Likewise.
25444         (SIZE): Likewise.
25445         (__mpn_addmul_1): Do not use BP_SYM.
25446         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25447         weak_alias.
25448         (bzero): Likewise.
25449         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25450         "bp-asm.h".
25451         (PARMS): Do not use macros from bp-asm.h.
25452         (S): Likewise.
25453         (SIZE): Likewise.
25454         (__mpn_lshift): Do not use BP_SYM.
25455         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25456         "bp-asm.h".
25457         (PARMS): Do not use macros from bp-asm.h.
25458         (DEST): Likewise.
25459         (SRC): Likewise.
25460         (LEN): Likewise.
25461         (memcpy): Likewise.  Do not use BP_SYM.
25462         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25463         libc_hidden_def and weak_alias.
25464         (mempcpy): Do not use BP_SYM in weak_alias.
25465         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25466         "bp-asm.h".
25467         (PARMS): Do not use macros from bp-asm.h.
25468         (DEST): Likewise.
25469         (LEN): Likewise.
25470         [!BZERO_P] (CHR): Likewise.
25471         (memset): Likewise.  Do not use BP_SYM.
25472         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25473         "bp-asm.h".
25474         (PARMS): Do not use macros from bp-asm.h.
25475         (S1): Likewise.
25476         (SIZE): Likewise.
25477         (__mpn_mul_1): Do not use BP_SYM.
25478         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25479         "bp-asm.h".
25480         (PARMS): Do not use macros from bp-asm.h.
25481         (S): Likewise.
25482         (SIZE): Likewise.
25483         (__mpn_rshift): Do not use BP_SYM.
25484         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25485         "bp-asm.h".
25486         (PARMS): Do not use macros from bp-asm.h.
25487         (STR): Likewise.
25488         (CHR): Likewise.
25489         (strchr): Likewise.  Do not use BP_SYM.
25490         (index): Do not use BP_SYM in weak_alias.
25491         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25492         "bp-asm.h".
25493         (PARMS): Do not use macros from bp-asm.h.
25494         (DEST): Likewise.
25495         (SRC): Likewise.
25496         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
25497         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25498         "bp-asm.h".
25499         (PARMS): Do not use macros from bp-asm.h.
25500         (strlen): Do not use BP_SYM.
25501         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25502         "bp-asm.h".
25503         (PARMS): Do not use macros from bp-asm.h.
25504         (S1): Likewise.
25505         (S2): Likewise.
25506         (SIZE): Likewise.
25507         (__mpn_sub_n): Do not use BP_SYM.
25508         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25509         "bp-asm.h".
25510         (PARMS): Do not use macros from bp-asm.h.
25511         (S1): Likewise.
25512         (SIZE): Likewise.
25513         (__mpn_submul_1): Do not use BP_SYM.
25514         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25515         "bp-asm.h".
25516         (PARMS): Do not use macros from bp-asm.h.
25517         (S1): Likewise.
25518         (S2): Likewise.
25519         (SIZE): Likewise.
25520         (__mpn_add_n): Do not use BP_SYM.
25521         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25522         weak_alias.
25523         (bzero): Likewise.
25524         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25525         "bp-asm.h".
25526         (PARMS): Do not use macros from bp-asm.h.
25527         (BLK2): Likewise.
25528         (LEN): Likewise.
25529         (memcmp): Do not use BP_SYM.
25530         (bcmp): Do not use BP_SYM in weak_alias.
25531         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25532         "bp-asm.h".
25533         (PARMS): Do not use macros from bp-asm.h.
25534         (DEST): Likewise.
25535         (SRC): Likewise.
25536         (LEN): Likewise.
25537         (memcpy): Likewise.  Do not use BP_SYM.
25538         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25539         "bp-asm.h".
25540         (PARMS): Do not use macros from bp-asm.h.
25541         (DEST): Likewise.
25542         (SRC): Likewise.
25543         (LEN): Likewise.
25544         (memmove): Likewise.  Do not use BP_SYM.
25545         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25546         "bp-asm.h".
25547         (PARMS): Do not use macros from bp-asm.h.
25548         (DEST): Likewise.
25549         (SRC): Likewise.
25550         (LEN): Likewise.
25551         (__mempcpy): Likewise.  Do not use BP_SYM.
25552         (mempcpy): Do not use BP_SYM in weak_alias.
25553         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25554         "bp-asm.h".
25555         (PARMS): Do not use macros from bp-asm.h.
25556         (DEST): Likewise.
25557         (LEN): Likewise.
25558         [!BZERO_P] (CHR): Likewise.
25559         (memset): Likewise.  Do not use BP_SYM.
25560         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25561         "bp-asm.h".
25562         (PARMS): Do not use macros from bp-asm.h.
25563         (STR2): Likewise.
25564         (strcmp): Do not use BP_SYM.
25565         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25566         "bp-asm.h".
25567         (PARMS): Do not use macros from bp-asm.h.
25568         (STR): Likewise.
25569         (DELIM): Likewise.
25570         [USE_AS_STRTOK_R] (SAVE): Likewise.
25571         (FUNCTION): Likewise.  Do not use BP_SYM.
25572         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25573         aliases.
25574         (strtok_r): Likewise.
25575         (__GI___strtok_r): Likewise.
25576         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25577         (PARMS): Do not use macros from bp-asm.h.
25578         (S): Likewise.
25579         (SIZE): Likewise.
25580         (__mpn_lshift): Do not use BP_SYM.
25581         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25582         (PARMS): Do not use macros from bp-asm.h.
25583         (STR): Likewise.
25584         (CHR): Likewise.
25585         (__memchr): Do not use BP_SYM.
25586         (memchr): Do not use BP_SYM in weak_alias.
25587         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25588         (PARMS): Do not use macros from bp-asm.h.
25589         (BLK2): Likewise.
25590         (LEN): Likewise.
25591         (memcmp): Do not use BP_SYM.
25592         (bcmp): Do not use BP_SYM in weak_alias.
25593         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25594         (PARMS): Do not use macros from bp-asm.h.
25595         (S1): Likewise.
25596         (SIZE): Likewise.
25597         (__mpn_mul_1): Do not use BP_SYM.
25598         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25599         "bp-asm.h".
25600         (PARMS): Do not use macros from bp-asm.h.
25601         (STR): Likewise.
25602         (CHR): Likewise.
25603         (__rawmemchr): Do not use BP_SYM.
25604         (rawmemchr): Do not use BP_SYM in weak_alias.
25605         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25606         (PARMS): Do not use macros from bp-asm.h.
25607         (S): Likewise.
25608         (SIZE): Likewise.
25609         (__mpn_rshift): Do not use BP_SYM.
25610         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25611         (PARMS): Do not use macros from bp-asm.h.
25612         (SIGMSK): Likewise.
25613         (__sigsetjmp): Likewise.  Do not use BP_SYM.
25614         * sysdeps/i386/start.S: Do not include "bp-sym.h".
25615         (_start): Do not use BP_SYM.
25616         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25617         (PARMS): Do not use macros from bp-asm.h.
25618         (DEST): Likewise.
25619         (SRC): Likewise.
25620         (__stpcpy): Likewise.  Do not use BP_SYM.
25621         (stpcpy): Do not use BP_SYM in weak_alias.
25622         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25623         "bp-asm.h".
25624         (PARMS): Do not use macros from bp-asm.h.
25625         (DEST): Likewise.
25626         (SRC): Likewise.
25627         (LEN): Likewise.
25628         (__stpncpy): Likewise.  Do not use BP_SYM.
25629         (stpncpy): Do not use BP_SYM in weak_alias.
25630         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25631         (PARMS): Do not use macros from bp-asm.h.
25632         (STR): Likewise.
25633         (CHR): Likewise.
25634         (strchr): Likewise.  Do not use BP_SYM.
25635         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25636         "bp-asm.h".
25637         (PARMS): Do not use macros from bp-asm.h.
25638         (STR): Likewise.
25639         (CHR): Likewise.
25640         (__strchrnul): Likewise.  Do not use BP_SYM.
25641         (strchrnul): Do not use BP_SYM in weak_alias.
25642         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25643         "bp-asm.h".
25644         (PARMS): Do not use macros from bp-asm.h.
25645         (STOP): Likewise.
25646         (strcspn): Do not use BP_SYM.
25647         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25648         "bp-asm.h".
25649         (PARMS): Do not use macros from bp-asm.h.
25650         (STR): Likewise.
25651         (STOP): Likewise.
25652         (strpbrk): Likewise.  Do not use BP_SYM.
25653         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25654         "bp-asm.h".
25655         (PARMS): Do not use macros from bp-asm.h.
25656         (STR): Likewise.
25657         (CHR): Likewise.
25658         (strrchr): Likewise.  Do not use BP_SYM.
25659         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25660         (PARMS): Do not use macros from bp-asm.h.
25661         (SKIP): Likewise.
25662         (strspn): Do not use BP_SYM.
25663         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25664         (PARMS): Do not use macros from bp-asm.h.
25665         (STR): Likewise.
25666         (DELIM): Likewise.
25667         (SAVE): Likewise.
25668         (FUNCTION): Likewise.  Do not use BP_SYM.
25669         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25670         aliases.
25671         (strtok_r): Likewise.
25672         (__GI___strtok_r): Likewise.
25673         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25674         (PARMS): Do not use macros from bp-asm.h.
25675         (S1): Likewise.
25676         (S2): Likewise.
25677         (SIZE): Likewise.
25678         (__mpn_sub_n): Do not use BP_SYM.
25679         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25680         "bp-asm.h".
25681         (PARMS): Do not use macros from bp-asm.h.
25682         (S1): Likewise.
25683         (SIZE): Likewise.
25684         (__mpn_submul_1): Do not use BP_SYM.
25685         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25686         <bp-sym.h>.
25687         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25688         and <bp-asm.h>.
25689         (PARMS): Do not use macros from bp-asm.h.
25690         (FLAGS): Likewise.
25691         (PTID): Likewise.
25692         (TLS): Likewise.
25693         (CTID): Likewise.
25694         (__clone): Do not use BP_SYM.
25695         (clone): Do not use BP_SYM in weak_alias.
25696         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25697         and <bp-asm.h>.
25698         (PARMS): Do not use macros from bp-asm.h.
25699         (LEN): Likewise.
25700         (__mmap64): Do not use BP_SYM.
25701         (mmap64): Do not use BP_SYM in weak_alias.
25702         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25703         <bp-sym.h> and <bp-asm.h>.
25704         (PARMS): Do not use macros from bp-asm.h.
25705         (__posix_fadvise64_l64): Do not use BP_SYM.
25706         * sysdeps/unix/sysv/linux/i386/semtimedop.S
25707         (PARMS): Do not use macros from bp-asm.h.
25708         (NSOPS): Likewise.
25709         (semtimedop): Do not use BP_SYM.
25710         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25711         and <bp-asm.h>.
25712
25713 2013-02-21  Allan McRae  <allan@archlinux.org>
25714
25715         * manual/message.texi (Charset conversion in gettext):
25716         Move @end statement to beginning of line.
25717
25718 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25719
25720         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25721         static.
25722         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25723         Likewise.
25724
25725         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25726         (denorm): Likewise.
25727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25728         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25729
25730 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25731
25732         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25733         tail-call to the resolved function if pltexit isn't needed.
25734
25735 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25736
25737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25738         or Y being zero as being unlikely.
25739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25740         Likewise.
25741
25742 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
25743
25744         * manual/nss.texi (System Databases and Name Service Switch):
25745         Remove frobnicate @pxref.
25746
25747 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
25748
25749         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25750         __attribute__ ((unused)) to __attribute__ ((__unused__)).
25751
25752 2013-02-20  Petr Machata  <pmachata@redhat.com>
25753
25754         * elf/elf.h (R_ARM_TARGET1): New macro.
25755         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25756         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25757         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25758         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25759         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25760         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25761         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25762         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25763         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25764         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25765         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25766         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25767         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25768         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25769         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25770         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25771         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25772         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25773         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25774         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25775         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25776         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25777         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25778         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25779         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25780         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25781         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25782         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25783         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25784         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25785         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25786         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25787         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25788         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25789         (R_ARM_THM_GOT_BREL12): Likewise.
25790         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25791         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25792         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25793         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25794         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25795         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25796         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25797         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25798         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25799
25800 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
25801
25802         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25803         __attribute_used__ to __attribute__ ((unused)).
25804
25805 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25806
25807         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25808         powerpc mpa.c.
25809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25810         comment formatting.
25811         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25812
25813 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
25814
25815         [BZ #13550]
25816         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25817         Remove macro.
25818         (ENTER): Remove both macro definitions.
25819         (LEAVE): Likewise.
25820         (CHECK_BOUNDS_LOW): Likewise.
25821         (CHECK_BOUNDS_HIGH): Likewise.
25822         (CHECK_BOUNDS_BOTH): Likewise.
25823         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25824         (RETURN_BOUNDED_POINTER): Likewise.
25825         (RETURN_NULL_BOUNDED_POINTER): Likewise.
25826         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25827         (POP_ERRNO_LOCATION_RETURN): Likewise.
25828         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25829         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25830         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25831         macros.
25832         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25833         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25834         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25835         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25836         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25837         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25838         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25839         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25840         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25841         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25842         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25843         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25844         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25845         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25846         removed macros.
25847         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25848         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25849         macros.
25850         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25851         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25852         * sysdeps/i386/i586/memset.S (memset): Likewise.
25853         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25854         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25855         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25856         macros.
25857         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25858         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25859         Change uses of L(2) to L(out).
25860         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25861         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25862         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25863         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25864         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25865         removed macros.
25866         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25867         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25868         macros.
25869         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25870         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25871         (RETURN): Do not use macro LEAVE.
25872         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25873         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25874         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25875         * sysdeps/i386/i686/memset.S (memset): Likewise.
25876         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25877         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25878         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25879         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25880         Likewise.
25881         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25882         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
25883         L(1_2) and L(1_3) into L(1).
25884         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25885         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25886         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25887         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25888         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25889         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25890         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25891         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25892         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25893         macros.
25894         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25895         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25896         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25897         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25898         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25899         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25900         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25901         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25902         * sysdeps/i386/strcspn.S (strcspn): Likewise.
25903         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25904         * sysdeps/i386/strrchr.S (strrchr): Likewise.
25905         * sysdeps/i386/strspn.S (strspn): Likewise.
25906         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25907         conditional code.
25908         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25909         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25910         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25911         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
25912         L(1_3) into L(1_1).
25913         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25914         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25915         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25916         macros.
25917         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25918
25919 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
25920
25921         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25922         macro.
25923
25924 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25925
25926         * math/atest-exp.c (exp_mpn): Remove ROUND.
25927         * math/atest-exp2.c (exp_mpn): Likewise.
25928         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25929
25930         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25931         * stdlib/tst-tls-atexit-lib.c: Likewise.
25932         * stdlib/tst-tls-atexit.c: Likewise.
25933
25934 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25935
25936         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25937         and __attribute_alloc_size__.
25938
25939 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25940
25941         * include/programs/xmalloc.h: Change __attribute_alloc_size to
25942         __attribute_alloc_size__.
25943         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25944         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25945
25946 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25947
25948         * include/programs/xmalloc.h: New file.
25949         * catgets/gencat.c: Include it.
25950         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25951         * elf/pldd.c: Likewise.
25952         * iconv/iconv_charmap.c: Likewise.
25953         * iconv/iconvconfig.c: Likewise.
25954         * iconv/strtab.c: Likewise.
25955         * locale/programs/locale.c: Likewise.
25956         * locale/programs/localedef.h: Likewise.
25957         * locale/programs/simple-hash.c: Likewise.
25958         * nscd/nscd.h: Likewise.
25959         * nss/makedb.c: Likewise.
25960         * sysdeps/generic/ldconfig.h: Likewise.
25961
25962 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25963
25964         * Versions.def: Add GLIBC_2.18.
25965         * include/link.h (struct link_map): New member l_tls_dtor_count.
25966         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25967         (__call_tls_dtors): Likewise.
25968         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25969         __cxa_thread_atexit_impl.
25970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25971         Likewise.
25972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25973         Likewise.
25974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25975         Likewise.
25976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25977         Likewise.
25978         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25980         Likewise.
25981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25982         Likewise.
25983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25985         Likewise.
25986         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25987         (tests): Add test case tst-tls-atexit.
25988         (modules-names): Add shared library for tst-tls-atexit.
25989         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25990         (GLIBC_PRIVATE): Add __call_tls_dtors.
25991         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25992         for libstdc++.
25993         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25994         * stdlib/tst-tls-atexit.c: New test case.
25995         * stdlib/tst-tls-atexit-lib.c: New test case.
25996
25997         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25998
25999         * elf/Versions (ld): Add _dl_find_dso_for_object.
26000         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26001         * elf/dl-open.c (_dl_find_dso_for_object): New function.
26002         (dl_open_worker): Use _dl_find_dso_for_object.
26003         * elf/dl-sym.c (do_sym): Likewise.
26004         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26005
26006 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26007
26008         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26009         Syntactic changes only.
26010         (_dl_runtime_profile): Do a tail-call to the resolved function.
26011
26012 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
26013
26014         [BZ #13550]
26015         * sysdeps/x86_64/bp-asm.h: Remove file.
26016         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26017         <bp-sym.h> and <bp-asm.h>.
26018         (__clone): Do not use BP_SYM.
26019         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26020         <bp-sym.h> and <bp-asm.h>.
26021         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26022         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26023         "bp-asm.h".
26024         (_setjmp): Do not use BP_SYM.
26025         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26026         "bp-asm.h".
26027         (setjmp): Do not use BP_SYM.
26028         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26029         libc_hidden_def.
26030         (mempcpy): Do not use BP_SYM in weak_alias.
26031         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26032         "bp-asm.h".
26033         (strchr): Do not use BP_SYM.
26034         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26035         "bp-asm.h".
26036         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26037         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26038         (_start): Do not use BP_SYM.
26039         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26040         "bp-asm.h".
26041         (strcat): Do not use BP_SYM.
26042         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26043         "bp-asm.h".
26044         (STRCMP): Do not use BP_SYM.
26045         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26046         "bp-asm.h".
26047         (STRCPY): Do not use BP_SYM.
26048         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26049         "bp-asm.h".
26050         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26051         "bp-asm.h".
26052         (FUNCTION): Do not use BP_SYM.
26053         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26054         weak_alias.
26055         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26056
26057 2013-02-17  Andreas Jaeger  <aj@suse.de>
26058
26059         * time/Versions: Sort entries.
26060         * string/Versions: Likewise.
26061         * resolv/Versions: Likewise.
26062         * posix/Versions: Likewise.
26063         * iconv/Versions: Likewise.
26064         * elf/Versions: Likewise.
26065         * wcsmbs/Versions: Likewise.
26066
26067 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26068
26069         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26070         loop termination condition.
26071
26072         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26073         variable to calculate EZ.
26074         (__sqr): Likewise.
26075
26076         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26077         the lower precision input.
26078
26079 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
26080
26081         [BZ #13550]
26082         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26083         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26084         (run-via-rtld-prefix): Do not handle %-bp tests.
26085         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26086         (all-object-suffixes): Remove .ob.
26087         (bppfx): Remove variable.
26088         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26089         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26090         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26091         [$(build-bounded) = yes] (libtype.ob): Likewise.
26092         * Makerules (elide-routines.ob): Remove variable.
26093         (do-tests-clean): Do not handle *-bp.out.
26094         (common-mostlyclean): Do not handle *-bp and *-bp.out.
26095         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26096         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26097         (tests): Do not include $(tests-bp.out).
26098         (xtests): Do not include $(xtests-bp.out).
26099         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26100         [$(build-bounded) = yes] ($(addprefix
26101         $(objpfx),$(binaries-bounded))): Remove rule.
26102         ($(objpfx)%-bp.out): Remove rule.
26103         * config.make.in (build-bounded): Remove variable.
26104         * crypt/Makefile [$(build-bounded) = yes]
26105         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26106         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26107         append to variable.
26108         [$(build-bounded) = yes] (install-lib): Likewise.
26109         [$(build-bounded) = yes] (generated): Likewise.
26110         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26111         Remove rule.
26112         * intl/Makefile [$(build-bounded) = yes]
26113         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26114         * math/Makefile [$(build-bounded) = yes]
26115         ($(tests:%=$(objpfx)%-bp): Likewise.
26116         * misc/Makefile [$(build-bounded) = yes]
26117         ($(objpfx)tst-tsearch-bp): Likewise.
26118         * nptl/Makeconfig (bounded-thread-library): Remove variable.
26119         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26120         Remove dependency.
26121         * string/Makefile (o-objects.ob): Remove variable.
26122         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26123         (CFLAGS-.ob): Remove variable.
26124         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26125         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26126         both definitions of variable.
26127         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26128         (ASFLAGS-.ob): Remove variable.
26129
26130 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
26131
26132         [BZ #13550]
26133         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26134         Remove __BOUNDED_POINTERS__ from condition.
26135         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26136         * string/bits/string2.h [!__NO_STRING_INLINES &&
26137         !__BOUNDED_POINTERS__]: Likewise.
26138         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26139         Likewise.
26140         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26141         Remove conditional code.
26142         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26143         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26144         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26145         condition.
26146
26147         [BZ #13550]
26148         * csu/libc-start.c: Do not include <bp-sym.h>.
26149         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26150         * elf/dl-open.c: Do not include <bp-sym.h>.
26151         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26152         * math/fegetenv.c: Do not include <bp-sym.h>.
26153         (fegetenv): Do not use BP_SYM in versioned symbols.
26154         * nptl/sysdeps/pthread/bits/libc-lockP.h
26155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26156         <bp-sym.h>.
26157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26158         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26160         (__pthread_mutex_destroy): Likewise.
26161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26162         (__pthread_mutex_lock): Likewise.
26163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26164         (__pthread_mutex_trylock): Likewise.
26165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26166         (__pthread_mutex_unlock): Likewise.
26167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26168         (__pthread_mutexattr_init): Likewise.
26169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26170         (__pthread_mutexattr_destroy): Likewise.
26171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26172         (__pthread_mutexattr_settype): Likewise.
26173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26174         (__pthread_rwlock_init): Likewise.
26175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26176         (__pthread_rwlock_destroy): Likewise.
26177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26178         (__pthread_rwlock_rdlock): Likewise.
26179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26180         (__pthread_rwlock_tryrdlock): Likewise.
26181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26182         (__pthread_rwlock_wrlock): Likewise.
26183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26184         (__pthread_rwlock_trywrlock): Likewise.
26185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26186         (__pthread_rwlock_unlock): Likewise.
26187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26188         (__pthread_key_create): Likewise.
26189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26190         (__pthread_setspecific): Likewise.
26191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26192         (__pthread_getspecific): Likewise.
26193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26194         Likewise.
26195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26196         (_pthread_cleanup_push_defer): Likewise.
26197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26198         (_pthread_cleanup_pop_restore): Likewise.
26199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26200         (pthread_setcancelstate): Likewise.
26201         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26202         <bp-sym.h>.
26203         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26204         (memchr): Do not use BP_SYM in weak_alias.
26205         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26206         (fegetenv): Do not use BP_SYM in versioned symbols.
26207         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26208         (fesetenv): Do not use BP_SYM in versioned symbols.
26209         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26210         (feupdateenv): Do not use BP_SYM in versioned symbols.
26211         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26212         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26213         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26214         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26215         (open64): Do not use BP_SYM in weak_alias.
26216         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26217         (fegetenv): Do not use BP_SYM in versioned symbols.
26218         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26219         (fesetenv): Do not use BP_SYM in versioned symbols.
26220         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26221         (feupdateenv): Do not use BP_SYM in versioned symbols.
26222         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26223         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26224         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26225         (feraiseexcept): Do not use BP_SYM in versioned symbols.
26226         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26227         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26228         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26229         <bp-sym.h>.
26230         (__libc_start_main): Do not use BP_SYM.
26231
26232 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26233
26234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26235         redundant return line.
26236         (norm): Likewise.
26237         (denorm): Likewise.
26238         (dbl_mp): Likewise.
26239         (sub_magnitudes): Likewise.
26240         (__add): Likewise.
26241         (__sub): Likewise.
26242         (__mul): Likewise.
26243         (__inv): Likewise.
26244         (__dvd): Likewise.
26245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26246         (norm): Likewise.
26247         (denorm): Likewise.
26248         (dbl_mp): Likewise.
26249         (sub_magnitudes): Likewise.
26250         (__add): Likewise.
26251         (__sub): Likewise.
26252         (__mul): Likewise.
26253         (__inv): Likewise.
26254         (__dvd): Likewise.
26255
26256         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26257         instead of __mul.
26258         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26259         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26260         (cc32): Likewise.
26261
26262         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26263         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26264         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26265         of __mul for squares.
26266         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26267         function
26268         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26269         Likewise.
26270         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26271         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26272
26273 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
26274
26275         [BZ #13550]
26276         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26277         code.
26278         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26279         prototype or function definition.  Rename ubp_* variables and
26280         parameters.  Remove argv definitions conditional on
26281         [__BOUNDED_POINTERS__].
26282         * debug/backtrace.c (__backtrace): Do not use __unbounded.
26283         * elf/dl-runtime.c (_dl_fixup): Likewise.
26284         * include/set-hooks.h (RUN_HOOK): Likewise.
26285         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26286         definition.
26287         * string/strcpy.c (strcpy): Do not use __unbounded.
26288         * sysdeps/generic/frame.h (struct layout): Likewise.
26289         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26290         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26291         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26292         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26293         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26294         (__backtrace): Likewise.
26295         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26296         use __ptrvalue.
26297         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26298         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26299         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26300         Likewise.
26301         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26302         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26303         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26304         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26305         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26306         Do not use __unbounded.
26307         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26308         Rename __unboundedrlimits parameter to rlimits in prototype.
26309         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26310         Do not use __unbounded.
26311         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26312         not use __ptrvalue.
26313         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26314         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26315         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26316         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26317         __ptrvalue or __unbounded.
26318         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26319         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26320         use __unbounded.
26321         (__new_msgctl): Do not use __ptrvalue.
26322         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26323         __unbounded.
26324         (__libc_msgrcv): Do not use __ptrvalue.
26325         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26326         startup_info): Do not use __unbounded.
26327         (__libc_start_main): Likewise.  Rename ubp_* variables and
26328         parameters.  Remove argv definitions conditional on
26329         [__BOUNDED_POINTERS__].
26330         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26331         __ptrvalue.
26332         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26333         use __unbounded.
26334         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26335         or __ptrvalue.
26336         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26337         use __unbounded.
26338         (__new_shmctl): Do not use __ptrvalue.
26339         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26340         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26341         Likewise.
26342         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26343         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26344         (__libc_sigaction): Likewise.
26345         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26346         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26347         Likewise.
26348         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26349
26350 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
26351
26352         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26353
26354         * string/mempcpy.c: Implement by calling memcpy.
26355
26356 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26357
26358         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26359
26360         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26361         evaluation.
26362
26363         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26364         values in the mantissa.
26365
26366         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26367         minimize writes to Z.
26368         (sub_magnitudes): Simplify code a bit.
26369
26370 2013-02-12  Roland McGrath  <roland@hack.frob.com>
26371
26372         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26373         from the message.  The linker prefixes all warnings with that already.
26374
26375 2013-02-12  Andreas Schwab  <schwab@suse.de>
26376
26377         [BZ #15078]
26378         * posix/regexec.c (extend_buffers): Add parameter min_len.
26379         (check_matching): Pass minimum needed length.
26380         (clean_state_log_if_needed): Likewise.
26381         (get_subexp): Likewise.
26382         * posix/Makefile (tests): Add bug-regex34.
26383         (bug-regex34-ENV): Define.
26384         * posix/bug-regex34.c: New file.
26385
26386         [BZ #11561]
26387         * posix/regcomp.c (parse_bracket_exp): When looking up collating
26388         elements compare against the byte sequence of it, not its name.
26389         * posix/Makefile (tests): Add bug-regex35.
26390         (bug-regex35-ENV): Define.
26391         * posix/bug-regex35.c: New file.
26392
26393 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26394
26395         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
26396         comment.
26397         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26398         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26399         (CHECK_EOL): Add undef.
26400
26401 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
26402
26403         * bits/stdlib-bsearch.h: New file.
26404         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26405         * stdlib/stdlib.h: Likewise.
26406
26407 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26408
26409         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26410         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26411         declaration.
26412         * manual/search.texi (Array Search Function): Add missing const in
26413         lfind prototype.
26414         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26415         declaration to use rlim_t.
26416         (Basic Scheduling Functions): Remove erroneous const from
26417         sched_getparam prototype.  Remove erroneous * from
26418         sched_get_priority_max and sched_get_priority_min prototypes.
26419         (Resource Usage): Fix summary @comment on vtimes to refer to
26420         sys/vtimes.h rather than vtimes.h.
26421         Add missing *s in vtimes prototype.
26422         (Limits on Resources): Fix ulimit prototype to return long int.
26423         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26424         prototypes to use long int rather than double.
26425         (BSD Random): Fix initstate and setstate to use char *, not void *.
26426         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26427         prototype to make second argument 'struct aiocb64 *const[]'.
26428         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26429         (Status of AIO Operations): Remove erroneous const in aio_return and
26430         aio_return64 prototypes.
26431         (Synchronizing I/O): Fix sync prototype to return void.
26432         * manual/startup.texi (Suboptions): Remove an erroneous const in
26433         getsubopt prototype.
26434         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26435         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26436         use size_t rather than int.
26437         (Scanning All Users): Likewise for getpwent_r.
26438         (Setting Groups): Add missing const to setgroups prototype.
26439         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26440         * manual/socket.texi (Host Names): Fix gethostbyaddr and
26441         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26442         'const void *' rather than 'const char *'.
26443         (Host Address Functions): Likewise for inet_ntop.
26444         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26445         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26446         ssize_t for return value.
26447         (Sending Data): Likewise for send, sendto, sendmsg.
26448         (Socket Option Functions): Add a missing const in setsockopt prototype.
26449         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26450         use wchar_t for the argument.
26451         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26452         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26453         take no arguments.
26454         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26455         double/float/long double for second argument.
26456         Fix return types of significand, significandf, significandl.
26457         * manual/filesys.texi (Setting Permissions): Use mode_t for second
26458         argument in fchmod prototype.
26459         (File Owner): Use uid_t and gid_t in fchown prototype.
26460         (File Times): Add const to utimes, futimes, and lutimes prototypes.
26461         (Making Special Files): Use mode_t and dev_t in mknod prototype.
26462         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26463         use 'const struct dirent **' as argument types to CMP function pointer
26464         argument.
26465         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26466         (File Times): Fix summary magic @comment for struct utimbuf and utime
26467         to refer to utime.h, not time.h.
26468         * manual/string.texi (Argz Functions): Add missing const in
26469         argz_extract and argz_next prototypes.
26470         (Finding Tokens in a String): Likewise for basename.
26471         (String/Array Comparison): Fix typo in wcscasecmp prototype.
26472         (Copying and Concatenation): Fix typo in wmemmove prototype.
26473         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26474         (Signal Stack): Remove erroneous const in sigstack prototype.
26475         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26476         prototype.
26477         (Simple Calendar Time): Likewise for stime.
26478         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26479         prototype.
26480         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26481         say sys/sysctl.h instead.
26482         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26483         and vsyslog prototypes.
26484
26485 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26486
26487         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26488         Remove.
26489
26490 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26491
26492         * misc/sys/mman.h: Fix typo in mremap comment.
26493
26494 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26495
26496         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26497         the '\0' terminator.
26498
26499 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26500
26501         [BZ #13550]
26502         * debug/segfault.c: Don't include <bp-checks.h>.
26503         * sysdeps/generic/bp-checks.h: Remove file.
26504         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26505         (__GETDENTS): Don't use CHECK_N.
26506         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26507         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26508         (__getgroups): Don't use CHECK_N.
26509         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26510         (setgroups): Don't use CHECK_N.
26511         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26512         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26513         (__libc_msgrcv): Don't use CHECK_N.
26514         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26515         (__libc_msgsnd): Don't use CHECK_N.
26516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26517         <bp-checks.h>.
26518         (__libc_pread): Don't use CHECK_N.
26519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26520         include <bp-checks.h>.
26521         (__libc_pread64): Don't use CHECK_N.
26522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26523         include <bp-checks.h>.
26524         (__libc_pwrite): Don't use CHECK_N.
26525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26526         include <bp-checks.h>.
26527         (__libc_pwrite64): Don't use CHECK_N.
26528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26529         <bp-checks.h>.
26530         (__libc_pread): Don't use CHECK_N.
26531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26532         include <bp-checks.h>.
26533         (__libc_pread64): Don't use CHECK_N.
26534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26535         include <bp-checks.h>.
26536         (__libc_pwrite): Don't use CHECK_N.
26537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26538         include <bp-checks.h>.
26539         (__libc_pwrite64): Don't use CHECK_N.
26540         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26541         (do_pread): Don't use CHECK_N.
26542         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26543         (do_pread64): Don't use CHECK_N.
26544         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26545         (do_pwrite): Don't use CHECK_N.
26546         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26547         (do_pwrite64): Don't use CHECK_N.
26548         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26549         (__libc_readv): Don't use CHECK_N.
26550         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26551         (semop): Don't use CHECK_N.
26552         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26553         <bp-checks.h>.
26554         (semtimedop): Don't use CHECK_N.
26555         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26556         (__libc_pread): Don't use CHECK_N.
26557         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26558         <bp-checks.h>.
26559         (__libc_pread64): Don't use CHECK_N.
26560         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26561         <bp-checks.h>.
26562         (__libc_pwrite): Don't use CHECK_N.
26563         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26564         <bp-checks.h>.
26565         (__libc_pwrite64): Don't use CHECK_N.
26566         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26567         <bp-checks.h>.
26568         (__libc_msgrcv): Don't use CHECK_N.
26569         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26570         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
26571         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26572         (__libc_writev): Don't use CHECK_N.
26573
26574 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26575
26576         * string/strcpy.c: Removed unused variable.
26577
26578         * Makeconfig (+sysdep-includes): Define with := rather than =.
26579         Use an existing include/ subdir of each sysdeps dir before it.
26580
26581 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26582
26583         * nscd/connection.c (register_traced_file): Comment function.
26584         [HAVE_INOTIFY] (union __inev): Define.
26585         [HAVE_INOTIFY] (inotify_check_files): New function.
26586         [HAVE_INOTIFY] (clear_db_cache): Likewise.
26587         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26588         clear_db_cache.
26589         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26590
26591 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26592
26593         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26594         loaded if not already and that a failure is permanent.
26595
26596 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26597
26598         [BZ #15006]
26599         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26600         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26601
26602 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26603
26604         [BZ #13550]
26605         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26606         (CHECK_1_NULL_OK): Likewise.
26607         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26608         (__fxstat): Do not use CHECK_1.
26609         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26610         <bp-checks.h>.
26611         (___fxstat64): Do not use CHECK_1.
26612         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26613         <bp-checks.h>.
26614         (__fxstatat): Do not use CHECK_1.
26615         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26616         <bp-checks.h>.
26617         (__fxstatat64): Do not use CHECK_1.
26618         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26619         <bp-checks.h>.
26620         (__fxstat): Do not use CHECK_1.
26621         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26622         <bp-checks.h>.
26623         (__fxstatat): Do not use CHECK_1.
26624         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26625         <bp-checks.h>.
26626         (__getresgid): Do not use CHECK_1.
26627         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26628         <bp-checks.h>.
26629         (__getresuid): Do not use CHECK_1.
26630         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26631         <bp-checks.h>.
26632         (__lxstat): Do not use CHECK_1.
26633         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26634         <bp-checks.h>.
26635         (__old_msgctl): Do not use CHECK_1.
26636         (__new_msgctl): Likewise.
26637         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26638         <bp-checks.h>.
26639         (__new_setrlimit): Do not use CHECK_1.
26640         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26641         <bp-checks.h>.
26642         (__old_shmctl): Do not use CHECK_1.
26643         (__new_shmctl): Likewise.
26644         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26645         <bp-checks.h>.
26646         (__xstat): Do not use CHECK_1.
26647         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26648         (__lxstat): Do not use CHECK_1.
26649         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26650         <bp-checks.h>.
26651         (___lxstat64): Do not use CHECK_1.
26652         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26653         (__old_msgctl): Do not use CHECK_1.
26654         (__new_msgctl): Likewise.
26655         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26656         <bp-checks.h>.
26657         (__gettimeofday): Do not use CHECK_1.
26658         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26659         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26660         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26661         <bp-checks.h>.
26662         (__gettimeofday): Do not use CHECK_1.
26663         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26664         (__old_shmctl): Do not use CHECK_1_NULL_OK.
26665         (__new_shmctl): Do not use CHECK_1.
26666         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26667         <bp-checks.h>.
26668         (do_sigtimedwait): Do not use CHECK_1.
26669         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26670         <bp-checks.h>.
26671         (do_sigwaitinfo): Do not use CHECK_1.
26672         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26673         <bp-checks.h>.
26674         (msgctl): Do not use CHECK_1.
26675         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26676         <bp-checks.h>.
26677         (shmctl): Do not use CHECK_1.
26678         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26679         (ustat): Do not use CHECK_1.
26680         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26681         <bp-checks.h>.
26682         (__fxstat): Do not use CHECK_1.
26683         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26684         <bp-checks.h>.
26685         (__fxstatat): Do not use CHECK_1.
26686         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26687         <bp-checks.h>.
26688         (__lxstat): Do not use CHECK_1.
26689         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26690         <bp-checks.h>.
26691         (__xstat): Do not use CHECK_1.
26692         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26693         (__xstat): Do not use CHECK_1.
26694         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26695         (___xstat64): Do not use CHECK_1.
26696
26697         [BZ #13550]
26698         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26699         definitions.
26700         (CHECK_BOUNDS_HIGH): Likewise.
26701         * string/strcpy.c: Do not include <bp-checks.h>.
26702         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26703
26704 2013-02-07  Roland McGrath  <roland@hack.frob.com>
26705
26706         * nscd/nscd-client.h (__nscd_drop_map_ref):
26707         Add __attribute__ ((unused)).
26708         * nis/nss-nisplus.h (niserr2nss): Likewise.
26709
26710         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26711         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26712
26713         * csu/libc-tls.c (init_static_tls, init_slotinfo):
26714         Remove inline keyword.
26715         * include/rounding-mode.h (round_away): Likewise.
26716         * libio/wfileops.c (adjust_wide_data): Likewise.
26717         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26718         (__m128i_strloadu_tolower): Likewise.
26719         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26720         (__m128i_strloadu_tolower): Likewise.
26721         * time/mktime.c (ydhms_diff): Likewise.
26722         * locale/elem-hash.h (elem_hash): Likewise.
26723         * locale/setlocale.c (setdata): Likewise.
26724         * posix/regex_internal.h (re_string_char_size_at): Likewise.
26725         (re_string_wchar_at): Likewise.
26726         (bitset_not, bitset_merge, bitset_mask): Likewise.
26727         [!(__GNUC__ > 3)] (inline): Remove macro.
26728         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26729         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26730         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26731         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26732         * string/memcmp.c (memcmp_bytes): Likewise.
26733         * locale/programs/locarchive.c (compute_hashval): Likewise.
26734         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26735         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26736         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26737         * nss/getent.c (print_rpc, print_protocols): Likewise.
26738         (print_passwd, print_group, print_aliases): Likewise.
26739         * nis/nss-nisplus.h (niserr2nss): Likewise.
26740         * nscd/connections.c (restart_p): Likewise.
26741         Change return type to bool.
26742
26743 2013-02-05  Roland McGrath  <roland@hack.frob.com>
26744
26745         * Makeconfig (all-Depend-files): Add existing
26746         $(sorted-subdirs:=/Depend) files.
26747         (all-subdirs): Remove nss.
26748         * sysdeps/unix/inet/Subdirs: Add it here instead.
26749         * hesiod/Depend: New file.
26750
26751         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26752         instead of calling alloca.
26753
26754         * io/lseek.c (__lseek): Rename to __libc_lseek.
26755         Define __lseek as an alias.
26756
26757         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26758
26759 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
26760
26761         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26762         else clause and remove check for non-standard endianness.
26763
26764 2013-02-04  David S. Miller  <davem@davemloft.net>
26765
26766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26767
26768 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
26769
26770         [BZ #13550]
26771         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26772         (__ubp_memchr): Remove prototype.
26773         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26774         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26775         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26776         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26777         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26778         Remove alias.
26779         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26780         (__ubp_memchr): Likewise.
26781         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26782         (__ubp_memchr): Likewise.
26783         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26784         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26785         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26786         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26787         CHECK_STRING.
26788         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26789         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26790         (__getcwd): Do not use CHECK_STRING.
26791         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26792         <bp-checks.h>.
26793         (__real_chown): Do not use CHECK_STRING.
26794         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26795         <bp-checks.h>.
26796         (fchownat): Do not use CHECK_STRING.
26797         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26798         CHECK_STRING.
26799         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26800         <bp-checks.h>.
26801         (__lchown): Do not use CHECK_STRING.
26802         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26803         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26804         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26805         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26807         include <bp-checks.h>.
26808         (truncate64): Do not use CHECK_STRING.
26809         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26810         <bp-checks.h>.
26811         (__real_chown): Do not use CHECK_STRING.
26812         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26813         <bp-checks.h>.
26814         (__lchown): Do not use CHECK_STRING.
26815         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26816         <bp-checks.h>.
26817         (__chown): Do not use CHECK_STRING.
26818         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26819         <bp-checks.h>.
26820         (truncate64): Do not use CHECK_STRING.
26821         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26822         Likewise.
26823         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26824         (__xmknod): Do not use CHECK_STRING.
26825         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26826         <bp-checks.h>.
26827         (__xmknodat): Do not use CHECK_STRING.
26828         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26829         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26830
26831 2013-02-04  Andreas Schwab  <schwab@suse.de>
26832
26833         [BZ #14142]
26834         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26835         * include/netdb.h: Likewise for h_errno.
26836         * elf/tst-stackguard1.c: Include <tls.h>.
26837
26838 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
26839
26840         * elf/link.h (struct link_map): Extend the l_addr comment.
26841         * include/link.h (struct link_map): Likewise.
26842
26843 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
26844
26845         [BZ #13550]
26846         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26847         (BOUNDED_1): Remove macro.
26848         * debug/backtrace.c: Don't include <bp-checks.h>.
26849         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26850         (__backtrace): Likewise.
26851         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26852         <bp-checks.h>.
26853         (__backtrace): Don't use BOUNDED_1.
26854         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26855         <bp-checks.h>.
26856         (__backtrace): Don't use BOUNDED_1.
26857         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26858         (__backtrace): Don't use BOUNDED_1.
26859         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26860         (shmat): Don't use BOUNDED_N.
26861
26862 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
26863
26864         [BZ #13550]
26865         * sysdeps/generic/bp-start.h: Remove file.
26866         * csu/libc-start.c: Don't include <bp-start.h>.
26867         (LIBC_START_MAIN): Set up __environ directly instead of using
26868         INIT_ARGV_and_ENVIRON.
26869         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26870         <bp-start.h>.
26871
26872         [BZ #13550]
26873         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26874         definitions.
26875         (CHECK_FCNTL): Likewise.
26876         (CHECK_N_PAGES): Likewise.
26877
26878         [BZ #13550]
26879         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26880         definitions.
26881         (CHECK_SIGSET_NULL_OK): Likewise.
26882         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26883         <bp-checks.h>.
26884         (sigpending): Don't use CHECK_SIGSET.
26885         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26886         <bp-checks.h>.
26887         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26888         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26889         <bp-checks.h>.
26890         (do_sigsuspend): Don't use CHECK_SIGSET.
26891         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26892         use CHECK_SIGSET.
26893         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26894         (do_sigwait): Don't use CHECK_SIGSET.
26895         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26896         use CHECK_SIGSET.
26897         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26898         include <bp-checks.h>.
26899         (sigpending): Don't use CHECK_SIGSET.
26900         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26901         include <bp-checks.h>.
26902         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26903         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26904         <bp-checks.h>.
26905         (sigpending): Don't use CHECK_SIGSET.
26906         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26907         <bp-checks.h>.
26908         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26909
26910         [BZ #13550]
26911         * sysdeps/generic/bp-semctl.h: Remove file.
26912         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26913         <bp-checks.h> and <bp-semctl.h>.
26914         (__old_semctl): Don't use CHECK_SEMCTL.
26915         (__new_semctl): Likewise.
26916         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26917         and <bp-semctl.h>.
26918         (__old_semctl): Don't use CHECK_SEMCTL.
26919         (__new_semctl): Likewise.
26920         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26921         <bp-checks.h> and <bp-semctl.h>.
26922         (__old_semctl): Don't use CHECK_SEMCTL.
26923         (__new_semctl): Likewise.
26924         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26925         <bp-checks.h> and <bp-semctl.h>.
26926         (semctl): Don't use CHECK_SEMCTL.
26927
26928         [BZ #13550]
26929         * Makerules (elide-bp-thunks): Remove variable.
26930         (elide-routines.oS): Don't use $(elide-bp-thunks).
26931         (elide-routines.os): Likewise.
26932         (elide-routines.o): Likewise.
26933         (elide-routines.op): Likewise.
26934         (elide-routines.og): Likewise.
26935         (objects): Don't use $(bp-thunks).
26936         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26937         include.
26938         (common-generated): Do not add s-proto-bp.d.
26939         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26940         (int): Likewise.
26941         (typ): Likewise.
26942         Do not generate makefile rules for bounded-pointer thunks.
26943         * sysdeps/generic/bp-thunks.h: Remove file.
26944         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26945         * sysdeps/unix/s-proto-bp.S: Likewise.
26946
26947         [BZ #15062]
26948         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26949         parts of result separately when argument is not close to line from
26950         -i to i and one part of argument is small.
26951         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26952         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26953         * math/libm-test.inc (cacos_test): Add more tests.
26954         (casin_test): Likewise.
26955         (casinh_test): Likewise.
26956         * sysdeps/i386/fpu/libm-test-ulps: Update.
26957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26958
26959 2013-01-31  David S. Miller  <davem@davemloft.net>
26960
26961         * po/de.po: Update from translation team.
26962
26963 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
26964
26965         * time/tzfile.c: Include stdint.h for SIZE_MAX.
26966
26967 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
26968
26969         * configure.in (_AC_PROG_CC_C89): New definition.
26970         * configure: Regenerate.
26971
26972         * configure.in (AC_PROG_CPP): New definition.
26973         * configure: Regenerate.
26974
26975 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26976
26977         * debug/tst-backtrace.h: New file.
26978         * debug/tst-backtrace2.c: Include tst-backtrace.h.
26979         (ret): Remove variable.
26980         (x): Likewise.
26981         (FAIL): Remove macro.
26982         (NO_INLINE): Likewise.
26983         (fn1): Use match function instead of strstr.
26984         * debug/tst-backtrace3.c: Include tst-backtrace.h.
26985         (ret): Remove variable.
26986         (x): Likewise.
26987         (FAIL): Remove macro.
26988         (NO_INLINE): Likewise.
26989         (fn): Use match function instead of strstr.
26990         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26991         (ret): Remove variable.
26992         (x): Likewise.
26993         (FAIL): Remove macro.
26994         (NO_INLINE): Likewise.
26995         (handle_signal): Use match function instead of strstr.
26996         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26997         (ret): Remove variable.
26998         (x): Likewise.
26999         (FAIL): Remove macro.
27000         (NO_INLINE): Likewise.
27001         (handle_signal): Use match function instead of strstr.
27002
27003 2013-01-23  Roland McGrath  <roland@hack.frob.com>
27004
27005         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27006
27007 2013-01-23  David S. Miller  <davem@davemloft.net>
27008
27009         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27010         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27011         argument of CAS if possible.
27012         * sysdeps/sparc/sparc64/bits/atomic.h
27013         (__arch_compare_and_exchange_val_32_acq): Likewise.
27014         (__arch_compare_and_exchange_val_64_acq): Likewise.
27015
27016 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
27017
27018         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27019         * sysdeps/posix/ulimit.c: ... this.
27020         Include <limits.h>.
27021         * sysdeps/unix/bsd/ulimit.c: Remove file.
27022
27023 2013-01-23  Adam Conrad  <adconrad@0c3.net>
27024
27025         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27026         (LDFLAGS-tst-array5): Likewise.
27027
27028 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27029
27030         [BZ #15036]
27031         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27032         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27033         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27034         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27035
27036 2013-01-21  David S. Miller  <davem@davemloft.net>
27037
27038         * sysdeps/sparc/backtrace.c: New file.
27039         * sysdeps/sparc/sparc32/backtrace.h: New file.
27040         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27041         * sysdeps/sparc/sparc64/backtrace.h: New file.
27042         * sysdeps/sparc/sparc64/backtrace.c: Delete.
27043         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27044         -funwind-tables.
27045
27046 2013-01-21  Andreas Schwab  <schwab@suse.de>
27047
27048         [BZ #15020]
27049         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27050         closed its stdout.
27051
27052 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
27053
27054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27055         "mpa2.h".
27056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27057
27058 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
27059             Mark Mitchell  <mark@codesourcery.com>
27060             Tom de Vries  <tom@codesourcery.com>
27061             Paul Pluzhnikov  <ppluzhnikov@google.com>
27062
27063         * debug/tst-backtrace2.c: New file.
27064         * debug/tst-backtrace3.c: Likewise.
27065         * debug/tst-backtrace4.c: Likewise.
27066         * debug/tst-backtrace5.c: Likewise.
27067         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27068         (CFLAGS-tst-backtrace3.c): Likewise.
27069         (CFLAGS-tst-backtrace4.c): Likewise.
27070         (CFLAGS-tst-backtrace5.c): Likewise.
27071         (LDFLAGS-tst-backtrace2): Likewise.
27072         (LDFLAGS-tst-backtrace3): Likewise.
27073         (LDFLAGS-tst-backtrace4): Likewise.
27074         (LDFLAGS-tst-backtrace5): Likewise.
27075         (tests): Add new tests tst-backtrace2, tst-backtrace3,
27076         tst-backtrace4 and tst-backtrace5.
27077
27078 2013-01-18  Anton Blanchard  <anton@samba.org>
27079             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27080
27081         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27082         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27083         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27084         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27086         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27087         "+r" and remove output regs list as redundant.  Add explicit inline
27088         asm to specify register of return val to work around compiler codegen
27089         bug.  Remove (int) cast on return value.  Add return type parameter to
27090         use in macro so that this macro does not truncate return value for
27091         64-bit values.
27092         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27093         pass to INTERNAL_VSYSCALL_NCS.
27094         (INLINE_VSYSCALL): Add 'long int' as return type to
27095         INTERNAL_VSYSCALL_NCS macro invocation.
27096         (INTERNAL_VSYSCALL): Add 'long int' as return type to
27097         INTERNAL_VSYSCALL_NCS macro invocation.
27098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27099
27100 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27101
27102         [BZ #14496]
27103         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27104         Fix application of SIMD FP exception mask.
27105
27106         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27107         mp_no from a power of two.
27108         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27109         __mpexp_twomm1.  Use __pow_mp.
27110
27111         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27112         multiplication.
27113
27114 2013-01-17  David S. Miller  <davem@davemloft.net>
27115
27116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27117
27118 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27119
27120         [BZ #15023]
27121         * include/complex.h: Condition contents on [!_COMPLEX_H].
27122         (__kernel_casinhf): New prototype.
27123         (__kernel_casinh): Likewise.
27124         (__kernel_casinhl): Likewise.
27125         * math/Makefile (libm_calls): Add k_casinh.
27126         * math/k_casinh.c: New file.
27127         * math/k_casinhf.c: Likewise.
27128         * math/k_casinhl.c: Likewise.
27129         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27130         finite nonzero arguments.
27131         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27132         finite nonzero arguments.
27133         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27134         finite nonzero arguments.
27135         * math/s_casinh.c: Do not include <float.h>.
27136         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27137         * math/s_casinhf.c: Do not include <float.h>.
27138         (__casinhf): Move code for finite nonzero arguments to
27139         k_casinhf.c.
27140         * math/s_casinhl.c: Do not include <float.h>.
27141         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27142         redefine.
27143         (__casinhl): Move code for finite nonzero arguments to
27144         k_casinhl.c.
27145         * math/libm-test.inc (cacos_test): Add more tests.
27146         * sysdeps/i386/fpu/libm-test-ulps: Update.
27147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27148
27149 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
27150
27151         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27152         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27153         [!HAVE_MREMAP]: Remove [defined linux] case.
27154         * malloc/arena.c: Do not include <malloc-sysdep.h>.
27155
27156 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27157
27158         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27159
27160 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
27161
27162         * elf/elf.h (R_386_SIZE32): New relocation.
27163         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27164         R_386_SIZE32.
27165         (elf_machine_rela): Likewise.
27166         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27167         R_X86_64_SIZE64 and R_X86_64_SIZE32.
27168
27169 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27170
27171         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27172         (FP_FAST_FMA): Do not define.
27173         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27174         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27175         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27176         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27177         !_SOFT_FLOAT]: Likewise.
27178         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27179         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27180         value.
27181         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27182         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27183         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27184         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27185         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27186         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27187         file.
27188
27189 2013-01-16  Andreas Schwab  <schwab@suse.de>
27190
27191         [BZ #14327]
27192         * include/stdlib.h (__mktemp): Add declaration.
27193         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27194         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27195
27196 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27197
27198         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27199         definitions.
27200         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27201         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27202         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27203         definitions here.
27204         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27205         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27206         definitions.
27207         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27208         and ONE.
27209         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27210         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27211         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27212         definitions.
27213         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27214         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27215         definitions.
27216         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27217
27218         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27219
27220 2013-01-15  David S. Miller  <davem@davemloft.net>
27221
27222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27223         trunc{,f} to libm-sysdep_routes.
27224         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27226         file.
27227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27229         file.
27230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27231         file.
27232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27234         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27235         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27236         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27237         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27238         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27239         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27240
27241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27242         nearbyint{,f} to libm-sysdep_routes.
27243         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27245         New file.
27246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27247         file.
27248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27249         New file.
27250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27251         file.
27252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27254         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27255         file.
27256         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27257         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27258         file.
27259         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27260         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27261         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27262
27263         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27264         libc_feholdexcept and libc_fesetenv.
27265
27266 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
27267
27268         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27269
27270 2013-01-14  David S. Miller  <davem@davemloft.net>
27271
27272         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27273         (SPARC_ASM_VIS2_IFUNC): Likewise.
27274         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27276         use of 'siam' instruction.
27277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27278         Likewise.
27279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27280         Likewise.
27281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27282         Likewise.
27283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27284         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27288         file.
27289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27290         file.
27291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27292         file.
27293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27294         file.
27295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27300         new VIS2 routines.
27301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27304         Likewise.
27305         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27307         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27310         routines to libm-sysdep_routines.
27311         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27312
27313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27314         fdim/fdimf to libm-sysdep_routines.
27315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27316         file.
27317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27319         file.
27320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27323         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27324         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27325         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27326         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27327
27328 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27329
27330         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27331         to optimize copies.
27332
27333         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27335         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27336
27337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27338         local variable MPTWO.
27339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27340         Likewise.
27341
27342 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27343
27344         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27345         GLOB_NOESCAPE.
27346
27347 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27348
27349         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27350
27351 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27352
27353         * manual/pattern.texi (glob_t): Document gl_flags.
27354         (glob64_t): Likewise.
27355
27356 2013-01-11  David S. Miller  <davem@davemloft.net>
27357
27358         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27359         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27360         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
27361         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27362         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27363         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27364         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27365         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27366         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27367         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27368         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27369         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27370         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27371
27372         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27373         sparc V9 rather than using V8 code.
27374         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27375         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27376
27377         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27378         Move to...
27379         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27380         Here.
27381
27382 2013-01-11  Roland McGrath  <roland@hack.frob.com>
27383
27384         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27385         not in the main loop.
27386         * configure: Regenerated.
27387
27388 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
27389
27390         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27391         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27392         to just #else.
27393         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
27394         [!__GLIBC_HAVE_LONG_LONG] case.
27395         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27396         condition to just #else.
27397         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27398         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27399         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27400         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27401         unconditional.
27402         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27403         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27404         #elif condition to just #else.
27405         * sysdeps/unix/sysv/linux/sys/sysmacros.h
27406         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27407         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27408         #elif condition to just #else.
27409
27410 2013-01-11  Steve Ellcey  <sellcey@mips.com>
27411
27412         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27413         (EF_MIPS_ARCH_64): Fix value.
27414         (EF_MIPS_ARCH_32R2): New.
27415         (EF_MIPS_ARCH_64R2): New.
27416
27417 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
27418
27419         * Makeconfig (+link-pie-before-libc): New.
27420         (+link-pie-after-libc): Likewise.
27421         (+link-pie-tests): Likewise.
27422         (+link-pie): Rewritten.
27423         (link-before-libc): Remove $(config-LDFLAGS).
27424         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27425         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27426         (config-LDFLAGS): Renamed to ...
27427         (rtld-LDFLAGS): This.
27428         (rtld-tests-LDFLAGS): New macro.
27429         (link-libc-rpath-link): Likewise.
27430         (link-libc-tests-rpath-link): Likewise.
27431         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27432         (link-libc): Prepand $(link-libc-rpath-link).
27433         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27434         (test-program-prefix): New macro.
27435         (test-via-rtld-prefix): Likewise.
27436         (test-program-cmd): Likewise.
27437         (host-test-program-cmd): Likewise.
27438         * Makefile ($(common-objpfx)testrun.sh): Replace
27439         $(run-program-prefix) with $(test-program-prefix).
27440         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27441         $(rtld-LDFLAGS).
27442         ($(common-objpfx)shlib.lds): Likewise.
27443         (build-module-helper): Likewise.
27444         ($(common-objpfx)format.lds): Likewise.
27445         * Rules (binaries-pie-tests): New.
27446         (binaries-pie-notests): Likewise.
27447         (binaries-pie): Rewritten.
27448         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27449         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27450         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27451         (make-test-out): Replace $(host-built-program-cmd) with
27452         $(host-test-program-cmd).
27453         * config.make.in (build-hardcoded-path-in-tests): New variable.
27454         * configure.in (--enable-hardcoded-path-in-tests): New configure
27455         option.
27456         (hardcoded_path_in_tests): New AC_SUBST.
27457         * configure: Regenerated.
27458         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27459         $(built-program-cmd) with $(test-program-cmd).
27460         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27461         (test_program_cmd): This.
27462         * elf/Makefile ($(objpfx)order.out): Run test with
27463         $(test-program-prefix).
27464         ($(objpfx)order2.out): Likewise.
27465         ($(objpfx)tst-initorder.out): Likewise.
27466         ($(objpfx)tst-initorder2.out): Likewise.
27467         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27468         $(test-program-cmd).
27469         ($(objpfx)tst-array1-static.out): Likewise.
27470         ($(objpfx)tst-array2.out): Likewise.
27471         ($(objpfx)tst-array3.out): Likewise.
27472         ($(objpfx)tst-array4.out): Likewise.
27473         ($(objpfx)tst-array5.out): Likewise.
27474         ($(objpfx)tst-array5-static.out): Likewise.
27475         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27476         $(test-program-cmd).
27477         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27478         $(run-program-prefix) with $(test-program-prefix).
27479         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27480         (test_program_prefix): This.
27481         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27482         $(run-program-prefix) with $(test-program-prefix).
27483         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27484         (test_program_prefix): This.
27485         * iconvdata/tst-tables.sh: Likewise.
27486         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27487         $(run-program-prefix) with $(test-program-prefix).
27488         ($(objpfx)tst-translit.out): Likewise.
27489         ($(objpfx)tst-gettext2.out): Likewise.
27490         ($(objpfx)tst-gettext4.out): Likewise.
27491         ($(objpfx)tst-gettext6.out): Likewise.
27492         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27493         (test_program_prefix): This.
27494         * intl/tst-gettext2.sh: Likewise.
27495         * intl/tst-gettext4.sh  Likewise.
27496         * intl/tst-gettext6.sh: Likewise.
27497         * intl/tst-translit.sh: Likewise.
27498         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27499         with $(test-program-cmd).
27500         * libio/Makefile ($(objpfx)test-freopen.out): Replace
27501         $(run-program-prefix) with $(test-program-prefix).
27502         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27503         (test_program_prefix): This.
27504         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27505         $(run-program-prefix) with $(test-program-prefix).
27506         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27507         (test_program_prefix): This.
27508         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27509         * posix/Makefile ($(objpfx)globtest.out): Replace
27510         $(run-via-rtld-prefix) and $(test-wrapper) with
27511         $(test-program-prefix) and $(test-via-rtld-prefix).
27512         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27513         $(test-program-prefix).
27514         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27515         $(host-test-program-cmd).
27516         (tst-spawn-ARGS): Likewise.
27517         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27518         $(test-program-prefix).
27519         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27520         (test_via_rtld_prefix): This.
27521         (test_wrapper): Renamed to ...
27522         (test_program_prefix): This.
27523         (run_program_prefix): Replaced by test_program_prefix.
27524         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27525         (test_program_prefix): This.
27526         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27527         with $(host-test-program-cmd).
27528         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27529         $(run-program-prefix) with $(test-program-prefix).
27530         ($(objpfx)tst-printf.out): Likewise.
27531         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27532         $(test-program-cmd).
27533         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27534         (test_program_prefix): This.
27535         * stdio-common/tst-unbputc.sh: Likewise.
27536         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27537         $(run-program-prefix) with $(test-program-prefix).
27538         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27539         (test_program_prefix): This.
27540         * string/Makefile ($(objpfx)tst-svc.out):  Replace
27541         $(built-program-cmd) with $(test-program-cmd).
27542
27543 2013-01-11  Andreas Jaeger  <aj@suse.de>
27544
27545         [BZ #15003]
27546         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27547         value. Sync with Linux 3.7.
27548
27549 2013-01-10  David S. Miller  <davem@davemloft.net>
27550
27551         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27552         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27553         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27554
27555 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27556
27557         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27558         never set.
27559         * configure: Regenerated.
27560
27561 2013-01-10  David S. Miller  <davem@davemloft.net>
27562
27563         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27564         sparc V9 rather than using V8 code.
27565         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27566         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27567
27568 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27569
27570         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27571         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27572         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27573         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27574         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27575         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27576         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27577         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27578         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27579         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27580         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27581         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27582         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27583         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27584         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27585         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27586         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27587         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27588         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27589         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27590         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27591         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27592         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27593         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27594         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27595         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27596         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27597
27598 2013-01-10  David S. Miller  <davem@davemloft.net>
27599
27600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27601
27602 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27603
27604         * posix/Makefile (tests-static): New variable.
27605         (tests): Add $(tests-static).
27606         (tst-exec-static-ARGS): New variable.
27607         (tst-spawn-static-ARGS): Likewise.
27608         * posix/tst-exec-static.c: New file.
27609         * posix/tst-spawn-static.c: Likewise.
27610         * posix/tst-exec.c: Support run directly.
27611         * posix/tst-spawn.c: Likewise.
27612
27613 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
27614
27615         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27616         long.
27617         * math/bits/mathcalls.h (llrint): Likewise.
27618         (llround): Likewise.
27619         * stdlib/stdlib.h (struct drand48_data): Likewise.
27620         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27621         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27622         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27623         Likewise.
27624         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27625         Likewise.
27626         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27627         (elf_greg_t): Likewise.
27628         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27629         (__jmp_buf): Likewise.
27630         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27631         definitions.
27632         (llrint): Likewise, for all definitions.
27633         (llrintl): Likewise.
27634
27635         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27636         Remove [__GNUC__] condition.
27637         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27638         condition to just [__USE_ISOC99].
27639         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27640
27641 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27642
27643         [BZ #14200]
27644         * sysdeps/unix/sysv/linux/x86/bits/environments.h
27645         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27646         defined.
27647         (_POSIX_V6_ILP32_OFF32): Likewise.
27648         (_XBS5_ILP32_OFF32): Likewise.
27649         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27650         (__ILP32_OFFBIG_LDFLAGS): Likewise.
27651
27652 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27653
27654         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27655
27656         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27657         doubles __mpexp_twomm1.  Adjust usage.
27658         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27659         Remove.
27660
27661 2013-01-10  Andreas Schwab  <schwab@suse.de>
27662
27663         [BZ #14964]
27664         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27665         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27666
27667 2013-01-09  David S. Miller  <davem@davemloft.net>
27668
27669         [BZ #15003]
27670         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27671         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27672         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27673         (TCP_FASTOPEN): Define.
27674         (tcp_repair_opt): New structure.
27675         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27676         enum values.
27677         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27678         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27679         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27680         (tcp_cookie_transactions): New structure.
27681
27682 2013-01-09  Anton Blanchard  <anton@samba.org>
27683
27684         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27685         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27686         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27687         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27688
27689 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
27690
27691         * include/features.h (__USE_ANSI): Remove.
27692
27693 2013-01-09  Roland McGrath  <roland@hack.frob.com>
27694
27695         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27696
27697         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27698
27699 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27700
27701         * sysdeps/s390/fpu/libm-test-ulps: Update.
27702
27703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27704
27705         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27706         (__acr): Likewise.
27707         (__cpy): Likewise.
27708         (norm): Likewise.
27709         (denorm): Likewise.
27710         (__mp_dbl): Likewise.
27711         (__dbl_mp): Likewise.
27712         (add_magnitudes): Likewise.
27713         (sub_magnitudes): Likewise.
27714         (__add): Likewise.
27715         (__sub): Likewise.
27716         (__mul): Likewise.
27717         (__inv): Likewise.
27718         (__dvd): Likewise.
27719         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27720         (__acr): Likewise.
27721         (__cpy): Likewise.
27722         (norm): Likewise.
27723         (denorm): Likewise.
27724         (__mp_dbl): Likewise.
27725         (__dbl_mp): Likewise.
27726         (add_magnitudes): Likewise.
27727         (sub_magnitudes): Likewise.
27728         (__add): Likewise.
27729         (__sub): Likewise.
27730         (__mul): Likewise.
27731         (__inv): Likewise.
27732         (__dvd): Likewise.
27733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27734         (__acr): Likewise.
27735         (__cpy): Likewise.
27736         (norm): Likewise.
27737         (denorm): Likewise.
27738         (__mp_dbl): Likewise.
27739         (__dbl_mp): Likewise.
27740         (add_magnitudes): Likewise.
27741         (sub_magnitudes): Likewise.
27742         (__add): Likewise.
27743         (__sub): Likewise.
27744         (__mul): Likewise.
27745         (__inv): Likewise.
27746         (__dvd): Likewise.
27747
27748 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
27749
27750         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27751         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27752         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27753         2 && __USE_EXTERN_INLINES]: Likewise.
27754
27755 2013-01-08  Andreas Jaeger  <aj@suse.de>
27756
27757         [BZ# 14985]
27758         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27759         Remove.
27760         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27761         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27762
27763 2013-01-07  Anton Blanchard  <anton@samba.org>
27764
27765         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27766         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27767         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27768         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27769         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27770         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27771         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27772         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27774         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27775         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27776         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27777         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27778         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27779         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27780         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27781         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27782         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27783         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27784         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27785         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27786         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27787         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27788         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27789         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27790         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27791         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27792         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27793         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27794         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27795         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27797         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27798         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27799         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27800         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27801         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27802         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27803         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27804         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27805         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27806         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27807         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27808
27809 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
27810
27811         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27812         (__MALLOC_PMT): Likewise.
27813         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27814         [__GNUC__], only on [_LIBC].
27815         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27816         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27817         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27818         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27819         forward declaration.
27820         (realloc_hook_ini): Likewise.
27821         (memalign_hook_ini): Likewise.
27822         (__libc_memalign): Do not use __MALLOC_PMT in variable
27823         declaration.
27824         (__libc_valloc): Likewise.
27825         (__libc_pvalloc): Likewise.
27826         (__libc_calloc): Likewise.
27827         (__posix_memalign): Likewise.
27828
27829         [BZ #14996]
27830         * math/s_casinh.c: Include <float.h>.
27831         (__casinh): Do not do computation with squaring and square root
27832         for large arguments.
27833         * math/s_casinhf.c: Include <float.h>.
27834         (__casinhf): Do not do computation with squaring and square root
27835         for large arguments.
27836         * math/s_casinhl.c: Include <float.h>.
27837         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27838         (__casinhl): Do not do computation with squaring and square root
27839         for large arguments.
27840         * math/libm-test.inc (casin_test): Add more tests.
27841         (casinh_test): Likewise.
27842         * sysdeps/i386/fpu/libm-test-ulps: Update.
27843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27844
27845 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
27846
27847         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27848         (__x86_64_raw_data_cache_size): Likewise.
27849         (__x86_64_data_cache_size_half): Likewise.
27850         (__x86_64_raw_data_cache_size_half): Likewise.
27851         (__x86_64_shared_cache_size): Likewise.
27852         (__x86_64_raw_shared_cache_size): Likewise.
27853         (__x86_64_shared_cache_size_half): Likewise.
27854         (__x86_64_raw_shared_cache_size_half): Likewise.
27855         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27856         to ...
27857         (__x86_data_cache_size): This.
27858         (__x86_64_raw_data_cache_size): Renamed to ...
27859         (__x86_raw_data_cache_size): This.
27860         (__x86_64_data_cache_size_half): Renamed to ...
27861         (__x86_data_cache_size_half): This.
27862         (__x86_64_raw_data_cache_size_half): Renamed to ...
27863         (__x86_raw_data_cache_size_half): This.
27864         (__x86_64_shared_cache_size): Renamed to ...
27865         (__x86_shared_cache_size): This.
27866         (__x86_64_raw_shared_cache_size): Renamed to ...
27867         (__x86_raw_shared_cache_size): This.
27868         (__x86_64_shared_cache_size_half): Renamed to ...
27869         (__x86_shared_cache_size_half): This.
27870         (__x86_64_raw_shared_cache_size_half): Renamed to ...
27871         (__x86_raw_shared_cache_size_half): This.
27872         * sysdeps/x86_64/memcpy.S: Updated.
27873         * sysdeps/x86_64/memset.S: Likewise.
27874         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27875         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27876         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27877
27878 2013-01-04  David S. Miller  <davem@davemloft.net>
27879
27880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27881
27882 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
27883
27884         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27885         1 to avoid redefinition warning.
27886         (__USE_GNU): Don't define.
27887         (init_signaling_nan): Protoize.
27888
27889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27890
27891 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27892
27893         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27894         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27895         (__cpymn): Likewise.
27896         (norm): Remove commented code.
27897         (denorm): Likewise.
27898         (__mp_dbl): Likewise.
27899         (__inv): Likewise.
27900         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27901         (__cpymn): Likewise.
27902         (norm): Remove commented code.
27903         (denorm): Likewise.
27904         (__mp_dbl): Likewise.
27905         (__inv): Likewise.
27906
27907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27908         mp_no value for 1.0 and 2.0.
27909         (norm): Use RADIXI instead of radixi.d.
27910         (denorm): Likewise.
27911         (__mul): Use 0.0 instead of zero.d.
27912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27913         mp_no value for 1.0 and 2.0.
27914         (norm): Use RADIXI instead of radixi.d.
27915         (denorm): Likewise.
27916         (__mul): Use 0.0 instead of zero.d.
27917
27918 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
27919
27920         [BZ #14994]
27921         * math/s_casinh.c (__casinh): Reduce finite argument to first
27922         quadrant then set signs of results at the end.
27923         * math/s_casinhf.c (__casinhf): Likewise.
27924         * math/s_casinhl.c (__casinhl): Likewise.
27925         * math/libm-test.inc (casin_test): Add more tests.
27926         (casinh_test): Likewise.
27927         * sysdeps/i386/fpu/libm-test-ulps: Update.
27928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27929
27930 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27931
27932         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27933
27934         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27935
27936         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27937         declarations.
27938         (denorm): Likewise.
27939         (__mp_dbl): Likewise.
27940         (__inv): Likewise.
27941
27942         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27943         and adjust the header comment.
27944
27945         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27946         variable name from declaration.
27947
27948 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
27949
27950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27951         Initialize COMMON_CPUID_INDEX_7 element.
27952         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27953         (CPUID_RTM): Likewise.
27954         (HAS_RTM): Likewise.
27955         (COMMON_CPUID_INDEX_7): New enum.
27956
27957 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
27958
27959         [BZ #14981]
27960         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27961         size is zero, record memory as freed.
27962
27963 2013-01-03  Andreas Jaeger  <aj@suse.de>
27964
27965         * po/ia.po: Add new Interlingua translation.
27966
27967 2012-01-03  Allan McRae  <allan@archlinux.org>
27968
27969         * locale/programs/localedef.c: Fix description of '--posix' flag.
27970
27971 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
27972
27973         * NEWS: Update dates in second copyright notice.
27974         * README: Update copyright dates in example.
27975         * manual/libc.texinfo: Update copyright dates.
27976         * scripts/test-installation.pl: Update copyright date in --version
27977         output.
27978
27979         * hurd/ctty-input.c: Fix copyright notice formatting.
27980         * hurd/ctty-output.c: Likewise.
27981         * hurd/dtable.c: Likewise.
27982         * hurd/hurd-raise.c: Likewise.
27983         * hurd/hurdprio.c: Likewise.
27984         * hurd/msgportdemux.c: Likewise.
27985         * misc/sys/file.h: Likewise.
27986         * misc/sys/ioctl.h: Likewise.
27987         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27988         * sysdeps/mach/hurd/chdir.c: Likewise.
27989         * sysdeps/mach/hurd/fchdir.c: Likewise.
27990         * sysdeps/mach/hurd/rename.c: Likewise.
27991         * sysdeps/mach/hurd/rmdir.c: Likewise.
27992         * sysdeps/mach/hurd/seekdir.c: Likewise.
27993         * sysdeps/mach/hurd/setsid.c: Likewise.
27994         * sysdeps/posix/wait3.c: Likewise.
27995
27996         * All files with FSF copyright notices: Update copyright dates
27997         using scripts/update-copyrights.
27998         * intl/plural.c: Regenerated.
27999         * locale/programs/charmap-kw.h: Likewise.
28000         * locale/programs/locfile-kw.h: Likewise.
28001
28002 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28003
28004         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28005         four values.
28006
28007         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28008         calculation loop and add branch prediction.
28009
28010         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28011         check access beyond bounds of m1np.
28012
28013         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28014         MPTWO.
28015         (__inv): Remove local variable MPTWO to use the global
28016         constant.
28017         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28018         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28019         variable MPTWO.
28020         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28021         MP3HALFS static const.
28022
28023 2013-01-01  David S. Miller  <davem@davemloft.net>
28024
28025         * po/ca.po: Update from translation team.
28026
28027 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
28028
28029         * scripts/update-copyrights: New file.
28030         * Makeconfig: Reformat copyright notice.
28031         * ctype/ctype.h: Likewise.
28032         * debug/swprintf_chk.c: Likewise.
28033         * elf/dl-cache.c: Likewise.
28034         * elf/dl-debug.c: Likewise.
28035         * elf/dl-object.c: Likewise.
28036         * grp/initgroups.c: Likewise.
28037         * hurd/Makefile: Likewise.
28038         * hurd/hurd/signal.h: Likewise.
28039         * hurd/hurdfault.c: Likewise.
28040         * hurd/hurdioctl.c: Likewise.
28041         * hurd/hurdlookup.c: Likewise.
28042         * hurd/intr-msg.c: Likewise.
28043         * iconv/gconv_open.c: Likewise.
28044         * libio/swprintf.c: Likewise.
28045         * locale/lc-ctype.c: Likewise.
28046         * locale/nl_langinfo.c: Likewise.
28047         * mach/Machrules: Likewise.
28048         * mach/Makefile: Likewise.
28049         * malloc/obstack.h: Likewise.
28050         * manual/Makefile: Likewise.
28051         * manual/tsort.awk: Likewise.
28052         * misc/bits/stab.def: Likewise.
28053         * nis/nis_print_group_entry.c: Likewise.
28054         * nis/nis_table.c: Likewise.
28055         * nis/nss_compat/compat-pwd.c: Likewise.
28056         * nis/nss_compat/compat-spwd.c: Likewise.
28057         * po/Makefile: Likewise.
28058         * posix/fnmatch.c: Likewise.
28059         * posix/regex.h: Likewise.
28060         * resolv/Makefile: Likewise.
28061         * resolv/nss_dns/dns-network.c: Likewise.
28062         * resolv/res_hconf.c: Likewise.
28063         * scripts/gen-sorted.awk: Likewise.
28064         * soft-fp/soft-fp.h: Likewise.
28065         * stdio-common/printf.h: Likewise.
28066         * stdlib/monetary.h: Likewise.
28067         * stdlib/random.c: Likewise.
28068         * stdlib/random_r.c: Likewise.
28069         * sysdeps/generic/Makefile: Likewise.
28070         * sysdeps/gnu/Makefile: Likewise.
28071         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28072         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28073         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28074         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28075         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28076         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28077         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28078         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28079         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28080         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28081         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28082         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28083         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28084         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28085         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28086         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28087         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28088         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28089         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28090         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28091         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28092         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28093         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28094         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28095         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28096         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28097         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28098         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28099         * sysdeps/mach/hurd/errnos.awk: Likewise.
28100         * sysdeps/mach/hurd/fork.c: Likewise.
28101         * sysdeps/mach/hurd/getcwd.c: Likewise.
28102         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28103         * sysdeps/mach/hurd/mmap.c: Likewise.
28104         * sysdeps/mach/hurd/utimes.c: Likewise.
28105         * sysdeps/mach/hurd/xmknod.c: Likewise.
28106         * sysdeps/posix/profil.c: Likewise.
28107         * sysdeps/posix/readdir_r.c: Likewise.
28108         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28109         * sysdeps/powerpc/bits/setjmp.h: Likewise.
28110         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28111         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28112         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28113         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28114         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28115         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28116         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28117         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28118         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28119         * sysdeps/pthread/lio_listio.c: Likewise.
28120         * sysdeps/sparc/dl-procinfo.h: Likewise.
28121         * sysdeps/unix/i386/sysdep.S: Likewise.
28122         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28123         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28124         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28125         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28127         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28128         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28129         * sysdeps/unix/sysv/linux/speed.c: Likewise.
28130         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28131         * sysdeps/wordsize-32/divdi3.c: Likewise.
28132         * time/sys/time.h: Likewise.
28133         * wcsmbs/Makefile: Likewise.
28134
28135 2013-01-01  David S. Miller  <davem@davemloft.net>
28136
28137         * po/fr.po: Update from translation team.
28138
28139         * catgets/gencat.c: Update copyright year.
28140         * csu/version.c: Likewise.
28141         * debug/catchsegv.sh: Likewise.
28142         * debug/pcprofiledump.c: Likewise.
28143         * debug/xtrace.sh: Likewise.
28144         * elf/ldconfig.c: Likewise.
28145         * elf/ldd.bash.in: Likewise.
28146         * elf/pldd.c: Likewise.
28147         * elf/sotruss.ksh: Likewise.
28148         * elf/sprof.c: Likewise.
28149         * iconv/iconv_prog.c: Likewise.
28150         * iconv/iconvconfig.c: Likewise.
28151         * locale/programs/locale.c: Likewise.
28152         * locale/programs/localedef.c: Likewise.
28153         * login/programs/pt_chown.c: Likewise.
28154         * malloc/memusage.sh: Likewise.
28155         * malloc/memusagestat.c: Likewise.
28156         * malloc/mtrace.pl: Likewise.
28157         * nscd/nscd.c: Likewise.
28158         * nss/getent.c: Likewise.
28159         * nss/makedb.c: Likewise.
28160         * posix/getconf.c: Likewise.
28161
28162 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28163
28164         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28165         numbers.
28166
28167 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
28168
28169         * math/bits/mathcalls.h (modf): Use __nonnull.
28170
28171 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28172
28173         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28174         (split): Use macro CN instead of the bare value.
28175         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28176         could be used.
28177         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28178         instead of the bare value.
28179         (power1): Likewise.
28180
28181 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28182
28183         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28184         __ATAN_TWOM.
28185         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28186
28187         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28188         their values.
28189         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28190         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28191         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28192         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28193
28194 2012-12-28  Andreas Jaeger  <aj@suse.de>
28195
28196         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
28197         values are from Linux 3.7.
28198
28199         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28200         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
28201
28202 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28203
28204         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28205         TRUE case.
28206
28207         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28208         (norm): Likewise.
28209         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28210         variables with preprocessor constants.
28211         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28212         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28213         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28214
28215 2012-12-27  Bruno Haible  <bruno@clisp.org>
28216
28217         [BZ #14317]
28218         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28219         only if needed.
28220
28221 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28222
28223         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28224         and use variable directly.
28225         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28226
28227         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28228         MPONE.
28229         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28230         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28231         variable MPONE.
28232         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28233         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28234         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28235         include directive.  Remove local variable MPONE.
28236         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28237         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28238         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28239
28240 2012-12-25  David S. Miller  <davem@davemloft.net>
28241
28242         * version.h (RELEASE): Set to "development".
28243         (VERSION): Set to "2.17.90".
28244         * NEWS: Add 2.18 section.
28245
28246 2012-12-21  David S. Miller  <davem@davemloft.net>
28247
28248         * po/hr.po: Update from translation team.
28249
28250 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28251
28252         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28253
28254 2012-12-19  Steve Ellcey  <sellcey@mips.com>
28255
28256         * NEWS:  Mention new memcpy for MIPS.
28257
28258 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28259
28260         * manual/contrib.texi (Contributors): Spelling correction.
28261
28262 2012-12-15  David S. Miller  <davem@davemloft.net>
28263
28264         * po/ru.po: Update from translation team.
28265
28266 2012-12-13  David S. Miller  <davem@davemloft.net>
28267
28268         * NEWS: Mention IFUNC testsuite enhancements.
28269
28270         * po/pl.po: Update from translation team.
28271         * po/bg.po: Likewise.
28272
28273         * manual/contrib.texi (Contributors): Update entries for Hongjiu
28274         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
28275
28276 2012-12-11  David S. Miller  <davem@davemloft.net>
28277
28278         * po/sv.po: Update from translation team.
28279
28280         * po/vi.po: Update from translation team.
28281
28282         * po/cs.po: Update from translation team.
28283
28284         * po/de.po: Update from translation team.
28285         * po/eo.po: Likewise.
28286         * po/nl.po: Likewise.
28287
28288 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28289
28290         [BZ #14246]
28291         * manual/argp.texi (Argp Helper Functions): Move node to follow
28292         Argp Parsing State.
28293
28294         [BZ #14872]
28295         * manual/conf.texi (Limits on File System Capacity): Mention if
28296         terminating null is included in the max size.
28297
28298 2012-12-10  Andreas Jaeger  <aj@suse.de>
28299
28300         * po/cs.po: Update from translation team.
28301
28302 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28303
28304         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28305         void pointer and cast to uintptr_t.
28306         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28307         path.
28308         * sysdeps/s390/s390-64/memcpy.S: Likewise.
28309         * sysdeps/s390/s390-64/memset.S: Likewise.
28310
28311 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
28312
28313         [BZ #14833]
28314         * menual/message.texi (Message Translation): Fix typos.
28315         (Helper programs for gettext): Likewise.
28316
28317 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
28318
28319         [BZ #14898]
28320         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28321         Change to -1.
28322
28323 2012-12-07  David S. Miller  <davem@davemloft.net>
28324
28325         * po/libc.pot: Update.
28326
28327 2012-12-07  Richard Henderson  <rth@redhat.com>
28328
28329         [BZ #10114]
28330         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28331         normal/normal case to before the switch.
28332         (_FP_DIV): Likewise.
28333
28334 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
28335             Mike Frysinger  <vapier@gentoo.org>
28336
28337         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28338         check for __NR_fadvise64_64.
28339
28340 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
28341
28342         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28343         0, not just to plain "0" as a statement.
28344         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28345         with cw.
28346
28347 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
28348
28349         * NEWS: Use sourceware.org in Bugzilla URL.
28350
28351 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28352
28353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28354         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28355
28356         * stdio-common/tst-put-error.c (do_test): Add newline to the
28357         padded test to ensure flush.
28358
28359 2012-12-05  Jeff Law  <law@redhat.com>
28360
28361         * sunrpc/etc.rpc (fedfs_admin): Add entry.
28362
28363 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
28364
28365         * README: Don't refer to ports add-on as distributed separately.
28366         Mention AArch64 in list of systems supported in the ports add-on.
28367
28368         * LICENSES: Add more non-FSF copyright and license notices.
28369
28370         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28371         ((unused)).
28372
28373         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28374
28375         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28376         10000 as width of padded output.
28377
28378 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28379
28380         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28381
28382         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28383         variable LX with __attribute__ ((unused)).
28384         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28385         Likewise.
28386         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28387         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28388         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28389         with __attribute__ ((unused)).
28390
28391 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
28392
28393         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28394
28395 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28396
28397         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28398         (CFLAGS-nldbl-acos.c): New variable.
28399         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28400         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28401         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28402         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28403         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28404         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28405         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28406         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28407         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28408         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28409         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28410         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28411         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28412         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28413         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28414         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28415         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28416         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28417         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28418         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28419         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28420         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28421         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28422         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28423         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28424         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28425         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28426         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28427         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28428         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28429         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28430         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28431         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28432         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28433         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28434         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28435         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28436         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28437         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28438         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28439         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28440         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28441         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28442         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28443         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28444         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28445         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28446         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28447         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28448         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28449         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28450         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28451         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28452         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28453         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28454         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28455         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28456         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28457         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28458         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28459         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28460         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28461         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28462         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28463         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28464         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28465         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28466         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28467         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28468         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28469         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28470         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28471         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28472         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28473         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28474         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28475         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28476         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28477         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28478         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28479         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28480         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28481         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28482         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28483         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28484         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28485         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28486         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28487         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28488         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28489         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28490         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28491         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28492         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28493         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28494         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28495         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28496
28497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28498         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28499
28500         [BZ #14914]
28501         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28502         whole low double instead of just low 47 bits when splitting values
28503         into two parts.
28504
28505 2012-12-03  Allan McRae  <allan@archlinux.org>
28506
28507         * manual/stdio.texi (Predefined Printf Handlers): Remove
28508         @hsep and @vsep usage.
28509
28510 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
28511
28512         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28513         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28514
28515 2012-12-03  Jeff Law  <law@redhat.com>
28516
28517         * time/sys/time.h (settimeofday): Do not mark TV argument
28518         as __nonnull.
28519
28520 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
28521
28522         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28523         when currently writing and seek to current position when not.
28524         * libio/Makefile (tests): Remove bug-fclose1.
28525         * libio/bug-fclose1.c: Delete.
28526
28527 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
28528
28529         * manual/arith.texi (feenableexcept): Fix typo.
28530         (fedisableexcept): Likewise.
28531
28532 2012-11-30  Roland McGrath  <roland@hack.frob.com>
28533
28534         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28535         second, differently-typed declaration, rather than a cast.
28536
28537 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28538
28539         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28540         * include/rpc/svc.h: ... here.
28541
28542 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
28543
28544         [BZ #13013]
28545         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28546         depending n and resplen2 to catch cases where answer
28547         equals answerp2.
28548
28549 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
28550
28551         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28552         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28553
28554 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
28555
28556         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28557
28558 2012-11-29  Roland McGrath  <roland@hack.frob.com>
28559
28560         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28561
28562 2012-11-28  Jeff Law  <law@redhat.com>
28563
28564         [BZ #13761]
28565         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28566         dataset_temporary.  Track alloca usage into alloca_used.
28567         If dataset is large allocate and release it via malloc/free.
28568
28569 2012-06-04  Florian Weimer  <fweimer@redhat.com>
28570
28571         [BZ #14197]
28572         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28573
28574 2012-11-28  David S. Miller  <davem@davemloft.net>
28575
28576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28577
28578 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28579
28580         [BZ #14803]
28581         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28582         of pi/2 rounded to nearest to 64 bits.
28583         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28584         nearest to 64 bits.
28585         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28586         bits.
28587
28588 2012-11-28  Jeff Law <law@redhat.com>
28589             Martin Osvald <mosvald@redhat.com>
28590
28591         [BZ #14889]
28592         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28593         * sunrpc/svc.c: Include time.h.
28594         (__svc_accept_failed): New function.
28595         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28596         any reason other than EINTR, call __svc_accept_failed.
28597         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28598         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28599
28600 2012-11-28  Andreas Schwab  <schwab@suse.de>
28601
28602         * scripts/abilist.awk: Also handle indirect functions in .opd
28603         section.
28604
28605 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28606
28607         [BZ #13881]
28608         * sysdeps/x86/fpu/powl_helper.c: New file.
28609         * sysdeps/x86/fpu/Makefile: Likewise.
28610         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28611         (p3): New object.
28612         (__ieee754_powl): Use __powl_helper for finite arguments except
28613         integer exponents below 8.
28614         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28615         (p3): New object.
28616         (__ieee754_powl): Use __powl_helper for finite arguments except
28617         integer exponents below 8.
28618         * math/libm-test.inc (pow_test): Add more tests and enable some
28619         previously disabled tests.
28620         * sysdeps/i386/fpu/libm-test-ulps: Update.
28621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28622
28623 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28624             Carlos O'Donell  <carlos_odonell@mentor.com>
28625
28626         * nss/makedb.c (is_prime): Assert that input is odd and greater
28627         than 4.  Note that fact in a comment too.
28628         (next_prime): Add 4 to input.
28629
28630 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28631
28632         [BZ #11741]
28633         * libio/Makefile (tests): Add test case tst-fwrite-error.
28634         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28635         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28636         * libio/tst-fwrite-error.c: New test case.
28637
28638 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
28639
28640         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28641         before casting to void *.
28642         * include/libc-internal.h (__pointer_type): New macro.
28643         (__integer_if_pointer_type_sub): Likewise.
28644         (__integer_if_pointer_type): Likewise.
28645         (cast_to_integer): Likewise.
28646         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28647         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28648         before casting to atomic64_t.
28649         (atomic_exchange_acq): Likewise.
28650         (__arch_exchange_and_add_body): Likewise.
28651         (__arch_add_body): Likewise.
28652         (atomic_add_negative): Likewise.
28653         (atomic_add_zero): Likewise.
28654
28655 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
28656
28657         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28658         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28659         (add_fdes): Likewise.
28660         (linear_search_fdes): Likewise.
28661         (binary_search_unencoded_fdes): Likewise.
28662
28663 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
28664
28665         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28666
28667 2012-11-24  Adam Conrad  <adconrad@0c3.net>
28668
28669         * configure.in: Autodetect C++ header directories.
28670         * configure: Regenerated.
28671
28672 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
28673
28674         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28675
28676 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
28677
28678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28679
28680 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
28681
28682         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28683         LDBL_MANT_DIG == 106]: Disable some tests.
28684         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28685         Likewise.
28686         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28687         Likewise.
28688
28689         [BZ #14871]
28690         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28691         input for small inputs.  Return +/- pi/2 for large inputs.
28692         * math/libm-test.inc (atan_test): Add more tests.
28693
28694         * sysdeps/generic/unwind-dw2-fde-glibc.c
28695         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28696         __attribute__ ((unused)).
28697
28698         [BZ #14645]
28699         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28700         x * y if x and y are nonzero and z is zero.
28701
28702         [BZ #14811]
28703         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28704         nonzero exponents with absolute value below 0x1p-117 to +/-
28705         0x1p-117.
28706
28707         [BZ #14869]
28708         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28709         up arguments below 2**-450, not just those below 2**-500.
28710         * math/libm-test.inc (hypot_test): Add another test.
28711
28712         [BZ #14868]
28713         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28714         Return a+b for ratio over 2**120, not 2**60.
28715         * math/libm-test.inc (hypot_test): Add another test.
28716
28717         * math/libm-test.inc (clog_test): Use
28718         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28719         (clog10_test): Likewise.
28720
28721         [BZ #6778]
28722         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28723
28724 2012-11-22  Andreas Schwab  <schwab@suse.de>
28725
28726         * sysdeps/i386/fpu/libm-test-ulps: Update.
28727
28728 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
28729
28730         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28731         printf output with newline.
28732
28733 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
28734
28735         [BZ #14865]
28736         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28737         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28738         -z nodlopen, -z initfirst and -z execstack support.
28739         * configure: Regenerated.
28740
28741         * elf/elf.h (DF_1_NODIRECT): New macro.
28742         (DF_1_IGNMULDEF): Likewise.
28743         (DF_1_NOKSYMS): Likewise.
28744         (DF_1_NOHDR): Likewise.
28745         (DF_1_EDITED): Likewise.
28746         (DF_1_NORELOC): Likewise.
28747         (DF_1_SYMINTPOSE): Likewise.
28748         (DF_1_GLOBAUDIT): Likewise.
28749         (DF_1_SINGLETON): Likewise.
28750         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28751         DT_1_SUPPORTED_MASK bits.
28752         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28753
28754 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
28755
28756         * sysdeps/unix/make-syscalls.sh: Document prefixes.
28757
28758 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
28759
28760         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28761         macro.
28762
28763         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28764         (sendmmsg): Move declarations...
28765         * socket/sys/socket.h: ... here.
28766         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28767         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28768         include it from...
28769         * socket/recvmmsg.c: ... this new file.
28770         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28771         (sendmmsg): Rename to __sendmmsg, create weak alias and make
28772         definition of __sendmmsg hidden.
28773         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28774         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28775         Move ENOSYS stub into and include it from...
28776         * socket/sendmmsg.c: ... this new file.
28777         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28778         (sysdep_routines): Move recvmmsg and sendmmsg...
28779         * socket/Makefile (routines): ... here.
28780         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28781         (GLIBC_PRIVATE): Add __sendmmsg.
28782         * include/sys/socket.h (__sendmmsg): Add declarations.
28783         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28784         sendmmsg.
28785
28786 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
28787
28788         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28789         variable I1 with __attribute__ ((unused)).
28790         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28791
28792 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28793
28794         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28795         DUMMY variables with __attribute__ ((unused)).
28796
28797         * bits/byteswap.h: Include <bits/types.h>.
28798         (__bswap_64): Use __uint64_t instead of unsigned long long int.
28799
28800 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28801
28802         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28803         string_t.  Do not manually set errno.
28804         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28805         length with __strnlen.  Make sure to both set errno and return it on
28806         failure.
28807
28808 2012-11-19  David S. Miller  <davem@davemloft.net>
28809
28810         With help from Joseph Myers.
28811         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28812         very large arguments properly.
28813         * math/libm-test.inc (atan_test): New tests.
28814         (atan2_test): New tests.
28815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28817
28818 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28819
28820         [BZ #14856]
28821         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28822         Define to 3.
28823
28824         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28825         [POSIX] (EADDRNOTAVAIL): Likewise.
28826         [POSIX] (EAFNOSUPPORT): Likewise.
28827         [POSIX] (EALREADY): Likewise.
28828         [POSIX] (ECONNABORTED): Likewise.
28829         [POSIX] (ECONNREFUSED): Likewise.
28830         [POSIX] (ECONNRESET): Likewise.
28831         [POSIX] (EDESTADDRREQ): Likewise.
28832         [POSIX] (EDQUOT): Likewise.
28833         [POSIX] (EHOSTUNREACH): Likewise.
28834         [POSIX] (EIDRM): Likewise.
28835         [POSIX] (EISCONN): Likewise.
28836         [POSIX] (ELOOP): Likewise.
28837         [POSIX] (EMULTIHOP): Likewise.
28838         [POSIX] (ENETDOWN): Likewise.
28839         [POSIX] (ENETUNREACH): Likewise.
28840         [POSIX] (ENOBUFS): Likewise.
28841         [POSIX] (ENODATA): Likewise.
28842         [POSIX] (ENOLINK): Likewise.
28843         [POSIX] (ENOMSG): Likewise.
28844         [POSIX] (ENOPROTOOPT): Likewise.
28845         [POSIX] (ENOSR): Likewise.
28846         [POSIX] (ENOSTR): Likewise.
28847         [POSIX] (ENOTCONN): Likewise.
28848         [POSIX] (ENOTSOCK): Likewise.
28849         [POSIX] (EOPNOTSUPP): Likewise.
28850         [POSIX] (EOVERFLOW): Likewise.
28851         [POSIX] (EPROTO): Likewise.
28852         [POSIX] (EPROTONOSUPPORT): Likewise.
28853         [POSIX] (EPROTOTYPE): Likewise.
28854         [POSIX] (ESTALE): Likewise.
28855         [POSIX] (ETIME): Likewise.
28856         [POSIX] (ETXTBSY): Likewise.
28857         [POSIX] (EWOULDBLOCK): Likewise.
28858         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28859         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28860         [POSIX] (SEEK_CUR): Likewise.
28861         [POSIX] (SEEK_END): Likewise.
28862         [POSIX || UNIX98] (mode_t): Do not require.
28863         [POSIX] (off_t): Likewise.
28864         [POSIX] (pid_t): Likewise.
28865         [POSIX] (sys/stat.h): Do not allow header.
28866         [POSIX] (unistd.h): Likewise.
28867         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28868         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28869         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28870         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28871         require.
28872         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28873         sigevent): Specify elements.
28874         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28875         entry.
28876         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28877         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28878
28879         * conform/data/cpio.h-data [POSIX]: Disable whole file.
28880         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28881         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28882         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28883         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28884         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28885         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28886         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28887         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28888         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28889         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28890         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28891         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28892         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28893         Likewise.
28894         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28895         Likewise.
28896         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28897         Likewise.
28898         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28899         Likewise.
28900         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28901         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28902         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28903         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28904         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28905         Specify lower bound on value.
28906         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28907         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28908         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28909         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28910         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28911         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28912         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28913         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28914         value.
28915         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28916         as optional.
28917         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28918         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28919         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28920         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28921         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28922         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28923         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28924         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28925         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28926         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28927         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28928         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28929         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28930         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28931         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28932         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28933         entry.
28934         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28935         optional.
28936         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28937         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28938         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28939         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28940         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28941         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28942         Likewise.
28943         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28944         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28945         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28946         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28947         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
28948         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28949         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28950         as optional.
28951         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28952         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28953         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28954         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28955         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28956         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28957         specify as optional.
28958         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28959         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28960         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28961         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28962         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28963         [XPG3] (NL_LANGMAX): Likewise.
28964         [POSIX || XPG3] (NL_MSGMAX): Likewise.
28965         [POSIX || XPG3] (NL_NMAX): Likewise.
28966         [POSIX || XPG3] (NL_SETMAX): Likewise.
28967         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28968         [XPG3] (NZERO): Likewise.
28969         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28970         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28971         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28972         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28973         (REG_ERANGE): Expect.
28974         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28975         optional-constant.
28976         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28977         Use (void) in prototype.
28978         [POSIX] (*_t): Allow.
28979         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28980         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28981         (WRDE_BADVAL): Expect.
28982
28983         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28984         expect.
28985         [XPG3 || XPG4] (O_RSYNC): Likewise.
28986         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28987         Likewise.
28988         [XPG3 || XPG4] (pthread_sigmask): Likewise.
28989         [XPG3 || XPG4] (sigqueue): Likewise.
28990         [XPG3 || XPG4] (sigtimedwait): Likewise.
28991         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28992         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28993         [XPG3 || XPG4] (vsnprintf): Likewise.
28994         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28995         Likewise.
28996         [XPG3 || XPG4] (blksize_t): Likewise.
28997         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28998         Likewise.
28999         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29000         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29001         [XPG3 || XPG4] (struct itimerspec): Likewise.
29002         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29003         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29004         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29005         [XPG3 || XPG4] (clockid_t): Likewise.
29006         [XPG3 || XPG4] (timer_t): Likewise.
29007         [XPG3 || XPG4] (clock_getres): Likewise.
29008         [XPG3 || XPG4] (clock_gettime): Likewise.
29009         [XPG3 || XPG4] (clock_settime): Likewise.
29010         [XPG3 || XPG4] (nanosleep): Likewise.
29011         [XPG3 || XPG4] (timer_create): Likewise.
29012         [XPG3 || XPG4] (timer_delete): Likewise.
29013         [XPG3 || XPG4] (timer_gettime): Likewise.
29014         [XPG3 || XPG4] (timer_getoverrun): Likewise.
29015         [XPG3 || XPG4] (timer_settime): Likewise.
29016         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29017         [XPG3 || XPG4] (getlogin_r): Likewise.
29018         [XPG3 || XPG4] (pread): Likewise.
29019         [XPG3 || XPG4] (pthread_atfork): Likewise.
29020         [XPG3 || XPG4] (pwrite): Likewise.
29021
29022         [BZ #14835]
29023         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29024         <bits/siginfo.h>.
29025
29026 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29027
29028         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29029         finalizing MALLSTREAM.
29030
29031         * sysdeps/mach/hurd/syncfs.c: New file.
29032
29033 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29034
29035         [BZ #14719]
29036         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29037         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29038         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29039         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29040         (_nss_dns_gethostbyname4_r): Likewise.
29041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29042         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29043
29044 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
29045
29046         [BZ #13763]
29047         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29048
29049 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
29050
29051         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29052         * elf/cache.c (print_entry): Print ",AArch64" for
29053         FLAG_AARCH64_LIB64
29054
29055         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29056         * elf/cache.c (print_entry): Print ",hard-float" for
29057         FLAG_ARM_LIBHF.
29058
29059 2012-11-18  David S. Miller  <davem@davemloft.net>
29060
29061         With help from Joseph Myers.
29062         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29063         cutoff to 2**-13.
29064         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29065         cutoff to 2**-25.
29066         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29067         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29068         small.
29069         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29070         * math/libm-test.inc (y0_test): New tests.
29071         (y1_test): New tests.
29072         * sysdeps/i386/fpu/libm-test-ulps: Update.
29073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29075
29076 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
29077
29078         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29079         64-bit targets.
29080         * configure: Regenerated.
29081
29082 2012-11-17  David S. Miller  <davem@davemloft.net>
29083
29084         [BZ #14811]
29085         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29086         nonzero exponents with absolute value below 0x1p-128 to +/-
29087         0x1p-128.
29088
29089 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
29090
29091         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29092
29093         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29094
29095         * posix/getconf-speclist.c: New file.
29096         * posix/posix-envs.def: Likewise.
29097         * posix/confstr.c (START_ENV_GROUP): New macro.
29098         (END_ENV_GROUP): Likewise.
29099         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29100         (KNOWN_PRESENT_ENV_STRING): Likewise.
29101         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29102         (UNKNOWN_ENVIRONMENT): Likewise.
29103         (confstr): Include posix-envs.def instead of handling
29104         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29105         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29106         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29107         (END_ENV_GROUP): Likewise.
29108         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29109         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29110         (UNKNOWN_ENVIRONMENT): Likewise.
29111         (__sysconf): Include posix-envs.def instead of handling associated
29112         cases directly here.
29113         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29114         preprocessing getconf-speclist.c rather than running getconf or
29115         generating empty file.
29116
29117 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
29118
29119         * scripts/check-local-headers.sh: Ignore 'mach' headers.
29120
29121 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
29122
29123         [BZ #14672]
29124         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29125
29126 2012-11-16  David S. Miller  <davem@davemloft.net>
29127
29128         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29129         smaller than LDBL_EPSILON/2.0L, just return xm1.
29130
29131 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
29132
29133         * elf/tst-array1.c (init): Set constructor priority to 1000.
29134         (fini): Set destructor priority to 1000.
29135         * elf/tst-array2dep.c: Likewise.
29136
29137 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29138
29139         [BZ #11741]
29140         * libio/fileops.c (_IO_new_file_write): Correctly return error.
29141         (_IO_new_file_xsputn): Also return EOF if none of the input
29142         data was written when overflow failed.
29143         * libio/iopadn.c (_IO_padn): Likewise.
29144         * libio/iowpadn.c (_IO_wpadn): Likewise.
29145         * stdio-common/tst-put-error.c: Add copyright notice.
29146         (do_test): Add case for printing padded string.
29147         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29148         _IO_padn returned error.
29149         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29150         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29151         return EOF.
29152
29153 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29154
29155         * libio/libioP.h: Add comment note that the references to C++
29156         bits are now obsolete.
29157
29158 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29159
29160         * math/libm-test.inc (check_complex): Use asprintf.
29161
29162 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
29163
29164         * debug/pcprofiledump.c (print_version): Update copyright year.
29165         * malloc/memusagestat.c (print_version): Likewise.
29166
29167 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
29168
29169         [BZ #14831]
29170         * elf/Makefile (tests): Add tst-audit8.
29171         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29172         ($(objpfx)tst-audit8.out): New target.
29173         (tst-audit8-ENV): New variable.
29174         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29175         audit if l_reloc_result is NULL.
29176         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29177         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29178         * elf/tst-audit8.c: New file.
29179
29180 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29181
29182         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29183         * misc/Makefile (CFLAGS-select.c): Define.
29184         * posix/Makefile (CFLAGS-pause.c): Define.
29185
29186 2012-11-13  David S. Miller  <davem@davemloft.net>
29187
29188         * crypt/Makefile: Move test targets after toplevel Rules
29189         inclusion.  Grab any necessary sysdep routines when linking.
29190         * crypt/md5.c (md5_process_block): Remove define, we will always
29191         name it __md5_process_block.
29192         (md5_finish_ctx): Update md5_process_block call.
29193         (md5_stream): Likewise.
29194         (md5_process_bytes): Likewise.
29195         (md5_process_block): Rename to __md5_process_block and move to ...
29196         * crypt/md5-block.c: ... here.
29197         * crypt/sha256.c (sha256_process_block): Move to ...
29198         * crypt/sha256-block.c: ... here.
29199         * crypt/sha512.c (sha512_process_block): Move to ...
29200         * crypt/sha512-block.c: ... here.
29201         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29202         path.
29203         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29204         * sysdeps/sparc/sparc64/multiarch/Makefile
29205         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29206         crypt subdir.
29207         (localedef-aux): Add md5 crypto assembler when in locale subdir.
29208         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29209         multiarch changes.
29210         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29211         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29212         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29213         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29214         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29215         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29216         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29217         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29218         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29219         file.
29220         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29221         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29222         file.
29223         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29224
29225 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
29226
29227         * timezone/tzselect.ksh: Update from tzcode git revision
29228         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29229         * timezone/zdump.c: Likewise.
29230         * timezone/zic.c: Likewise.
29231         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29232         in TZVERSION setting, not $(PKGVERSION).
29233         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
29234         REPORT_BUGS_TO settings.
29235
29236         [BZ #14838]
29237         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29238         macro.
29239
29240 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29241
29242         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29243         detection to immediately after _FP_ROUND().
29244         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29245         bits are 0.
29246
29247 2012-11-11  David S. Miller  <davem@davemloft.net>
29248
29249         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29250         inttypes.h
29251         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29252         __close rather than their public counterparts.
29253
29254 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
29255
29256         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29257         file.
29258         [UNIX98] (sem_timedwait): Do not expect.
29259         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29260         [XPG4 || UNIX98] (sockatmark): Do not expect.
29261         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29262         (clock_getcpuclockid): Do not expect.
29263         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29264         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29265         Do not expect.
29266         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29267         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29268         [UNIX98] (vwscanf): Likewise.
29269         [UNIX98] (vswscanf): Likewise.
29270
29271 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
29272
29273         * timezone/version.h: Remove file.
29274         * timezone/README: Do not refer to version.h.
29275         * timezone/Makefile ($(objpfx)zic.o): New dependency on
29276         $(objpfx)version.h.
29277         ($(objpfx)zdump.o): Likewise.
29278         ($(objpfx)version.h): New target.
29279
29280         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29281         2012i.
29282         * timezone/README: Don't mention modification to tzselect.ksh.
29283         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29284         work on unmodified tzselect.ksh.  Substitute version numbers in
29285         tzselect.ksh.
29286
29287         * Makefile (format-me): Remove.
29288         (INSTALL): Adjust indentation.  Use commands directly instead of
29289         using $(format-me).
29290
29291         * aclocal.m4 (ACX_PKGVERSION): New macro.
29292         (ACX_BUGURL): Likewise.
29293         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29294         (PKGVERSION): New AC_DEFINE_UNQUOTED.
29295         (REPORT_BUGS_TO): Likewise.
29296         * configure: Regenerated.
29297         * config.h.in (PKGVERSION): New macro.
29298         (REPORT_BUGS_TO): Likewise.
29299         * config.make.in (PKGVERSION): New variable.
29300         (PKGVERSION_TEXI): Likewise.
29301         (REPORT_BUGS_TO): Likewise.
29302         (REPORT_BUGS_TEXI): Likewise.
29303         * Makefile (format-me): Use -I$(common-objpfx)manual.
29304         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29305         ($(common-objpfx)manual/%): New target.
29306         (manual/%): Remove target.
29307         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29308         (print_version): Use PKGVERSION.
29309         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29310         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29311         and REPORT_BUGS_TO.
29312         ($(objpfx)xtrace): Likewise.
29313         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29314         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29315         (print_version): Use PKGVERSION.
29316         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29317         (do_version): Use PKGVERSION.
29318         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29319         REPORT_BUGS_TO.
29320         (common-ldd-rewrite): Likewise.
29321         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29322         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29323         (print_version): Use PKGVERSION.
29324         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29325         * elf/pldd.c (argp_program_bug_address): Remove variable.
29326         (more_help): New function.
29327         (argp): Use more_help.
29328         (print_version): Use PKGVERSION.
29329         * elf/sln.c (main): Use PKGVERSION.
29330         (usage): Use REPORT_BUGS_TO.
29331         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29332         (top level): Use PKGVERSION.
29333         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29334         (print_version): Use PKGVERSION.
29335         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29336         (print_version): Use PKGVERSION.
29337         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29338         (print_version): Use PKGVERSION.
29339         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29340         (print_version): Use PKGVERSION.
29341         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29342         (print_version): Use PKGVERSION.
29343         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29344         (print_version): Use PKGVERSION.
29345         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29346         and BUGURL.
29347         ($(objpfx)memusage): Likewise.
29348         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29349         (do_version): Use PKGVERSION.
29350         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29351         (print_version): Use PKGVERSION.
29352         * malloc/mtrace.pl ($PACKAGE): Remove variable.
29353         ($PKGVERSION): New variable.
29354         ($REPORT_BUGS_TO): Likewise.
29355         (usage): Use $REPORT_BUGS_TO.
29356         (top level): Use $PKGVERSION.
29357         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29358         ($(objpfx)pkgvers.texi): New rule.
29359         ($(objpfx)stamp-pkgvers): Likewise.
29360         * manual/install.texi: Include pkgvers.texi.
29361         (--with-pkgversion): Document new configure option.
29362         (--with-bugurl): Likewise.
29363         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29364         than necessarily for this particular distribution.  Use
29365         REPORT_BUGS_TO for where to report bugs.
29366         * INSTALL: Regenerated.
29367         * manual/libc.texinfo: Include pkgvers.texi.
29368         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29369         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29370         (print_version): Use PKGVERSION.
29371         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29372         (print_version): Use PKGVERSION.
29373         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29374         (print_version): Use PKGVERSION.
29375         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29376         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29377         macro.
29378         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29379         (print_version): Use PKGVERSION.
29380         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29381         (print_version): Use PKGVERSION.
29382         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29383         and PKGVERSION.
29384
29385         * timezone/checktab.awk: Update from tzcode 2012i.
29386         * timezone/ialloc.c: Likewise.
29387         * timezone/private.h: Likewise.
29388         * timezone/scheck.c: Likewise.
29389         * timezone/tzfile.h: Likewise.
29390         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29391         (TZVERSION): Hardcode tzcode version number.
29392         * timezone/zdump.c: Update from tzcode 2012i.
29393         * timezone/zic.c: Likewise.
29394         * timezone/version.h: New file.
29395         * timezone/README: Describe version.h.  Update upstream location.
29396
29397         [BZ #14824]
29398         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29399         (mktemp): Enable declaration.
29400         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29401         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29402         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29403         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29404         Likewise.
29405         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29406         Likewise.
29407         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29408         Likewise.
29409         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29410         Likewise.
29411         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29412         Likewise.
29413         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29414         Likewise.
29415
29416         [BZ #14821]
29417         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29418         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
29419         for copies of such integer values.
29420         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29421         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29422
29423 2012-11-09  Andreas Jaeger  <aj@suse.de>
29424
29425         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29426         definitions and declarations that are provided by
29427         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29428
29429 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29430
29431         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29432         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29433         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29434         definition.
29435
29436 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29437
29438         * elf/elf.h: Update comment before AArch64 relocations.
29439
29440 2012-11-07  David S. Miller  <davem@davemloft.net>
29441
29442         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29443         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29444         (__start_context): Declare.
29445         (__makecontext_ret): Delete.
29446         (__makecontext): Hook up __start_context instead of
29447         __makecontext_ret.
29448         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29449         (sysdep_routines): Add __start_context when in stdlib.
29450
29451 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29452
29453         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29454         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29455         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
29456         hardcoded "nm".
29457         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
29458         (READELF): New variable.  Use it instead of hardcoded "readelf".
29459
29460 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
29461
29462         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29463         * sysdeps/x86/Makefile: Here.
29464         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29465         * sysdeps/x86/tst-xmmymm.sh: This.
29466
29467 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29468
29469         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29470         expectations.
29471         [UNIX98] (pthread_barrier_t): Do not expect.
29472         [UNIX98] (pthread_barrierattr_t): Likewise.
29473         [UNIX98] (pthread_spinlock_t): Likewise.
29474         [UNIX98] (pthread_barrier_destroy): Likewise.
29475         [UNIX98] (pthread_barrier_init): Likewise.
29476         [UNIX98] (pthread_barrier_wait): Likewise.
29477         [UNIX98] (pthread_barrierattr_destroy): Likewise.
29478         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29479         [UNIX98] (pthread_barrierattr_init): Likewise.
29480         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29481         [UNIX98] (pthread_getcpuclockid): Likewise.
29482         [UNIX98] (pthread_mutex_timedlock): Likewise.
29483         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29484         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29485         [UNIX98] (pthread_sigmask): Likewise.
29486         [UNIX98] (pthread_spin_destroy): Likewise.
29487         [UNIX98] (pthread_spin_init): Likewise.
29488         [UNIX98] (pthread_spin_lock): Likewise.
29489         [UNIX98] (pthread_spin_trylock): Likewise.
29490         [UNIX98] (pthread_spin_unlock): Likewise.
29491         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29492         Do not expect.
29493         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29494         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29495         [XPG3 || XPG4] (pthread_cond_t): Likewise.
29496         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29497         [XPG3 || XPG4] (pthread_key_t): Likewise.
29498         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29499         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29500         [XPG3 || XPG4] (pthread_once_t): Likewise.
29501         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29502         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29503         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29504         [XPG3 || XPG4] (pthread_t): Likewise.
29505
29506         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29507         not expect.
29508         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29509
29510         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29511         Change function return type to int.
29512
29513         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29514         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29515         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29516         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29517         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29518         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29519         [!POSIX] (posix_madvise): Likewise.
29520         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29521         && !UNIX98].
29522         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29523         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29524         (mode_t): Likewise.
29525         (posix_mem_offset): Likewise.
29526         (posix_typed_mem_get_info): Likewise.
29527         (posix_typed_mem_open): Likewise.
29528
29529         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29530         Change condition to [XOPEN2K8].
29531
29532         * conform/conformtest.pl: Preprocess allow-header data with -x c
29533         instead of from stdin.
29534         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29535         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29536         [C99-based standards] (cerfc): Likewise.
29537         [C99-based standards] (cexp2): Likewise.
29538         [C99-based standards] (cexpm1): Likewise.
29539         [C99-based standards] (clog10): Likewise.
29540         [C99-based standards] (clog1p): Likewise.
29541         [C99-based standards] (clog2): Likewise.
29542         [C99-based standards] (clgamma): Likewise.
29543         [C99-based standards] (ctgamma): Likewise.
29544         [C99-based standards] (cerff): Likewise.
29545         [C99-based standards] (cerfcf): Likewise.
29546         [C99-based standards] (cexp2f): Likewise.
29547         [C99-based standards] (cexpm1f): Likewise.
29548         [C99-based standards] (clog10f): Likewise.
29549         [C99-based standards] (clog1pf): Likewise.
29550         [C99-based standards] (clog2f): Likewise.
29551         [C99-based standards] (clgammaf): Likewise.
29552         [C99-based standards] (ctgammaf): Likewise.
29553         [C99-based standards] (cerfl): Likewise.
29554         [C99-based standards] (cerfcl): Likewise.
29555         [C99-based standards] (cexp2l): Likewise.
29556         [C99-based standards] (cexpm1l): Likewise.
29557         [C99-based standards] (clog10l): Likewise.
29558         [C99-based standards] (clog1pl): Likewise.
29559         [C99-based standards] (clog2l): Likewise.
29560         [C99-based standards] (clgammal): Likewise.
29561         [C99-based standards] (ctgammal): Likewise.
29562         * conform/data/inttypes.h-data [C99-based standards]: Include
29563         stdint.h-data.  Remove all expectations for stdint.h contents.
29564         [C99-based standards] (PRI*): Do not allow.
29565         [C99-based standards] (SCN*): Likewise.
29566         [C99-based standards] (*_t): Likewise.
29567         [C99-based-standards] (PRId8): Expect macro.
29568         [C99-based-standards] (PRIi8): Likewise.
29569         [C99-based-standards] (PRIo8): Likewise.
29570         [C99-based-standards] (PRIu8): Likewise.
29571         [C99-based-standards] (PRIx8): Likewise.
29572         [C99-based-standards] (PRIX8): Likewise.
29573         [C99-based-standards] (SCNd8): Likewise.
29574         [C99-based-standards] (SCNi8): Likewise.
29575         [C99-based-standards] (SCNo8): Likewise.
29576         [C99-based-standards] (SCNu8): Likewise.
29577         [C99-based-standards] (SCNx8): Likewise.
29578         [C99-based-standards] (PRIdLEAST8): Likewise.
29579         [C99-based-standards] (PRIiLEAST8): Likewise.
29580         [C99-based-standards] (PRIoLEAST8): Likewise.
29581         [C99-based-standards] (PRIuLEAST8): Likewise.
29582         [C99-based-standards] (PRIxLEAST8): Likewise.
29583         [C99-based-standards] (PRIXLEAST8): Likewise.
29584         [C99-based-standards] (SCNdLEAST8): Likewise.
29585         [C99-based-standards] (SCNiLEAST8): Likewise.
29586         [C99-based-standards] (SCNoLEAST8): Likewise.
29587         [C99-based-standards] (SCNuLEAST8): Likewise.
29588         [C99-based-standards] (SCNxLEAST8): Likewise.
29589         [C99-based-standards] (PRIdFAST8): Likewise.
29590         [C99-based-standards] (PRIiFAST8): Likewise.
29591         [C99-based-standards] (PRIoFAST8): Likewise.
29592         [C99-based-standards] (PRIuFAST8): Likewise.
29593         [C99-based-standards] (PRIxFAST8): Likewise.
29594         [C99-based-standards] (PRIXFAST8): Likewise.
29595         [C99-based-standards] (SCNdFAST8): Likewise.
29596         [C99-based-standards] (SCNiFAST8): Likewise.
29597         [C99-based-standards] (SCNoFAST8): Likewise.
29598         [C99-based-standards] (SCNuFAST8): Likewise.
29599         [C99-based-standards] (SCNxFAST8): Likewise.
29600         [C99-based-standards] (PRId16): Likewise.
29601         [C99-based-standards] (PRIi16): Likewise.
29602         [C99-based-standards] (PRIo16): Likewise.
29603         [C99-based-standards] (PRIu16): Likewise.
29604         [C99-based-standards] (PRIx16): Likewise.
29605         [C99-based-standards] (PRIX16): Likewise.
29606         [C99-based-standards] (SCNd16): Likewise.
29607         [C99-based-standards] (SCNi16): Likewise.
29608         [C99-based-standards] (SCNo16): Likewise.
29609         [C99-based-standards] (SCNu16): Likewise.
29610         [C99-based-standards] (SCNx16): Likewise.
29611         [C99-based-standards] (PRIdLEAST16): Likewise.
29612         [C99-based-standards] (PRIiLEAST16): Likewise.
29613         [C99-based-standards] (PRIoLEAST16): Likewise.
29614         [C99-based-standards] (PRIuLEAST16): Likewise.
29615         [C99-based-standards] (PRIxLEAST16): Likewise.
29616         [C99-based-standards] (PRIXLEAST16): Likewise.
29617         [C99-based-standards] (SCNdLEAST16): Likewise.
29618         [C99-based-standards] (SCNiLEAST16): Likewise.
29619         [C99-based-standards] (SCNoLEAST16): Likewise.
29620         [C99-based-standards] (SCNuLEAST16): Likewise.
29621         [C99-based-standards] (SCNxLEAST16): Likewise.
29622         [C99-based-standards] (PRIdFAST16): Likewise.
29623         [C99-based-standards] (PRIiFAST16): Likewise.
29624         [C99-based-standards] (PRIoFAST16): Likewise.
29625         [C99-based-standards] (PRIuFAST16): Likewise.
29626         [C99-based-standards] (PRIxFAST16): Likewise.
29627         [C99-based-standards] (PRIXFAST16): Likewise.
29628         [C99-based-standards] (SCNdFAST16): Likewise.
29629         [C99-based-standards] (SCNiFAST16): Likewise.
29630         [C99-based-standards] (SCNoFAST16): Likewise.
29631         [C99-based-standards] (SCNuFAST16): Likewise.
29632         [C99-based-standards] (SCNxFAST16): Likewise.
29633         [C99-based-standards] (PRId32): Likewise.
29634         [C99-based-standards] (PRIi32): Likewise.
29635         [C99-based-standards] (PRIo32): Likewise.
29636         [C99-based-standards] (PRIu32): Likewise.
29637         [C99-based-standards] (PRIx32): Likewise.
29638         [C99-based-standards] (PRIX32): Likewise.
29639         [C99-based-standards] (SCNd32): Likewise.
29640         [C99-based-standards] (SCNi32): Likewise.
29641         [C99-based-standards] (SCNo32): Likewise.
29642         [C99-based-standards] (SCNu32): Likewise.
29643         [C99-based-standards] (SCNx32): Likewise.
29644         [C99-based-standards] (PRIdLEAST32): Likewise.
29645         [C99-based-standards] (PRIiLEAST32): Likewise.
29646         [C99-based-standards] (PRIoLEAST32): Likewise.
29647         [C99-based-standards] (PRIuLEAST32): Likewise.
29648         [C99-based-standards] (PRIxLEAST32): Likewise.
29649         [C99-based-standards] (PRIXLEAST32): Likewise.
29650         [C99-based-standards] (SCNdLEAST32): Likewise.
29651         [C99-based-standards] (SCNiLEAST32): Likewise.
29652         [C99-based-standards] (SCNoLEAST32): Likewise.
29653         [C99-based-standards] (SCNuLEAST32): Likewise.
29654         [C99-based-standards] (SCNxLEAST32): Likewise.
29655         [C99-based-standards] (PRIdFAST32): Likewise.
29656         [C99-based-standards] (PRIiFAST32): Likewise.
29657         [C99-based-standards] (PRIoFAST32): Likewise.
29658         [C99-based-standards] (PRIuFAST32): Likewise.
29659         [C99-based-standards] (PRIxFAST32): Likewise.
29660         [C99-based-standards] (PRIXFAST32): Likewise.
29661         [C99-based-standards] (SCNdFAST32): Likewise.
29662         [C99-based-standards] (SCNiFAST32): Likewise.
29663         [C99-based-standards] (SCNoFAST32): Likewise.
29664         [C99-based-standards] (SCNuFAST32): Likewise.
29665         [C99-based-standards] (SCNxFAST32): Likewise.
29666         [C99-based-standards] (PRId64): Likewise.
29667         [C99-based-standards] (PRIi64): Likewise.
29668         [C99-based-standards] (PRIo64): Likewise.
29669         [C99-based-standards] (PRIu64): Likewise.
29670         [C99-based-standards] (PRIx64): Likewise.
29671         [C99-based-standards] (PRIX64): Likewise.
29672         [C99-based-standards] (SCNd64): Likewise.
29673         [C99-based-standards] (SCNi64): Likewise.
29674         [C99-based-standards] (SCNo64): Likewise.
29675         [C99-based-standards] (SCNu64): Likewise.
29676         [C99-based-standards] (SCNx64): Likewise.
29677         [C99-based-standards] (PRIdLEAST64): Likewise.
29678         [C99-based-standards] (PRIiLEAST64): Likewise.
29679         [C99-based-standards] (PRIoLEAST64): Likewise.
29680         [C99-based-standards] (PRIuLEAST64): Likewise.
29681         [C99-based-standards] (PRIxLEAST64): Likewise.
29682         [C99-based-standards] (PRIXLEAST64): Likewise.
29683         [C99-based-standards] (SCNdLEAST64): Likewise.
29684         [C99-based-standards] (SCNiLEAST64): Likewise.
29685         [C99-based-standards] (SCNoLEAST64): Likewise.
29686         [C99-based-standards] (SCNuLEAST64): Likewise.
29687         [C99-based-standards] (SCNxLEAST64): Likewise.
29688         [C99-based-standards] (PRIdFAST64): Likewise.
29689         [C99-based-standards] (PRIiFAST64): Likewise.
29690         [C99-based-standards] (PRIoFAST64): Likewise.
29691         [C99-based-standards] (PRIuFAST64): Likewise.
29692         [C99-based-standards] (PRIxFAST64): Likewise.
29693         [C99-based-standards] (PRIXFAST64): Likewise.
29694         [C99-based-standards] (SCNdFAST64): Likewise.
29695         [C99-based-standards] (SCNiFAST64): Likewise.
29696         [C99-based-standards] (SCNoFAST64): Likewise.
29697         [C99-based-standards] (SCNuFAST64): Likewise.
29698         [C99-based-standards] (SCNxFAST64): Likewise.
29699         [C99-based-standards] (PRIdMAX): Likewise.
29700         [C99-based-standards] (PRIiMAX): Likewise.
29701         [C99-based-standards] (PRIoMAX): Likewise.
29702         [C99-based-standards] (PRIuMAX): Likewise.
29703         [C99-based-standards] (PRIxMAX): Likewise.
29704         [C99-based-standards] (PRIXMAX): Likewise.
29705         [C99-based-standards] (SCNdMAX): Likewise.
29706         [C99-based-standards] (SCNiMAX): Likewise.
29707         [C99-based-standards] (SCNoMAX): Likewise.
29708         [C99-based-standards] (SCNuMAX): Likewise.
29709         [C99-based-standards] (SCNxMAX): Likewise.
29710         [C99-based-standards] (PRIdPTR): Likewise.
29711         [C99-based-standards] (PRIiPTR): Likewise.
29712         [C99-based-standards] (PRIoPTR): Likewise.
29713         [C99-based-standards] (PRIuPTR): Likewise.
29714         [C99-based-standards] (PRIxPTR): Likewise.
29715         [C99-based-standards] (PRIXPTR): Likewise.
29716         [C99-based-standards] (SCNdPTR): Likewise.
29717         [C99-based-standards] (SCNiPTR): Likewise.
29718         [C99-based-standards] (SCNoPTR): Likewise.
29719         [C99-based-standards] (SCNuPTR): Likewise.
29720         [C99-based-standards] (SCNxPTR): Likewise.
29721         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29722         allow.
29723         * conform/data/stdint.h-data: Update comments to clarify
29724         requirements.
29725         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
29726         type.
29727         [C99-based standards] (INT8_MAX): Likewise.
29728         [C99-based standards] (INT16_MIN): Likewise.
29729         [C99-based standards] (INT16_MAX): Likewise.
29730         [C99-based standards] (INT32_MIN): Likewise.
29731         [C99-based standards] (INT32_MAX): Likewise.
29732         [C99-based standards] (INT64_MIN): Likewise.
29733         [C99-based standards] (INT64_MAX): Likewise.
29734         [C99-based standards] (UINT8_MAX): Likewise.
29735         [C99-based standards] (UINT16_MAX): Likewise.
29736         [C99-based standards] (UINT32_MAX): Likewise.
29737         [C99-based standards] (UINT64_MAX): Likewise.
29738         [C99-based standards] (INT_LEAST8_MIN): Likewise.
29739         [C99-based standards] (INT_LEAST8_MAX): Likewise.
29740         [C99-based standards] (INT_LEAST16_MIN): Likewise.
29741         [C99-based standards] (INT_LEAST16_MAX): Likewise.
29742         [C99-based standards] (INT_LEAST32_MIN): Likewise.
29743         [C99-based standards] (INT_LEAST32_MAX): Likewise.
29744         [C99-based standards] (INT_LEAST64_MIN): Likewise.
29745         [C99-based standards] (INT_LEAST64_MAX): Likewise.
29746         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29747         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29748         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29749         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29750         [C99-based standards] (INT_FAST8_MIN): Likewise.
29751         [C99-based standards] (INT_FAST8_MAX): Likewise.
29752         [C99-based standards] (INT_FAST16_MIN): Likewise.
29753         [C99-based standards] (INT_FAST16_MAX): Likewise.
29754         [C99-based standards] (INT_FAST32_MIN): Likewise.
29755         [C99-based standards] (INT_FAST32_MAX): Likewise.
29756         [C99-based standards] (INT_FAST64_MIN): Likewise.
29757         [C99-based standards] (INT_FAST64_MAX): Likewise.
29758         [C99-based standards] (UINT_FAST8_MAX): Likewise.
29759         [C99-based standards] (UINT_FAST16_MAX): Likewise.
29760         [C99-based standards] (UINT_FAST32_MAX): Likewise.
29761         [C99-based standards] (UINT_FAST64_MAX): Likewise.
29762         [C99-based standards] (INTPTR_MIN): Likewise.
29763         [C99-based standards] (INTPTR_MAX): Likewise.
29764         [C99-based standards] (UINTPTR_MAX): Likewise.
29765         [C99-based standards] (INTMAX_MIN): Likewise.
29766         [C99-based standards] (INTMAX_MAX): Likewise.
29767         [C99-based standards] (UINTMAX_MAX): Likewise.
29768         [C99-based standards] (PTRDIFF_MIN): Likewise.
29769         [C99-based standards] (PTRDIFF_MAX): Likewise.
29770         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29771         [C99-based standards] (SIZE_MAX): Likewise.
29772         [C99-based standards] (WCHAR_MAX): Likewise.
29773         [C99-based standards] (WINT_MAX): Likewise.
29774         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
29775         constraint on value.
29776         [C99-based standards] (WCHAR_MIN): Likewise.
29777         [C99-based standards] (WINT_MIN): Likewise.
29778         [C99-based standards] (*_t): Allow.
29779         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29780         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29781         Include math.h-data and complex.h-data.  Remove all expectations
29782         of math.h and complex.h contents.
29783         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29784         at end of line.
29785         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29786         (struct tm): Expect tag.
29787         [C99-based-standards] (wcstof): Expect function.
29788         [C99-based-standards] (wcstold): Likewise.
29789         [C99-based-standards] (wcstoll): Likewise.
29790         [C99-based-standards] (wcstoull): Likewise.
29791         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29792         macro-int-constant.  Specify type.
29793         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
29794         constraint on value.
29795         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29796         Specify type.
29797         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29798         Specify value.
29799         [ISO C standards]: Do not allow headers.
29800         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29801         wcs[abcdefghijklmnopqrstuvwxyz]*.
29802         [ISO C standards] (*_t): Do not allow.
29803         * conform/data/wctype.h-data [C99-based standards] (iswblank):
29804         Expect function.
29805         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29806         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29807         Specify type.
29808         [ISO C standards]: Do not allow headers.
29809         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29810         is[abcdefghijklmnopqrstuvwxyz]*.
29811         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29812         to[abcdefghijklmnopqrstuvwxyz]*.
29813         [ISO C standards] (*_t): Do not allow.
29814         * conform/data/stdalign.h-data: New file.
29815         * conform/data/stdbool.h-data: Likewise.
29816         * conform/data/stdnoreturn.h-data: Likewise.
29817
29818 2012-11-07  Roland McGrath  <roland@hack.frob.com>
29819
29820         [BZ #14815]
29821         * manual/filesys.texi (Directory Entries): Typo fix.
29822         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29823
29824 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29825
29826         * elf/elf.h (EM_AARCH64): New macro.
29827         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29828         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29829         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29830         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29831         (R_AARCH64_TLSDESC): Likewise.
29832         (NT_ARM_TLS): Likewise.
29833         (NT_ARM_HW_BREAK): Likewise.
29834         (NT_ARM_HW_WATCH): Likewise.
29835
29836 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29837
29838         [BZ #14811]
29839         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29840         (__ieee754_powl): Saturate nonzero exponents with absolute value
29841         below 0x1p-79 to +/- 0x1p-79.
29842         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29843         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29844         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29845         nonzero exponents with absolute value below 0x1p-32 to +/-
29846         0x1p-32.
29847         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29848         (__ieee754_powl): Saturate nonzero exponents with absolute value
29849         below 0x1p-79 to +/- 0x1p-79.
29850         * math/libm-test.inc (pow_test): Add more tests.
29851
29852 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29853
29854         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29855         _dl_s390_cap_flags with kernel. Increase string length.
29856         (_dl_s390_platforms): Add z196 and zEC12.
29857
29858 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29859
29860         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29861         Change XOPEN21K to XOPEN2K.
29862
29863 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
29864
29865         * string/memmove.c: Use memcpy when possible.
29866
29867 2012-11-06  Andreas Jaeger  <aj@suse.de>
29868
29869         * po/eo.po: Update from translation team.
29870
29871 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
29872
29873         [BZ #14793]
29874         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29875         exponent and small x and y exponents, scale x or y up.  Increase
29876         by 2 the exponent used in scaling up.
29877         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29879         * math/libm-test.inc (fma_test): Add more tests.
29880         (fma_test_towardzero): Likewise.
29881         (fma_test_downward): Likewise.
29882         (fma_test_upward): Likewise.
29883
29884 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
29885
29886         [BZ #14805]
29887         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29888         fenv_t *.
29889
29890         [BZ #14801]
29891         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29892         namespace for names of struct fields.
29893         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29894         fenv_t fields.
29895         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29896         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29897
29898 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29899
29900         [BZ #3665]
29901         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29902
29903 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29904
29905         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29906         PTR_DEMANGLE.
29907
29908         [BZ #5246]
29909         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29910         PTR_DEMANGLE.
29911
29912 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
29913
29914         [BZ #14797]
29915         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29916         definitely overflow as x * y not x * y + z.
29917         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29918         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29919         * math/libm-test.inc (fma_test): Add more tests.
29920         (fma_test_towardzero): Likewise.
29921         (fma_test_downward): Likewise.
29922         (fma_test_upward): Likewise.
29923
29924 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29925
29926         [BZ #157]
29927
29928         * include/stub-tag.h: Remove file.
29929         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29930         '#include' of it.
29931         * manual/maint.texi (Porting): Don't reference it.
29932         * Makerules ($(objpfx)stubs): Likewise.
29933         * dirent/closedir.c: Don't include <stub-tag.h>.
29934         * dirent/dirfd.c: Likewise.
29935         * dirent/fdopendir.c: Likewise.
29936         * dirent/getdents.c: Likewise.
29937         * dirent/getdents64.c: Likewise.
29938         * dirent/opendir.c: Likewise.
29939         * dirent/readdir.c: Likewise.
29940         * dirent/readdir64.c: Likewise.
29941         * dirent/readdir64_r.c: Likewise.
29942         * dirent/readdir_r.c: Likewise.
29943         * dirent/rewinddir.c: Likewise.
29944         * dirent/seekdir.c: Likewise.
29945         * dirent/telldir.c: Likewise.
29946         * gmon/profil.c: Likewise.
29947         * grp/setgroups.c: Likewise.
29948         * inet/if_index.c: Likewise.
29949         * io/access.c: Likewise.
29950         * io/chdir.c: Likewise.
29951         * io/chmod.c: Likewise.
29952         * io/chown.c: Likewise.
29953         * io/close.c: Likewise.
29954         * io/dup.c: Likewise.
29955         * io/dup2.c: Likewise.
29956         * io/dup3.c: Likewise.
29957         * io/euidaccess.c: Likewise.
29958         * io/faccessat.c: Likewise.
29959         * io/fchdir.c: Likewise.
29960         * io/fchmod.c: Likewise.
29961         * io/fchmodat.c: Likewise.
29962         * io/fchown.c: Likewise.
29963         * io/fchownat.c: Likewise.
29964         * io/fcntl.c: Likewise.
29965         * io/flock.c: Likewise.
29966         * io/fstatfs.c: Likewise.
29967         * io/fstatfs64.c: Likewise.
29968         * io/fstatvfs.c: Likewise.
29969         * io/fstatvfs64.c: Likewise.
29970         * io/futimens.c: Likewise.
29971         * io/fxstat.c: Likewise.
29972         * io/fxstat64.c: Likewise.
29973         * io/fxstatat.c: Likewise.
29974         * io/fxstatat64.c: Likewise.
29975         * io/getcwd.c: Likewise.
29976         * io/isatty.c: Likewise.
29977         * io/lchmod.c: Likewise.
29978         * io/lchown.c: Likewise.
29979         * io/link.c: Likewise.
29980         * io/linkat.c: Likewise.
29981         * io/lseek.c: Likewise.
29982         * io/lseek64.c: Likewise.
29983         * io/lxstat64.c: Likewise.
29984         * io/mkdir.c: Likewise.
29985         * io/mkdirat.c: Likewise.
29986         * io/mkfifo.c: Likewise.
29987         * io/mkfifoat.c: Likewise.
29988         * io/open.c: Likewise.
29989         * io/open64.c: Likewise.
29990         * io/openat.c: Likewise.
29991         * io/openat64.c: Likewise.
29992         * io/pipe.c: Likewise.
29993         * io/pipe2.c: Likewise.
29994         * io/poll.c: Likewise.
29995         * io/posix_fadvise.c: Likewise.
29996         * io/posix_fadvise64.c: Likewise.
29997         * io/posix_fallocate.c: Likewise.
29998         * io/posix_fallocate64.c: Likewise.
29999         * io/read.c: Likewise.
30000         * io/readlink.c: Likewise.
30001         * io/readlinkat.c: Likewise.
30002         * io/rmdir.c: Likewise.
30003         * io/sendfile.c: Likewise.
30004         * io/sendfile64.c: Likewise.
30005         * io/statfs.c: Likewise.
30006         * io/statfs64.c: Likewise.
30007         * io/statvfs.c: Likewise.
30008         * io/statvfs64.c: Likewise.
30009         * io/symlink.c: Likewise.
30010         * io/symlinkat.c: Likewise.
30011         * io/ttyname.c: Likewise.
30012         * io/ttyname_r.c: Likewise.
30013         * io/umask.c: Likewise.
30014         * io/unlink.c: Likewise.
30015         * io/unlinkat.c: Likewise.
30016         * io/utime.c: Likewise.
30017         * io/utimensat.c: Likewise.
30018         * io/write.c: Likewise.
30019         * io/xmknod.c: Likewise.
30020         * io/xmknodat.c: Likewise.
30021         * io/xstat.c: Likewise.
30022         * io/xstat64.c: Likewise.
30023         * login/getpt.c: Likewise.
30024         * login/grantpt.c: Likewise.
30025         * login/unlockpt.c: Likewise.
30026         * math/e_acoshl.c: Likewise.
30027         * math/e_acosl.c: Likewise.
30028         * math/e_asinl.c: Likewise.
30029         * math/e_atan2l.c: Likewise.
30030         * math/e_atanhl.c: Likewise.
30031         * math/e_coshl.c: Likewise.
30032         * math/e_expl.c: Likewise.
30033         * math/e_fmodl.c: Likewise.
30034         * math/e_gammal_r.c: Likewise.
30035         * math/e_hypotl.c: Likewise.
30036         * math/e_j0l.c: Likewise.
30037         * math/e_j1l.c: Likewise.
30038         * math/e_jnl.c: Likewise.
30039         * math/e_lgammal_r.c: Likewise.
30040         * math/e_log10l.c: Likewise.
30041         * math/e_log2l.c: Likewise.
30042         * math/e_logl.c: Likewise.
30043         * math/e_powl.c: Likewise.
30044         * math/e_rem_pio2l.c: Likewise.
30045         * math/e_sinhl.c: Likewise.
30046         * math/e_sqrtl.c: Likewise.
30047         * math/fclrexcpt.c: Likewise.
30048         * math/fedisblxcpt.c: Likewise.
30049         * math/feenablxcpt.c: Likewise.
30050         * math/fegetenv.c: Likewise.
30051         * math/fegetexcept.c: Likewise.
30052         * math/fegetround.c: Likewise.
30053         * math/feholdexcpt.c: Likewise.
30054         * math/fesetenv.c: Likewise.
30055         * math/fesetround.c: Likewise.
30056         * math/feupdateenv.c: Likewise.
30057         * math/fgetexcptflg.c: Likewise.
30058         * math/fraiseexcpt.c: Likewise.
30059         * math/fsetexcptflg.c: Likewise.
30060         * math/ftestexcept.c: Likewise.
30061         * math/k_cosl.c: Likewise.
30062         * math/k_rem_pio2l.c: Likewise.
30063         * math/k_sinl.c: Likewise.
30064         * math/k_tanl.c: Likewise.
30065         * math/s_asinhl.c: Likewise.
30066         * math/s_atanl.c: Likewise.
30067         * math/s_cbrtl.c: Likewise.
30068         * math/s_erfl.c: Likewise.
30069         * math/s_expm1l.c: Likewise.
30070         * math/s_log1pl.c: Likewise.
30071         * math/s_tanhl.c: Likewise.
30072         * misc/acct.c: Likewise.
30073         * misc/brk.c: Likewise.
30074         * misc/chflags.c: Likewise.
30075         * misc/chroot.c: Likewise.
30076         * misc/fchflags.c: Likewise.
30077         * misc/fgetxattr.c: Likewise.
30078         * misc/flistxattr.c: Likewise.
30079         * misc/fremovexattr.c: Likewise.
30080         * misc/fsetxattr.c: Likewise.
30081         * misc/fsync.c: Likewise.
30082         * misc/ftruncate.c: Likewise.
30083         * misc/futimes.c: Likewise.
30084         * misc/futimesat.c: Likewise.
30085         * misc/getdomain.c: Likewise.
30086         * misc/getdtsz.c: Likewise.
30087         * misc/gethostid.c: Likewise.
30088         * misc/gethostname.c: Likewise.
30089         * misc/getloadavg.c: Likewise.
30090         * misc/getpagesize.c: Likewise.
30091         * misc/getsysstats.c: Likewise.
30092         * misc/getxattr.c: Likewise.
30093         * misc/gtty.c: Likewise.
30094         * misc/ioctl.c: Likewise.
30095         * misc/lgetxattr.c: Likewise.
30096         * misc/listxattr.c: Likewise.
30097         * misc/llistxattr.c: Likewise.
30098         * misc/lremovexattr.c: Likewise.
30099         * misc/lsetxattr.c: Likewise.
30100         * misc/lutimes.c: Likewise.
30101         * misc/madvise.c: Likewise.
30102         * misc/mincore.c: Likewise.
30103         * misc/mlock.c: Likewise.
30104         * misc/mlockall.c: Likewise.
30105         * misc/mmap.c: Likewise.
30106         * misc/mprotect.c: Likewise.
30107         * misc/msync.c: Likewise.
30108         * misc/munlock.c: Likewise.
30109         * misc/munlockall.c: Likewise.
30110         * misc/munmap.c: Likewise.
30111         * misc/preadv.c: Likewise.
30112         * misc/preadv64.c: Likewise.
30113         * misc/ptrace.c: Likewise.
30114         * misc/pwritev.c: Likewise.
30115         * misc/pwritev64.c: Likewise.
30116         * misc/readv.c: Likewise.
30117         * misc/reboot.c: Likewise.
30118         * misc/remap_file_pages.c: Likewise.
30119         * misc/removexattr.c: Likewise.
30120         * misc/revoke.c: Likewise.
30121         * misc/select.c: Likewise.
30122         * misc/setdomain.c: Likewise.
30123         * misc/setegid.c: Likewise.
30124         * misc/seteuid.c: Likewise.
30125         * misc/sethostid.c: Likewise.
30126         * misc/sethostname.c: Likewise.
30127         * misc/setregid.c: Likewise.
30128         * misc/setreuid.c: Likewise.
30129         * misc/setxattr.c: Likewise.
30130         * misc/sstk.c: Likewise.
30131         * misc/stty.c: Likewise.
30132         * misc/swapoff.c: Likewise.
30133         * misc/swapon.c: Likewise.
30134         * misc/sync.c: Likewise.
30135         * misc/syncfs.c: Likewise.
30136         * misc/syscall.c: Likewise.
30137         * misc/truncate.c: Likewise.
30138         * misc/ualarm.c: Likewise.
30139         * misc/usleep.c: Likewise.
30140         * misc/ustat.c: Likewise.
30141         * misc/utimes.c: Likewise.
30142         * misc/vhangup.c: Likewise.
30143         * misc/writev.c: Likewise.
30144         * posix/_exit.c: Likewise.
30145         * posix/alarm.c: Likewise.
30146         * posix/execve.c: Likewise.
30147         * posix/fexecve.c: Likewise.
30148         * posix/fork.c: Likewise.
30149         * posix/fpathconf.c: Likewise.
30150         * posix/getaddrinfo.c: Likewise.
30151         * posix/getegid.c: Likewise.
30152         * posix/geteuid.c: Likewise.
30153         * posix/getgid.c: Likewise.
30154         * posix/getgroups.c: Likewise.
30155         * posix/getlogin.c: Likewise.
30156         * posix/getlogin_r.c: Likewise.
30157         * posix/getpgid.c: Likewise.
30158         * posix/getpid.c: Likewise.
30159         * posix/getppid.c: Likewise.
30160         * posix/getresgid.c: Likewise.
30161         * posix/getresuid.c: Likewise.
30162         * posix/getsid.c: Likewise.
30163         * posix/getuid.c: Likewise.
30164         * posix/glob64.c: Likewise.
30165         * posix/nanosleep.c: Likewise.
30166         * posix/pathconf.c: Likewise.
30167         * posix/pause.c: Likewise.
30168         * posix/posix_madvise.c: Likewise.
30169         * posix/pread.c: Likewise.
30170         * posix/pread64.c: Likewise.
30171         * posix/pwrite.c: Likewise.
30172         * posix/pwrite64.c: Likewise.
30173         * posix/sched_getaffinity.c: Likewise.
30174         * posix/sched_getp.c: Likewise.
30175         * posix/sched_gets.c: Likewise.
30176         * posix/sched_primax.c: Likewise.
30177         * posix/sched_primin.c: Likewise.
30178         * posix/sched_rr_gi.c: Likewise.
30179         * posix/sched_setaffinity.c: Likewise.
30180         * posix/sched_setp.c: Likewise.
30181         * posix/sched_sets.c: Likewise.
30182         * posix/sched_yield.c: Likewise.
30183         * posix/setgid.c: Likewise.
30184         * posix/setlogin.c: Likewise.
30185         * posix/setpgid.c: Likewise.
30186         * posix/setresgid.c: Likewise.
30187         * posix/setresuid.c: Likewise.
30188         * posix/setsid.c: Likewise.
30189         * posix/setuid.c: Likewise.
30190         * posix/sleep.c: Likewise.
30191         * posix/spawni.c: Likewise.
30192         * posix/sysconf.c: Likewise.
30193         * posix/times.c: Likewise.
30194         * posix/wait.c: Likewise.
30195         * posix/wait3.c: Likewise.
30196         * posix/wait4.c: Likewise.
30197         * posix/waitpid.c: Likewise.
30198         * resolv/gai_sigqueue.c: Likewise.
30199         * resource/getpriority.c: Likewise.
30200         * resource/getrlimit.c: Likewise.
30201         * resource/getrusage.c: Likewise.
30202         * resource/nice.c: Likewise.
30203         * resource/setpriority.c: Likewise.
30204         * resource/setrlimit.c: Likewise.
30205         * resource/ulimit.c: Likewise.
30206         * rt/aio_cancel.c: Likewise.
30207         * rt/aio_fsync.c: Likewise.
30208         * rt/aio_read.c: Likewise.
30209         * rt/aio_sigqueue.c: Likewise.
30210         * rt/aio_suspend.c: Likewise.
30211         * rt/aio_write.c: Likewise.
30212         * rt/clock_getres.c: Likewise.
30213         * rt/clock_gettime.c: Likewise.
30214         * rt/clock_nanosleep.c: Likewise.
30215         * rt/clock_settime.c: Likewise.
30216         * rt/lio_listio.c: Likewise.
30217         * rt/mq_close.c: Likewise.
30218         * rt/mq_getattr.c: Likewise.
30219         * rt/mq_notify.c: Likewise.
30220         * rt/mq_open.c: Likewise.
30221         * rt/mq_receive.c: Likewise.
30222         * rt/mq_send.c: Likewise.
30223         * rt/mq_setattr.c: Likewise.
30224         * rt/mq_timedreceive.c: Likewise.
30225         * rt/mq_timedsend.c: Likewise.
30226         * rt/mq_unlink.c: Likewise.
30227         * rt/shm_open.c: Likewise.
30228         * rt/shm_unlink.c: Likewise.
30229         * rt/timer_create.c: Likewise.
30230         * rt/timer_delete.c: Likewise.
30231         * rt/timer_getoverr.c: Likewise.
30232         * rt/timer_gettime.c: Likewise.
30233         * rt/timer_settime.c: Likewise.
30234         * setjmp/__longjmp.c: Likewise.
30235         * setjmp/setjmp.c: Likewise.
30236         * signal/kill.c: Likewise.
30237         * signal/killpg.c: Likewise.
30238         * signal/raise.c: Likewise.
30239         * signal/sigaction.c: Likewise.
30240         * signal/sigaltstack.c: Likewise.
30241         * signal/sigblock.c: Likewise.
30242         * signal/sigignore.c: Likewise.
30243         * signal/sigintr.c: Likewise.
30244         * signal/signal.c: Likewise.
30245         * signal/sigpause.c: Likewise.
30246         * signal/sigpending.c: Likewise.
30247         * signal/sigqueue.c: Likewise.
30248         * signal/sigreturn.c: Likewise.
30249         * signal/sigset.c: Likewise.
30250         * signal/sigsetmask.c: Likewise.
30251         * signal/sigstack.c: Likewise.
30252         * signal/sigsuspend.c: Likewise.
30253         * signal/sigtimedwait.c: Likewise.
30254         * signal/sigvec.c: Likewise.
30255         * signal/sigwait.c: Likewise.
30256         * signal/sigwaitinfo.c: Likewise.
30257         * signal/sysv_signal.c: Likewise.
30258         * socket/accept.c: Likewise.
30259         * socket/accept4.c: Likewise.
30260         * socket/bind.c: Likewise.
30261         * socket/connect.c: Likewise.
30262         * socket/getpeername.c: Likewise.
30263         * socket/getsockname.c: Likewise.
30264         * socket/getsockopt.c: Likewise.
30265         * socket/isfdtype.c: Likewise.
30266         * socket/listen.c: Likewise.
30267         * socket/recv.c: Likewise.
30268         * socket/recvfrom.c: Likewise.
30269         * socket/recvmsg.c: Likewise.
30270         * socket/send.c: Likewise.
30271         * socket/sendmsg.c: Likewise.
30272         * socket/sendto.c: Likewise.
30273         * socket/setsockopt.c: Likewise.
30274         * socket/shutdown.c: Likewise.
30275         * socket/sockatmark.c: Likewise.
30276         * socket/socket.c: Likewise.
30277         * socket/socketpair.c: Likewise.
30278         * stdio-common/ctermid.c: Likewise.
30279         * stdio-common/cuserid.c: Likewise.
30280         * stdio-common/remove.c: Likewise.
30281         * stdio-common/rename.c: Likewise.
30282         * stdio-common/renameat.c: Likewise.
30283         * stdio-common/tempname.c: Likewise.
30284         * stdlib/getcontext.c: Likewise.
30285         * stdlib/makecontext.c: Likewise.
30286         * stdlib/setcontext.c: Likewise.
30287         * stdlib/swapcontext.c: Likewise.
30288         * stdlib/system.c: Likewise.
30289         * streams/fattach.c: Likewise.
30290         * streams/fdetach.c: Likewise.
30291         * streams/getmsg.c: Likewise.
30292         * streams/getpmsg.c: Likewise.
30293         * streams/putmsg.c: Likewise.
30294         * streams/putpmsg.c: Likewise.
30295         * sysdeps/unix/bsd/getpt.c: Likewise.
30296         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30297         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30298         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30300         Likewise.
30301         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30302         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30303         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30304         * sysvipc/msgctl.c: Likewise.
30305         * sysvipc/msgget.c: Likewise.
30306         * sysvipc/msgrcv.c: Likewise.
30307         * sysvipc/msgsnd.c: Likewise.
30308         * sysvipc/semctl.c: Likewise.
30309         * sysvipc/semget.c: Likewise.
30310         * sysvipc/semop.c: Likewise.
30311         * sysvipc/semtimedop.c: Likewise.
30312         * sysvipc/shmat.c: Likewise.
30313         * sysvipc/shmctl.c: Likewise.
30314         * sysvipc/shmdt.c: Likewise.
30315         * sysvipc/shmget.c: Likewise.
30316         * termios/tcdrain.c: Likewise.
30317         * termios/tcflow.c: Likewise.
30318         * termios/tcflush.c: Likewise.
30319         * termios/tcgetattr.c: Likewise.
30320         * termios/tcgetpgrp.c: Likewise.
30321         * termios/tcsendbrk.c: Likewise.
30322         * termios/tcsetattr.c: Likewise.
30323         * termios/tcsetpgrp.c: Likewise.
30324         * time/adjtime.c: Likewise.
30325         * time/clock.c: Likewise.
30326         * time/getitimer.c: Likewise.
30327         * time/gettimeofday.c: Likewise.
30328         * time/setitimer.c: Likewise.
30329         * time/settimeofday.c: Likewise.
30330         * time/stime.c: Likewise.
30331         * time/time.c: Likewise.
30332
30333 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
30334
30335         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30336         /usr/old/bin.
30337
30338         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30339         instead of spaces.
30340         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30341
30342 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
30343
30344         [BZ #14796]
30345         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30346         FE_TONEAREST before applying Dekker multiplication and Knuth
30347         addition.  Clear inexact exceptions and check for exact zero
30348         results afterwards.
30349         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30350         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30351         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30352         * math/libm-test.inc (fma_test): Add more tests.
30353         (fma_test_towardzero): Likewise.
30354         (fma_test_downward): Likewise.
30355         (fma_test_upward): Likewise.
30356         * sysdeps/generic/math_private.h (default_libc_fesetround): New
30357         function.
30358         (libc_fesetround): New macro.
30359         (libc_fesetroundf): Likewise.
30360         (libc_fesetroundl): Likewise.
30361         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30362         function.
30363         (libc_fesetround_387): Likewise.
30364         (libc_fesetroundf): New macro.
30365         (libc_fesetround): Likewise.
30366         (libc_fesetroundl): Likewise.
30367         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30368         function.
30369         (libc_fesetroundf): New macro.
30370         (libc_fesetround): Likewise.
30371         (libc_fesetroundl): Likewise.
30372         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30373         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30374         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30375         libm_hidden_ver.
30376         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30377         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30378         libm_hidden_def.
30379         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30380         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30381         libm_hidden_ver.
30382         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30383         libm_hidden_def.
30384
30385         [BZ #3439]
30386         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30387         integer constant usable in #if and use that to give value to enum
30388         constant.
30389         (FE_DIVBYZERO): Likewise.
30390         (FE_UNDERFLOW): Likewise.
30391         (FE_OVERFLOW): Likewise.
30392         (FE_INVALID): Likewise.
30393         (FE_INVALID_SNAN): Likewise.
30394         (FE_INVALID_ISI): Likewise.
30395         (FE_INVALID_IDI): Likewise.
30396         (FE_INVALID_ZDZ): Likewise.
30397         (FE_INVALID_IMZ): Likewise.
30398         (FE_INVALID_COMPARE): Likewise.
30399         (FE_INVALID_SOFTWARE): Likewise.
30400         (FE_INVALID_SQRT): Likewise.
30401         (FE_INVALID_INTEGER_CONVERSION): Likewise.
30402         (FE_TONEAREST): Likewise.
30403         (FE_TOWARDZERO): Likewise.
30404         (FE_UPWARD): Likewise.
30405         (FE_DOWNWARD): Likewise.
30406         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30407         (FE_DIVBYZERO): Likewise.
30408         (FE_OVERFLOW): Likewise.
30409         (FE_UNDERFLOW): Likewise.
30410         (FE_INEXACT): Likewise.
30411         (FE_TONEAREST): Likewise.
30412         (FE_DOWNWARD): Likewise.
30413         (FE_UPWARD): Likewise.
30414         (FE_TOWARDZERO): Likewise.
30415         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30416         (FE_UNDERFLOW): Likewise.
30417         (FE_OVERFLOW): Likewise.
30418         (FE_DIVBYZERO): Likewise.
30419         (FE_INVALID): Likewise.
30420         (FE_TONEAREST): Likewise.
30421         (FE_TOWARDZERO): Likewise.
30422         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30423         (FE_OVERFLOW): Likewise.
30424         (FE_UNDERFLOW): Likewise.
30425         (FE_DIVBYZERO): Likewise.
30426         (FE_INEXACT): Likewise.
30427         (FE_TONEAREST): Likewise.
30428         (FE_TOWARDZERO): Likewise.
30429         (FE_UPWARD): Likewise.
30430         (FE_DOWNWARD): Likewise.
30431         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30432         (FE_DIVBYZERO): Likewise.
30433         (FE_OVERFLOW): Likewise.
30434         (FE_UNDERFLOW): Likewise.
30435         (FE_INEXACT): Likewise.
30436         (FE_TONEAREST): Likewise.
30437         (FE_DOWNWARD): Likewise.
30438         (FE_UPWARD): Likewise.
30439         (FE_TOWARDZERO): Likewise.
30440
30441 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
30442
30443         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30444
30445 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
30446
30447         * scripts/cross-test-ssh.sh (command): Use newlines to separate
30448         commands.  Quote $PWD.
30449         (blacklist_exports): Don't use remove_newlines.  Replace "declare
30450         -x" by "export".
30451         (remove_newlines): Remove.
30452
30453 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
30454
30455         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30456         * stdlib/stdlib.h (atof): Moved to ...
30457         * include/bits/stdlib-float.h: Here.  New file.
30458         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30459         * stdlib/bits/stdlib-float.h: New file.
30460         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30461         -mno-sse -mno-mmx.
30462         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30463         <xmmintrin.h>.
30464
30465 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30466
30467         * conform/conformtest.pl (@headers): Add fenv.h.
30468         * conform/data/fenv.h-data: New file.
30469         * include/fenv.h [_ISOMAC]: Disable all contents of file except
30470         include of <math/fenv.h>.
30471
30472         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30473         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30474         && !UNIX98].  Enables tests for XOPEN2K8.
30475         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30476         POSIX2008]: Likewise.
30477
30478         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30479         (struct rusage): Do not expect type or its members.
30480
30481         [BZ #3439]
30482         * math/math.h (FP_NAN): Define macro to integer constant usable in
30483         #if and use that to give value to enum constant.
30484         (FP_INFINITE): Likewise.
30485         (FP_ZERO): Likewise.
30486         (FP_SUBNORMAL): Likewise.
30487         (FP_NORMAL): Likewise.
30488
30489 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
30490
30491         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30492         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30493         arguments.
30494
30495 2012-11-02  Roland McGrath  <roland@hack.frob.com>
30496
30497         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30498         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30499         autoconf-time if not.
30500         * configure.in: Remove AC_PREREQ.
30501
30502 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30503
30504         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30505         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30506         of the internal implementation.
30507
30508 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30509
30510         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30511         except include of <misc/sys/syslog.h>.
30512
30513 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30514
30515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30516         function returns with a NULL context exit with zero.
30517
30518 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30519
30520         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30521
30522 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
30523
30524         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30525         (run_program_cmd): This.
30526         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30527         (tst_langinfo): New variable.  Use it.
30528
30529 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
30530
30531         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30532         floating point opcodes.
30533
30534 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30535
30536         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30537         variable.
30538
30539         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30540
30541         * sysdeps/mach/hurd/powerpc: Remove directory.
30542         * sysdeps/mach/powerpc: Likewise.
30543
30544 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30545
30546         * scripts/check-local-headers.sh: Ignore c++ headers.
30547
30548 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30549
30550         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30551         __libc_cleanup_region_start argument.
30552
30553 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
30554
30555         [BZ #14784]
30556         [BZ #14785]
30557         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30558         x * y using scaling, not as x * y + z.
30559         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30560         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30561         * math/libm-test.inc (fma_test): Add more tests.
30562         (fma_test_towardzero): Likewise.
30563         (fma_test_downward): Likewise.
30564         (fma_test_upward): Likewise.
30565
30566 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30567
30568         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30569
30570 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30571
30572         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30573         New variable.
30574
30575 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
30576
30577         * rt/tst-shm.c (worker): Correct checking for mmap failure.
30578
30579 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30580
30581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30582         Fix sort order.
30583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30584         Likewise.
30585
30586 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30587
30588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30589         Fix the order of the list for glibc 2.17.
30590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30591         Likewise.
30592
30593 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30594
30595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30596
30597 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30598
30599         [BZ #14610]
30600         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30601         for low part of x being zero before using __atanl (y).
30602         * math/libm-test.inc (atan2_test): Add another test.
30603
30604         * manual/install.texi (Configuring and compiling): Document
30605         general use of test-wrapper and test-wrapper-env.
30606         * INSTALL: Regenerated.
30607
30608         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30609         (__fma): Do not extract and scale down low bits on after-rounding
30610         systems when result rounded to normal precision would have normal
30611         exponent.
30612         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30613         (__fmal): Do not extract and scale down low bits on after-rounding
30614         systems when result rounded to normal precision would have normal
30615         exponent.
30616         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30617         (__fmal): Do not extract and scale down low bits on after-rounding
30618         systems when result rounded to normal precision would have normal
30619         exponent.
30620         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30621         macro.
30622         (fma_test): Add more tests.
30623         (fma_test_towardzero): Likewise.
30624         (fma_test_downward): Likewise.
30625         (fma_test_upward): Likewise.
30626
30627 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
30628
30629         * sysdeps/i386/tininess.h: Renamed to ...
30630         * sysdeps/x86/tininess.h: This.
30631         * sysdeps/x86_64/tininess.h: Removed.
30632
30633 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30634
30635         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30636         input.  Use $(build-program-cmd).
30637         ($(objpfx)tst-array1-static.out): Likewise.
30638         ($(objpfx)tst-array2.out): Likewise.
30639         ($(objpfx)tst-array3.out): Likewise.
30640         ($(objpfx)tst-array4.out): Likewise.
30641         ($(objpfx)tst-array5.out): Likewise.
30642         ($(objpfx)tst-array5-static.out): Likewise.
30643
30644 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
30645
30646         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30647         if defined.
30648
30649         * nss/nsswitch.h (nss_interface_function): Provide new
30650         macro for use with NSS functions.
30651         * grp/initgroups.c: Use new macro.
30652         * nss/getXXbyYY.c: Likewise.
30653         * nss/getXXbyYY_r.c: Likewise.
30654         * nss/getXXent.c: Likewise.
30655         * nss/getXXent_r.c: Likewise.
30656         * sysdeps/posix/getaddrinfo.c: Likewise.
30657
30658 2012-10-30  Andreas Jaeger  <aj@suse.de>
30659
30660         * po/ru.po: Update Russion translation from translation project.
30661
30662 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30663
30664         [BZ #14152]
30665         [BZ #14783]
30666         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30667         result and shift together with sticky bit instead of replicating
30668         round-to-nearest rounding.
30669         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30670         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30671         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
30672         missing underflow exceptions.
30673         (fma_test_towardzero): Add more tests.
30674         (fma_test_downward): Likewise.
30675         (fma_test_upward): Likewise.
30676
30677         [BZ #14047]
30678         * sysdeps/generic/tininess.h: New file.
30679         * sysdeps/i386/tininess.h: Likewise.
30680         * sysdeps/sh/tininess.h: Likewise.
30681         * sysdeps/x86_64/tininess.h: Likewise.
30682         * stdlib/tst-strtod-underflow.c: Likewise.
30683         * stdlib/tst-tininess.c: Likewise.
30684         * stdlib/strtod_l.c: Include <tininess.h>.
30685         (round_and_return): Do not set errno for exact underflow cases.
30686         Force an underflow exception when setting errno for underflow.
30687         Determine underflow based on rounding to normal precision if
30688         TININESS_AFTER_ROUNDING.
30689         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30690         ERANGE for exact underflow cases.
30691         * stdlib/Makefile (tests): Add tst-tininess and
30692         tst-strtod-underflow.
30693         ($(objpfx)tst-tininess): Use $(link-libm).
30694         ($(objpfx)tst-strtod-underflow): Likewise.
30695
30696 2012-10-30  Andreas Jaeger  <aj@suse.de>
30697
30698         [BZ#14767]
30699         * elf/Makefile (tests): Remove conditional for have-initfini-array
30700         since this is now always required and the variable does not exist
30701         anymore.
30702         (tests-static): Likewise.
30703         (modules-names): Likewise.
30704
30705         * po/eo.po: Add Esperanto translation from translation project.
30706
30707         * elf/tst-array1.c (fini_array): Make writeable so that it can be
30708         merged with constructor/destructor.
30709         (init_array): Likewise.
30710         * elf/tst-array2dep.c (fini_array): Likewise.
30711         (init_array): Likewise.
30712
30713 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
30714
30715         * manual/message.texi: Delete @cartouche tags.
30716
30717 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
30718
30719         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30720         EOPNOTSUPP.
30721         * sysdeps/mach/hurd/fsync.c: Likewise.
30722
30723         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30724         [_POSIX_REALTIME_SIGNALS]: Change condition to
30725         [_POSIX_REALTIME_SIGNALS > 0].
30726
30727 2012-10-27  Andreas Jaeger  <aj@suse.de>
30728
30729         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30730         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30731         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30732         [__WORDSIZE != 64]: Likewise.
30733
30734 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
30735
30736         *  iconvdata/tst-table.sh: Remove ${SHELL}.
30737         *  iconvdata/tst-tables.sh: Likewise.
30738
30739 2012-10-25  David S. Miller  <davem@davemloft.net>
30740
30741         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30742         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30743         of strtoull.
30744
30745         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30746         ifunc-impl-list.c
30747         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30748         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30749         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30750         file.
30751
30752 2012-10-25  Roland McGrath  <roland@hack.frob.com>
30753
30754         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30755         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30756         __getdirentries.
30757
30758 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
30759             Jim Blandy  <jimb@codesourcery.com>
30760
30761         * scripts/cross-test-ssh.sh: New file.
30762         * manual/install.texi (Configuring and compiling): Document use of
30763         cross-test-ssh.sh.
30764         * INSTALL: Regenerated.
30765
30766 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
30767
30768         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30769         EOPNOTSUPP.
30770
30771 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
30772
30773         * Makeconfig (run-program-prefix): Fix comment.
30774
30775 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30776             Jim Blandy  <jimb@codesourcery.com>
30777
30778         * Makeconfig (test-wrapper): New variable,
30779         (test-wrapper-env): Likewise.
30780         [$(cross-compiling) = yes && $(test-wrapper) != ""]
30781         (run-built-tests): Define to yes.
30782         (run-program-prefix): Use $(test-wrapper).
30783         (built-program-cmd): Likewise.
30784         * Rules (make-test-out): Use $(test-wrapper-env) and
30785         $(host-built-program-cmd).
30786         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30787         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30788         tst-pathopt.sh.
30789         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30790         $(test-wrapper-env) to tst-rtld-load-self.sh.
30791         ($(objpfx)order2.out): Use $(test-wrapper).
30792         ($(objpfx)tst-initorder.out): Likewise.
30793         ($(objpfx)tst-initorder2.out): Likewise.
30794         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30795         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30796         (test_wrapper_env): New variable.  Use it to run ld.so.
30797         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30798         Use it to run ld.so.
30799         (test_wrapper_env): Likewise.
30800         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30801         $(test-wrapper) to run-iconv-test.sh.
30802         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30803         (ICONV): Use $test_wrapper.
30804         * posix/Makefile ($(objpfx)globtest.out): Pass
30805         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30806         globtest.sh, not $(run-program-prefix).
30807         * posix/globtest.sh (run_via_rtld_prefix): New variable.
30808         (test_wrapper): Likewise.
30809         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
30810         set together with run_via_rtld_prefix.
30811         (run_program_prefix): Define in terms of test_wrapper and
30812         run_via_rtld_prefix.
30813
30814 2012-10-24  Roland McGrath  <roland@hack.frob.com>
30815
30816         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30817         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30818         Targets removed.
30819
30820         [BZ #14743]
30821         * include/time.h: Remove librt_hidden_proto (clock_gettime).
30822         Declare __clock_getres, __clock_gettime, __clock_settime,
30823         __clock_nanosleep, and __clock_getcpuclockid.
30824         * rt/clock_gettime.c: Define __clock_gettime as an alias.
30825         Remove librt_hidden_def (clock_gettime).
30826         * sysdeps/unix/clock_gettime.c: Likewise.
30827         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30828         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30829         * rt/clock_getres.c: Define __clock_getres as an alias.
30830         * sysdeps/posix/clock_getres.c: Likewise.
30831         * rt/clock_settime.c: Define __clock_settime as an alias.
30832         * sysdeps/unix/clock_settime.c: Likewise.
30833         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30834         * sysdeps/unix/clock_nanosleep.c: Likewise.
30835         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30836         * rt/clock-compat.c: New file.
30837         * rt/Makefile (librt-routines): Add clock-compat and move
30838         $(clock-routines) to ...
30839         (routines): ... here, new variable.
30840         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30841         Don't add get_clockfreq here.
30842         * rt/Versions (libc: GLIBC_2.17): New version set.
30843         Add clock_* symbols here.
30844         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
30845         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30846         (GLIBC_2.17): Add clock_* symbols.
30847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30849         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30851         Likewise.
30852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30853         Likewise.
30854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30858         * NEWS: Mention the move.
30859
30860         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30861         Use __open, __read, __close rather than their public counterparts.
30862         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30863         (__get_clockfreq_via_cpuinfo): Likewise.
30864         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30865         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30866
30867         * config.h.in (HAVE_IFUNC): New #undef.
30868         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30869         was successful.
30870         * configure: Regenerated.
30871
30872 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30873
30874         * configure.in: Move READELF check to start of file.
30875         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30876         libc_cv_asm_gnu_indirect_function in the process.
30877         * configure: Regenerated.
30878
30879 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30880
30881         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30882         send the output to /dev/null.
30883         (libc_cv_cc_with_libunwind): Likewise.
30884         (libc_cv_as_noexecstack): Likewise.
30885         * configure: Regenerate.
30886
30887 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30888
30889         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30890
30891         * posix/globtest.sh (TMPDIR): Do not set.
30892         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30893         (testout): Likewise.
30894
30895 2012-10-24  Andreas Jaeger  <aj@suse.de>
30896
30897         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30898         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30899         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30900         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30901         posix_fadvise64, posix_fallocate64.
30902
30903         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30904         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30905         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30906         Likewise.
30907         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30908         Likewise.
30909         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30910
30911         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30912         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30913         <bits/fcntl-linux.h>.
30914         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30915
30916         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30917         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30918         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30919         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30920         [__WORDSIZE != 64]: Likewise.
30921
30922 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30923
30924         * Makeconfig (run-built-tests): New variable.
30925         * Rules [$(cross-compiling) = yes]: Change condition to
30926         [$(run-built-tests) = no].
30927         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30928         to [$(run-built-tests) = yes].
30929         * elf/Makefile [$(cross-compiling) = no]: Likewise
30930         * grp/Makefile [$(cross-compiling) = no]: Likewise.
30931         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30932         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30933         * intl/Makefile [$(cross-compiling) = no]: Likewise.
30934         * io/Makefile [$(cross-compiling) = no]: Likewise.
30935         * libio/Makefile [$(cross-compiling) = no]: Likewise.
30936         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30937         * misc/Makefile [$(cross-compiling) = no]: Likewise.
30938         * posix/Makefile [$(cross-compiling) = no]: Likewise.
30939         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30940         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30941         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30942         * string/Makefile [$(cross-compiling) = no]: Likewise.
30943
30944         * posix/Makefile ($(objpfx)globtest.out): Pass
30945         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30946         $(rtld-installed-name).
30947         * posix/globtest.sh (elf_objpfx): Remove variable.
30948         (rtld_installed_name): Likewise.
30949         (library_path): Likewise.
30950         (run_program_prefix): New variable.  Use for running globtest
30951         binary.
30952
30953 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
30954             Joseph Myers  <joseph@codesourcery.com>
30955
30956         * Makeconfig (host-built-program-cmd): New variable.
30957         * elf/Makefile (tst-stackguard1-ARGS): Use
30958         $(host-built-program-cmd).
30959         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30960         (tst-spawn-ARGS): Likewise.
30961         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30962
30963 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30964             Jim Blandy  <jimb@codesourcery.com>
30965
30966         * Makeconfig (run-via-rtld-prefix): New variable.
30967         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30968         (built-program-cmd): Likewise.
30969
30970 2012-10-22  Andreas Jaeger  <aj@suse.de>
30971
30972         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30973         __O_RSYNC if it exists, otherwise to O_SYNC.
30974
30975 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
30976             Joseph Myers  <joseph@codesourcery.com>
30977
30978         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30979         /dev/null.
30980         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30981         from /dev/null
30982         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30983         /dev/null.
30984
30985 2012-10-22  Andreas Jaeger  <aj@suse.de>
30986
30987         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30988         Define always.
30989         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30990
30991         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30992         bits/fcntl-linux.h.
30993
30994         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30995         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30996
30997         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30998         to __O_LARGEFILE.
30999         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31000         to __O_LARGEFILE.
31001
31002 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
31003             Joseph Myers  <joseph@codesourcery.com>
31004
31005         * config.make.in (NM): New variable.
31006
31007 2012-10-21  Andreas Jaeger  <aj@suse.de>
31008
31009         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31010         definitions and declarations that are provided by
31011         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31012
31013 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31014
31015         [BZ #14683]
31016         * elf/Makefile (tests-static): Add tst-leaks1-static.
31017         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31018         ($(objpfx)tst-leaks1-static): New rule.
31019         ($(objpfx)tst-leaks1-static-mem): Likewise.
31020         (tst-leaks1-static-ENV): New macro.
31021         * elf/dl-open.c (dl_open_worker): Check the main application
31022         only if SHARED is defined.
31023         * elf/tst-leaks1-static.c: New file.
31024
31025 2012-10-20  Andreas Jaeger  <aj@suse.de>
31026
31027         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31028         generic values for Linux.
31029         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31030         and declarations that are provided by <bits/fcntl-linux.h> and
31031         include <bits/fcntl-linux.h>.
31032         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31033         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31034
31035 2012-10-20  Roland McGrath  <roland@hack.frob.com>
31036
31037         * io/fcntl.h: Move include of <bits/types.h> to the top and
31038         include it unconditionally.
31039
31040 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31041
31042         * wcsmbs/Makefile (tests-ifunc): New variable.
31043         (tests): Add $(tests-ifunc).
31044         * wcsmbs/test-wcschr-ifunc.c: New file.
31045         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31046         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31047         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31048         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31049         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31050
31051         * string/Makefile (tests-ifunc): New variable.
31052         (tests): Add $(tests-ifunc).
31053         * string/test-memccpy.c (TEST_NAME): New macro.
31054         * string/test-memchr.c (TEST_NAME): Likewise.
31055         * string/test-memcmp.c (TEST_NAME): Likewise.
31056         * string/test-memcpy.c (TEST_NAME): Likewise.
31057         * string/test-memmem.c (TEST_NAME): Likewise.
31058         * string/test-memmove.c (TEST_NAME): Likewise.
31059         * string/test-memset.c (TEST_NAME): Likewise.
31060         * string/test-rawmemchr.c (TEST_NAME): Likewise.
31061         * string/test-stpcpy.c (TEST_NAME): Likewise.
31062         * string/test-stpncpy.c (TEST_NAME): Likewise.
31063         * string/test-strcasecmp.c (TEST_NAME): Likewise.
31064         * string/test-strcasestr.c (TEST_NAME): Likewise.
31065         * string/test-strcat.c (TEST_NAME): Likewise.
31066         * string/test-strchr.c (TEST_NAME): Likewise.
31067         * string/test-strcmp.c(TEST_NAME): Likewise.
31068         * string/test-strcpy.c (TEST_NAME): Likewise.
31069         * string/test-strcspn.c (TEST_NAME): Likewise.
31070         * string/test-strlen.c (TEST_NAME): Likewise.
31071         * string/test-strncasecmp.c (TEST_NAME): Likewise.
31072         * string/test-strncmp.c (TEST_NAME): Likewise.
31073         * string/test-strncpy.c (TEST_NAME): Likewise.
31074         * string/test-strnlen.c (TEST_NAME): Likewise.
31075         * string/test-strpbrk.c (TEST_NAME): Likewise.
31076         * string/test-strrchr.c (TEST_NAME): Likewise.
31077         * string/test-strspn.c (TEST_NAME): Likewise.
31078         * string/test-strstr.c (TEST_NAME): Likewise.
31079         * string/test-bcopy-ifunc.c: New file.
31080         * string/test-bzero-ifunc.c: Likewise.
31081         * string/test-memccpy-ifunc.c: Likewise.
31082         * string/test-memchr-ifunc.c: Likewise.
31083         * string/test-memcmp-ifunc.c: Likewise.
31084         * string/test-memcpy-ifunc.c: Likewise.
31085         * string/test-memmem-ifunc.c: Likewise.
31086         * string/test-memmove-ifunc.c: Likewise.
31087         * string/test-mempcpy-ifunc.c: Likewise.
31088         * string/test-memset-ifunc.c: Likewise.
31089         * string/test-rawmemchr-ifunc.c: Likewise.
31090         * string/test-stpcpy-ifunc.c: Likewise.
31091         * string/test-stpncpy-ifunc.c: Likewise.
31092         * string/test-strcasecmp-ifunc.c: Likewise.
31093         * string/test-strcasestr-ifunc.c: Likewise.
31094         * string/test-strcat-ifunc.c: Likewise.
31095         * string/test-strchr-ifunc.c: Likewise.
31096         * string/test-strchrnul-ifunc.c: Likewise.
31097         * string/test-strcmp-ifunc.c: Likewise.
31098         * string/test-strcpy-ifunc.c: Likewise.
31099         * string/test-strcspn-ifunc.c: Likewise.
31100         * string/test-strlen-ifunc.c: Likewise.
31101         * string/test-strncasecmp-ifunc.c: Likewise.
31102         * string/test-strncat-ifunc.c: Likewise.
31103         * string/test-strncmp-ifunc.c: Likewise.
31104         * string/test-strncpy-ifunc.c: Likewise.
31105         * string/test-strnlen-ifunc.c: Likewise.
31106         * string/test-strpbrk-ifunc.c: Likewise.
31107         * string/test-strrchr-ifunc.c: Likewise.
31108         * string/test-strspn-ifunc.c: Likewise.
31109         * string/test-strstr-ifunc.c: Likewise.
31110
31111         * debug/Makefile (tests-ifunc): New variable.
31112         (tests): Add $(tests-ifunc).
31113         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31114         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31115         * debug/test-stpcpy_chk-ifunc.c: New file.
31116         * debug/test-strcpy_chk-ifunc.c: Likewise.
31117
31118 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31119
31120         [BZ #13601]
31121         * elf/dl-load.c (open_verify): Retry read if the entire ELF
31122         header is not read in.
31123
31124 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
31125
31126         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
31127         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
31128         directly.  Pass built executable to script as
31129         $(built-program-cmd).
31130         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
31131         $testprogram without using LD_LIBRARY_PATH and $ldso.
31132
31133         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31134         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31135         $(rtld-installed-name).
31136         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31137         (rtld_installed_name): Likewise.
31138         (library_path): Likewise.
31139         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
31140         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31141         $(run-program-prefix) to tst-tables.sh.
31142         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
31143         it to run tst-table-from and tst-table-to.
31144         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31145         Pass it to tst-table.sh.
31146         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31147         $(run-program-prefix) to tst-gettext.sh.
31148         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31149         tst-translit.sh.
31150         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31151         tst-gettext2.sh.
31152         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
31153         to run tst-gettext.
31154         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
31155         to run tst-gettext2.
31156         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
31157         to run tst-translit.
31158         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31159         $(run-program-prefix) to tst-mtrace.sh.
31160         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
31161         to run tst-mtrace.
31162         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31163         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31164         $(rtld-installed-name).
31165         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31166         (rtld_installed_name): Likewise.
31167         (run_program_prefix): New variable.  Use it to run wordexp-test.
31168
31169         * Makeconfig (ARCH): Remove all definitions.
31170         (machine): Likewise.
31171         [ARCH]: Remove conditional code.
31172         [!objdir]: Give error.
31173         [!objdir] (objpfx): Remove.
31174         [!objdir] (common-objpfx): Likewise.
31175         [!objdir] (common-objdir): Likewise.
31176         * configure.in (config_makefile): Remove.  Hardcode Makefile in
31177         AC_CONFIG_FILES call.
31178         * configure: Regenerated.
31179
31180         [BZ #13888]
31181         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31182         or TMPDIR.
31183         (testout): Likewise.
31184
31185         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31186         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31187         $(rtld-installed-name).
31188         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31189         (rtld_installed_name): Likwise.
31190         (runit): Remove function.
31191         (run_getconf): New variable,  Use it for running getconf binary.
31192
31193 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
31194
31195         [BZ #14716]
31196         * string/test-memmem.c (check_result): New function.
31197         (do_one_test): Use it.
31198         (check1): New function.
31199         (test_main): Use it.
31200
31201 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
31202
31203         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31204
31205 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
31206
31207         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31208         (_G_LSEEK64): Likewise.
31209         (_G_MMAP64): Likewise.
31210         (_G_FSTAT64): Likewise.
31211         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31212         (_G_LSEEK64): Likewise.
31213         (_G_MMAP64): Likewise.
31214         (_G_FSTAT64): Likewise.
31215         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31216         unconditional.  Call __mmap64 directly.
31217         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31218         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
31219         __lseek64 directly.
31220         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31221         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
31222         __mmap64 directly.
31223         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31224         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31225         __lseek64 directly.
31226         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31227         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31228         __lseek64 directly.
31229         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31230         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
31231         __lseek64 directly.
31232         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31233         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
31234         __fxstat64 directly.
31235         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31236         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31237         unconditional.
31238         (freopen64) [!_G_OPEN64]: Remove conditional code.
31239         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31240         unconditional.
31241         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31242         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31243         unconditional.
31244         (ftello64) [!_G_LSEEK64]: Remove conditional code.
31245         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31246         unconditional.
31247         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31248         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31249         unconditional.
31250         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31251         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31252         unconditional.
31253         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31254         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31255         unconditional.
31256         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31257         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31258         unconditional.
31259         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31260
31261 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31262
31263         [BZ #12140]
31264         * manual/memory.texi (Malloc Tunable Parameters): Add note
31265         about free list pointers overwriting some perturb bytes.
31266         Wording suggested by Roland McGrath.
31267
31268 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
31269
31270         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31271         (lgamma_test): Likewise.
31272         (tgamma_test): Likewise.
31273
31274 2012-10-16  Florian Weimer  <fweimer@redhat.com>
31275
31276         [BZ #14700]
31277         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31278         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31279
31280 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
31281
31282         * NEWS: Mention BZ #14716.
31283         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31284         when removing AVAILABLE1_USES_J macro.
31285
31286 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
31287
31288         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31289         (__bswap_64): __uint64_t for unsigned 64-bit int.
31290
31291 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
31292
31293         * include/string.h (memmem): Declare libc hidden alias.
31294         * string/memmem.c (memmem): Define libc hidden alias.
31295         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31296         __read, __close instead of open, read, close.
31297
31298 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
31299
31300         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31301         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31302         global and hidden.
31303         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31304         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31305         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31306         Likewise.
31307         (__rawmemchr_sse2): Likewise.
31308         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31309         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31310         (__strchr_sse2): Likewise.
31311         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31312         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31313         (__strcasecmp_sse2): Likewise.
31314         (__strncasecmp_sse2): Likewise.
31315         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31316         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31317         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31318         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31319         (__strrchr_sse2): Likewise.
31320         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31321         ifunc-impl-list.c.
31322         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31323         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31324         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31325         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31326         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31327         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31328         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31329         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31330         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31331         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31332         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31333         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31334         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31335         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31336         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31337         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31338         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31339         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31340         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31341         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31342         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31343         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31344         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31345         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31346         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31347         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31348         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31349         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31350         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31351         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31352
31353         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31354         global and hidden.
31355         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31356         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31357         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31358         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31359         Likewise.
31360         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31361         Likewise.
31362         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31363         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31364         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31365         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31366         ifunc-impl-list.c.
31367         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31368         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31369         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31370         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31371         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31372         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31373         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31374         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31375         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31376         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31377         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31378         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31379         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31380         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31381         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31382         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31383         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31384         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31385         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31386         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31387         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31388         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31389         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31390         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31391         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31392         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31393         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31394         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31395         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31396         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31397         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31398         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31399         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31400         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31401         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31402         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31403         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31404         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31405         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31406         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31407         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31408
31409         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31410         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31411         * include/ifunc-impl-list.h: New file.
31412         * misc/ifunc-impl-list.c: Likewise.
31413         * misc/Makefile (routines): Add ifunc-impl-list.
31414         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31415         * string/test-string.h: Include <ifunc-impl-list.h>.
31416         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31417         TEST_NAME]: New variables.
31418         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31419         are defined.
31420         (test_init): Call __libc_ifunc_impl_list to initialize
31421         func_list if TEST_IFUNC and TEST_NAME are defined.
31422
31423         * string/Makefile (strop-tests): Add bcopy and bzero.
31424         * string/test-bcopy.c: New file.
31425         * string/test-bzero.c: Likewise.
31426         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31427         defined.
31428         * string/test-memset.c: Support bzero test if TEST_BZERO is
31429         defined.
31430         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31431         __libc_memmove.
31432         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31433         __libc_memset.
31434         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31435         of memset.
31436
31437 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
31438
31439         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31440         * configure: Regenerated.
31441
31442         * Makeconfig (+link-static-before-libc): Don't include
31443         $(link-static-libc).
31444
31445         * libio/libio.h (_IO_pos_t): Remove.
31446
31447 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31448
31449         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
31450         McGrath.
31451
31452 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31453
31454         * crypt/crypt-entry.c: Include fips-private.h.
31455         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31456         * crypt/md5c-test.c (main): Tolerate disabled MD5.
31457         * sysdeps/unix/sysv/linux/fips-private.h: New file.
31458         * sysdeps/generic/fips-private.h: New file, dummy fallback.
31459
31460 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31461
31462         * crypt/crypt-private.h: Include stdbool.h.
31463         (_ufc_setup_salt_r): Return bool.
31464         * crypt/crypt-entry.c: Include errno.h.
31465         (__crypt_r): Return NULL with EINVAL for bad salt.
31466         * crypt/crypt_util.c (bad_for_salt): New.
31467         (_ufc_setup_salt_r): Check that salt is long enough and within
31468         the specified alphabet.
31469         * crypt/badsalttest.c: New file.
31470         * crypt/Makefile (tests): Add it.
31471         ($(objpfx)badsalttest): New.
31472
31473 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
31474
31475         * NEWS: Add entry for BZ #14602.
31476
31477 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31478
31479         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31480         type-generic.
31481         * math/libm-test.inc: Update comment listing what functions and
31482         macros are tested.
31483         (isgreater_test): New function.
31484         (isgreaterequal_test): Likewise.
31485         (isless_test): Likewise.
31486         (islessequal_test): Likewise.
31487         (islessgreater_test): Likewise.
31488         (isunordered_test): Likewise.
31489         (main): Call the new functions.
31490
31491 2012-10-09  Roland McGrath  <roland@hack.frob.com>
31492
31493         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31494         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31495         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31496         * sysdeps/i386/configure: Regenerated.
31497         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31498         * sysdeps/mach/configure: Regenerated.
31499         * sysdeps/mach/hurd/configure: Regenerated.
31500         * sysdeps/powerpc/configure: Regenerated.
31501         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31502         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31503         * sysdeps/s390/s390-32/configure: Regenerated.
31504         * sysdeps/s390/s390-64/configure: Regenerated.
31505         * sysdeps/sh/configure: Regenerated.
31506         * sysdeps/sparc/configure: Regenerated.
31507         * sysdeps/unix/sysv/linux/configure: Regenerated.
31508         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31509         * sysdeps/x86_64/configure: Regenerated.
31510
31511         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31512         defined.  Don't check if MAP is NULL.
31513
31514 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31515
31516         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31517         (_G_stat64): Likewise.
31518         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31519         (_G_stat64): Likewise.
31520         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31521         instead of struct _G_stat64.
31522         * libio/fileops.c (mmap_remap_check): Likewise.
31523         (decide_maybe_mmap): Likewise.
31524         (_IO_new_file_seekoff): Likewise.
31525         (_IO_file_stat): Likewise.
31526         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31527         _G_off64_t.
31528         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31529         instead of struct _G_stat64.
31530         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31531
31532 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
31533
31534         [BZ #14602]
31535         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31536         Replace with ...
31537         (CHECK_EOL): New macro.
31538         (two_way_short_needle): Check beginning of haystack for EOL.  Use
31539         CHECK_EOL.
31540         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31541         Replace with CHECK_EOL.
31542         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31543         Replace with CHECK_EOL.
31544
31545 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
31546
31547         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31548         type-generic.
31549         * math/libm-test.inc: Update comment listing what functions and
31550         macros are tested.
31551         (finite_test): New function.
31552         (isinf_test): Likewise.
31553         (isnan_test): Likewise.
31554         (fpclassify_test): Test subnormal input.
31555         (isfinite_test): Likewise.
31556         (isnormal_test): Likewise.
31557         (main): Call the new functions.
31558
31559 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
31560
31561         [BZ #14660]
31562         * Makerules (%.dynsym): Force C locale when running
31563         $(OBJDUMP) --dynamic-syms.
31564
31565 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
31566
31567         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31568         <stdint.h>.
31569
31570 2012-10-06  David S. Miller  <davem@davemloft.net>
31571
31572         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31573         upper 32-bits of the length value in %o2 since we use branch-on-register
31574         tests which consider the entire 64-bit register.
31575
31576 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
31577
31578         * string/test-strstr.c (check2): Add a test for page boundary.
31579
31580 2012-10-05  David S. Miller  <davem@davemloft.net>
31581
31582         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31583         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31584         file.
31585         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31586         sysdep_routines.
31587         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31588         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31589         and bzero when HWCAP_SPARC_CRYPTO is present.
31590
31591 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
31592
31593         [BZ #14602]
31594         * string/test-strstr.c (check2): New function.
31595         (test_main): Call check2.
31596
31597         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31598         and bug-strchr1.
31599         * string/bug-strcasestr1.c (do_test): Moved to ...
31600         * string/test-strcasestr.c (check1): Here.  New function.
31601         (do_one_test): Break out result checking code into ...
31602         (check_result): This.  New function.
31603         (do_one_test): Call check_result.
31604         (test_main): Call check1.
31605         * string/bug-strchr1.c (do_test): Moved to ...
31606         * string/test-strchr.c (check1): Here.  New function.
31607         (do_one_test): Break out result checking code into ...
31608         (check_result): This.  New function.
31609         (do_one_test): Call check_result.
31610         (test_main): Call check1.
31611         * string/bug-strstr1.c (main): Moved to ...
31612         * string/test-strstr.c (check1): Here.  New function.
31613         (do_one_test): Break out result checking code into ...
31614         (check_result): This.  New function.
31615         (do_one_test): Call check_result.
31616         (test_main): Call check1.
31617         * string/bug-strcasestr1.c: Removed.
31618         * string/bug-strchr1.c: Likewise.
31619         * string/bug-strstr1.c: Likewise.
31620
31621         * elf/Makefile (dl-routines): Add hwcaps.
31622         * elf/dl-support.c (_dl_important_hwcaps): Removed.
31623         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31624         (_dl_important_hwcaps): Moved to ...
31625         * elf/dl-hwcaps.c: Here.  New file.
31626         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31627
31628         [BZ #14557]
31629         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31630         if IS_IN_rtld isn't defined.
31631
31632         * elf/dl-support.c (_dl_sysinfo_map): New.
31633         Include "get-dynamic-info.h" and "setup-vdso.h".
31634         (_dl_non_dynamic_init): Call setup_vdso.
31635         * elf/dynamic-link.h: Don't include <assert.h>.
31636         (elf_get_dynamic_info): Moved to ...
31637         * elf/get-dynamic-info.h: Here.  New file.
31638         * elf/dynamic-link.h: Include "get-dynamic-info.h".
31639         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31640         * elf/setup-vdso.h: Here.  New file.
31641         * elf/rtld.c: Include "setup-vdso.h".
31642         (dl_main): Call setup_vdso.
31643
31644 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
31645
31646         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31647         creal in comment listing functions tested.  List finite, isinf,
31648         isnan, isless, islessequal, isgreater, isgreaterequal,
31649         islessgreater, isunordered, lgamma_r and pow10 as functions and
31650         macros not tested.  Mention which functions not tested are aliases
31651         for other functions.  Fix typo.  Note that signs of NaNs are not
31652         tested.
31653
31654         * scripts/config.guess: Update from config.git.
31655         * scripts/config.sub: Likewise.
31656
31657 2012-10-04  Roland McGrath  <roland@hack.frob.com>
31658
31659         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31660         * misc/madvise.c (madvise): Renamed to __madvise.
31661         Make madvise a weak alias.
31662         * include/sys/mman.h: Declare __madvise.
31663         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31664         * sysdeps/unix/syscalls.list
31665         (madvise): Make __madvise the strong name, and madvise a weak alias.
31666         * sysdeps/unix/sysv/linux/syscalls.list
31667         (madvise, mmap): Remove redundant entries.
31668         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31669         * malloc/malloc.c (mtrim): Likewise.
31670         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31671
31672 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31673
31674         * sysdeps/mach/hurd/dl-cache.c: File removed.
31675         * config.h.in (USE_LDCONFIG): New #undef.
31676         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31677         * configure: Regenerated.
31678         * elf/Makefile (dl-routines): Add dl-cache only under
31679         [$(use-ldconfig) = yes].
31680         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31681         cache on [USE_LDCONFIG].
31682         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31683         [USE_LDCONFIG].
31684         * elf/rtld.c (dl_main): Likewise.
31685
31686 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
31687
31688         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31689         _SC_LEVEL4_CACHE_LINESIZE.
31690
31691 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31692
31693         * sysdeps/unix/bsd/confstr.h: File removed.
31694
31695 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
31696
31697         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31698         sys/sdt-config.h.
31699
31700 2012-10-02  Roland McGrath  <roland@hack.frob.com>
31701
31702         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31703         Make 'mapoff' field ElfW(Off) rather than off_t.
31704
31705 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
31706
31707         * nscd/Makefile: Remove nscd-cflags and all its users.
31708         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31709         (CFLAGS-nonlib): Add compiler flags for nscd modules.
31710
31711         [BZ #10631]
31712         * malloc.c (malloc_printerr): Clarify error message.
31713
31714 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
31715
31716         [BZ #14648]
31717         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31718         Set bit_FMA_Usable if FMA is supported.
31719         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31720         macro.
31721         (bit_FMA4_Usable): Updated.
31722         (index_FMA_Usable): New macro.
31723         (CPUID_FMA): Likewise
31724         (HAS_FMA): Defined with bit_FMA_Usable.
31725
31726 2012-10-01  Roland McGrath  <roland@hack.frob.com>
31727
31728         * bits/types.h (__swblk_t): Type removed.
31729         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31730         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31731         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31732         (__SWBLK_T_TYPE): Likewise.
31733         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31734         (__SWBLK_T_TYPE): Likewise.
31735         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31736         (__SWBLK_T_TYPE): Likewise.
31737         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31738         (__SWBLK_T_TYPE): Likewise.
31739
31740 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
31741             Honza Horak <hhorak@redhat.com>
31742
31743         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31744         (xdr_mapname): Use YPMAXMAP as maxsize.
31745         (xdr_peername): Use YPMAXPEER as maxsize.
31746         (xdr_keydat): Use YPAXRECORD as maxsize.
31747         (xdr_valdat): Use YPMAXRECORD as maxsize.
31748
31749 2012-10-01  Roland McGrath  <roland@hack.frob.com>
31750
31751         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31752
31753         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31754         * csu/init-first.c: ... here.
31755         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31756         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31757         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31758         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31759         * sysdeps/i386/init-first.c: File removed.
31760         * sysdeps/sh/init-first.c: File removed.
31761
31762 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
31763
31764         [BZ #14645]
31765         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31766         if x * y might underflow to zero and z is zero.
31767         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31768         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31769         * math/libm-test.inc (min_subnorm_value): New variable.
31770         (fma_test): Add more tests.
31771         (fma_test_towardzero): Likewise.
31772         (fma_test_downward): Likewise
31773         (fma_test_upward): Likewise.
31774         (initialize): Set min_subnorm_value.
31775
31776 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
31777
31778         [BZ #14638]
31779         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31780         0 + 0.
31781         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31782         mode for addition resulting in exact zero.
31783         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31784         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31785         exact 0 + 0.
31786         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31787         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31788         * math/libm-test.inc (fma_test): Add more tests.
31789         (fma_test_towardzero): New function.
31790         (fma_test_downward): Likewise.
31791         (fma_test_upward): Likewise.
31792         (main): Call the new functions.
31793
31794 2012-09-28  David S. Miller  <davem@davemloft.net>
31795
31796         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31797
31798 2012-09-28  Roland McGrath  <roland@hack.frob.com>
31799
31800         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31801         instead of SIGALRM.
31802
31803         * sysdeps/gnu/_G_config.h: Moved to ...
31804         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31805         * sysdeps/mach/hurd/_G_config.h: Moved to ...
31806         * sysdeps/generic/_G_config.h: ... here.
31807
31808         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
31809
31810         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31811
31812         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31813         Conditionalize target on [libnss_test1.so-version].
31814
31815         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31816
31817         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31818         (elfobjdir): Move out of conditionals.
31819
31820         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31821         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31822         (__nss_lookup_function): Conditionalize label remove_from_tree on
31823         [!DO_STATIC_NSS || SHARED], matching its only use.
31824
31825 2012-09-28  David S. Miller  <davem@davemloft.net>
31826
31827         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31828         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31829         file.
31830         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31831         sysdep_routines.
31832         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31833         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31834         when HWCAP_SPARC_CRYPTO is present.
31835
31836 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31837
31838         * io/tst-mknodat.c: Create a FIFO instead of a socket.
31839
31840 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
31841
31842         [BZ #6530]
31843         * stdio-common/vfprintf.c (process_string_arg): Revert
31844         2000-07-22 change.
31845
31846 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
31847
31848         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31849         for testcase.
31850         * stdio-common/tst-sprintf.c: Include <locale.h>
31851         (main): Test sprintf's handling of incomplete multibyte
31852         characters.
31853
31854 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
31855
31856         * elf/dl-runtime.c (VERSYMIDX): Removed.
31857         * elf/dl-version.c (VERSYMIDX): Likewise.
31858         * elf/do-rel.h (VERSYMIDX): Likewise.
31859         (VALIDX): Likewise.
31860         * elf/dynamic-link.h (VERSYMIDX): Likewise.
31861         * elf/rtld.c (VALIDX): Likewise.
31862         (ADDRIDX): Likewise.
31863         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31864         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31865         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31866         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31867         (VALIDX): Likewise.
31868         (ADDRIDX): Likewise.
31869
31870 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31871
31872         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31873
31874 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
31875
31876         [BZ #11438]
31877         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31878         to global scope.
31879         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31880         addresses are in the same scope as 192.0.2/24.
31881         * posix/gai.conf: Document new scope table defaults.
31882
31883 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31884
31885         [BZ #5298]
31886         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31887         for ftell.  Compute offsets from write pointers instead.
31888         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31889
31890 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31891
31892         [BZ #14543]
31893         * libio/Makefile (tests): New test case tst-fseek.
31894         * libio/tst-fseek.c: New test case to verify that fseek/ftell
31895         combination works in wide mode.
31896         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31897         state when the external buffer state changes.
31898
31899 2012-09-27  David S. Miller  <davem@davemloft.net>
31900
31901         [BZ #14376]
31902         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31903         pass reloc->r_addend in as the 'high' argument to
31904         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31905
31906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31907
31908 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31909
31910         * rt/tst-aio2.c: Include <pthread.h>.
31911         * rt/tst-aio3.c: Likewise.
31912
31913 2012-09-27  Steve Ellcey  <sellcey@mips.com>
31914
31915         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31916
31917 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
31918
31919         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31920         contents on [SHARED].
31921
31922 2012-09-26  Marek Polacek  <polacek@redhat.com>
31923
31924         [BZ #14530]
31925         [BZ #13741]
31926         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31927         for C++ and GCC <4.3 as well as for non GCC compilers.
31928
31929 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31930
31931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31932
31933 2012-09-25  Roland McGrath  <roland@hack.frob.com>
31934
31935         * Makefile.in (all, install): Declare with .PHONY.
31936         Reported by Michael Hope <michael.hope@linaro.org>.
31937
31938 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31939
31940         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31941         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31942         system header.
31943         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31944         Likewise.
31945         (sydep_routines): Add the new and the internal functions.
31946         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31947         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31949         (GLIBC_2.17): Add the new function.
31950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31951         (GLIBC_2.17): Likewise.
31952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31953         (GLIBC_2.17): Likewise.
31954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31955         (GLIBC_2.17): Likewise.
31956         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31957
31958 2012-09-25  Alan Modra  <amodra@gmail.com>
31959
31960         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31961         Add release barrier before setting once_control to say
31962         initialisation is done.  Add hints on lwarx.  Use macro in
31963         place of isync.
31964         (clear_once_control): Add release barrier.
31965
31966 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31967
31968         [BZ #13629]
31969         * math/s_clog.c (__clog): Handle more values close to |z| = 1
31970         specially.
31971         * math/s_clog10.c (__clog10): Likewise.
31972         * math/s_clog10f.c (__clog10f): Likewise.
31973         * math/s_clog10l.c (__clog10l): Likewise.
31974         * math/s_clogf.c (__clogf): Likewise.
31975         * math/s_clogl.c (__clogl): Likewise.
31976         * math/Makefile (libm-calls): Add x2y2m1.
31977         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31978         (__x2y2m1): Likewise.
31979         (__x2y2m1l): Likewise.
31980         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31981         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31982         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31983         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31984         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31985         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31986         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31987         * sysdeps/i386/fpu/libm-test-ulps: Update.
31988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31989
31990         [BZ #14621]
31991         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31992         int as type of variable DEPTH.
31993         (glob): Use size_t instead of int as type of variables NEWCOUNT
31994         and OLD_PATHC.
31995
31996 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31997
31998         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31999         Add s_sincosf-sse2.
32000         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32001         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32002         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32003         macros for using routine as __sincosf_ia32.
32004         Use macro for function declaration and weak_alias.
32005         * sysdeps/i386/fpu/libm-test-ulps: Update.
32006
32007         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32008         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32009
32010         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32011         subnormal argument.
32012         * math/s_cexpf.c (__cexpf): Likewise.
32013         * math/s_csinf.c (__csinf): Likewise.
32014         * math/s_csinhf.c (__csinhf): Likewise.
32015         * math/s_ctanf.c (__ctanf): Likewise.
32016         * math/s_ctanhf.c (__ctanhf): Likewise.
32017         * math/s_ccosh.c (__ccoshf): Likewise.
32018         * math/s_cexp.c (__cexpl): Likewise.
32019         * math/s_csin.c (__csin): Likewise.
32020         * math/s_csinh.c (__csinh): Likewise.
32021         * math/s_ctan.c (__ctan): Likewise.
32022         * math/s_ctanh.c (ctanh): Likewise.
32023         * math/s_ccoshl.c (__ccoshl): Likewise.
32024         * math/s_cexpl.c (__cexpl): Likewise.
32025         * math/s_csinl.c (__csinl): Likewise.
32026         * math/s_csinhl.c (__csinhl): Likewise.
32027         * math/s_ctanl.c (__ctanl): Likewise.
32028         * math/s_ctanhl.c (__ctanhl): Likewise.
32029
32030 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32031
32032         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32033         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32034         (_IO_off_t): Define to __off_t, not _G_off_t.
32035         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32036         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32037         (_IO_wint_t): Define to wint_t, not _G_wint_t.
32038         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32039         type of __dummy and __dummy2 fields.
32040         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32041         (_G_ssize_t): Likewise.
32042         (_G_off_t): Likewise.
32043         (_G_pid_t): Likewise.
32044         (_G_uid_t): Likewise.
32045         (_G_wchar_t): Likewise.
32046         (_G_wint_t): Likewise.
32047         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32048         (_G_ssize_t): Likewise.
32049         (_G_off_t): Likewise.
32050         (_G_pid_t): Likewise.
32051         (_G_uid_t): Likewise.
32052         (_G_wchar_t): Likewise.
32053         (_G_wint_t): Likewise.
32054         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32055         (_G_ssize_t): Likewise.
32056         (_G_off_t): Likewise.
32057         (_G_pid_t): Likewise.
32058         (_G_uid_t): Likewise.
32059         (_G_wchar_t): Likewise.
32060         (_G_wint_t): Likewise.
32061
32062 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32063
32064         * malloc/arena.c: Include malloc-sysdep.h.
32065         (shrink_heap): Use check_may_shrink_heap to decide if madvise
32066         is sufficient to shrink the heap or an unmap is needed.
32067         * sysdeps/generic/malloc-sysdep.h: New file.  Define
32068         new function check_may_shrink_heap.
32069         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
32070         new function check_may_shrink_heap.
32071
32072 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32073
32074         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32075         comments.
32076
32077 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
32078
32079         * catgets/test-gencat.sh: Add "set -e".
32080         * elf/tst-pathopt.sh: Likewise.
32081         * grp/tst_fgetgrent.sh: Likewise.
32082         * iconvdata/run-iconv-test.sh: Likewise.
32083         * intl/tst-gettext.sh: Likewise.
32084         * intl/tst-gettext2.sh: Likewise.
32085         * intl/tst-gettext4.sh: Likewise.
32086         * intl/tst-gettext6.sh: Likewise.
32087         * intl/tst-translit.sh: Likewise.
32088         * io/ftwtest-sh: Likewise.
32089         * libio/test-freopen.sh: Likewise.
32090         * malloc/tst-mtrace.sh: Likewise.
32091         * posix/globtest.sh: Likewise.
32092         * posix/tst-getconf.sh: Likewise.
32093         * posix/wordexp-tst.sh: Likewise.
32094         * stdio-common/tst-printf.sh: Likewise.
32095         * stdio-common/tst-unbputc.sh: Likewise.
32096         * stdlib/tst-fmtmsg.sh: Likewise.
32097         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32098         * catgets/Makefile: Do not specify -e option when running
32099         testsuite shell scripts.
32100         * elf/Makefile: Likewise.
32101         * grp/Makefile: Likewise.
32102         * iconvdata/Makefile: Likewise.
32103         * intl/Makefile: Likewise.
32104         * io/Makefile: Likewise.
32105         * libio/Makefile: Likewise.
32106         * malloc/Makefile: Likewise.
32107         * posix/Makefile: Likewise.
32108         * stdio-common/Makefile: Likewise.
32109         * stdlib/Makefile: Likewise.
32110         * sysdeps/x86_64/Makefile: Likewise.
32111
32112         * io/ftwtest-sh: Add copyright header.
32113         * posix/globtest.sh: Likewise.
32114         * posix/tst-getconf.sh: Likewise.
32115         * posix/wordexp-tst.sh: Likewise.
32116         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32117
32118 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
32119
32120         [BZ #13679]
32121         * Makeconfig (+link): Defined as $(+link-static) if
32122         $(build-shared) isn't yes.
32123         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32124         isn't yes.
32125         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32126
32127         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32128
32129         [BZ #14562]
32130         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32131         new chunk size with MALLOC_ALIGN_MASK.
32132
32133 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
32134
32135         [BZ #5044]
32136         * stdio-common/printf_fphex.c: Include <stdbool.h> and
32137         <rounding-mode.h>.
32138         (__printf_fphex): Determine rounding using get_rounding_mode and
32139         round_away.
32140         * stdio-common/tst-printf-round.c (struct hex_test): New
32141         structure.
32142         (hex_tests): New variable.
32143         (test_hex_in_one_mode): New function.
32144         (do_test): Also run tests for hex float output.
32145
32146 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
32147
32148         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32149         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32150         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32151         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32152         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32153         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32154         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32155         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32156
32157 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
32158
32159         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32160         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32161         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32162         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32163
32164 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
32165
32166         [BZ #14579]
32167         * elf/rtld.c (dl_main): Limit the check for self loading to normal
32168         mode only.
32169         * elf/tst-rtld-load-self.sh: New test.
32170         * elf/Makefile: Run it.
32171
32172 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
32173
32174         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32175         (tst-writev-ENV): Remove.
32176         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32177
32178 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
32179
32180         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32181
32182 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
32183
32184         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32185         unconditional.
32186         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32187         Likewise.
32188         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32189         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32190         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32191         Likewise.
32192
32193 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
32194
32195         [BZ #14587]
32196         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32197         * config.make.in (have-cpp-asm-debuginfo): Removed.
32198         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32199         * configure: Regenerated.
32200
32201 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
32202
32203         [BZ #5044]
32204         * stdio-common/printf_fp.c: Include <stdbool.h> and
32205         <rounding-mode.h>.
32206         (___printf_fp): Determine rounding using get_rounding_mode and
32207         round_away.
32208         * stdio-common/tst-printf-round.c: New file.
32209         * stdio-common/Makefile (tests): Add tst-printf-round.
32210         (link-libm): New variable.
32211         ($(objpfx)tst-printf-round): Depend in $(link-libm).
32212
32213 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
32214
32215         [BZ #14576]
32216         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32217         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32218         Likewise.
32219         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32220         Likewise.
32221
32222 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
32223
32224         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32225         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32226         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32227         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32228
32229 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
32230
32231         [BZ #14518]
32232         * include/rounding-mode.h: New file.
32233         * sysdeps/generic/get-rounding-mode.h: Likewise.
32234         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32235         * stdlib/strtod_l.c: Include <rounding-mode.h>.
32236         (MAX_VALUE): New macro.
32237         (MIN_VALUE): Likewise.
32238         (overflow_value): New function.
32239         (underflow_value): Likewise.
32240         (round_and_return): Use overflow_value and underflow_value to
32241         determine return values in overflow and underflow cases.  Use
32242         round_away to determine rounding depending on rounding mode.
32243         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32244         determine return values in overflow and underflow cases.
32245         * stdlib/tst-strtod-round.c: Include <fenv.h>.
32246         (struct test_results): New structure.
32247         (struct test): Use struct test_results to store expected results
32248         for all rounding modes.
32249         (TEST): Include expected results for all rounding modes.
32250         (test_in_one_mode): New function.
32251         (do_test): Use test_in_one_mode to compute and check results.
32252         Check results for all rounding modes.
32253         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32254         $(link-libm).
32255
32256 2012-12-09  Allan McRae  <allan@archlinux.org>
32257
32258         * sysdeps/i386/fpu/libm-test-ulps: Update
32259
32260 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
32261
32262         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32263         (_G_int32_t): Likewise.
32264         (_G_uint16_t): Likewise.
32265         (_G_uint32_t): Likewise.
32266         (_G_HAVE_BOOL): Likewise.
32267         (_G_HAVE_ATEXIT): Likewise.
32268         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32269         (_G_HAVE_IO_FILE_OPEN): Likewise.
32270         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32271         (_G_int32_t): Likewise.
32272         (_G_uint16_t): Likewise.
32273         (_G_uint32_t): Likewise.
32274         (_G_HAVE_BOOL): Likewise.
32275         (_G_HAVE_ATEXIT): Likewise.
32276         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32277         (_G_HAVE_IO_FILE_OPEN): Likewise.
32278         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32279         (_G_int32_t): Likewise.
32280         (_G_uint16_t): Likewise.
32281         (_G_uint32_t): Likewise.
32282         (_G_HAVE_BOOL): Likewise.
32283         (_G_HAVE_ATEXIT): Likewise.
32284         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32285         (_G_HAVE_IO_FILE_OPEN): Likewise.
32286
32287 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
32288
32289         * csu/libc-tls.c: Update copyright years.
32290
32291 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
32292
32293         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32294         [!_G_USING_THUNKS]: Remove conditional code.
32295         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32296         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32297
32298         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32299         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32300         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32301         (_G_VTABLE_LABEL_PREFIX): Likewise.
32302         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32303         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32304         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32305         (_G_VTABLE_LABEL_PREFIX): Likewise.
32306         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32307         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32308         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32309         (_G_VTABLE_LABEL_PREFIX): Likewise.
32310         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32311
32312 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
32313
32314         * libio/Makefile: Include ../Makeconfig before tests.
32315         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32316         only if $(build-shared) is yes.
32317
32318         * iconv/gconv_db.c: Update copyright years.
32319
32320 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32321
32322         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32323         unwind info if defined PIC. Fix special cases description.
32324         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32325
32326         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32327         DP_HI_MASK entry.
32328         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32329
32330 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
32331
32332         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32333
32334         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32335         is NULL.
32336
32337         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32338         (LDLIBS-tst-chk4): This.
32339         (LDFLAGS-tst-chk5): Renamed to ...
32340         (LDLIBS-tst-chk5): This.
32341         (LDFLAGS-tst-chk6): Renamed to ...
32342         (LDLIBS-tst-chk6): This.
32343         (LDFLAGS-tst-lfschk4): Renamed to ...
32344         (LDLIBS-tst-lfschk4): This.
32345         (LDFLAGS-tst-lfschk5): Renamed to ...
32346         (LDLIBS-tst-lfschk5): This.
32347         (LDFLAGS-tst-lfschk6): Renamed to ...
32348         (LDLIBS-tst-lfschk6): This.
32349
32350         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32351         on $(common-objpfx)soversions.mk.
32352
32353 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
32354
32355         [BZ #10014]
32356         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32357         example host name.
32358
32359 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32360
32361         * malloc/arena.c (arena_get_retry): New function that gets
32362         another arena for the caller to try its request on.
32363         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32364         current arena cannot fulfill the request.
32365         (__libc_memalign): Likewise.
32366         (__libc_memalign): Likewise.
32367         (__libc_pvalloc): Likewise.
32368         (__libc_calloc): Likewise.
32369
32370 2012-09-05  John Tobey  <john.tobey@gmail.com>
32371
32372         [BZ #13542]
32373         * manual/arith.texi (Operations on Complex): Fix description
32374         of carg branch cut.
32375
32376 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32377
32378         [BZ #10014]
32379         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32380         host name.
32381
32382         [BZ #10038]
32383         * manual/memory.texi (Memory): Make order of menu items match
32384         order of sections.
32385
32386 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32387
32388         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32389         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
32390         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32391
32392 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32393
32394         * csu/libc-tls.c (static_dtv): Renamed to ...
32395         (_dl_static_dtv): This.  Make it global.
32396         (_dl_initial_dtv): Removed.
32397         (__libc_setup_tls): Updated.
32398         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32399         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32400         DL_INITIAL_DTV.
32401
32402 2012-09-06  Petr Machata  <pmachata@redhat.com>
32403
32404         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32405         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32406         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32407         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32408
32409 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32410
32411         [BZ #14545]
32412         * csu/libc-tls.c (_dl_initial_dtv): New variable.
32413         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32414         freeing dtv[-1].
32415
32416 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32417
32418         [BZ #14544]
32419         * Makeconfig (link-static-before-libc): Replace $(+prector)
32420         with $(+prectorT).
32421         (link-static-after-libc): Replace $(+postctor) with
32422         $(+postctorT).
32423         (link-bounded): Replace $(+prector)/$(+postctor) with
32424         $(+prectorT)/$(+postctorT).
32425         (+prectorT): New macro.
32426         (+postctorT): Likewise.
32427
32428 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32429
32430         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32431         (round_str): Handle values above the maximum for IBM long double
32432         as inexact.
32433         * stdlib/tst-strtod-round.c (tests): Regenerated.
32434
32435 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32436
32437         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32438         assembler flag.
32439         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32440         zarch_nohighgprs around the zarch optimized routines.
32441         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32442         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32443         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32444         for zarch.
32445
32446 2012-09-05  David S. Miller  <davem@davemloft.net>
32447
32448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32449
32450         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32451         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32452         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32453         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32454         entries.
32455
32456 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32457
32458         * malloc/arena.c: Fold copyright years.
32459         * malloc/mcheck.c, malloc/memusage.c: Likewise.
32460
32461 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32462
32463         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32464
32465 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32466
32467         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
32468
32469 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32470
32471         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32472         change internal state upon failure.
32473
32474 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32475
32476         * malloc/mcheck.c (mcheck_check_all): Fix typo.
32477         * malloc/memusage.c (mmap): Likewise.
32478         (mmap64, mremap): Likewise.  Adjust name in comment.
32479
32480 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32481
32482         * libio/fileops.c: Fix typos in comments.
32483         * libio/oldfileops.c: Likewise.
32484         * libio/wfileops.c: Likewise.
32485
32486 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32487
32488         [BZ #1349]
32489         * malloc/Makefile (tests): Add tst-malloc-usable test case.
32490         (tst-malloc-usable-ENV): Set environment for test case.
32491         * malloc/hooks.c (malloc_check_get_size): New function to get
32492         requested size.
32493         * malloc/malloc.c (musable): Use malloc_check_get_size.
32494         * malloc/tst-malloc-usable.c: New test case.
32495
32496 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32497
32498         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32499
32500 2012-09-05  Allan McRae  <allan@archlinux.org>
32501
32502         [BZ #13966]
32503         * configure.in (CXX_SYSINCLUDES): Use compiler output to
32504         determine header location.
32505         * configure: Regenerated.
32506
32507 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32508
32509         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32510         float format.
32511         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32512         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32513         format.
32514         (test): Regenerate.
32515
32516 2012-09-04  David S. Miller  <davem@davemloft.net>
32517
32518         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32519         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32520         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32521
32522 2012-09-04  Florian Weimer  <fweimer@redhat.com>
32523
32524         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32525         failures.
32526
32527         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32528
32529 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
32530
32531         [BZ #9914]
32532         * libio/iogetdelim.c: Include <limits.h>.
32533         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32534         + len + 1 would overflow.
32535
32536 2012-09-03  Andreas Jaeger  <aj@suse.de>
32537
32538         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32539         * sysdeps/i386/fpu/libm-test-ulps: Update.
32540
32541 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32542
32543         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32544         Add s_sinf-sse2, s_conf-sse2.
32545
32546         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32547         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32548         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32549         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32550
32551         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32552         for using routine as __sinf_ia32.
32553         Use macro for function declaration and weak_alias.
32554         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32555         for using routine as __cosf_ia32.
32556         Use macro for function declaration and weak_alias.
32557
32558         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32559         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32560
32561         * sysdeps/x86_64/fpu/s_sinf.S: New file.
32562         * sysdeps/x86_64/fpu/s_cosf.S: New file.
32563         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32564
32565         * math/libm-test.inc (cos_test): Add more test cases.
32566         (sin_test): Likewise.
32567         (sincos_test): Likewise.
32568
32569 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32570
32571         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32572         (IFUNC_RESOLVE): Make pointers to the specialized implementations
32573         hidden.
32574         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32575
32576 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
32577
32578         [BZ #14538]
32579         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32580         first element of the GOT.
32581         (elf_machine_load_address): Return the difference between
32582         the runtime address of _DYNAMIC and elf_machine_dynamic ().
32583
32584 2012-09-01  Allan McRae  <allan@archlinux.org>
32585
32586         [BZ #13412]
32587         * configure.in (AWK): Require gawk version 3.0 or later.
32588         * configure: Regenerated.
32589
32590 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
32591
32592         * sysdeps/unix/sysv/linux/kernel-features.h
32593         (__ASSUME_POSIX_CPU_TIMERS): Remove.
32594         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32595         [__NR_clock_getres]: Make code unconditional.
32596         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32597         (clock_getcpuclockid): Remove code left unreachable by removal of
32598         conditionals.
32599         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32600         code unconditional.
32601         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32602         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32603         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32604         Make code unconditional.
32605         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32606         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32607         * sysdeps/unix/sysv/linux/clock_settime.c
32608         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32609         conditional code.
32610         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32611         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32612
32613 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
32614
32615         [BZ #14476]
32616         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32617         scripts/test-installation.pl.
32618
32619         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32620         and $ld_so_version if it is set.
32621
32622 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32623
32624         [BZ #14516]
32625         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32626         failure if reading from procfs failed.
32627         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32628
32629 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32630
32631         * sysdeps/unix/sysv/linux/kernel-features.h
32632         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32633         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32634         Remove conditional code.
32635         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32636         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32637         Remove conditional code.
32638         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32639         * sysdeps/unix/sysv/linux/i386/fxstat.c
32640         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32641         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32642         * sysdeps/unix/sysv/linux/i386/fxstatat.c
32643         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32644         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32645         * sysdeps/unix/sysv/linux/i386/lxstat.c
32646         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32647         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32648         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32649         Remove conditional code.
32650         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32651         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32652         Remove conditional code.
32653         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32654         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32655         <kernel-features.h>.
32656         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32657         Remove.
32658         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32659         Remove conditional code.
32660         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32661         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32662         Remove conditional.
32663
32664 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
32665
32666         [BZ #5400]
32667         * NEWS: Add fixed bug number.
32668
32669 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32670
32671         [BZ #14519]
32672         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32673         underflowing exponent in case of negative sign.
32674         * stdlib/tst-strtod-round-data: Add more tests.
32675         * stdlib/tst-strtod-round.c (tests): Regenerated.
32676
32677         [BZ #3479]
32678         * stdlib/strtod_l.c (NDIG): Remove.
32679         (HEXNDIG): Likewise.
32680         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32681         smallest representable value.
32682         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32683         lie within an exact representation of 1/2 ulp of the result.
32684         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32685         unconditionally.
32686         (TENS_P9_IDX): Define unconditionally.
32687         (TENS_P9_SIZE): Likewise.
32688         (TENS_P10_IDX): Likewise.
32689         (TENS_P10_SIZE): Likewise.
32690         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32691         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32692         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32693         entries for 10^2^13 and 10^2^14.
32694         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32695         (TENS_P13_IDX): Define.
32696         (TENS_P13_SIZE): Likewise.
32697         (TENS_P14_IDX): Likewise.
32698         (TENS_P14_SIZE): Likewise.
32699         (_fpioconst_pow10): Change array size to
32700         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
32701         unconditional.
32702         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32703         1024]: Add entries for 10^2^13 and 10^2^14.
32704         [LAST_POW10 > _LAST_POW10]: Remove #error.
32705         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32706         (_fpioconst_pow10): Change array size to
32707         FPIOCONST_POW10_ARRAY_SIZE.
32708         * stdlib/gen-fpioconst.c: New file.
32709         * stdlib/gen-tst-strtod-round.c: Likewise.
32710         * stdlib/tst-strtod-round-data: Likewise.
32711         * stdlib/tst-strtod-round.c: Likewise.
32712         * stdlib/Makefile (tests): Add tst-strtod-round.
32713
32714         [BZ #14459]
32715         * stdlib/strtod_l.c: Include <stdint.h>.
32716         (NDEBUG): Do not define.
32717         (round_and_return): Change EXPONENT parameter to type intmax_t.
32718         Rearrange calculations to avoid internal overflow possibilities.
32719         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32720         Rearrange calculations to avoid internal overflow possibilities.
32721         Assert that number fits inside MPNSIZE limbs.
32722         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32723         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
32724         calculations and add assertions to avoid internal overflow
32725         possibilities.  Add casts to avoid signed/unsigned operations.
32726         * stdlib/tst-strtod-overflow.c: New file.
32727         * stdlib/Makefile (tests): Add tst-strtod-overflow.
32728
32729 2012-08-25  Marek Polacek  <polacek@redhat.com>
32730
32731         * time/time.h: Fix some typos in comments.
32732
32733 2012-08-23  Roland McGrath  <roland@hack.frob.com>
32734
32735         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32736         * posix/tst-rfc3484-2.c: Likewise.
32737         * posix/tst-rfc3484-3.c: Likewise.
32738
32739 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
32740
32741         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32742         (EF_ARM_ABI_FLOAT_HARD): Likewise.
32743
32744 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
32745
32746         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32747         #include of fxstatat64.c.
32748
32749 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32750
32751         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32752         * shadow/getspent_r.c: Likewise.
32753         * shadow/getspnam.c: Likewise.
32754         * shadow/getspnam_r.c: Likewise.
32755         * gshadow/getsgent.c: Likewise.
32756         * gshadow/getsgent_r.c: Likewise.
32757         * gshadow/getsgnam.c: Likewise.
32758         * gshadow/getsgnam_r.c: Likewise.
32759         * inet/getnetbyad.c: Likewise.
32760         * inet/getnetbyad_r.c: Likewise.
32761         * inet/getnetbynm.c: Likewise.
32762         * inet/getnetbynm_r.c: Likewise.
32763         * inet/getnetent.c: Likewise.
32764         * inet/getnetent_r.c: Likewise.
32765         * inet/getproto.c: Likewise.
32766         * inet/getproto_r.c: Likewise.
32767         * inet/getprtent.c: Likewise.
32768         * inet/getprtent_r.c: Likewise.
32769         * inet/getprtname.c: Likewise.
32770         * inet/getprtname_r.c: Likewise.
32771         * inet/getrpcbyname.c: Likewise.
32772         * inet/getrpcbyname_r.c: Likewise.
32773         * inet/getrpcbynumber.c: Likewise.
32774         * inet/getrpcbynumber_r.c: Likewise.
32775         * inet/getrpcent.c: Likewise.
32776         * inet/getrpcent_r.c: Likewise.
32777         * inet/getaliasent.c: Likewise.
32778         * inet/getaliasent_r.c: Likewise.
32779         * inet/getaliasname.c: Likewise.
32780         * inet/getaliasname_r.c: Likewise.
32781         * nscd/getgrgid_r.c: Likewise.
32782         * nscd/getgrnam_r.c: Likewise.
32783         * nscd/gethstbyad_r.c: Likewise.
32784         * nscd/gethstbynm3_r.c: Likewise.
32785         * nscd/getpwnam_r.c: Likewise.
32786         * nscd/getpwuid_r.c: Likewise.
32787         * nscd/getsrvbynm_r.c: Likewise.
32788         * nscd/getsrvbypt_r.c: Likewise.
32789         * nscd/gai.c: Likewise.
32790
32791         * configure.in (build_nscd): New substituted variable, set
32792         by --disable-build-nscd and defaults to $use_nscd.
32793         * configure: Regenerated.
32794         * config.make.in (build-nscd): New substituted variable.
32795         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32796         Change conditional to require [$(build-nscd) = yes] as well.
32797         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32798
32799         [BZ# 13696]
32800         * configure.in (use_nscd): New substituted variable, set by
32801         --disable-nscd.  If enabled, define USE_NSCD.
32802         * configure: Regenerated.
32803         * config.h.in: Add USE_NSCD.
32804         * config.make.in (use-nscd): New substituted variable.
32805         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32806         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32807         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32808         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32809         (CFLAGS-getgrnam_r.c): Likewise.
32810         (CFLAGS-initgroups.c): Likewise.
32811         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32812         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32813         Variables removed.
32814         * inet/getnetgrent_r.c
32815         (nscd_setnetgrent): New function, broken out of ...
32816         (setnetgrent): ... here.  Call it.
32817         (innetgr): Conditionalize nscd bits on [USE_NSCD].
32818         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32819         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32820         * nscd/Makefile (routines, aux): Move definitions after include of
32821         Makeconfig.  Conditionalize on [$(use-nscd) != no].
32822         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32823         Conditionalize on [USE_NSCD].
32824         (is_nscd, nscd_init_cb): Likewise.
32825         (nss_load_library): Conditionalize init callback on [USE_NSCD].
32826         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32827         * nss/nss_db/db-init.c: Likewise.
32828         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32829         [USE_NSCD].
32830         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32831         (make_request): Use it.
32832         (cache_valid_p): New function.
32833         (__check_pf): Use it.
32834         * NEWS: Add item for --disable-nscd.
32835
32836 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
32837
32838         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32839         to support sed >= 4.2.1-20-ga9bf076.
32840         * configure: Regenerated.
32841
32842 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32843
32844         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32845         Conditionalize whole body on [IREL].
32846
32847 2012-08-22  Jeff Law <law@redhat.com>
32848
32849         [BZ #14505]
32850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32851         if the family is PF_UNSPEC.
32852
32853 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
32854
32855         * Makerules (lib-version): Rename from V.
32856         (install-lib-nosubdir): Change V to lib-version.
32857
32858 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
32859
32860         [BZ #14252]
32861         * powerpc32/power6/wcschr.c: New file.
32862         * powerpc32/power6/wcscpy.c: New file.
32863         * powerpc32/power6/wcsrchr.c: New file.
32864         * powerpc64/power6/wcschr.c: New file.
32865         * powerpc64/power6/wcscpy.c: New file.
32866         * powerpc64/power6/wcsrchr.c: New file.
32867
32868 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32869
32870         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32871         (two_way_short_needle): Use it.
32872         * string/strstr.c (AVAILABLE1_USES_J): Define.
32873         * string/strcasestr.c: Likewise.
32874
32875         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32876         array references.
32877         * string/strcasestr.c (TOLOWER): Make side-effect safe.
32878
32879         [BZ #11607]
32880         * NEWS: Add an entry.
32881         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32882         define their defaults.
32883         (two_way_short_needle): Detect end-of-string on-the-fly.
32884         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32885         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32886         * string/bug-strcasestr1.c: New test.
32887         * string/Makefile: Run it.
32888
32889 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32890
32891         [BZ #11607]
32892         * string/str-two-way.h (two_way_short_needle): Optimize matching of
32893         the first character.
32894
32895 2012-08-21  Roland McGrath  <roland@hack.frob.com>
32896
32897         * csu/elf-init.c (__libc_csu_irel): Function removed.
32898         * csu/libc-start.c (apply_irel): New function.
32899         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32900
32901 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
32902
32903         * sysdeps/unix/sysv/linux/kernel-features.h
32904         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32905         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32906         <kernel-features.h>.
32907         [__NR_fadvise64_64]: Make code unconditional.
32908         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32909         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32910         !__NR_fadvise64_64)]: Likewise.
32911         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32912         !__NR_fadvise64_64))]: Likewise.
32913         [__NR_fadvise64]: Make code unconditional.
32914         [!__NR_fadvise64]: Remove conditional code.
32915         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32916         <kernel-features.h>.
32917         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32918         unconditional.
32919         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32920         conditional code.
32921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32922         not include <kernel-features.h>.
32923         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32924         unconditional.
32925         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32926         conditional code.
32927         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32928         include <kernel-features.h>.
32929         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32930         unconditional.
32931         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32932         conditional code.
32933
32934 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32935
32936         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32937         slight instruction rearrangements per scrollpipe analysis.
32938         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32939
32940 2012-08-20  Roland McGrath  <roland@hack.frob.com>
32941
32942         * manual/syslog.texi (syslog; vsyslog, closelog):
32943         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32944         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32945
32946         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32947         DSOCAPS to match condition on defining it.
32948
32949 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
32950
32951         * sysdeps/unix/sysv/linux/kernel-features.h
32952         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32954         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32955         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32957         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32958         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32960         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32961         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32962
32963         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32964         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32965
32966         * sysdeps/unix/sysv/linux/kernel-features.h
32967         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32968         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32969         unconditional.
32970         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32971         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32972         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32973         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32974         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32975         Make code unconditional.
32976         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32977         (__mmap64) [!__NR_mmap2]: Likewise.
32978         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32979         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32980         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32981         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32982         [__NR_mmap2]: Make code unconditional.
32983         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32984         (__mmap64) [!__NR_mmap2]: Likewise.
32985
32986 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32987
32988         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32989
32990 2012-08-18  Andreas Jaeger  <aj@suse.de>
32991
32992         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32993
32994 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32995
32996         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32997         * include/unistd.h (__have_sock_cloexec): Likewise.
32998         (__have_pipe2): Likewise.
32999         (__have_dup3): Likewise.
33000
33001 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33002
33003         [BZ #9685]
33004         * include/unistd.h (__have_pipe2): Change define into an extern int.
33005         (__have_dup3): Likewise.
33006         * socket/have_sock_cloexec.c: Include fcntl.h.
33007         (__have_pipe2): New variable.
33008         (__have_dup3): Likewise.
33009
33010 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
33011
33012         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33013
33014 2012-08-17  Marek Polacek  <polacek@redhat.com>
33015
33016         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33017         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33018
33019 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33020
33021         * configure.in: Add AC_SUBST for sysheaders.
33022         * configure: Regenerated.
33023         * config.make.in (sysheaders): New substituted variable.
33024
33025         * sysdeps/unix/mkfifo.c: Moved ...
33026         * sysdeps/posix/mkfifo.c: ... here.
33027         * sysdeps/unix/mkfifoat.c: Moved ...
33028         * sysdeps/posix/mkfifoat.c: ... here.
33029
33030         * sysdeps/unix/utime.c: Moved ...
33031         * sysdeps/posix/utime.c: ... here.
33032
33033         * sysdeps/unix/time.c: Moved ...
33034         * sysdeps/posix/time.c: ... here.
33035         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33036         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33037
33038         * sysdeps/unix/nice.c: Moved ...
33039         * sysdeps/posix/nice.c: ... here.
33040
33041         * sysdeps/unix/alarm.c: Moved ...
33042         * sysdeps/posix/alarm.c: ... here.
33043
33044         * intl/Makefile ($(codeset_mo)): Depend on the input file.
33045
33046 2012-08-17  Jeff Law <law@redhat.com>
33047
33048         * intl/Makefile (codeset_mo): New variable.
33049         ($(codeset_mo)): New target.
33050         (tst-codeset.out): Depend on that.  Remove explicit rule.
33051         (tst-gettext3.out, tst-gettext5.out): Likewise.
33052         (LOCPATH-ENV, tst-codeset-ENV): New variables.
33053         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33054         * intl/tst-codeset.sh: Remove.
33055         * intl/tst-gettext3.sh: Likewise.
33056         * intl/tst-gettext5.sh: Likewise.
33057
33058 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33059
33060         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
33061         * sysdeps/unix/syscalls.list: ... here.
33062
33063         * sysdeps/posix/getaddrinfo.c
33064         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33065         (gaiconf_init, gaiconf_reload): Use them.
33066         [!_STATBUF_ST_NSEC]
33067         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33068         Define using time_t rather than struct timespec.
33069
33070         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33071         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33072         Macros removed.
33073         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33074         [!NO_THREADS].
33075         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33076         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33077         Likewise.
33078
33079         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33080         __libc_cleanup_push argument.
33081
33082         * bits/param.h: New file.
33083         * misc/sys/param.h: New file.
33084         * include/sys/param.h: New file.
33085         * misc/Makefile (headers): Add bits/param.h.
33086         * sysdeps/generic/sys/param.h: File removed.
33087         * sysdeps/unix/sysv/linux/bits/param.h: New file.
33088         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33089         * sysdeps/mach/hurd/bits/param.h: New file.
33090         * sysdeps/mach/hurd/sys/param.h: File removed.
33091
33092         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33093         last change.
33094
33095         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33096         [_IO_MTSAFE_IO].
33097         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33098         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33099         New macros.
33100
33101         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33102         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33103         rather than -D_IO_MTSAFE_IO conditionally.
33104         * stdio-common/Makefile (CPPFLAGS): Likewise.
33105         * wcsmbs/Makefile (CPPFLAGS): Likewise.
33106         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33107         Use $(libio-mtsafe).
33108         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33109         of -D_IO_MTSAFE_IO.
33110         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33111         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33112         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33113         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33114         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33115         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33116         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33117         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33118         (CFLAGS-fread_u_chk.c): Likewise.
33119         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33120         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33121         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33122         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33123         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33124         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33125         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33126         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33127         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33128
33129         * libio/Makefile: Test [$(libc-reentrant) = yes]
33130         instead of [$(filter %REENTRANT, $(defines)) nonempty].
33131
33132         * Makeconfig
33133         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33134         * sysdeps/pthread/configure: File removed.
33135         * sysdeps/pthread/Makeconfig: New file.
33136         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33137         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33138
33139 2012-08-16  Gary Benson  <gbenson@redhat.com>
33140
33141         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33142         unmapping the first object in a namespace.
33143
33144 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33145
33146         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33147         (__internal_setnetgrent): ... this.  Add internal_function to
33148         definition.  Add libc_hidden_def.
33149         (setnetgrent): Update caller.
33150         (internal_endnetgrent): Renamed to ...
33151         (__internal_endnetgrent): ... this.  Add internal_function to
33152         definition.  Add libc_hidden_def.
33153         (endnetgrent): Update caller.
33154         (internal_getnetgrent_r): Renamed to ...
33155         (__internal_getnetgrent_r): ... this.  Add internal_function to
33156         definition.  Add libc_hidden_def.
33157         (__getnetgrent_r): Update caller.
33158         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
33159
33160 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33161
33162         * stdlib/longlong.h: Update from GCC.
33163
33164 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33165
33166         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33167         on _QL, which is set by umul_ppmm but never used.
33168         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33169         variables, which are set by GMP macros but never used.
33170         * stdio-common/_itowa.c (_itowa): Likewise.
33171         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33172         * stdlib/mod_1.c (mpn_mod_1): Likewise.
33173
33174 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
33175
33176         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33177         struct La_sh_regs is not constant.
33178         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33179         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33180         and struct La_sparc64_regs are not constant.
33181
33182 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33183
33184         * sysdeps/unix/sysv/linux/kernel-features.h
33185         (__ASSUME_POSIX_TIMERS): Remove.
33186         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33187         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33188         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33189         Make code unconditional.
33190         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33191         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33192         Make code unconditional.
33193         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33194         * sysdeps/unix/sysv/linux/clock_nanosleep.c
33195         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33196         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33197         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33198         Make code unconditional.
33199         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33200         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33201         (__libc_missing_posix_timers): Remove.
33202
33203 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33204
33205         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33206         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33207
33208         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33209
33210         * elf/dl-sym.c: Include <stdlib.h>.
33211
33212         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33213         constants, which avoids warnings in 32-bit builds.
33214
33215         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33216         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33217
33218         * misc/lseek.c: File moved to ...
33219         * io/lseek.c: ... here.
33220
33221         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33222
33223         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33224         shifting LEN more than 31 bits at once.
33225
33226 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33227
33228         [BZ #14195]
33229         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33230         segmentation fault for a case of two empty input strings.
33231         * string/test-strncasecmp.c (check1): Renamed to...
33232         (bz12205): ...this.
33233         (bz14195): Add new testcase for two empty input strings and N > 0.
33234         (test_main): Call new testcase, adapt for renamed function.
33235
33236 2012-08-15  Andreas Jaeger  <aj@suse.de>
33237
33238         [BZ #14090]
33239         * crypt/md5test2.c: New test, based on test supplied by Serge
33240         Belyshev <belyshev@depni.sinp.msu.ru>.
33241         * crypt/Makefile (xtests): Add md5test-giant..
33242         * crypt/Makefile ($(objpfx)md5test-giant): Add.
33243
33244 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
33245
33246         [BZ #14090]
33247         * crypt/md5.c (md5_process_block): Don't assume the buffer
33248         length is less than 2**32.
33249         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33250         length is less than 2**64.
33251
33252 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33253
33254         * string/str-two-way.h: Include <sys/param.h>.
33255         (MAX): Macro removed.
33256
33257         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33258         Move #define and #undef of memmove to just before and after
33259         including <string.h>.
33260
33261         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33262         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33263         and after including <string.h>.  Move declarations of
33264         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33265         to before #include "string/memmove.c".
33266
33267         * include/dirent.h: Declare __getdirentries.
33268
33269         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33270         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33271
33272 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
33273
33274         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33275         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33276         * sysdeps/i386/configure: Regenerated.
33277         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33278         STABS_CURRENT_FILE, and STABS_FUN.
33279         (END): Remove call to STABS_FUN_END.
33280         (STABS_CURRENT_FILE1): Delete.
33281         (STABS_CURRENT_FILE): Likewise.
33282         (STABS_FUN): Likewise.
33283         (STABS_FUN_END): Likewise.
33284         (STABS_FUN2): Likewise.
33285         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33286         * sysdeps/x86_64/configure: Regenerated.
33287
33288 2012-08-14  Roland McGrath  <roland@hack.frob.com>
33289
33290         * elf/dl-open.c: Include <atomic.h>.
33291         * elf/dl-lookup.c: Likewise.
33292
33293 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
33294
33295         * sysdeps/unix/sysv/linux/kernel-features.h
33296         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33297         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33298         unconditionally.
33299         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33300         unconditionally.
33301         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33302         condition on __ASSUME_CLONE_THREAD_FLAGS.
33303
33304 2012-08-14  Andreas Jaeger  <aj@suse.de>
33305
33306         * sysdeps/i386/fpu/libm-test-ulps: Update.
33307
33308 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
33309
33310         * include/atomic.h (atomic_exchange_and_add): Split into ...
33311         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33312         New atomic macros.
33313
33314 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
33315
33316         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33317
33318 2012-08-13  Jeff Law <law@redhat.com>
33319
33320         * manual/stdio.texi (snprintf): Clarify handling of the trailing
33321         null byte in the output string.
33322
33323 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
33324
33325         * sysdeps/unix/sysv/linux/kernel-features.h
33326         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33327         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33328         (__ASSUME_ARG_MAX_STACK_BASED): Define.
33329         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33330         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33331         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
33332         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33333
33334 2012-08-09  Jeff Law <law@redhat.com>
33335
33336         [BZ #13939]
33337         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33338         When avoid_arena is set, don't retry in the that arena.  Pick the
33339         next one, whatever it might be.
33340         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33341         (arena_lock): Pass in new parameter to arena_get2.
33342         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33343         arena_get2.
33344         (__libc_malloc): Unify retrying after main arena failure with
33345         __libc_memalign version.
33346         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33347
33348 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33349
33350         [BZ #14166]
33351         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33352         to __redirect_strstr.
33353         (__strstr_sse42): Use typeof __redirect_strstr.
33354         (__strstr_ia32): Likewise.
33355         (__libc_strstr): New prototype.
33356         (strstr): Renamed to ...
33357         (__libc_strstr): This.
33358         (strstr): New strong alias of __libc_strstr.
33359         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33360         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33361         __redirect_time.
33362         Include <time.h>.
33363         (__libc_time): New prototype.
33364         (time_ifunc): Replace time with __libc_time.
33365         (time): New strong alias and hidden definition of __libc_time.
33366         (__GI_time): Remove strong alias.
33367         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33368         Include <stddef.h>.
33369         (memmove): Redefined to __redirect_memmove.
33370         (__memmove_sse2): Use typeof __redirect_memmove.
33371         (__memmove_ssse3): Likewise.
33372         (__memmove_ssse3_back): Likewise.
33373         (__libc_memmove): New prototype.
33374         (memmove): Renamed to ...
33375         (__libc_memmove): This.
33376         (memmove): New strong alias of __libc_memmove.
33377
33378 2012-08-08  Mark Salter  <msalter@redhat.com>
33379
33380         * elf/elf.h
33381         (R_MN10300_TLS_GD): Define.
33382         (R_MN10300_TLS_LD): Likewise.
33383         (R_MN10300_TLS_LDO): Likewise.
33384         (R_MN10300_TLS_GOTIE): Likewise.
33385         (R_MN10300_TLS_IE): Likewise.
33386         (R_MN10300_TLS_LE): Likewise.
33387         (R_MN10300_TLS_DTPMOD): Likewise.
33388         (R_MN10300_TLS_DTPOFF): Likewise.
33389         (R_MN10300_TLS_TPOFF): Likewise.
33390         (R_MN10300_SYM_DIFF): Likewise.
33391         (R_MN10300_ALIGN): Likewise.
33392         (R_MN10300_NUM): Update.
33393
33394 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
33395
33396         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33397         Remove.
33398
33399 2012-08-08  Roland McGrath  <roland@hack.frob.com>
33400
33401         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33402
33403         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33404         sysdeps/unix -> sysdeps/posix move.
33405         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33406
33407 2012-08-07      Allan McRae     <allan@archlinux.org>
33408
33409         [BZ #14303]
33410         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33411         (SUNOS_CPP): Likewise.
33412         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33413         not found.
33414         (open_input): Call CPP using execvp.
33415
33416 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33417
33418         * sysdeps/unix/sysv/linux/kernel-features.h
33419         (__ASSUME_PROT_GROWSUPDOWN): Remove.
33420         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33421         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33422         (__ASSUME_WAITID_SYSCALL): Likewise.
33423         * sysdeps/unix/sysv/linux/dl-execstack.c
33424         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33425         code unconditional.
33426         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33427         conditional code.
33428         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33429         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33430         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33431         code.
33432         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33433         unconditional.
33434         [__ASSUME_WAITID_SYSCALL]: Likewise.
33435         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33436
33437 2012-08-07  Roland McGrath  <roland@hack.frob.com>
33438
33439         * sysdeps/unix/closedir.c: Renamed to ...
33440         * sysdeps/posix/closedir.c: ... here.
33441         * sysdeps/unix/dirfd.c: Renamed to ...
33442         * sysdeps/posix/dirfd.c: ... here.
33443         * sysdeps/unix/dirstream.h: Renamed to ...
33444         * sysdeps/posix/dirstream.h: ... here.
33445         * sysdeps/unix/fdopendir.c: Renamed to ...
33446         * sysdeps/posix/fdopendir.c: ... here.
33447         * sysdeps/unix/opendir.c: Renamed to ...
33448         * sysdeps/posix/opendir.c: ... here.
33449         * sysdeps/unix/readdir.c: Renamed to ...
33450         * sysdeps/posix/readdir.c: ... here.
33451         * sysdeps/unix/readdir_r.c: Renamed to ...
33452         * sysdeps/posix/readdir_r.c: ... here.
33453         * sysdeps/unix/rewinddir.c: Renamed to ...
33454         * sysdeps/posix/rewinddir.c: ... here.
33455         * sysdeps/unix/seekdir.c: Renamed to ...
33456         * sysdeps/posix/seekdir.c: ... here.
33457         * sysdeps/unix/telldir.c: Renamed to ...
33458         * sysdeps/posix/telldir.c: ... here.
33459         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33460         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33461         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33462         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33463
33464         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33465         * bits/fcntl.h: ... here.
33466
33467         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33468         not 0.
33469         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33470         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33471         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33472         (struct flock): Move l_start, l_len to the beginning.
33473         Use __pid_t for l_pid.
33474         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33475         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33476         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33477         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33478         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33479         [__USE_LARGEFILE64] (struct flock64): New type.
33480         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33481
33482         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33483         * bits/dirent.h: ... here.
33484
33485         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33486         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33487
33488 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33489
33490         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33491         Change from 2.6.0 to 2.6.16.
33492         * sysdeps/unix/sysv/linux/configure: Regenerated.
33493         * sysdeps/unix/sysv/linux/kernel-features.h
33494         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33495         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33496         version.
33497         (__ASSUME_UTIMES): Likewise.
33498         (__ASSUME_CLONE_STOPPED): Remove.
33499         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33500         architectures, not kernel version.
33501         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33502         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33503         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33504         (__ASSUME_WAITID_SYSCALL): Likewise.
33505         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33506         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33507         * README: State 2.6.16 as minimum Linux kernel version.  Do not
33508         refer to older versions.
33509
33510 2012-08-06  Roland McGrath  <roland@hack.frob.com>
33511
33512         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33513         Define alphasort64 as an alias.
33514         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33515         Define versionsort64 as an alias.
33516         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33517         Define scandir64 as an alias.
33518         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33519         Define scandirat64 as an alias.
33520         * dirent/alphasort64.c (alphasort64):
33521         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33522         * dirent/versionsort64.c: Likewise.
33523         * dirent/scandir64.c: Likewise.
33524         * dirent/scandirat64.c: Likewise.
33525         * sysdeps/wordsize-64/alphasort.c: File removed.
33526         * sysdeps/wordsize-64/alphasort64.c: File removed.
33527         * sysdeps/wordsize-64/scandir.c: File removed.
33528         * sysdeps/wordsize-64/scandir64.c: File removed.
33529         * sysdeps/wordsize-64/scandirat.c: File removed.
33530         * sysdeps/wordsize-64/scandirat64.c: File removed.
33531         * sysdeps/wordsize-64/versionsort.c: File removed.
33532         * sysdeps/wordsize-64/versionsort64.c: File removed.
33533         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33534         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33535         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33536         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33537         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33538         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33539         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33540         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33541
33542         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33543         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33544         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33545         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33546         [defined __arch64__ || defined __sparcv9]
33547         (__INO_T_MATCHES_INO64_T): New macro.
33548         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33549         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33550         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33551         * sysdeps/unix/sysv/linux/bits/dirent.h
33552         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33553         (_DIRENT_MATCHES_DIRENT64): New macro.
33554
33555         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33556         Define lockf64 as an alias.
33557         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33558         Define fseeko64 as an alias.
33559         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33560         Define ftello64 as an alias.
33561         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33562         Define _IO_fgetpos64 and fgetpos64 as aliases.
33563         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33564         Define _IO_fsetpos64 and fsetpos64 as aliases.
33565         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33566         Conditionalize body on this.
33567         * libio/fseeko64.c: Likewise.
33568         * libio/ftello64.c: Likewise.
33569         * libio/iofgetpos64.c: Likewise.
33570         * libio/iofsetpos64.c: Likewise.
33571         * sysdeps/wordsize-64/lockf.c: File removed.
33572         * sysdeps/wordsize-64/lockf64.c: File removed.
33573         * sysdeps/wordsize-64/fseeko.c: File removed.
33574         * sysdeps/wordsize-64/fseeko64.c: File removed.
33575         * sysdeps/wordsize-64/ftello.c: File removed.
33576         * sysdeps/wordsize-64/ftello64.c: File removed.
33577         * sysdeps/wordsize-64/iofgetpos.c: File removed.
33578         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33579         * sysdeps/wordsize-64/iofsetpos.c: File removed.
33580         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33581         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33582         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33583         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33584         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33585         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33586         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33587         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33588         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33589         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33590         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33591
33592         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33593         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33594         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33595         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33596         [defined __arch64__ || defined __sparcv9]
33597         (__OFF_T_MATCHES_OFF64_T): New macro.
33598         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33599         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33600         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33601         (__OFF_T_MATCHES_OFF64_T): New macro.
33602
33603 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33604
33605         * stdlib/secure-getenv.c (__secure_getenv): Replace
33606         GLIBC_2_16 with GLIBC_2_17.
33607
33608 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33609
33610         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33611         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33612
33613 2012-08-03  David S. Miller  <davem@davemloft.net>
33614
33615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33616
33617 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33618
33619         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33620         Remove.
33621         (__ASSUME_CORRECT_SI_PID): Likewise.
33622         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33623         (__ASSUME_TMPFS_NAME): Likewise.
33624         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33625         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33626         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33627         (HAVE_AUX_SECURE): Make definition unconditional.
33628         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33629         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33630
33631 2012-08-03  Roland McGrath  <roland@hack.frob.com>
33632
33633         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33634         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33635         * sysdeps/mach/hurd/eloop-threshold.h: New file.
33636         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33637         __eloop_threshold instead of SYMLOOP_MAX.
33638
33639         * sysdeps/generic/eloop-threshold.h: New file.
33640         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33641         of MAXSYMLINKS.
33642         * elf/chroot_canon.c (chroot_canon): Likewise.
33643
33644 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33645
33646         [BZ #13717]
33647         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33648         Change to 2.6.0 everywhere.
33649         * sysdeps/unix/sysv/linux/configure: Regenerated.
33650         * sysdeps/unix/sysv/linux/kernel-features.h
33651         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33652         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33653         kernel versions.
33654         (__ASSUME_POSIX_TIMERS): Define unconditionally.
33655         (__ASSUME_FUTEX_REQUEUE): Remove.
33656         (__ASSUME_STATFS64): Define unconditionally.
33657         (__ASSUME_AT_SECURE): Likewise.
33658         (__ASSUME_CORRECT_SI_PID): Likewise.
33659         (__ASSUME_TGKILL): Define without depending on kernel version for
33660         i386.
33661         (__ASSUME_UTIMES): Likewise.
33662         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33663         kernel version.
33664         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33665         (__ASSUME_TMPFS_NAME): Likewise.
33666         * README: Update reference to Linux kernel versions.
33667
33668 2012-08-02  Marek Polacek  <polacek@redhat.com>
33669
33670         [BZ# 14150]
33671         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
33672         libc_cv_asm_type_prefix with %.
33673         * configure: Regenerated.
33674         * include/libc-symbols.h: Remove comment about
33675         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33676         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33677         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33678         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33679         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33680         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33681         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33682         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33683         * elf/tst-unique2mod1.c: Likewise.
33684         * elf/tst-unique1mod2.c: Likewise.
33685         * elf/tst-unique1mod1.c: Likewise.
33686         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33687         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33688         Replace ASM_TYPE_DIRECTIVE with .type.
33689         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33690         * sysdeps/i386/sysdep.h: Likewise.
33691         * sysdeps/x86_64/sysdep.h: Likewise.
33692         * sysdeps/sh/sysdep.h: Likewise.
33693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33694         Do not define ASM_TYPE_DIRECTIVE.
33695         * sysdeps/powerpc/sysdep.h: Likewise.
33696         * sysdeps/powerpc/powerpc32/sysdep.h:
33697         Replace ASM_TYPE_DIRECTIVE with .type.
33698         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33699         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33700         * sysdeps/i386/fpu/e_powf.S: Likewise.
33701         * sysdeps/i386/fpu/e_expl.S: Likewise.
33702         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33703         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33704         * sysdeps/i386/fpu/e_pow.S: Likewise.
33705         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33706         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33707         * sysdeps/i386/fpu/s_expm1.S: Likewise.
33708         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33709         * sysdeps/i386/fpu/e_log2.S: Likewise.
33710         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33711         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33712         * sysdeps/i386/fpu/e_powl.S: Likewise.
33713         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33714         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33715         * sysdeps/i386/fpu/e_logl.S: Likewise.
33716         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33717         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33718         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33719         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33720         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33721         * sysdeps/i386/fpu/e_log.S: Likewise.
33722         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33723         * sysdeps/i386/fpu/e_logf.S: Likewise.
33724         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33725         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33726         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33727         * sysdeps/i386/fpu/e_log10.S: Likewise.
33728         * sysdeps/i386/fpu/s_frexp.S: Likewise.
33729         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33730         * sysdeps/i386/fpu/s_asinh.S: Likewise.
33731         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33732         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33733         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33734         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33735         * sysdeps/i386/i686/strtok.S: Likewise.
33736         * sysdeps/i386/i386-mcount.S: Likewise.
33737         * sysdeps/i386/strtok.S: Likewise.
33738         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33739         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33740         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33741         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33742         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33743         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33744         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33745         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33746         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33747         * sysdeps/x86_64/_mcount.S: Likewise.
33748         * sysdeps/x86_64/strtok.S: Likewise.
33749         * sysdeps/sh/_mcount.S: Likewise.
33750
33751 2012-08-01  Roland McGrath  <roland@hack.frob.com>
33752
33753         * libio/iofopen.c: Include <fcntl.h>.
33754         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33755         (_IO_fopen64, fopen64): Define as aliases.
33756         * libio/iofopen64.c: Include <fcntl.h>.
33757         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33758         Conditionalize body on this.
33759         * sysdeps/wordsize-64/iofopen.c: File removed.
33760         * sysdeps/wordsize-64/iofopen64.c: File removed.
33761
33762 2012-08-01  Marek Polacek  <polacek@redhat.com>
33763
33764         * libc/Makeconfig: Use elf in place of binfmt-subdir.
33765         Use dlfcn directly instead of a variable.
33766         (binfmt-subdir): Do not define.
33767         (dlfcn): Likewise.
33768
33769 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
33770
33771         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33772         Remove all definitions.
33773         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33774         <kernel-features.h>.
33775         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33776         (miss_F_GETOWN_EX): Remove all definitions.
33777         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33778         macro definition.
33779         [!__ASSUME_FCNTL64]: Remove conditional code.
33780         [__ASSUME_FCNTL64]: Make code unconditional.
33781         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33782         <kernel-features.h>.
33783         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33784         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33785         (lockf64) [__NR_fcntl64]: Make code unconditional.
33786         (lockf64) [__ASSUME_FCNTL64]: Likewise.
33787
33788         * sysdeps/unix/sysv/linux/kernel-features.h
33789         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33790         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33791         Make code unconditional.
33792         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33793         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33795         [__NR_vfork]: Make code unconditional.
33796         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33797         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33799         [__NR_vfork]: Make code unconditional.
33800         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33801         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33802
33803 2012-08-01  Roland McGrath  <roland@hack.frob.com>
33804
33805         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33806         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33807
33808         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33809         Define mkstemp64 as an alias.
33810         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33811         Define mkstemps64 as an alias.
33812         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33813         Define mkostemp64 as an alias.
33814         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33815         Define mkostemps64 as an alias.
33816         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33817         Conditionalize body on this.
33818         * misc/mkostemp64.c: Likewise.
33819         * misc/mkostemps64.c: Likewise.
33820         * misc/mkstemps64.c: Likewise.
33821         * sysdeps/wordsize-64/mkstemp64.c: File removed.
33822         * sysdeps/wordsize-64/mkostemp64.c: File removed.
33823         * sysdeps/wordsize-64/mkostemp.c: File removed.
33824         * sysdeps/wordsize-64/mkstemp.c: File removed.
33825         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33826         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33827         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33828         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33829
33830         [BZ #14138]
33831         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33832         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33833         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33834         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33835
33836         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33837         compat_symbol macros from <shlib-compat.h> rather than the underlying
33838         default_symbol_version and symbol_version macros, so that DEFAULT
33839         lines in shlib-versions are respected.
33840         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33841
33842 2012-08-01  Florian Weimer  <fweimer@redhat.com>
33843
33844         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33845         Declare with warn_unused_result.
33846         (setgid, setregid, setegid, setresgid): Likewise.
33847         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33848         Likewise.
33849         * WUR-REPORT: Remove set*id functions.
33850
33851 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
33852
33853         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33854
33855 2012-07-31  Roland McGrath  <roland@hack.frob.com>
33856
33857         [BZ #10191]
33858         * include/sys/socket.h (__libc_accept, __libc_accept4):
33859         Add attribute_hidden.
33860         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33861
33862         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33863         use of PTR_MANGLE.
33864         * inet/getnetgrent_r.c (setup): Likewise.
33865
33866         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33867
33868 2012-07-31  David S. Miller  <davem@davemloft.net>
33869
33870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33871
33872 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
33873
33874         [BZ #13629]
33875         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33876         value between 1.0 and 2.0 and smaller part has absolute value less
33877         than 1.0.
33878         * math/s_clog10.c (__clog10): Likewise.
33879         * math/s_clog10f.c (__clog10f): Likewise.
33880         * math/s_clog10l.c (__clog10l): Likewise.
33881         * math/s_clogf.c (__clogf): Likewise.
33882         * math/s_clogl.c (__clogl): Likewise.
33883         * math/libm-test.inc (clog_test): Add more tests.
33884         (clog10_test): Likewise.
33885         * sysdeps/i386/fpu/libm-test-ulps: Update.
33886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33887
33888 2012-07-31  Florian Weimer  <fweimer@redhat.com>
33889
33890         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33891         Exit with zero in case no suitable GID is found, and write a
33892         message to standard error.
33893
33894 2012-07-30  Roland McGrath  <roland@hack.frob.com>
33895
33896         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33897         rather than to 1.
33898         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33899         (MAXPATHLEN): Removed.
33900         (NOGROUP, NODEV): New macros.
33901         (setbit, clrbit, isset, isclr): New macros.
33902         (howmany, roundup, powerof2): New macros.
33903         (DEV_BSIZE): New macro.
33904
33905         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33906         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33907
33908         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33909         definition on [!__NO_LONG_DOUBLE_MATH].
33910
33911         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33912         PTR_MANGLE and PTR_DEMANGLE.
33913
33914         * socket/accept4.c (accept4): Rename to __libc_accept4.
33915         Define accept4 as a weak alias.
33916
33917         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33918         on [_DIRENT_HAVE_D_TYPE].
33919         * io/ftw.c (ftw_dir): Likewise.
33920
33921         * io/xmknod.c (__xmknod): Don't check PATH for being null.
33922
33923         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33924
33925         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33926         Use the BSD numbers rather than the arbitrary ones we had.
33927         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33928         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33929         (SIGXCPU, SIGXFSZ): New macros.
33930         (_NSIG): Now 32.
33931
33932         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33933         initializer on [_LIBC_REENTRANT].
33934
33935         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33936         definitions inside [_POSIX_MAPPED_FILES].
33937
33938         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33939
33940         * dirent/opendir.c: Include <fcntl.h>.
33941
33942         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33943         (__libc_getspecific): Likewise.
33944         (__libc_key_create): Likewise.
33945
33946         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33947         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33948         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33949         (tmpfile64): Define as alias.
33950         * sysdeps/wordsize-64/tmpfile.c: File removed.
33951         * sysdeps/wordsize-64/tmpfile64.c: File removed.
33952         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33953         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33954
33955         * stdio-common/vfscanf.c: Include <stdbool.h>.
33956         * nss/makedb.c: Likewise.
33957         * stdio-common/_i18n_number.h: Likewise.
33958         * argp/argp-help.c: Likewise.
33959         * posix/wordexp.c: Likewise.
33960         * sysdeps/posix/spawni.c: Likewise.
33961         * nss/nss_files/files-initgroups.c: Likewise.
33962         * stdio-common/reg-modifier.c: Include <stdlib.h>.
33963         * nss/nss_files/files-initgroups.c: Likewise.
33964         * nss/nss_db/db-netgrp.c: Likewise.
33965         * nss/nss_db/db-initgroups.c: Likewise.
33966         * io/fchmodat.c: Include <sys/stat.h>.
33967
33968         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33969         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33970
33971         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33972         [HAVE_MMAP].
33973
33974         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33975         Add multiple inclusion protection.
33976
33977 2012-07-27  David S. Miller  <davem@davemloft.net>
33978
33979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33980
33981 2012-07-27  Gary Benson  <gbenson@redhat.com>
33982
33983         [BZ #14298]
33984         * elf/rtld.c: Include <stap-probe.h>.
33985         (dl_main): Added static probes "init_start" and "init_complete".
33986         * elf/dl-load.c: Include <stap-probe.h>.
33987         (lose): Take new parameter "nsid".
33988         Added static probe "map_failed".
33989         (_dl_map_object_from_fd): Pass namespace id to lose.
33990         Added static probe "map_start".
33991         (open_verify): Pass namespace id to lose.
33992         * elf/dl-open.c: Include <stap-probe.h>.
33993         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33994         and "reloc_complete".
33995         * elf/dl-close.c: Include <stap-probe.h>.
33996         (_dl_close_worker): Added static probes "unmap_start" and
33997         "unmap_complete".
33998         * elf/rtld-debugger-interface.txt: New file documenting the above.
33999
34000 2012-07-26  Roland McGrath  <roland@hack.frob.com>
34001
34002         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34003         rather than a string variable.
34004         * sunrpc/rpc_main.c (h_output): Likewise.
34005         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34006
34007 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
34008
34009         * inet/check_native.c: New file.
34010
34011 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
34012
34013         [BZ #13629]
34014         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34015         if larger part has absolute value 1.0.
34016         * math/s_clog10.c (__clog10): Likewise.
34017         * math/s_clog10f.c (__clog10f): Likewise.
34018         * math/s_clog10l.c (__clog10l): Likewise.
34019         * math/s_clogf.c (__clogf): Likewise.
34020         * math/s_clogl.c (__clogl): Likewise.
34021         * math/libm-test.inc (clog_test): Add more tests.
34022         (clog10_test): Likewise.
34023         * sysdeps/i386/fpu/libm-test-ulps: Update.
34024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34025
34026         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34027         (pltexit): Likewise.
34028         (La_regs): Likewise.
34029         (La_retval): Likewise.
34030         (int_retval): Likewise.
34031         Update #error for removed macros to refer only to definitions in
34032         tst-audit.h.
34033         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34034         macro.
34035         (pltexit): Likewise.
34036         (La_regs): Likewise.
34037         (La_retval): Likewise.
34038         (int_retval): Likewise.
34039         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34040         macro.
34041         (pltexit): Likewise.
34042         (La_regs): Likewise.
34043         (La_retval): Likewise.
34044         (int_retval): Likewise.
34045         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34046         macro.
34047         (pltexit): Likewise.
34048         (La_regs): Likewise.
34049         (La_retval): Likewise.
34050         (int_retval): Likewise.
34051         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34052         macro.
34053         (pltexit): Likewise.
34054         (La_regs): Likewise.
34055         (La_retval): Likewise.
34056         (int_retval): Likewise.
34057         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34058         macro.
34059         (pltexit): Likewise.
34060         (La_regs): Likewise.
34061         (La_retval): Likewise.
34062         (int_retval): Likewise.
34063         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34064         macro.
34065         (pltexit): Likewise.
34066         (La_regs): Likewise.
34067         (La_retval): Likewise.
34068         (int_retval): Likewise.
34069         * sysdeps/generic/tst-audit.h: Update comment to refer only to
34070         macro definitions in tst-audit.h.
34071         * sysdeps/i386/tst-audit.h: New file.
34072         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34073         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34074         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34075         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34076         * sysdeps/sh/tst-audit.h: Likewise.
34077         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34078         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34079         * sysdeps/x86_64/tst-audit.h: Likewise.
34080
34081 2012-07-26  Andreas Jaeger  <aj@suse.de>
34082
34083         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34084         ptrace.
34085
34086         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34087         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34088         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34089         PTRACE_O_MASK.
34090         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34091         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34092         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34093
34094         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34095         value.
34096
34097         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34098         _sigsys.
34099         (si_call_addr, si_syscall, si_arch): Define new macro.
34100         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34101         _sigsys.
34102         (si_call_addr, si_syscall, si_arch): Define new marcro.
34103         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34104         _sigsys.
34105         (si_call_addr, si_syscall, si_arch): Define new macro.
34106         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34107         _sigsys.
34108         (si_call_addr, si_syscall, si_arch): Define new macro.
34109
34110 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34111
34112         [BZ #13717]
34113         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34114         Change to 2.4.21 where previously 2.4.1.
34115         * sysdeps/unix/sysv/linux/configure: Regenerated.
34116         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34117         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34118         Linux kernel version.
34119         (__ASSUME_STD_AUXV): Remove.
34120         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34121         kernel version.
34122         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34123         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34124         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34125         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34126         (__ASSUME_NETLINK_SUPPORT): Likewise.
34127         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34128         (__no_netlink_support): Remove conditional definition.
34129         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34130         Remove.
34131         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34132         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34133         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34134         (if_nameindex_ioctl): Remove.
34135         (if_nameindex_netlink): Do not handle __no_netlink_support.
34136         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34137         code.
34138         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34139         Remove conditional code.
34140         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34141         code.
34142         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34143         unconditional.
34144         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34145         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34146         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34147         Remove.
34148         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34149         [!__ASSUME_STD_AUXV]: Remove conditional code.
34150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34151         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34152         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34154         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34155         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34156         code.
34157         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34159         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34160         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34161         conditional code.
34162         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34164         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34165         code.
34166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34167         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34168         conditional code.
34169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34170         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34171         code unconditional.
34172         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34173         conditional code.
34174         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34175         unconditional.
34176         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34177         conditional code.
34178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34179         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34180         unconditional.
34181         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34182         conditional code.
34183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34184         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34185         code unconditional.
34186         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34187         conditional code.
34188         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34189         unconditional.
34190         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34191         conditional code.
34192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34193         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34194         code unconditional.
34195         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34196         conditional code.
34197         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34198         unconditional.
34199         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34200         conditional code.
34201
34202 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
34203
34204         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34205         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34206         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34207         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34208         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34209         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34210         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34211         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34212         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34213         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34214         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34215         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34216         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34217         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34218         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34219         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34220         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34221         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34222         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34223         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34224         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34225         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34226         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34227
34228 2012-07-25  Florian Weimer  <fweimer@redhat.com>
34229
34230         * Versions.def: Add GLIBC_2.17.
34231         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34232         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34233         Introduce __libc_secure_getenv.
34234         * stdlib/Versions (2.17): Add secure_getenv
34235         (GLIBC_PRIVATE): Add __libc_secure_getenv.
34236         * stdlib/secure-getenv.c: Rename __secure_getenv to
34237         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
34238         symbol __secure_getenv for GLIBC_2.0.
34239         * stdlib/tst-secure-getenv.c: New.
34240         * stdlib/Makefile (tests): Add testcase.
34241         * manual/startup.texi (Environment Access): Document
34242         secure_getenv.
34243         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34244         __libc_secure_getenv.
34245         * inet/ruserpass.c (ruserpass): Likewise.
34246         * malloc/mtrace.c (mtrace): Likewise.
34247         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34248         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34249         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34250         * sysdeps/posix/tempname.c: Likewise.  Evaluate
34251         HAVE_SECURE_GETENV.
34252         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34253         __secure_getenv to __libc_secure_getenv.
34254         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34256         Likewise.
34257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34258         Likewise.
34259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34261         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34266
34267 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34268
34269         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34270         (struct La_i86_retval): Likewise.
34271         (struct La_x86_64_regs): Likewise.
34272         (struct La_x86_64_retval): Likewise.
34273         (struct La_x32_regs): Likewise.
34274         (struct La_x32_retval): Likewise.
34275         (struct La_ppc32_regs): Likewise.
34276         (struct La_ppc32_retval): Likewise.
34277         (struct La_ppc64_regs): Likewise.
34278         (struct La_ppc64_retval): Likewise.
34279         (struct La_sh_regs): Likewise.
34280         (struct La_sh_retval): Likewise.
34281         (struct La_s390_32_regs): Likewise.
34282         (struct La_s390_32_retval): Likewise.
34283         (struct La_s390_64_regs): Likewise.
34284         (struct La_s390_64_retval): Likewise.
34285         (struct La_sparc32_regs): Likewise.
34286         (struct La_sparc32_retval): Likewise.
34287         (struct La_sparc64_regs): Likewise.
34288         (struct La_sparc64_retval): Likewise.
34289         (struct audit_ifaces): Remove architecture-specific pltenter and
34290         pltexit members.
34291         * sysdeps/i386/ldsodefs.h: New file.
34292         * sysdeps/powerpc/ldsodefs.h: Likewise.
34293         * sysdeps/s390/ldsodefs.h: Likewise.
34294         * sysdeps/sh/ldsodefs.h: Likewise.
34295         * sysdeps/sparc/ldsodefs.h: Likewise.
34296         * sysdeps/x86_64/ldsodefs.h: Likewise.
34297
34298 2012-07-25  Marek Polacek  <polacek@redhat.com>
34299
34300         [BZ #6808]
34301         * math/libm-test.inc (yn_test): Add another test.
34302         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34303         to ERANGE when the result is +-Inf.
34304         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34305         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34306         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34307         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34308
34309 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
34310
34311         * conform/data/time.h-data (NULL): Use macro-constant.  Require
34312         equal to 0.
34313         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
34314         clock_t.
34315         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
34316
34317 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
34318
34319         * configure.in <sysdeps resolving>: Correct printing
34320         Implies_before.
34321         * configure: Regenerate.
34322
34323 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
34324
34325         * math/w_ilogb.c: Include <limits.h>.
34326         * math/w_ilogbl.c: Likewise.
34327
34328 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34329
34330         * manual/lang.texi (__va_copy): Document primarily as ISO C99
34331         va_copy.  Document allowing for unavailable va_copy only as
34332         pre-C99 compatibility.
34333         * manual/string.texi (Copying and Concatenation): Use va_copy
34334         instead of __va_copy in concat example.
34335
34336 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
34337
34338         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34339         (__sendto): Use create_address_port.  Initialize APORT and deallocate
34340         it if not null.
34341
34342         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34343         with O_NOLINK passed to __file_name_lookup.
34344
34345         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34346         with O_NOLINK passed to __file_name_lookup.
34347
34348         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34349         negative N or less than NGIDS.
34350
34351         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34352         type to string_t.  Set ERANGE as errno and return it if NAME is not big
34353         enough.  Use memcpy instead of strncpy.
34354
34355 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34356
34357         * elf/Makefile (check-data): Remove.
34358         (localplt.data): New vpath directive.
34359         ($(objpfx)check-localplt.out): Use localplt.data from vpath
34360         instead of $(check-data).
34361         * scripts/data/localplt-generic.data: Move to ...
34362         * sysdeps/generic/localplt.data: ... here.
34363         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34364         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34365         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34367         ... here.
34368         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34370         ... here.
34371         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34373         ... here.
34374         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34376         ... here.
34377         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34379         ... here.
34380         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34382         ... here.
34383
34384 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34385
34386         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34387         PPC32 and PPC64 files.
34388         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34389         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34390
34391 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34392
34393         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34394         __makecontext_ret to ...
34395         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34396         ... here and call exit if uc_link is NULL.  New file.
34397         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34398         __makecontext_ret.S.
34399         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34400         __makecontext_ret to ...
34401         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34402         ... here and call exit if uc_link is NULL.  New file.
34403         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34404         __makecontext_ret.S.
34405
34406 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34407
34408         * elf/elf.h (R_390_IRELATIVE): New definition.
34409         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34410         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
34411         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34412         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34413         (elf_machine_lazy_rel): Likewise.
34414         * sysdeps/s390/dl-irel.h: New file.
34415         * sysdeps/s390/s390-64/memcpy.S: New asm code.
34416         * sysdeps/s390/s390-64/memset.S: New asm code.
34417         * sysdeps/s390/s390-64/memcmp.S: New asm code.
34418         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34419         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34420         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34421         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34422         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34423         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34424         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34425         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34426         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34427         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34428         * sysdeps/s390/s390-32/memcpy.S: New asm code.
34429         * sysdeps/s390/s390-32/memset.S: New asm code.
34430         * sysdeps/s390/s390-32/memcmp.S: New asm code.
34431
34432 2012-07-17  Marek Polacek  <polacek@redhat.com>
34433
34434         [BZ #14349]
34435         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34436         * sysdeps/s390/s390-64/configure.in: Likewise.
34437         * sysdeps/sparc/configure.in: Likewise.
34438         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34439         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34440         * sysdeps/i386/configure.in: Likewise.
34441         * sysdeps/x86_64/configure.in: Likewise.
34442         * sysdeps/sh/configure.in: Likewise.
34443         * sysdeps/s390/s390-32/configure: Regenerated.
34444         * sysdeps/s390/s390-64/configure: Likewise.
34445         * sysdeps/x86_64/configure: Likewise.
34446         * sysdeps/sh/configure: Likewise.
34447         * sysdeps/powerpc/powerpc64/configure: Likewise.
34448         * sysdeps/powerpc/powerpc32/configure: Likewise.
34449         * sysdeps/sparc/configure: Likwise.
34450         * sysdeps/i386/configure: Likewise.
34451
34452         * elf/dl-open.c: Comment fixes.
34453
34454 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
34455
34456         * Makefile [CXX] (check-data): Remove.
34457         [CXX] (c++-types.data): New vpath directive.
34458         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34459         vpath.  Do not allow for C++ type data being missing.
34460         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34461         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34462         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34463         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34464         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34465         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34466         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34468         ... here.
34469         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34471         ... here.
34472         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34474         ... here.
34475         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34477         ... here.
34478         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34480         ... here.
34481         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34483         ... here.
34484         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34486         ... here.
34487         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34489
34490         * elf/tls-macros.h (TLS_LE): Move architecture-specific
34491         definitions to architecture-specific files.
34492         (TLS_IE): Likewise.
34493         (TLS_LD): Likewise.
34494         (TLS_GD): Likewise.
34495         * sysdeps/i386/tls-macros.h: New file.
34496         * sysdeps/powerpc/tls-macros.h: Likewise.
34497         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34498         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34499         * sysdeps/sh/tls-macros.h: Likewise.
34500         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34501         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34502         * sysdeps/x86_64/tls-macros.h: Likewise.
34503
34504 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34505
34506         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34507         zero value for regular exit case.
34508
34509         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34510         (__start_context): Preserve zero value for regular exit case.
34511
34512 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34513             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34514
34515         * manual/setjmp.texi (setcontext): Clarify normal process
34516         termination when uc_link is the null pointer.
34517         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34518         exit call.
34519
34520 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
34521
34522         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34523         preprocessor.  Test for each exception mask separately.
34524
34525 2012-07-16  Andreas Jaeger  <aj@suse.de>
34526
34527         * po/ru.po: Update from translation team.
34528
34529 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
34530
34531         * conform/data/string.h-data (NULL): Use macro-constant.  Require
34532         equal to 0.
34533         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34534         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34535         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34536         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34537         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34538
34539 2012-07-13  Andreas Jaeger  <aj@suse.de>
34540
34541         * po/fr.po: Update from translation team.
34542
34543 2012-07-12  Marek Polacek  <polacek@redhat.com>
34544
34545         [BZ #14173]
34546         * math/libm-test.inc (yn_test): Add test for BZ #14173.
34547         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34548         loop condition.
34549
34550 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
34551
34552         [BZ #13717]
34553         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34554         Change to 2.4.1 where previously 2.4.0.
34555         * sysdeps/unix/sysv/linux/configure: Regenerated.
34556         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34557         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34558         version.
34559         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34560         (__ASSUME_AT_CLKTCK): Remove.
34561         (__ASSUME_AT_PAGESIZE): Likewise.
34562         (__ASSUME_AT_XID): Likewise.
34563         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34564         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34565         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34566         unconditionally.
34567         (HAVE_AUX_PAGESIZE): Likewise.
34568         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34569         [__ASSUME_AT_CLKTCK]: Make code unconditional.
34570         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34571
34572 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
34573
34574         [BZ #14307]
34575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34576         the temporary buffer used to invoke __gethostbyname2_r,
34577         __gethostbyaddr_r and gethostbyname4_r to make room for struct
34578         host_data / struct gaih_addrtuple.
34579         * resolv/nss_dns/dns-host.c (global scope): Move definition of
34580         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34581         header file nss/nsswitch.h.
34582         * nss/nsswitch.h (global scope): Add definition of implementation
34583         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34584         resolv/nss_dns/dns-host.c).
34585
34586 2012-07-11  Andreas Jaeger  <aj@suse.de>
34587
34588         * po/fr.po: Update from translation team.
34589
34590         * po/sv.po: Update from translation team
34591         * po/fr.po: Another update from translation team.
34592
34593 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34594
34595         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34596         for subnormals or multiply small sinh result by itself.
34597         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34599
34600 2012-07-11  David S. Miller  <davem@davemloft.net>
34601
34602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34603
34604 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
34605
34606         [BZ #14347]
34607         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34608         (INTERNAL_MARK): Shift it here.
34609
34610 2012-07-10  Marek Polacek  <polacek@redhat.com>
34611
34612         [BZ #14151]
34613         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
34614         libc_cv_asm_global_directive with .globl.
34615         * configure: Regenerated.
34616         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34617         with .globl.
34618         * sysdeps/i386/configure: Regenerated.
34619         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34620         with .globl.
34621         * sysdeps/x86_64/configure: Regenerated.
34622         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34623         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34624         * elf/tst-unique2mod2.c: Likewise.
34625         * elf/tst-unique2mod1.c: Likewise.
34626         * elf/tst-unique1mod2.c: Likewise.
34627         * elf/tst-unique1mod1.c: Likewise.
34628         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34629         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34630         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34631         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34632         * sysdeps/mach/sysdep.h: Likewise.
34633         * sysdeps/i386/sysdep.h: Likewise.
34634         * sysdeps/i386/i386-mcount.S: Likewise.
34635         * sysdeps/x86_64/_mcount.S: Likewise.
34636         * sysdeps/x86_64/sysdep.h: Likewise.
34637         * sysdeps/sh/_mcount.S: Likewise.
34638         * sysdeps/sh/sysdep.h: Likewise.
34639         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34640         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34641         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34642         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34643         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34644         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34645         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34646         * locale/localeinfo.h: Likewise.
34647         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34648         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34649
34650 2012-07-09  Roland McGrath  <roland@hack.frob.com>
34651
34652         [BZ #14336]
34653         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34654         system".
34655         * manual/message.texi (The Uniforum approach): Likewise.
34656         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34657         (glibc iconv Implementation): Likewise.
34658
34659 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
34660
34661         [BZ #14337]
34662         * math/s_clog.c (__clog): Avoid scaling a value down where that
34663         could result in underflow.
34664         * math/s_clog10.c (__clog10): Likewise.
34665         * math/s_clog10f.c (__clog10f): Likewise.
34666         * math/s_clog10l.c (__clog10l): Likewise.
34667         * math/s_clogf.c (__clogf): Likewise.
34668         * math/s_clogl.c (__clogl): Likewise.
34669         * math/libm-test.inc (clog_test): Add more tests.
34670         (clog10_test): Likewise.
34671         * sysdeps/i386/fpu/libm-test-ulps: Update.
34672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34673
34674 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
34675
34676         [BZ #14283]
34677         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34678         by 7 not 8 to examine high bit of fractional part.
34679
34680         [BZ #14042]
34681         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34682         for call to __mcount_internal.
34683         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34684         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34685         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34686
34687 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
34688
34689         [BZ #14154]
34690         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34691         approximation for values within 0x1p-13f of an odd multiple of
34692         pi/4.
34693         * math/libm-test.inc (tan_test): Do not allow spurious underflow
34694         exception.  Add more tests.
34695         * sysdeps/i386/fpu/libm-test-ulps: Update.
34696
34697         [BZ #6778]
34698         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34699         inputs and return -1 for them.  Do not check for +Inf in case not
34700         reachable for +Inf.
34701         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34702         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34703         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34704         and return -1 for them.  Do not check for +Inf in case not
34705         reachable for +Inf.
34706         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34707         define.
34708         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34709         and return -1 for them.  Do not check for +Inf in case not
34710         reachable for +Inf.
34711         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
34712         spurious underflow.
34713         * sysdeps/i386/fpu/libm-test-ulps: Update.
34714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34715
34716 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
34717
34718         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34719
34720 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
34721
34722         [BZ #14157]
34723         [BZ #14331]
34724         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34725         could result in spurious underflow.  Scale down values above
34726         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34727         * math/s_csqrtf.c (__csqrtf): Likewise.
34728         * math/s_csqrtl.c (__csqrtl): Likewise.
34729         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
34730         spurious underflow.
34731         * sysdeps/i386/fpu/libm-test-ulps: Update.
34732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34733
34734 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
34735
34736         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34737         xopen-msg.sed.
34738         * catgets/xopen-msg.awk: New file.
34739         * catgets/xopen-msg.sed: Removed.
34740
34741         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34742         po2text.sed.
34743         * intl/po2test.awk: New file.
34744         * intl/po2test.sed: Removed.
34745
34746 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
34747
34748         [BZ #14328]
34749         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34750         or multiply small sinh result by itself.
34751         * math/s_ctanf.c (__ctanf): Likewise.
34752         * math/s_ctanh.c (__ctanh): Likewise.
34753         * math/s_ctanhf.c (__ctanhf): Likewise.
34754         * math/s_ctanhl.c (__ctanhl): Likewise.
34755         * math/s_ctanl.c (__ctanl): Likewise.
34756         * math/libm-test.inc (ctan_test_tonearest): New function.
34757         (ctan_test_towardzero): Likewise.
34758         (ctan_test_downward): Likewise.
34759         (ctan_test_upward): Likewise.
34760         (ctanh_test_tonearest): Likewise.
34761         (ctanh_test_towardzero): Likewise.
34762         (ctanh_test_downward): Likewise.
34763         (ctanh_test_upward): Likewise.
34764         (main): Call these new functions.
34765         * sysdeps/i386/fpu/libm-test-ulps: Update.
34766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34767
34768 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
34769
34770         * .gitignore: Delete /ports entry.
34771
34772 2012-07-03  Andreas Jaeger  <aj@suse.de>
34773
34774         * po/bg.po: Update from translation team.
34775         * po/cs.po: Likewise.
34776         * po/de.po: Likewise.
34777         * po/hr.po: Likewise.
34778         * po/nl.pl: Likewise.
34779         * po/pl.po: Likewise.
34780         * po/vi.po: Likewise.
34781
34782 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
34783
34784         * Makeconfig [!+link] (+link-before-libc): New variable.
34785         [!+link] (+link-after-libc): Likewise.
34786         [!+link] (+link-tests): Likewise.
34787         [!+link] (+link): Define in terms of $(+link-before-libc) and
34788         $(+link-after-libc).
34789         [!+link-static] (+link-static-before-libc): New variable.
34790         [!+link-static] (+link-static-after-libc): Likewise.
34791         [!+link-static] (+link-static-tests): Likewise.
34792         [!+link-static] (+link-static): Define in terms of
34793         $(+link-static-before-libc) and $(+link-static-after-libc).
34794         [build-shared] (link-libc-before-gnulib): New variable.
34795         [build-shared] (link-libc-tests): Likewise.
34796         [build-shared] (link-libc): Define in terms of
34797         $(link-libc-before-gnulib).
34798         [!build-shared] (link-libc-tests): New variable.
34799         (link-libc-static-tests): New variable.
34800         [!gnulib] (gnulib-arch): New variable.
34801         [!gnulib] (gnulib-tests): Likewise.
34802         [!gnulib] (static-gnulib-arch): Likewise.
34803         [!gnulib] (static-gnulib-tests): Likewise.
34804         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
34805         Define with "=" instead of ":=".
34806         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
34807         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
34808         * Rules (binaries-all-notests): New variable.
34809         (binaries-all-tests): Likewise.
34810         (binaries-static-notests): Likewise.
34811         (binaries-static-tests): Likewise.
34812         (binaries-all): Define using $(binaries-all-notests) and
34813         $(binaries-all-tests).
34814         (binaries-static): Define using $(binaries-static-notests) and
34815         $(binaries-static-tests).
34816         (binaries-shared-tests): New variable.
34817         (binaries-shared-notests): Likewise.
34818         (binaries-shared): Remove variable.
34819         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34820         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34821         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34822         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34823         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34824         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34825         * elf/Makefile (sln-modules): New variable.
34826         (extra-objs): Add $(sln-modules:=.o).
34827         (ldconfig-modules): Add static-stubs.
34828         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34829         * elf/static-stubs.c: New file.
34830
34831         [BZ #14283]
34832         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34833         by 7 not 8 to examine high bit of fractional part.  Use volatile
34834         variables when splitting into final array of floats if
34835         __FLT_EVAL_METHOD__ != 0.
34836         * math/libm-test.inc (cos_test): Add another test.
34837         (sin_test): Likewise.
34838         * sysdeps/i386/fpu/libm-test-ulps: Update.
34839
34840         [BZ #14273]
34841         * math/libm-test.inc (cosh_test): Add more tests.
34842
34843         * version.h (RELEASE): Set to "development".
34844         (VERSION): Set to "2.16.90".
34845
34846 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
34847
34848         * NEWS: Update copyright. Remove last-updated date.
34849         Mention math library bug fixes and timezone data changes.
34850         * README: Mention GNU/Hurd, x32, and HPPA support status.
34851
34852 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
34853
34854         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34855
34856 2012-06-27  Andreas Jaeger  <aj@suse.de>
34857
34858         * manual/contrib.texi (Contributors): Add Samuel Thibault.
34859
34860 2012-06-25  Andreas Jaeger  <aj@suse.de>
34861
34862         * sysdeps/s390/fpu/libm-test-ulps: Update.
34863
34864 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
34865             Thomas Schwinge  <thomas@codesourcery.com>
34866
34867         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34868         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34869         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34870         fanotify_mark.
34871
34872 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
34873
34874         * sysdeps/mach/start.c: Remove file.
34875         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34876         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34877         * sysdeps/sh/init-first.c: Likewise.
34878
34879         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34880         registers for frame unwinding purposes, add CFI directives.
34881         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34882         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34883         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34884         Likewise.
34885
34886         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34887         __fortify_fail returning.
34888         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34889
34890         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34891         sysdeps/sh/____longjmp_chk.S.
34892         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34893         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34894         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34895         (gen-as-const-headers): Append sigaltstack-offsets.sym.
34896
34897         * sysdeps/sh/abort-instr.h: New file.
34898         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34899         process in case exit returns.
34900
34901         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34902         initialize the GOT register before use.
34903
34904         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34905         calculation of ARGC > 4.
34906
34907         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34908         meaningful names to some local labels.
34909
34910 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34911             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34912
34913         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34914         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34915         (__arch_compare_and_exchange_val_16_acq): Likewise.
34916         (__arch_compare_and_exchange_val_32_acq): Likewise.
34917         (atomic_exchange_and_add): Fix gUSA sequence.
34918         (atomic_add): Likewise.
34919         (atomic_add_negative): Likewise.
34920         (atomic_add_zero): Likewise.
34921         (atomic_bit_test_set): Likewise.
34922
34923 2012-06-22  Andreas Schwab  <schwab@redhat.com>
34924
34925         [BZ #13579]
34926         * include/link.h (struct link_map): Add l_free_initfini.
34927         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34928         l_initfini.
34929         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34930         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34931         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34932         set.
34933
34934 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
34935
34936         * configure.in: Use AC_LANG_SOURCE.
34937         * configure: Regenerate.
34938
34939 2012-06-22  Roland McGrath  <roland@hack.frob.com>
34940
34941         * configure.in (libc_cv_localstatedir): New substituted variable.
34942         * configure: Regenerated.
34943         * config.make.in (localstatedir): New variable, substituted from
34944         libc_cv_localstatedir.
34945         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34946         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34947         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34948         * sysdeps/gnu/configure: Regenerated.
34949
34950 2012-06-21  Jeff Law  <law@redhat.com>
34951
34952         [BZ #14277]
34953         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34954         free.  Simplify list management for _LIBC case.
34955
34956 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
34957
34958         [BZ #14273]
34959         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34960         Clear sign bit of 64-bit integer value before comparing against
34961         overflow value.
34962
34963         * sysdeps/mach/configure: Regenerated.
34964
34965 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
34966
34967         [BZ #14278]
34968         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34969
34970 2012-06-21  Jeff Law  <law@redhat.com>
34971
34972         [BZ #13882]
34973         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
34974         uint16_t for elements in the "seen" array to avoid char overflows.
34975         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34976         * elf/dl-open.c (dl_open_worker): Likewise.
34977
34978 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
34979
34980         * scripts/list-sources.sh: Scan PORTS for translations.
34981         * po/libc.pot: Regenerated.
34982
34983 2012-06-21  Andreas Jaeger  <aj@suse.de>
34984
34985         [BZ #12194]
34986         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34987         warning.
34988         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34989         * bits/byteswap-16.h (__bswap_16): Likewise.
34990         * bits/byteswap.h (__bswap_constant_16): Likewise.
34991
34992 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34993
34994         [BZ #14117]
34995         * sysdeps/i386/fpu_control.h: Removed.
34996         * sysdeps/x86_64/fpu_control.h: Moved to ...
34997         * sysdeps/x86/fpu_control.h: Here.
34998
34999         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35000         (_FPU_SETCW): Likewise.
35001
35002 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
35003
35004         [BZ #14117]
35005         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35006         * sysdeps/x86/fpu/bits/mathinline.h: This.
35007         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35008
35009         [BZ #14050]
35010         [BZ #14117]
35011         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35012         functions if __x86_64__ is defined.
35013
35014 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
35015
35016         * string/endian.h: Add !__ASSEMBLER__ condition for including
35017         conversion interfaces.
35018
35019 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
35020
35021         [BZ #14241]
35022         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35023         of ABS(x) in calculating zero to negative powers other than odd
35024         integers.
35025         * math/libm-test.inc (pow_test): Add more tests.
35026
35027 2012-06-15  Andreas Jaeger  <aj@suse.de>
35028
35029         * manual/contrib.texi (Contributors): Update entry of Liubov
35030         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35031         Machado Filho.
35032
35033 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
35034
35035         * string/string.h: Add __wur to GNU version of strerror_r.
35036
35037 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
35038
35039         [BZ #14229]
35040         * string/Makefile (tests): Add tst-strtok_r.
35041         * string/tst-strtok_r.c: New file.
35042         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35043         RAX_LP/RDX_LP on SAVE_PTR.
35044
35045 2012-06-14  Roland McGrath  <roland@hack.frob.com>
35046
35047         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35048
35049 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
35050
35051         * libm_test.inc (csqrt_test): Allow more spurious underflow
35052         exceptions.
35053         (j0_test): Likewise.
35054         (j1_test): Likewise.
35055         (y0_test): Likewise.
35056         (y1_test): Likewise.
35057
35058 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
35059
35060         * po/Makefile (libc.pot): Use UTF-8 charset.
35061
35062 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
35063
35064         [BZ #14210]
35065         Suppress sign-conversion warning from FD_SET.
35066         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35067         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35068         not unsigned long int.
35069         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35070
35071 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
35072
35073         [BZ #14050]
35074         [BZ #14117]
35075         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35076         __extern_always_inline instead of __extern_inline.
35077         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35078         (__signbit): Likewise.
35079         (__signbitl): Support C++ namespace.
35080         (lrintf): New inline function.
35081         (lrint): Likewise.
35082         (llrintf): Likewise.
35083         (llrint): Likewise.
35084         (fmaxf): Likewise.
35085         (fmax): Likewise.
35086         (fminf): Likewise.
35087         (fmin): Likewise.
35088         (rint): Likewise.
35089         (rintf): Likewise.
35090         (ceil): Likewise.
35091         (ceilf): Likewise.
35092         (floor): Likewise.
35093         (floorf): Likewise.
35094         (nearbyint): Likewise.
35095         (nearbyintf): Likewise.
35096
35097 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
35098
35099         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35100         non-default versions.
35101
35102 2012-06-11  Roland McGrath  <roland@hack.frob.com>
35103
35104         [BZ #14218]
35105         * manual/argp.texi (Argp): Reword argp_parse description slightly.
35106
35107 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
35108
35109         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35110         (FE_UPWARD, FE_DOWNWARD): Don't define.
35111         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35112         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35113
35114         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35115         reading it.
35116         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35117         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35118
35119 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35120
35121         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35122         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35123         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35124         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35125
35126 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
35127
35128         [BZ #14117]
35129         * sysdeps/i386/fpu/bits/fenv.h: Removed.
35130         * sysdeps/i386/fpu/Implies: New file.
35131         * sysdeps/x86_64/fpu/Implies: Likewise.
35132         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35133         * sysdeps/x86/fpu/bits/fenv.h: This.
35134
35135         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35136         __SSE_MATH__.
35137
35138 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35139
35140         [BZ #14134]
35141         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35142         character 0xffff that matches the last element of the
35143         conversion table.
35144
35145 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35146
35147         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35148         fmodl commit.
35149
35150 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35151
35152         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35153         values higher than 25.6283.
35154
35155 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35156
35157         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35158         subnormal exponent extraction and add some __builtin_expect.
35159         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35160         Fix for subnormal mantissa calculation.
35161
35162 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
35163
35164         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35165         cpu2 is -1 and errno is not ENOSYS.
35166
35167 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
35168
35169         [BZ #14117]
35170         * sysdeps/i386/i486/bits/string.h: Renamed to ...
35171         * sysdeps/x86/bits/string.h: This.
35172         * sysdeps/x86_64/bits/string.h: Removed.
35173
35174         * sysdeps/i386/i486/bits/string.h: Define inline functions only
35175         if not compiling for x86-64, but compiling for >= i486.
35176
35177         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35178         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35179
35180         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35181         New macro from Linux kernel 3.4.0.
35182         (FP_XSTATE_MAGIC2): Likewise.
35183         (FP_XSTATE_MAGIC2_SIZE): Likewise.
35184         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35185         (struct _fpx_sw_bytes): New struct.
35186         (struct _xsave_hdr): Likewise.
35187         (struct _ymmh_state): Likewise.
35188         (struct _xstate): Likewise.
35189
35190         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35191         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35192         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35193         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35194         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35195         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35196
35197         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35198         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35199         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35200         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35201         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35202         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35203
35204 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35205
35206         [BZ #13743]
35207         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35208         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35209         (sysdep_headers): Include sys/platform/ppc.h.
35210         * sysdeps/powerpc/test-gettimebase.c: Test for
35211         __ppc_get_timebase() to catch future ISA opcode/insn changes.
35212         * manual/Makefile (appendices): Include platform.texi.
35213         * manual/contrib.texi (Contributors): Update @node pointers.
35214         * manual/maint.texi (Maintenance): Likewise.
35215         (Platform): New node.
35216         * manual/platform.texi: New file.  Document the new features.
35217
35218 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35219             Jakub Jelinek  <jakub@redhat.com>
35220
35221         [BZ #14188]
35222         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35223         where __builtin_expect is unavailable.
35224
35225 2012-06-03  David S. Miller  <davem@davemloft.net>
35226
35227         * stdlib/longlong.h: Updated from GCC.
35228
35229 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
35230
35231         [BZ #14042]
35232         * sysdeps/powerpc/powerpc32/mcount.c: New file.
35233         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35234         __mcount_internal.
35235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35236         (GLIBC_2.16): Likewise.
35237
35238 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35239
35240         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35241
35242 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35243
35244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35245         (default-abi): New variable.
35246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35247         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35248         variable.
35249         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35250         Likewise.
35251         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35252         Likewise.
35253         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35254         Likewise.
35255
35256         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35257         definition.  Document in comment.
35258
35259 2012-06-01  David S. Miller  <davem@davemloft.net>
35260
35261         * stdlib/longlong.h: Updated from GCC.
35262
35263 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35264
35265         [BZ #14117]
35266         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35267         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35268         sys/debugreg.h sys/io.h here.
35269         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35270         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35271         sys/io.h.
35272         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35273         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35274         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35275         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35276         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35277         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35278
35279         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35280         Define only if __x86_64__ is defined.
35281
35282 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35283
35284         [BZ #14048]
35285         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35286         Use int64_t for variable i.
35287         * math/libm-test.inc (fmod_test): Add more tests.
35288
35289         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35290         z computation is not scheduled after fetestexcept.
35291         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35292         Use math_force_eval instead of asm to ensure calculation scheduled
35293         before exception test.
35294         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35295         Ensure a1 + u.d computation is not scheduled after fetestexcept.
35296
35297 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
35298
35299         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35300         computation is not scheduled after fetestexcept.
35301
35302 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35303
35304         [BZ #14117]
35305         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35306         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35307
35308 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35309
35310         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35311         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35312
35313 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35314
35315         [BZ #14117]
35316         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35317         <bits/wordsize.h>.
35318         (__WCHAR_MIN): Support __WORDSIZE == 64.
35319         (__WCHAR_MAX): Likewise.
35320
35321         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35322         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35323
35324         [BZ #14183]
35325         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35326         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35327
35328         [BZ #14117]
35329         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35330         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35331
35332         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35333         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35334
35335         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35336         Defined to 1 if __x86_64__ isn't defined.
35337         (_STAT_VER_LINUX_OLD): New.
35338         (st_atime): Remove duplicate.
35339         (st_mtime): Likewise.
35340         (st_ctime): Likewise.
35341
35342 2012-05-31  David S. Miller  <davem@davemloft.net>
35343
35344         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35345         entries.
35346
35347 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
35348
35349         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35350         gen-libm-test.pl.
35351
35352         [BZ #14132]
35353         * elf/dl-reloc.c: Include <_itoa.h>.
35354         (_dl_reloc_bad_type): Remove use of INTUSE.
35355         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35356         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35357         * stdio-common/psiginfo.c (psiginfo): Likewise.
35358         * stdio-common/psignal.c (psignal): Likewise.
35359         * string/strsignal.c (strsignal): Likewise.
35360         * include/signal.h (_sys_siglist): Declare hidden proto.
35361         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
35362         INTVARDEF with libc_hidden_data_def.
35363         * stdio-common/itoa-udigits.c: Likewise.
35364         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35365         (_itoa_lower_digits_internal): Remove declaration.
35366         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35367         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35368         (_sys_sigabbrev_internal): Remove aliases.
35369         (_sys_siglist): Define hidden alias.
35370
35371 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
35372
35373         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35374         bits/sysctl.h.
35375
35376 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35377
35378         [BZ #14117]
35379         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35380         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35381
35382         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35383         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35384         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35385         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35386         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35387         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35388
35389         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35390         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35391         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35392
35393         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35394         with __addr.
35395         (insw): Likewise.
35396         (insl): Likewise.
35397         (outsb): Likewise.
35398         (outsw): Likewise.
35399         (outsl): Likewise.
35400
35401         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35402         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35403         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35404
35405         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35406         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35407         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35408         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35409         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35410         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35411
35412         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35413         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35414
35415         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35416         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35417
35418         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35419         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35420         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35421
35422         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35423         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35424         to ...
35425         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35426
35427         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35428         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35429         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35430
35431         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35432         for x86-64.
35433         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35434
35435 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
35436
35437         * math/math.h (M_El): Use two more decimal places.
35438         (M_LOG2El): Likewise.
35439         (M_LOG10El): Likewise.
35440         (M_LN2l): Likewise.
35441         (M_LN10l): Likewise.
35442         (M_PIl): Likewise.
35443         (M_PI_2l): Likewise.
35444         (M_PI_4l): Likewise.
35445         (M_1_PIl): Likewise.
35446         (M_2_PIl): Likewise.
35447         (M_2_SQRTPIl): Likewise.
35448         (M_SQRT2l): Likewise.
35449         (M_SQRT1_2l): Likewise.
35450
35451 2012-05-31  David S. Miller  <davem@davemloft.net>
35452
35453         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35454         values between float registers.
35455         * sysdeps/sparc/sparc64/memset.S: Likewise.
35456         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35457
35458 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
35459
35460         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35461         -D_FORTIFY_SOURCE=1.
35462         (CPPFLAGS-tst-longjmp_chk.c): Define.
35463         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35464         (CPPFLAGS-tst-longjmp_chk2.c): Define.
35465         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35466         CFLAGS-tst-wchar-h.c.
35467
35468 2012-05-31  Marek Polacek  <polacek@redhat.com>
35469
35470         [BZ #14132]
35471         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35472         __endmntent_internal): Remove declaration.
35473         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35474         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35475         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35476
35477 2012-05-30  David S. Miller  <davem@davemloft.net>
35478
35479         * sysdeps/sparc/sparc32/soft-fp/q_util.c
35480         (___Q_simulate_exceptions): Use real FP ops rather than writing
35481         into the %fsr.
35482         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35483         Likewise.
35484
35485 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35486
35487         [BZ #14117]
35488         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35489         * sysdeps/x86/bits/xtitypes.h: This.
35490
35491         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35492         * sysdeps/x86/bits/wordsize.h: This.
35493
35494         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35495         * sysdeps/x86/bits/huge_vall.h: This.
35496
35497         * sysdeps/i386/bits/select.h: Removed.
35498         * sysdeps/x86_64/bits/select.h: Renamed to ...
35499         * sysdeps/x86/bits/select.h: This.
35500
35501         * sysdeps/i386/bits/setjmp.h: Removed.
35502         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35503         * sysdeps/x86/bits/setjmp.h: This.
35504
35505         * sysdeps/i386/bits/mathdef.h: Removed.
35506         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35507         * sysdeps/x86/bits/mathdef.h: This.
35508
35509 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
35510
35511         [BZ #14132]
35512         * include/sys/socket.h (__connect_internal)
35513         (__libc_sa_len_internal): Remove declaration.
35514         (__connect, __libc_sa_len): Declare hidden_proto.
35515         (SA_LEN): Remove use of INTUSE.
35516         * socket/connect.c: Add libc_hidden_def.
35517         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35518         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35519         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35520         alias.
35521         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35522         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35523         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35524         of adding _internal alias.
35525
35526 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35527
35528         [BZ #14117]
35529         * sysdeps/i386/bits/link.h: Removed.
35530         * sysdeps/i386/bits/linkmap.h: Likewise.
35531         * sysdeps/x86_64/bits/link.h: Renamed to ...
35532         * sysdeps/x86/bits/link.h: This.
35533         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35534         * sysdeps/x86/bits/linkmap.h: This.
35535
35536         * sysdeps/i386/bits/endian.h: Removed.
35537         * sysdeps/x86_64/bits/endian.h: Renamed to ...
35538         * sysdeps/x86/bits/endian.h: This.
35539
35540         * sysdeps/i386/bits/byteswap.h: Removed.
35541         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35542         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35543         * sysdeps/x86/bits/byteswap.h: This.
35544         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35545         * sysdeps/x86/bits/byteswap-16.h: This.
35546         * sysdeps/i386/Implies: Add x86.
35547         * sysdeps/x86_64/Implies: Likewise.
35548
35549 2012-05-30  David S. Miller  <davem@davemloft.net>
35550
35551         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35552         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35553         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35554         (FP_TRAPPING_EXCEPTIONS): Define.
35555         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35556         (FP_TRAPPING_EXCEPTIONS): Define.
35557         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35558         subnormals only when inexact has been signalled or underflow
35559         exceptions are enabled.
35560         (_FP_PACK_CANONICAL): Likewise.
35561
35562 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35563
35564         [BZ #14183]
35565         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35566         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35567
35568 2012-05-30  Richard Henderson  <rth@twiddle.net>
35569
35570         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35571         with #ifndef NOT_IN_libc.
35572
35573         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
35574         marked to avoid plt entry.
35575
35576 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35577
35578         [BZ #14112]
35579         * Makeconfig (default-abi): New macro.
35580         (abi-includes): Likewise.
35581         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
35582         $(abi-$(default-abi)-lib-soname) for soname if defined.
35583         ($(common-objpfx)gnu/lib-names.stmp): Generate from
35584         abi-variants.
35585         * Makefile (installed-stubs): Likewise.
35586         * include/stubs-biarch.h: Removed.
35587         * scripts/lib-names.awk: Only handle one library at a time.
35588         * scripts/soversions.awk: Remove WORDSIZE support.
35589         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35590         entries.
35591         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35592         Removed.
35593         (syscall-list-default-condition): Likewise.
35594         (syscall-list-default-condition): Likewise.
35595         (syscall-list-includes): Likewise.
35596         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35597         syscall-list-* with abi-*.  Handle undefined abi-variants.
35598         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35599         * sysdeps/unix/sysv/linux/i386/Implies: New file.
35600         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35601         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35602         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35603         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35604         Removed.
35605         (syscall-list-32-options): Likewise.
35606         (syscall-list-32-condition): Likewise.
35607         (syscall-list-64-options): Likewise.
35608         (syscall-list-64-condition): Likewise.
35609         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35610         macro.
35611         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35612         Renamed to ...
35613         (abi-*): This.
35614         (abi-64-ld-soname): New macro.
35615         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35616         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35617         Renamed to ...
35618         (abi-*): This.
35619         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35620         * sysdeps/x86_64/x32/shlib-versions: Likewise.
35621
35622 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
35623
35624         * sysdeps/unix/sysv/linux/kernel-features.h
35625         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35626         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35627         include <kernel-features.h>.
35628         [!__NR_ftruncate64]: Remove conditional code.
35629         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35630         [__NR_ftruncate64]: Make code unconditional.
35631         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35632         * sysdeps/unix/sysv/linux/truncate64.c: Do not
35633         include <kernel-features.h>.
35634         [!__NR_ftruncate64]: Remove conditional code.
35635         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35636         [__NR_ftruncate64]: Make code unconditional.
35637         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35639         include <kernel-features.h>.
35640         [!__NR_ftruncate64]: Remove conditional code.
35641         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35642         [__NR_ftruncate64]: Make code unconditional.
35643         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35645         include <kernel-features.h>.
35646         [!__NR_ftruncate64]: Remove conditional code.
35647         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35648         [__NR_ftruncate64]: Make code unconditional.
35649         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35650
35651         * configure.in (libc_cv_fpie): Weaken to a compile test using
35652         LIBC_TRY_CC_OPTION.
35653         * configure: Regenerated.
35654
35655 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35656
35657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35661         Refreshed.
35662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35668         Refreshed.
35669
35670 2012-05-27  David S. Miller  <davem@davemloft.net>
35671
35672         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35673         (___Q_zero): New.
35674         (__Q_simulate_exceptions): Return void.  Change to simulate
35675         exceptions by writing into the %fsr.
35676         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35677         (__Qp_handle_exceptions): Likewise.
35678         (numbers): Delete.
35679         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35680         __Qp_handle_exceptions.
35681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35682         __Qp_handle_exceptions.
35683         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35684         as unused and give dummy FP_RND_NEAREST initializer.
35685         (FP_INHIBIT_RESULTS): Define.
35686         (___Q_simulate_exceptions): Update declaration.
35687         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35688         formatting.
35689         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35690         as unused and give dummy FP_RND_NEAREST initializer.
35691         (__Qp_handle_exceptions): Update declaration.
35692         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35693         formatting.
35694
35695 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
35696
35697         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35698         the temporary FPU control word.
35699         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35700         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35701         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35702         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35703         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35704         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35705         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35706         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35707         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35708         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35709         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35710
35711 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35712
35713         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35714         fields.
35715
35716 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
35717
35718         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35719         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35720         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35721         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35722         Likewise.
35723         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35724         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35725         Likewise.
35726
35727 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
35728
35729         * po/h.po: Update from translation team.
35730
35731 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
35732
35733         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35734
35735         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35736         handling of denormals.
35737         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35738         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35739         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35740         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35741         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35742         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35743         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35744         Likewise.
35745
35746 2012-05-26  Marek Polacek  <polacek@redhat.com>
35747
35748         [BZ #14152]
35749         * math/libm-test.inc (fma_test): Don't always expect underflow
35750         exception.
35751
35752 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35753
35754         [BZ #12416]
35755         * elf/tst-execstack.c: Include stackinfo.h.
35756         (do_test): Adjust test case to ensure that pthread_getattr_np
35757         behaviour remains the same after marking stack executable.
35758
35759 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
35760
35761         * sysdeps/unix/sysv/linux/kernel-features.h
35762         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35763         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35764         kernel-features.h.
35765         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35766         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35767         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35768         kernel-features.h.
35769         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35770         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35771
35772 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
35773
35774         * configure.in: Define the default includes to being none.
35775         * configure: Regenerated.
35776
35777 2012-05-25  Roland McGrath  <roland@hack.frob.com>
35778
35779         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35780         * sysdeps/x86_64/setjmp.S: Likewise.
35781         * sysdeps/i386/bsd-setjmp.S: Likewise.
35782         * sysdeps/i386/bsd-_setjmp.S: Likewise.
35783         * sysdeps/i386/setjmp.S: Likewise.
35784         * sysdeps/i386/__longjmp.S: Likewise.
35785         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35786         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35787
35788         * include/stap-probe.h: New file.
35789         * configure.in: Handle --enable-systemtap.
35790         * configure: Regenerated.
35791         * config.h.in (USE_STAP_PROBE): New #undef.
35792         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35793         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35794         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35795
35796 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
35797
35798         [BZ #13717]
35799         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35800         to 2.4.0 where earlier.
35801         * sysdeps/unix/sysv/linux/configure: Regenerated.
35802         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35803         <kernel-features.h>.
35804         [__ASSUME_32BITUIDS]: Make code unconditional.
35805         [!__ASSUME_32BITUIDS]: Remove conditional code.
35806         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35807         <kernel-features.h>.
35808         [__ASSUME_32BITUIDS]: Make code unconditional.
35809         [!__ASSUME_32BITUIDS]: Remove conditional code.
35810         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35811         [__ASSUME_32BITUIDS]: Make code unconditional.
35812         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35813         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35814         <kernel-features.h>.
35815         [__ASSUME_32BITUIDS]: Make code unconditional.
35816         [!__ASSUME_32BITUIDS]: Remove conditional code.
35817         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35818         <kernel-features.h>.
35819         [__ASSUME_32BITUIDS]: Make code unconditional.
35820         [!__ASSUME_32BITUIDS]: Remove conditional code.
35821         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35822         <kernel-features.h>.
35823         [__ASSUME_32BITUIDS]: Make code unconditional.
35824         [!__ASSUME_32BITUIDS]: Remove conditional code.
35825         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35826         <kernel-features.h>.
35827         [__ASSUME_32BITUIDS]: Make code unconditional.
35828         [!__ASSUME_32BITUIDS]: Remove conditional code.
35829         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35830         <kernel-features.h>.
35831         [__ASSUME_32BITUIDS]: Make code unconditional.
35832         [!__ASSUME_32BITUIDS]: Remove conditional code.
35833         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35834         <kernel-features.h>.
35835         [__ASSUME_32BITUIDS]: Make code unconditional.
35836         [!__ASSUME_32BITUIDS]: Remove conditional code.
35837         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35838         <kernel-features.h>.
35839         [__ASSUME_32BITUIDS]: Make code unconditional.
35840         [!__ASSUME_32BITUIDS]: Remove conditional code.
35841         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35842         <kernel-features.h>.
35843         [__ASSUME_32BITUIDS]: Make code unconditional.
35844         [!__ASSUME_32BITUIDS]: Remove conditional code.
35845         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35846         <kernel-features.h>.
35847         [__ASSUME_32BITUIDS]: Make code unconditional.
35848         [!__ASSUME_32BITUIDS]: Remove conditional code.
35849         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35850         <kernel-features.h>.
35851         [__ASSUME_32BITUIDS]: Make code unconditional.
35852         [!__ASSUME_32BITUIDS]: Remove conditional code.
35853         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35854         <kernel-features.h>.
35855         [__NR_setresgid] (__setresgid): Do not declare.
35856         [__ASSUME_32BITUIDS]: Make code unconditional.
35857         [!__ASSUME_32BITUIDS]: Remove conditional code.
35858         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35859         <kernel-features.h>.
35860         [__NR_setresuid] (__setresuid): Do not declare.
35861         [__ASSUME_32BITUIDS]: Make code unconditional.
35862         [!__ASSUME_32BITUIDS]: Remove conditional code.
35863         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35864         <kernel-features.h>.
35865         [__ASSUME_32BITUIDS]: Make code unconditional.
35866         [!__ASSUME_32BITUIDS]: Remove conditional code.
35867         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35868         <kernel-features.h>.
35869         [__ASSUME_32BITUIDS]: Make code unconditional.
35870         [!__ASSUME_32BITUIDS]: Remove conditional code.
35871         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35872         <kernel-features.h>.
35873         [__ASSUME_32BITUIDS]: Make code unconditional.
35874         [!__ASSUME_32BITUIDS]: Remove conditional code.
35875         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35876         <kernel-features.h>.
35877         [__ASSUME_32BITUIDS]: Make code unconditional.
35878         [!__ASSUME_32BITUIDS]: Remove conditional code.
35879         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35880         <kernel-features.h>.
35881         [__ASSUME_32BITUIDS]: Make code unconditional.
35882         [!__ASSUME_32BITUIDS]: Remove conditional code.
35883         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35884         <kernel-features.h>.
35885         [__ASSUME_32BITUIDS]: Make code unconditional.
35886         [!__ASSUME_32BITUIDS]: Remove conditional code.
35887         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35888         <kernel-features.h>.
35889         [__ASSUME_32BITUIDS]: Make code unconditional.
35890         [!__ASSUME_32BITUIDS]: Remove conditional code.
35891         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35892         <kernel-features.h>.
35893         [__ASSUME_32BITUIDS]: Make code unconditional.
35894         [!__ASSUME_32BITUIDS]: Remove conditional code.
35895         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35896         <kernel-features.h>.
35897         [__ASSUME_32BITUIDS]: Make code unconditional.
35898         [!__ASSUME_32BITUIDS]: Remove conditional code.
35899         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35900         <kernel-features.h>.
35901         [__ASSUME_32BITUIDS]: Make code unconditional.
35902         [!__ASSUME_32BITUIDS]: Remove conditional code.
35903         * sysdeps/unix/sysv/linux/kernel-features.h
35904         (__ASSUME_SETRESUID_SYSCALL): Remove.
35905         (__ASSUME_SETRESGID_SYSCALL): Likewise.
35906         (__ASSUME_32BITUIDS): Likewise.
35907         (__ASSUME_LDT_WORKS): Likewise.
35908         (__ASSUME_O_DIRECTORY): Likewise.
35909         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35910         architecture but not kernel version.
35911         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35912         (__ASSUME_MMAP2_SYSCALL): Likewise.
35913         (__ASSUME_STAT64_SYSCALL): Likewise.
35914         (__ASSUME_IPC64): Likewise.
35915         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35916         <kernel-features.h>.
35917         [__ASSUME_32BITUIDS]: Make code unconditional.
35918         [!__ASSUME_32BITUIDS]: Remove conditional code.
35919         * sysdeps/unix/sysv/linux/opendir.c: Do not include
35920         <kernel-features.h>.
35921         [__ASSUME_O_DIRECTORY]: Make code unconditional.
35922         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35923         132096]: Remove conditional code.
35924         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35925         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35926         <kernel-features.h>.
35927         [__ASSUME_32BITUIDS]: Make code unconditional.
35928         [!__ASSUME_32BITUIDS]: Remove conditional code.
35929         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35930         <kernel-features.h>.
35931         [__ASSUME_32BITUIDS]: Make code unconditional.
35932         [!__ASSUME_32BITUIDS]: Remove conditional code.
35933         * sysdeps/unix/sysv/linux/setegid.c: Do not include
35934         <kernel-features.h>.
35935         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35936         unconditional.
35937         (__setresgid): Do not declare.
35938         [__ASSUME_32BITUIDS]: Make code unconditional.
35939         [!__ASSUME_32BITUIDS]: Remove conditional code.
35940         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35941         <kernel-features.h>.
35942         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35943         unconditional.
35944         (__setresuid): Do not declare.
35945         [__ASSUME_32BITUIDS]: Make code unconditional.
35946         [!__ASSUME_32BITUIDS]: Remove conditional code.
35947         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35948         <kernel-features.h>.
35949         [__ASSUME_32BITUIDS]: Make code unconditional.
35950         [!__ASSUME_32BITUIDS]: Remove conditional code.
35951         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35952         <kernel-features.h>.
35953         [__ASSUME_32BITUIDS]: Make code unconditional.
35954         [!__ASSUME_32BITUIDS]: Remove conditional code.
35955
35956 2012-05-25  Richard Henderson  <rth@twiddle.net>
35957
35958         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35959         dl_hwcap to ifunc resolver.
35960         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35961         elf_ifunc_invoke.
35962         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35963         dl_hwcap to ifunc resolver.
35964         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35965
35966 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35967
35968         [BZ #14153]
35969         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35970         for |x| <= 2**-26, not 2**-57.
35971         * math/libm-test.inc (acos_test): Do not allow spurious underflow
35972         exception.
35973
35974 2012-05-24  Jeff Law  <law@redhat.com>
35975
35976         * stdio-common/Makefile (tests): Add bug25.
35977         * stdio-common/bug25.c: New test.
35978
35979 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35980
35981         [BZ #13576]
35982         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35983         multiple of MALLOC_ALIGNMENT in size.
35984         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35985
35986 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35987
35988         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35989         Require >= 256.
35990         (FILENAME_MAX): Use macro-int-constant.
35991         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35992         (_IOFBF): Use macro-int-constant.
35993         (_IOLBF): Likewise.
35994         (_IONBF): Likewise.
35995         (SEEK_CUR): Likewise.
35996         (SEEK_END): Likewise.
35997         (SEEK_SET): Likewise.
35998         (TMP_MAX): Likewise.
35999         (EOF): Use macro-int-constant.  Require < 0.
36000         (NULL): Use macro-constant.  Require == 0.
36001         (stdin): Require type to be FILE *.
36002         (stdout): Likewise.
36003         (stderr): Likewise.
36004         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36005         macro-int-constant.
36006         (EXIT_SUCCESS): Likewise.
36007         (NULL): Use macro-constant.  Require == 0.
36008         (RAND_MAX): Use macro-int-constant.
36009         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36010         [C99-based standards] (strtof): Require function.
36011         [C99-based standards] (strtold): Likewise.
36012         [C99-based standards] (strtoll): Likewise.
36013         [C99-based standards] (strtoull): Likewise.
36014         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36015         [ISO || ISO99 || ISO11] (limits.h): Likewise.
36016         [ISO || ISO99 || ISO11] (math.h): Likewise.
36017         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36018         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36019         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36020
36021 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
36022
36023         [BZ #14132]
36024         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36025         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36026         * intl/dgettext.c (DCGETTEXT): Likewise.
36027         * intl/gettext.c (DCGETTEXT): Likewise.
36028         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36029         * posix/regex_internal.h (gettext): Likewise.
36030         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36031         Remove declaration.
36032         * include/argz.h (__argz_count_internal)
36033         (__argz_stringify_internal): Remove declaration.
36034         (__argz_count, __argz_stringify): Declare hidden proto.
36035         * intl/dcgettext.c: Remove use of INTDEF.
36036         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36037         * string/argz-stringify.c: Likewise.
36038         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36039         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36040         Declare hidden proto.
36041         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36042         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36043         Declare hidden proto.
36044         * include/stdio.h (__asprintf_internal): Don't declare.
36045         (__asprintf): Don't define as macro.  Declare hidden proto.
36046         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36047         (__fsetlocking): Declare hidden proto.
36048         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36049         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36050         hidden proto.
36051         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36052         (_IO_setlinebuf): Remove use of INTUSE.
36053         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36054         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36055         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36056         Remove declaration.
36057         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36058         (_IO_do_flush): Remove use of INTUSE.
36059         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36060         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36061         (_IO_adjust_column, _IO_least_wmarker)
36062         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36063         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36064         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36065         (_IO_default_doallocate, _IO_wdefault_doallocate)
36066         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36067         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36068         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36069         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36070         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36071         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36072         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36073         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36074         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36075         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36076         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36077         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36078         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36079         proto.
36080         (_IO_flush_all_internal, _IO_adjust_column_internal)
36081         (_IO_default_uflow_internal, _IO_default_finish_internal)
36082         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36083         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36084         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36085         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36086         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36087         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36088         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36089         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36090         (_IO_file_close_internal, _IO_file_close_it_internal)
36091         (_IO_file_underflow_internal, _IO_file_overflow_internal)
36092         (_IO_file_init_internal, _IO_file_attach_internal)
36093         (_IO_file_fopen_internal, _IO_file_read_internal)
36094         (_IO_file_sync_internal, _IO_file_seek_internal)
36095         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36096         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36097         (_IO_str_underflow_internal, _IO_str_overflow_internal)
36098         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36099         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36100         (_IO_list_all_internal, _IO_link_in_internal)
36101         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36102         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36103         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36104         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36105         (_IO_do_write_internal, _IO_padn_internal)
36106         (_IO_getline_info_internal, _IO_getline_internal)
36107         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36108         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36109         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36110         (_IO_vfscanf_internal, _IO_vfprintf_internal)
36111         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36112         (_IO_init_internal, _IO_un_link_internal): Don't declare.
36113         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36114         with libc_hidden_ver, remove use of INTUSE.
36115         * libio/genops.c: Likewise.
36116         * libio/freopen.c: Likewise.
36117         * libio/freopen64.c: Likewise.
36118         * libio/iofclose.c: Likewise.
36119         * libio/iofdopen.c: Likewise.
36120         * libio/iofflush.c: Likewise.
36121         * libio/iofflush_u.c: Likewise.
36122         * libio/iofgets.c: Likewise.
36123         * libio/iofgets_u.c: Likewise.
36124         * libio/iofopen.c: Likewise.
36125         * libio/iofopncook.c: Likewise.
36126         * libio/iofread.c: Likewise.
36127         * libio/iofread_u.c: Likewise.
36128         * libio/ioftell.c: Likewise.
36129         * libio/iofwrite.c: Likewise.
36130         * libio/iogetline.c: Likewise.
36131         * libio/iogets.c: Likewise.
36132         * libio/iogetwline.c: Likewise.
36133         * libio/iopadn.c: Likewise.
36134         * libio/iopopen.c: Likewise.
36135         * libio/ioseekoff.c: Likewise.
36136         * libio/ioseekpos.c: Likewise.
36137         * libio/iosetbuffer.c: Likewise.
36138         * libio/iosetvbuf.c: Likewise.
36139         * libio/ioungetc.c: Likewise.
36140         * libio/ioungetwc.c: Likewise.
36141         * libio/iovdprintf.c: Likewise.
36142         * libio/iovsprintf.c: Likewise.
36143         * libio/iovsscanf.c: Likewise.
36144         * libio/memstream.c: Likewise.
36145         * libio/obprintf.c: Likewise.
36146         * libio/oldfileops.c: Likewise.
36147         * libio/oldiofclose.c: Likewise.
36148         * libio/oldiofdopen.c: Likewise.
36149         * libio/oldiofopen.c: Likewise.
36150         * libio/oldiopopen.c: Likewise.
36151         * libio/oldstdfiles.c: Likewise.
36152         * libio/putc.c: Likewise.
36153         * libio/setbuf.c: Likewise.
36154         * libio/setlinebuf.c: Likewise.
36155         * libio/stdfiles.c: Likewise.
36156         * libio/strops.c: Likewise.
36157         * libio/vasprintf.c: Likewise.
36158         * libio/vscanf.c: Likewise.
36159         * libio/vsnprintf.c: Likewise.
36160         * libio/vswprintf.c: Likewise.
36161         * libio/wfiledoalloc.c: Likewise.
36162         * libio/wfileops.c: Likewise.
36163         * libio/wgenops.c: Likewise.
36164         * libio/wmemstream.c: Likewise.
36165         * libio/wstrops.c: Likewise.
36166         * libio/__fpurge.c: Likewise.
36167         * libio/__fsetlocking.c: Likewise.
36168         * assert/assert.c: Likewise.
36169         * debug/fgets_chk.c: Likewise.
36170         * debug/fgets_u_chk.c: Likewise.
36171         * debug/fread_chk.c: Likewise.
36172         * debug/fread_u_chk.c: Likewise.
36173         * debug/gets_chk.c: Likewise.
36174         * debug/obprintf_chk.c: Likewise.
36175         * debug/vasprintf_chk.c: Likewise.
36176         * debug/vdprintf_chk.c: Likewise.
36177         * debug/vsnprintf_chk.c: Likewise.
36178         * debug/vsprintf_chk.c: Likewise.
36179         * malloc/mtrace.c: Likewise.
36180         * misc/error.c: Likewise.
36181         * misc/syslog.c: Likewise.
36182         * stdio-common/asprintf.c: Likewise.
36183         * stdio-common/fxprintf.c: Likewise.
36184         * stdio-common/getw.c: Likewise.
36185         * stdio-common/isoc99_fscanf.c: Likewise.
36186         * stdio-common/isoc99_scanf.c: Likewise.
36187         * stdio-common/isoc99_vfscanf.c: Likewise.
36188         * stdio-common/isoc99_vscanf.c: Likewise.
36189         * stdio-common/isoc99_vsscanf.c: Likewise.
36190         * stdio-common/printf-prs.c: Likewise.
36191         * stdio-common/printf_fp.c: Likewise.
36192         * stdio-common/printf_fphex.c: Likewise.
36193         * stdio-common/printf_size.c: Likewise.
36194         * stdio-common/putw.c: Likewise.
36195         * stdio-common/scanf.c: Likewise.
36196         * stdio-common/sprintf.c: Likewise.
36197         * stdio-common/tmpfile.c: Likewise.
36198         * stdio-common/vfprintf.c: Likewise.
36199         * stdio-common/vfscanf.c: Likewise.
36200         * stdlib/strfmon_l.c: Likewise.
36201         * sunrpc/openchild.c: Likewise.
36202         * sunrpc/xdr_stdio.c: Likewise.
36203         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36204         * sysdeps/mach/hurd/tmpfile.c: Likewise.
36205
36206 2012-05-24  Roland McGrath  <roland@hack.frob.com>
36207
36208         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36209
36210         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36211         in the third column, to generate for the shared library an IFUNC
36212         that uses _dl_vdso_vsym.
36213         * Makerules (COMPILE.c, compile-stdin.c): New variables.
36214         * Makeconfig (object-suffixes-noshared): New variable.
36215
36216         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36217         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36218         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36219         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36220
36221         [BZ #14132]
36222         * include/sys/time.h (__gettimeofday): Remove macro.
36223         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36224         * time/gettimeofday.c (__gettimeofday): Remove #undef.
36225         Remove INTDEF.
36226         (__gettimeofday): Add libc_hidden_def.
36227         (gettimeofday): Add libc_hidden_weak.
36228         * sysdeps/mach/gettimeofday.c: Likewise.
36229         * sysdeps/posix/gettimeofday.c: Likewise.
36230         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36231         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36232         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36233         (__gettimeofday_internal): Remove strong_alias.
36234         (__gettimeofday): Add libc_hidden_def.
36235         (gettimeofday): Add libc_hidden_weak.
36236         * sysdeps/unix/syscalls.list (gettimeofday):
36237         Remove __gettimeofday_internal alias.
36238
36239 2012-05-24  Daniel Jacobowitz  <drow@false.org>
36240             H.J. Lu  <hongjiu.lu@intel.com>
36241
36242         [BZ #12495]
36243         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36244         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36245         (largebin_index_32_big): New.
36246         (largebin_index): Use it for 16-byte alignment.
36247         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
36248         correction with front_misalign.
36249
36250 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36251
36252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36254         Likewise.
36255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36256         Likewise.
36257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36258         Likewise.
36259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36260         Likewise.
36261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36262         Likewise.
36263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36264         Likewise.
36265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36266         Likewise.
36267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36268         Likewise.
36269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36270         Likewise.
36271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36272         Likewise.
36273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36274         Likewise.
36275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36276         Likewise.
36277
36278         * scripts/data/c++-types-x32-linux-gnu.data: New file.
36279         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36280
36281 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36282
36283         [BZ #10846]
36284         [BZ #14036]
36285         * math/libm-test.inc (exp_test): Add test from bug 14036.
36286         (pow_test): Add test from bug 10846.
36287
36288         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36289         and other flags.
36290         (special_function): Do not include flags in test name.
36291         (parse_args): Likewise.
36292         * sysdeps/i386/fpu/libm-test-ulps: Update.
36293         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36294         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36295         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36297
36298         * math/gen-libm-test.pl (%beautify): Add entries for underflow
36299         exceptions.
36300         * math/libm-test.inc ("Philosophy"): Update comment about
36301         exception testing.
36302         (UNDERFLOW_EXCEPTION): New macro.
36303         (UNDERFLOW_EXCEPTION_OK): Likewise.
36304         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36305         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36306         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36307         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36308         (INVALID_EXCEPTION_OK): Update value.
36309         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36310         (OVERFLOW_EXCEPTION_OK): Likewise.
36311         (IGNORE_ZERO_INF_SIGN): Likewise.
36312         (test_exceptions): Handle underflow exceptions.
36313         (acos_test): Update for underflow exception expectations.
36314         (cexp_test): Likewise.
36315         (clog_test): Likewise.
36316         (clog10_test): Likewise.
36317         (csqrt_test): Likewise.
36318         (ctan_test): Likewise.
36319         (ctanh_test): Likewise.
36320         (exp_test): Likewise.
36321         (exp10_test): Likewise.
36322         (exp2_test): Likewise.
36323         (expm1_test): Likewise.
36324         (fma_test): Likewise.
36325         (j0_test): Likewise.
36326         (jn_test): Likewise.
36327         (nexttoward_test): Likewise.
36328         (pow_test): Likewise.
36329         (scalbn_test): Likewise.
36330         (scalbln_test): Likewise.
36331         (tan_test): Likewise.
36332         (y1_test): Likewise.
36333         * sysdeps/i386/fpu/libm-test-ulps: Update.
36334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36335
36336 2012-05-23  David S. Miller  <davem@davemloft.net>
36337
36338         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36339         (__libc_sigaction): Remove unused local variables.
36340
36341 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36342
36343         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36344
36345 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
36346
36347         mktime: avoid signed integer overflow
36348         * time/mktime.c (__mktime_internal): Do not mishandle the case
36349         where diff == INT_MIN.
36350
36351         mktime: simplify computation of average
36352         * time/mktime.c (ranged_convert): Use new time_t_avg function
36353         instead of rolling our own (probably-slower) code.
36354
36355         mktime: do not assume signed right shift propagates sign bit
36356         * time/mktime.c (isdst_differ): New static function.
36357         (__mktime_internal): No need to normalize tm_isdst now.
36358         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36359         tm_isdst values.
36360
36361         mktime: merge another wrapv change from gnulib
36362         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36363         from some compilers.
36364
36365         mktime: remove incorrect attempt at unusual arithmetics
36366         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36367         The code didn't really work on such machines anyway.
36368         (TYPE_MINIMUM): Assume two's complement.
36369         (twos_complement_arithmetic): Verify that long_int and time_t
36370         are two's complement (or unsigned, in the latter case).
36371
36372         mktime: check signed shifts on long_int and time_t, too
36373         * time/mktime.c (SHR): Check that shifts work as desired
36374         on the types long_int and time_t too, as SHR is used on
36375         such types.
36376
36377         mktime: do not assume 'long' is wide enough
36378         * time/mktime.c (verify): Move decl up.
36379         (long_int): New type.
36380         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36381         to remove assumption in the code that 'long' is wide enough to
36382         store year values.  This assumption is not true on x32 and on
36383         some non-glibc platforms.
36384
36385         mktime: merge wrapv change from gnulib
36386         * time/mktime.c (WRAPV): New macro.
36387         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36388         (guess_time_tm, __mktime_internal): Do not assume that signed
36389         integer overflow wraps around; modern compilers generate code
36390         where this assumption is no longer valid.
36391
36392 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36393
36394         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36395         Replace "jmp L(pseudo_end)" with "ret".
36396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36397         Likewise.
36398
36399 2012-05-23  Andreas Jaeger  <aj@suse.de>
36400
36401         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36402         * sysdeps/unix/sysv/linux/poll.c: Remove file.
36403
36404 2012-05-23  Andreas Jaeger  <aj@suse.de>
36405             Maximilian Attems  <max@stro.at>
36406
36407         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36408         New macros.
36409
36410 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36411
36412         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36413         code so that pseudo_end is just ret and the stack pointer is
36414         correct also for static library in error case.
36415
36416 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
36417
36418         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36419         move to syscalls.list.
36420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36424
36425         * manual/install.texi (Running make install): Do not mention Linux
36426         kernel version for which pt_chown is not needed.
36427         (Linux): Do not mention problems with nscd with 2.0 kernels.
36428         * INSTALL: Regenerated.
36429
36430 2012-05-23  Andreas Jaeger  <aj@suse.de>
36431
36432         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36433         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36434         macro.
36435         * sysdeps/unix/sysv/linux/s390/bits/mman.h
36436         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36437         * sysdeps/unix/sysv/linux/sh/bits/mman.h
36438         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36439         * sysdeps/unix/sysv/linux/i386/bits/mman.h
36440         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36441         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36442         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36443         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36444         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36445         * sysdeps/unix/sysv/linux/bits/in.h
36446         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36447
36448 2012-05-22  Roland McGrath  <roland@hack.frob.com>
36449
36450         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36451         (PREPARE_VERSION): Just use assert instead, it will be elided
36452         under [NDEBUG] anyway.
36453
36454 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36455
36456         * sysdeps/unix/sysv/linux/Makefile: Include
36457         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36458         (sysdep_routines): Remove sysctl.
36459         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36460         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36461         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36462         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36463         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36464
36465 2012-05-22  Andreas Jaeger  <aj@suse.de>
36466
36467         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36468         that pseudo_end is just ret and the stack pointer is correct also
36469         for static library in error case.
36470
36471 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36472
36473         [BZ #14122]
36474         * nss/nsswitch.c (defconfig_entries): New variable.
36475         (__nss_database_lookup): Don't leak defconfig entries.
36476         (nss_parse_service_list): Don't leak on error paths.
36477         (free_database_entries): New function.
36478         (free_defconfig): New function.
36479         (free_mem): Move common code to free_database_entries.
36480
36481 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36482
36483         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36484         Add arch_prctl.
36485         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36486
36487         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36488         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36489         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36490         New macro.
36491         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36492         (INTERNAL_SYSCALL_TYPES): Likewise.
36493         (LOAD_ARGS_TYPES_[1-6]): Likewise.
36494         (LOAD_REGS_TYPES_[1-6]): Likewise.
36495         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36496         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36497
36498 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36499
36500         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36501         copysignl for GLIBC_2_0.
36502         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36503         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36504         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36505         logbl for GLIBC_2_0.
36506         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36507         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36508
36509 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36510
36511         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36512         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36513
36514         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36515         Use "neg %eax".
36516
36517         * time/mktime.c: Update copyright years.
36518
36519 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36520
36521         mktime: merge comment-quoting-style change from gnulib
36522         * time/mktime.c: Quote 'like this' in comments.
36523         The GNU coding standards suggest that we no longer quote `like this',
36524         as "`" and "'" are typically rendered asymmetrically nowadays.
36525         The typical gnulib style is to quote 'like this' when quoting
36526         code, and "like this" when quoting English.
36527
36528         * time/mktime.c (compile-command): Add "-I.".
36529
36530         mktime: merge mktime-internal.h change from gnulib
36531         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36532
36533         mktime: merge time_r change from gnulib
36534         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36535
36536         mktime: merge DEBUG change from gnulib
36537         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36538         case system <time.h> has a #define.
36539
36540         mktime: merge <sys/types.h> change from gnulib
36541         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36542         since <time.t> is now guaranteed to define time_t.
36543
36544         mktime: merge HAVE_CONFIG_H change from gnulib
36545         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36546
36547 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36548
36549         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36550         Use "neg %eax".
36551
36552         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36553         __rlim_t cast.
36554         (struct rusage): Use anonymous union to pad each field to
36555         __syscall_slong_t.
36556
36557 2012-05-21  David S. Miller  <davem@davemloft.net>
36558
36559         * Makefules (o-iterator): Remove .s cases.
36560         (compile-command.s): Delete.
36561         (COMPILE.s): Delete.
36562         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36563
36564 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
36565
36566         * configure.in (libc_cv_predef_stack_protector): Only consider
36567         "foobar" and "__stack_chk_fail" lines in libc_undefs.
36568         * configure: Regenerated.
36569
36570 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36571
36572         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36573         New macro.  Use R*LP on int and pointer.
36574         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36575         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36576         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36577         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36578
36579         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36580         [__WORDSIZE_TIME64_COMPAT32] instead of
36581         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36582         (struct utmp): Likewise.
36583         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36584         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36585         Renamed to ...
36586         (__WORDSIZE_TIME64_COMPAT32): This.
36587         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36588         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36589         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36590         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36591         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36592         (__WORDSIZE_TIME64_COMPAT32): New macro.
36593
36594 2012-05-21  Andreas Jaeger  <aj@suse.de>
36595
36596         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36597         only if [SHARED]. Add prototype for __wcschr_ia32.
36598
36599 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36600
36601         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36602         of %rbp unmolested in the jmp_buf while mangling the low bits.
36603         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36604         unmolested high bits of %rbp while demangling the low bits.
36605         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36606
36607 2012-05-21  Andreas Jaeger  <aj@suse.de>
36608
36609         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36610         * sunrpc/svc_simple.c: Use it for registerrpc.
36611         * sunrpc/xcrypt.c: Use it for passwd2des.
36612
36613         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36614
36615 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36616
36617         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36618         Don't define if [__SYSCALL_WORDSIZE != 32].
36619         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36620         New macro.
36621
36622 2012-05-21  Bruno Haible  <bruno@clisp.org>
36623             Andreas Jaeger  <aj@suse.de>
36624
36625         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36626         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36627         inptr and inend for must_buffer_ch.
36628         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36629         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36630         * stdio-common/Makefile (tests): Remove bug15.
36631         (bug15-ENV): Remove macro.
36632         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36633         anymore.
36634
36635 2012-05-19  Andreas Jaeger  <aj@suse.de>
36636             Roland McGrath  <roland@hack.frob.com>
36637
36638         * manual/contrib.texi: Completely rewritten. It contains now an
36639         alphabetical list of contributors and their contributions.
36640
36641 2012-05-21  Richard Henderson  <rth@twiddle.net>
36642
36643         * misc/getauxval.c (__getauxval): Use unsigned long int.
36644         * misc/sys/auxv.h: Include <sys/cdefs.h>.
36645         (getauxval): Use unsigned long int.
36646
36647 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36648
36649         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36650
36651 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36652
36653         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36654         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36655         __alignof__ (long double).
36656
36657 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36658
36659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36660
36661 2012-05-20  Richard Henderson  <rth@twiddle.net>
36662
36663         * misc/getauxval.c: New file.
36664         * misc/sys/auxv.h: New file.
36665         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36666         (routines): Add getauxval.
36667         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36668         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36669         * elf/dl-sysdep.c (_dl_auxv): Remove.
36670         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36671         * elf/dl-support.c (_dl_auxv): New variable.
36672         (_dl_aux_init): Initialize it.
36673         * manual/startup.texi (Auxiliary Vector): New node.
36674         * sysdeps/generic/bits/hwcap.h: New file.
36675         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36676         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
36677         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36678         * sysdeps/sparc/sysdep.h: ... here.  Include it.
36679         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36680         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36682         Update.
36683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36686         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36691
36692 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36693
36694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36695
36696 2012-05-19  David S. Miller  <davem@davemloft.net>
36697
36698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36699
36700 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
36701
36702         [BZ #14123]
36703         * math/s_ccosh.c: Include <float.h>
36704         (__ccosh): Avoid internal overflow calculating sinh and cosh
36705         values before multiplying by sin and cos values.
36706         * math/s_ccoshf.c: Likewise.
36707         * math/s_ccoshl.c: Likewise.
36708         * math/s_csin.c: Likewise.
36709         * math/s_csinf.c: Likewise.
36710         * math/s_csinl.c: Likewise.
36711         * math/s_csinh.c: Likewise.
36712         * math/s_csinhf.c: Likewise.
36713         * math/s_csinhl.c: Likewise.
36714         * math/libm-test.inc (ccos_test): Add more tests.
36715         (ccosh_test): Likewise.
36716         (csin_test): Likewise.
36717         (csinh_test): Likewise.
36718         * sysdeps/i386/fpu/libm-test-ulps: Update.
36719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36720
36721 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
36722
36723         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36724         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36725
36726         * sysdeps/x86_64/x32/_itoa.h: Add comment.
36727
36728 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
36729
36730         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36731         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36732         * sysdeps/powerpc/soft-fp/Versions: Likewise.
36733         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36734         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36735         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36736         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36737         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36738         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36739         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36740         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36741         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36742         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36743         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36744         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36745         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36746         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36747         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36748         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36749         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36750         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36751         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36752         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36753         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36754         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36755         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36756         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36757         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36758         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36759         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36760         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36761
36762 2012-05-18  Andreas Jaeger  <aj@suse.de>
36763
36764         * csu/.gitignore: Delete.
36765
36766 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36767
36768         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36769         (timex): Use __syscall_slong_t.
36770
36771 2012-05-18  Andreas Jaeger  <aj@suse.de>
36772             Carlos O'Donell  <carlos_odonell@mentor.com>
36773
36774         * manual/install.texi (Configuring and compiling): Update
36775         description about files modified in the source directory.
36776         * INSTALL: Regenerated.
36777
36778 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36779
36780         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36781         value.  Use "or" to set return value to -1.
36782         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36783         negate return value.
36784
36785 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36786
36787         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36788         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
36789         failure if the compiler has Graphite support disabled.
36790         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36791         Likewise.
36792         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36793         (CFLAGS-memmove.c): Likewise.
36794         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36795         Likewise.
36796
36797 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36798
36799         * sysdeps/x86_64/x32/_itoa.h: New file.
36800
36801         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36802         getdents system call only if kernel and user dirents have the
36803         same d_ino and d_off.
36804
36805         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36806         LLONG_MAX != LONG_MAX.
36807         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36808         (_fitoa_word): Likewise.
36809
36810         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36811         years.
36812         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36813         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36814         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36815
36816         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36817         include <bits/wordsize.h>.  Check __x86_64__ instead of
36818         __WORDSIZE.
36819         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36820         if __x86_64__ is defined.  Use anonymous union on fpstate.
36821
36822         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36823         anonymous union.
36824
36825 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
36826
36827         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36828         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36829         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36830         Refer to _rtld_local_ro instead of _rtld_global_ro.
36831         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36832         Likewise.
36833         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36834         Likewise.
36835         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36836         Likewise.
36837         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36838         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36839         of _rtld_global, and rtld_progname instead of _dl_argv[0].
36840
36841         * sysdeps/powerpc/powerpc32/dl-machine.c
36842         (__elf_machine_runtime_setup) [PROF]: Don't reference
36843         _dl_prof_resolve.
36844
36845 2012-05-18  Andreas Jaeger  <aj@suse.de>
36846
36847         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36848         function only available for GCCs before 3.4 since GCC 3.4
36849         introduced a builtin.
36850         (lrint): Likewise.
36851         (llrintf): Likewise.
36852         (llrint): Likewise.
36853         (fmaxf): Likewise.
36854         (fmax): Likewise.
36855         (fminf): Likewise.
36856         (fmin): Likewise.
36857         (rint): Likewise.
36858         (rintf): Likewise.
36859         (nearbyint): Likewise.
36860         (nearbyintf): Likewise.
36861         (ceil): Likewise.
36862         (ceilf): Likewise.
36863         (floor): Likewise.
36864         (floorf): Likewise.
36865
36866 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36867
36868         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36869         on both fields and cast pointer to __syscall_ulong_t.
36870
36871         * bits/types.h (__fsword_t): New type.
36872         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36873         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36874         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36875         (__FSWORD_T_TYPE): Likewise.
36876         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36877         (__FSWORD_T_TYPE): Likewise.
36878         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36879         (__FSWORD_T_TYPE): Likewise.
36880         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36881         (__FSWORD_T_TYPE): Likewise.
36882         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36883         __SWORD_TYPE with __fsword_t.
36884         (statfs64): Likewise.
36885
36886 2012-05-17  David S. Miller  <davem@davemloft.net>
36887
36888         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36889
36890 2012-05-17  Andreas Jaeger  <aj@suse.de>
36891
36892         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36893         warning.
36894
36895 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36896
36897         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36898
36899 2012-05-17  Andreas Jaeger  <aj@suse.de>
36900
36901         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36902         when it is used.
36903
36904 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36905
36906         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36907
36908 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36909
36910         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36911         * sysdeps/x86_64/tst-mallocalign1.c: New file.
36912
36913 2012-05-17  Andreas Jaeger  <aj@suse.de>
36914             Carlos O'Donell  <carlos_odonell@mentor.com>
36915
36916         [BZ #14059]
36917         * sysdeps/x86_64/multiarch/init-arch.h
36918         (bit_YMM_Usable): Rename to...
36919         (bit_AVX_Usable): ... this.
36920         (bit_FMA4_Usable): New macro.
36921         (bit_XMM_state): New macro.
36922         (bit_YMM_state): New macro.
36923         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36924         [__ASSEMBLER__] (index_AVX_Usable): ... this.
36925         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36926         (CPUID_OSXSAVE): New macro.
36927         (CPUID_AVX): New macro.
36928         (CPUID_FMA4): New macro.
36929         (index_YMM_Usable): Rename to...
36930         (index_AVX_Usable): ... this.
36931         (HAS_AVX): Use HAS_ARCH_FEATURE.
36932         (HAS_FMA4): Likewise.
36933         (HAS_YMM_USABLE): Remove.
36934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36935         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36936         are present.
36937         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36938         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36939         * sysdeps/x86_64/multiarch/Makefile: Likewise.
36940         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36941         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36942
36943 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36944
36945         * math/libm-test.c: Support platforms without multiple rounding modes.
36946         * math/bug-nextafter.c: Support platforms without FP exceptions.
36947         * math/bug-nexttoward.c: Likewise.
36948         * math/test-fenv.c: Likewise.
36949         * math/test-misc.c: Likewise.
36950         * stdlib/bug-getcontext.c: Likewise.
36951
36952 2012-05-17  Andreas Jaeger  <aj@suse.de>
36953
36954         * manual/examples/search.c (critter_cmp): Change signature to
36955         avoid warnings.
36956         * manual/string.texi (Collation Functions): Likewise.
36957
36958 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36959
36960         * bits/types.h: Fold copyright years.
36961         * bits/typesizes.h: Likewise.
36962         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36963         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36964         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36965         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36966         * time/time.h: Likewise.
36967
36968 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
36969
36970         [BZ #208]
36971         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36972         in instead of returning them.  Return void.
36973         (__libc_mallinfo): Accumulate over all arenas.
36974         (__malloc_stats): Adjust for change in int_mallinfo interface.
36975
36976 2012-05-16  Roland McGrath  <roland@hack.frob.com>
36977
36978         [BZ #10375]
36979         * configure.in (NM): Add AC_CHECK_TOOL for it.
36980         (libc_extra_cflags): New substituted variable.
36981         Check for -fstack-protector being used implicitly.
36982         * configure: Regenerated.
36983         * config.make.in (config-extra-cflags): New variable,
36984         gets @libc_extra_cflags@.
36985         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36986
36987         [BZ #10375]
36988         * configure.in: Check for _FORTIFY_SOURCE being predefined.
36989         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36990         * configure: Regenerated.
36991         * config.make.in (CPPUNDEFS): New substituted variable.
36992         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36993         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36994         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36995
36996 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36997
36998         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36999         (mq_attr): Use __syscall_slong_t.
37000
37001 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37002
37003         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37004         Check __x86_64__ instead of __WORDSIZE.
37005         (_STAT_VER_LINUX): Likewise.
37006         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
37007         __syscall_ulong_t and __syscall_slong_t.
37008         (stat64): Likewise.
37009
37010 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37011
37012         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37013
37014 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37015
37016         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37017
37018 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37019
37020         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37021         __syscall_ulong_t.
37022
37023         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37024         include <bits/wordsize.h>.  Check __x86_64__ instead of
37025         __WORDSIZE.
37026         (greg_t): Use "__extension__ long long int" if __x86_64__ is
37027         defined.
37028         (mcontext_t): Replace "unsigned long" with "unsigned long long".
37029
37030         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37031         include <bits/wordsize.h>.  Check __x86_64__ instead of
37032         __WORDSIZE.
37033         (user_regs_struct): Use "__extension__ unsigned long long"
37034         instead of "unsigned long" if __x86_64__ is defined.
37035         (user): Likewise.  Pad after pointer field if __ILP32__ is
37036         defined.
37037
37038 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
37039
37040         * configure.in (makeinfo): Require version 4.5 or later.  Allow
37041         versions 5 to 9.
37042         * configure: Regenerated.
37043         * manual/install.texi (texinfo): Increase version requirement to
37044         4.5 or later.
37045         * INSTALL: Regenerated.
37046
37047         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37048
37049 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37050
37051         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37052
37053         * sysdeps/x86_64/x32/ffs.c: New file.
37054
37055         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37056         __syscall_ulong_t.
37057         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37058         defined.  Use __syscall_ulong_t.
37059         (shminfo): Use __syscall_ulong_t.
37060         (shm_info): Likewise.
37061
37062         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37063         __syscall_ulong_t.
37064
37065         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37066         <bits/wordsize.h>.
37067         (msgqnum_t): Use __syscall_ulong_t.
37068         (msglen_t): Likewise.
37069         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
37070         __syscall_ulong_t.
37071
37072         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37073         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37074
37075         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37076
37077         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37078         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37079
37080         * sysvipc/sys/msg.h (msgbuf): Replace long int with
37081         __syscall_slong_t.
37082
37083         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37084         include <bits/wordsize.h>.  Check __x86_64__ instead of
37085         __WORDSIZE.
37086
37087         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37088         "unsigned long long int" if __x86_64__ is defined.
37089         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37090
37091         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37092         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37093         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37094
37095         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37096         <stdint.h>.
37097         (GET_PC): Cast to uintptr_t first.
37098         (GET_FRAME): Likewise.
37099         (GET_STACK): Likewise.
37100
37101         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37102         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37103         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37104         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37105         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37106         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37107         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37108         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37109         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37110         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37111         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37112         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37113         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37114         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37115         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37116         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37117         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37118         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37119         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37120         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37121         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37122         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37123         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37124         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37125         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37126         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37127         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37128         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37129         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37130
37131 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
37132
37133         * Makerules (+depfiles): Also collect depfiles from .oS in
37134         $(extra-objs).
37135         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37136         .oS, $(libnldbl-routines)).
37137
37138         * Makerules (native-compile-mkdep-flags): Define.
37139         * sunrpc/Makefile (extra-objs): Add $(addprefix
37140         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37141         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37142         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
37143         calling $(make-target-directory).
37144
37145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37146
37147         * bits/types.h (__snseconds_t): Removed.
37148         * time/time.h (struct timespec): Replace __snseconds_t with
37149         __syscall_slong_t.
37150         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37151         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37152         Likewise.
37153         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37154         (__SNSECONDS_T_TYPE): Likewise.
37155         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37156         (__SNSECONDS_T_TYPE): Likewise.
37157         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37158         (__SNSECONDS_T_TYPE): Likewise.
37159
37160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37161
37162         * sysdeps/mach/hurd/bits/typesizes.h
37163         (__SYSCALL_SLONG_TYPE): New macro.
37164         (__SYSCALL_ULONG_TYPE): Likewise.
37165
37166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37167
37168         * bits/types.h (__syscall_slong_t): New type.
37169         (__syscall_ulong_t): Likewise.
37170
37171         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37172         (__SYSCALL_ULONG_TYPE): Likewise.
37173         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37174         (__SYSCALL_SLONG_TYPE): Likewise.
37175         (__SYSCALL_ULONG_TYPE): Likewise.
37176         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37177         (__SYSCALL_SLONG_TYPE): Likewise.
37178         (__SYSCALL_ULONG_TYPE): Likewise.
37179         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37180         (__SYSCALL_SLONG_TYPE): Likewise.
37181         (__SYSCALL_ULONG_TYPE): Likewise.
37182
37183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37184
37185         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37186         Add sigaltstack-offsets.sym.
37187         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37188         <sigaltstack-offsets.h>.
37189         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
37190         longjmp_msg pointer.
37191         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
37192         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37193         signal stack.
37194         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37195
37196 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37197
37198         * elf/stackguard-macros.h: Remove file.
37199         * sysdeps/generic/stackguard-macros.h: New file.
37200         * sysdeps/i386/stackguard-macros.h: Likewise.
37201         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37202         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37203         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37204         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37205         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37206         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37207         * sysdeps/x86_64/stackguard-macros.h: Likewise.
37208         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37209         <elf/stackguard-macros.h>.
37210
37211         [BZ #14109]
37212         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37213         __aligned__ in attribute.
37214         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37215         (gregset_t): Likewise.
37216
37217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37218
37219         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37220         * sysdeps/x86_64/64/Implies-after: Here.  New file.
37221         * sysdeps/x86_64/x32/Implies-after: New file.
37222
37223 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37224
37225         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37226         and access return value for _dl_profile_fixup.  Use R10_LP to
37227         load frame size.
37228
37229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37230
37231         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37232
37233 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37234
37235         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37236         * sysdeps/x86_64/x32/sysdep.h: New file.
37237
37238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37239
37240         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37241         * sysdeps/x86_64/setjmp.S: Likewise.
37242
37243 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37244
37245         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37246         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37247         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37248         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37249         remove unused global constant.
37250
37251 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
37252
37253         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37254         include of <not-cancel.h>.
37255
37256 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37257
37258         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37259
37260 2012-05-15  Jeff Law  <law@redhat.com>
37261             Andreas Jaeger  <aj@suse.de>
37262
37263         [BZ #13594]
37264         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37265         out from...
37266         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37267         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37268         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37269         code changing __hst_map_handle.map.
37270
37271 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37272
37273         * configure.in (sysnames): Look for Implies-before and Implies-after
37274         files.
37275         * configure: Regenerated.
37276
37277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37278
37279         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37280         8-byte data alignment with LP_SIZE alignment.
37281
37282 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37283
37284         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37285         into R10_LP.
37286
37287 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37288
37289         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37290
37291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37292
37293         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37294         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37295         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37296         Likewise.
37297         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37298
37299 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37300
37301         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37302         (stackinfo_sub_sp): Likewise.
37303
37304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37305
37306         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37307         RAX_LP.
37308
37309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37310
37311         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37312         into R*_LP.
37313
37314 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37315
37316         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37317         sizes into R*_LP.
37318
37319 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37320
37321         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37322
37323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37324
37325         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37326         into R11_LP and load __x86_64_shared_cache_size_half into
37327         R8_LP.
37328
37329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37330
37331         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37332         R8_LP.
37333
37334 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37335
37336         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37337         logb for POWER7.
37338         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37339         logbf for POWER7.
37340         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37341         logbl for POWER7.
37342         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37343         powerpc32/power7/fpu/s_logb.c via #include.
37344         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37345         powerpc32/power7/fpu/s_logbf.c via #include.
37346         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37347         powerpc32/power7/fpu/s_logbl.c via #include.
37348
37349 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37350
37351         * README.libm: Remove file.
37352
37353 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37354
37355         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37356         count for x32.  Use R*_LP and omit operand-size suffix.
37357
37358 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37359
37360         * shlib-versions: Move x86_64-.*-linux.* entries to ...
37361         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
37362         * sysdeps/x86_64/x32/shlib-versions: New file.
37363
37364 2012-05-14  Roland McGrath  <roland@hack.frob.com>
37365
37366         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37367         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37368         Use _dl_fatal_printf instead.
37369
37370 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37371
37372         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37373         set if not set by the user.  Do not allow for being unset.
37374         * sysdeps/unix/sysv/linux/configure: Regenerated.
37375
37376 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37377
37378         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37379         the `q' suffix from lea and replace .quad with ASM_ADDR.
37380
37381 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37382
37383         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37384         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
37385         instead of $17.
37386         (PTR_DEMANGLE): Likewise.
37387
37388 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37389
37390         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37391         (LP_OP): Likewise.
37392         (ASM_ADDR): Likewise.
37393         (RAX_LP): Likewise.
37394         (RBP_LP): Likewise.
37395         (RBX_LP): Likewise.
37396         (RCX_LP): Likewise.
37397         (RDI_LP): Likewise.
37398         (RSI_LP): Likewise.
37399         (RSP_LP): Likewise.
37400         (R8_LP): Likewise.
37401         (R9_LP): Likewise.
37402         (R10_LP): Likewise.
37403         (R10_LP): Likewise.
37404         (R11_LP): Likewise.
37405         (R12_LP): Likewise.
37406         (R13_LP): Likewise.
37407         (R14_LP): Likewise.
37408         (R15_LP): Likewise.
37409
37410 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37411
37412         * sysdeps/x86_64/x32/dl-machine.h: New file.
37413
37414 2012-05-14  Andreas Jaeger  <aj@suse.de>
37415
37416         * manual/Makefile (subdir): Remove export of subdir.
37417         (all): Remove target.
37418         (.PHONY): Remove all from list.
37419         (mkinstalldirs): Remove.
37420         (.PHONY): Remove installdirs from list.
37421         ($(inst_infodir)/libc.info): Use make-target-directory.
37422         (installdirs): Remove.
37423         (subdir_%): Remove.
37424         (glibc-targets): Remove.
37425         (lib): Remove.
37426         (stubs): Remove.
37427         ($(objpfx)stubs ../po/manual.pot): Remove.
37428         ($(objpfx)stamp%): Remove.
37429         (make-target-directory): Remove.
37430         (subdir_install): Remove.
37431         (routines): Remove.
37432         (aux): Remove.
37433         (sources): Remove.
37434         (objects): Remove.
37435         (headers): Remove.
37436
37437         [BZ #13750]
37438         * manual/.gitignore: Remove, it's not needed anymore.
37439         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37440         all files in it.
37441         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37442         directory.
37443         (texis): Renamed to $(objpfx)texis.
37444         (texis-path): New, contains path to generated files.
37445         (chapters.%): Use texis-path for complete path, add extra argument
37446         libc-texinfo.sh.
37447         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37448         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37449         (summary,texi, stamp-summary): Use complete path of
37450         files. Generate files in build dir.
37451         (dir-add.texi): Build in build dir.
37452         (libm-err.texi,stamp-libm-err): Likewise.
37453         (version.texi, stamp-version): Likewise.
37454         (.%c.texi): Likewise.
37455         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37456         (mostlyclean): Remove target.
37457         (realclean): Remove target.
37458         (generated): Add new variable with contents from mostlyclean and
37459         realclean, remove entries duplicated in common-mostlyclean, add
37460         stamp-libm-err and stamp-version.
37461         (generated-dirs): Add libc directory.
37462         ($(inst_infodir)/libc.info): Install files from build dir.
37463
37464         * manual/install.texi (Configuring and compiling): Adjust since
37465         the info files are not part of the tar ball anymore.
37466
37467 2012-05-14  Andreas Jaeger  <aj@suse.de>
37468
37469         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37470         variable.
37471
37472 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37473
37474         [BZ #13717]
37475         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37476         to 2.2.0 where earlier.
37477         * sysdeps/unix/sysv/linux/configure: Regenerated.
37478         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37479         Remove conditional code.
37480         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37481         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37482         Remove conditional code.
37483         [!__NR_lchown]: Likewise.
37484         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37485         [__NR_lchown]: Likewise.
37486         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37487         comment referencing __ASSUME_LCHOWN_SYSCALL.
37488         * sysdeps/unix/sysv/linux/i386/sigaction.c
37489         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37490         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37491         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37492         Remove conditional code.
37493         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37494         (__protocol_available): Remove #if 0 code.
37495         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37496         conditional code.
37497         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37498         * sysdeps/unix/sysv/linux/kernel-features.h
37499         (__ASSUME_GETCWD_SYSCALL): Don't define.
37500         (__ASSUME_REALTIME_SIGNALS): Likewise.
37501         (__ASSUME_PREAD_SYSCALL): Likewise.
37502         (__ASSUME_PWRITE_SYSCALL): Likewise.
37503         (__ASSUME_POLL_SYSCALL): Likewise.
37504         (__ASSUME_LCHOWN_SYSCALL): Likewise.
37505         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37506         non-SPARC.
37507         (__ASSUME_SIOCGIFNAME): Don't define.
37508         (__ASSUME_MSG_NOSIGNAL): Likewise.
37509         (__ASSUME_SENDFILE): Define unconditionally.
37510         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37511         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37512         conditional code.
37513         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37514         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37515         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37516         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37517         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37518         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37519         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37521         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37522         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37524         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37525         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37527         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37528         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37530         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37531         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37533         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37534         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37536         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37537         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37539         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37540         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37542         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37543         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37544         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37545         Remove conditional code.
37546         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37547         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37548         Remove conditional code.
37549         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37550         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37551         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37552         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37553         Remove conditional code.
37554         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37555         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37556         Remove conditional code.
37557         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37558         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37559         Remove conditional code.
37560         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37561         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37562         Remove conditional code.
37563         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37564         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37565         Remove conditional code.
37566         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37567         * sysdeps/unix/sysv/linux/sh/pwrite64.c
37568         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37569         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37570         * sysdeps/unix/sysv/linux/sigaction.c
37571         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37572         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37573         * sysdeps/unix/sysv/linux/sigpending.c
37574         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37575         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37576         * sysdeps/unix/sysv/linux/sigprocmask.c
37577         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37578         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37579         * sysdeps/unix/sysv/linux/sigsuspend.c
37580         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37581         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37582         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37583         (__libc_missing_rt_sigs): Remove.
37584         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37585         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37586         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37587         Remove conditional code.
37588         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37589         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37590         return 1.
37591         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37592         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37593         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37594         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37595
37596 2012-05-14  Andreas Jaeger  <aj@suse.de>
37597
37598         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37599         it's not used in glibc.
37600         (__coshm1): Likewise.
37601         (__acosh1p): Likewise.
37602         (__sgn): Likewise.
37603
37604         * manual/string.texi (Copying and Concatenation): Add missing
37605         variable in concat example.
37606         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37607
37608 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37609
37610         [BZ #14103]
37611         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37612         __builtin_clzl with __builtin_clzll.
37613
37614 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37615
37616         [BZ #14104]
37617         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37618         libc_freeres_ptr.
37619
37620 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37621
37622         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37623         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37624         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37625         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37626
37627 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
37628
37629         * NEWS: Update ia64 info.
37630
37631 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
37632
37633         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37634         used as bcopy.
37635
37636 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
37637
37638         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37639         * sysdeps/unix/syscalls.list (dup3): Likewise.
37640         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37641         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37642
37643 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37644
37645         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37646         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37647
37648 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37649
37650         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37651         thread pointer.
37652         (TLS_IE): Use mov/add instead of movq/addq to load thread
37653         pointer.
37654         (TLS_GD_PREFIX): New.
37655         (TLS_GD): Use it.
37656
37657 2012-05-11  David S. Miller  <davem@davemloft.net>
37658
37659         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37660         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37661         (_FPU_SETCW): Likewise.
37662
37663 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37664
37665         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37666         is 32-byte aligned.
37667
37668 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
37669
37670         [BZ #11837]
37671         * iconvdata/gb18030.c: Update tables.
37672         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
37673         characters specially.
37674         (BODY for TO_LOOP): Add encoding of missing ranges.
37675
37676 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
37677
37678         [BZ #13673]
37679         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37680         * sysdeps/mach/hurd/dup3.c: Likewise.
37681         * sysdeps/mach/hurd/readlinkat.c: Likewise.
37682         * sysdeps/powerpc/memmove.c:: Likewise.
37683
37684 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37685
37686         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37687         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37688
37689 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37690
37691         * elf/elf.h (R_X86_64_RELATIVE64): New.
37692         (R_X86_64_NUM): Updated.
37693         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37694         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
37695         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37696         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37697         tst-quad1pie tst-quad2pie
37698         (modules-names): Add tst-quadmod1 tst-quadmod2.
37699         ($(objpfx)tst-quad1): New dependency.
37700         ($(objpfx)tst-quad2): Likewise.
37701         ($(objpfx)tst-quad1pie): Likewise.
37702         ($(objpfx)tst-quad2pie): Likewise.
37703         * sysdeps/x86_64/tst-quad1.c: New file.
37704         * sysdeps/x86_64/tst-quad1pie.c: New file.
37705         * sysdeps/x86_64/tst-quad2.c: Likewise.
37706         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37707         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37708         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37709         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37710         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37711
37712 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37713
37714         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37715         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37716         * streams/stropts.h (t_scalar_t): Define type.
37717
37718         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37719         (_PATH_PRESERVE): Set to "/var/lib".
37720         (_PATH_RWHODIR): Set to "/var/spool/rwho".
37721
37722         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37723         instead of int.
37724
37725         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37726         if __dir_mkfile succeeded.
37727
37728         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37729         checking for _hurd_dtablesize.  Unlock it right after having
37730         finished _hurd_dtable allocation.
37731
37732 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37733
37734         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37735         * sysdeps/mach/hurd/configure: Regenerated.
37736         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37737         special-casing to...
37738         * sysdeps/gnu/configure.in: ... this new file.
37739         * sysdeps/unix/sysv/linux/configure: Regenerated.
37740         * sysdeps/gnu/configure: New generated file.
37741
37742         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37743         for Linux: use nsec instead of usec, as well as:
37744         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37745         members of type struct timespec.
37746         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37747         New macros.
37748         (struct stat64): Likewise.
37749         (_STATBUF_ST_NSEC): New macro.
37750         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37751
37752         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37753         __strtoul_internal rather than strtoul.
37754
37755 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37756
37757         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37758         and reject them.
37759
37760 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37761
37762         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37763         which preserves existing values.
37764         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37765
37766 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37767
37768         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37769         TIMEOUT values.  Return EINVAL for NFDS values either negative or
37770         greater than FD_SETSIZE.
37771
37772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37773
37774         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37775         allocated, call __vm_protect to finish enabling the existing space, and
37776         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37777         allocate the remainder.
37778
37779 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37780
37781         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37782         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
37783
37784 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37785
37786         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37787         sysdeps/mach/hurd/readlink.c.
37788
37789         * posix/tst-sysconf.c (posix_options): Only use
37790         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37791         _POSIX_SYNCHRONIZED_IO when they are defined
37792         * sysdeps/mach/hurd/bits/posix_opt.h:
37793         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37794         (_XOPEN_REALTIME): Undefine macro.
37795         (_XOPEN_REALTIME_THREADS): Undefine macro.
37796         (_XOPEN_SHM): Undefine macro.
37797         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37798         macro to -1.
37799         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37800         macro to -1.
37801         (_POSIX_ASYNC_IO): Undefine macro.
37802         (_POSIX_PRIORITIZED_IO): Undefine macro.
37803         (_POSIX_SPIN_LOCKS): Define macro to -1.
37804
37805         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37806         SA_NODEFER, SA_RESETHAND.
37807         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37808         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37809         F_DUPFD_CLOEXEC.
37810
37811 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37812
37813         * elf/Makefile (pldd-modules): Define unconditionally.
37814
37815 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37816
37817         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37818
37819 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37820
37821         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37822         Return ENOENT when name is empty.
37823         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37824
37825 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37826
37827         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37828
37829         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37830
37831 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37832
37833         Fix mlock in all cases except non-readable pages.
37834         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37835         instead of VM_PROT_ALL as parameter to __vm_wire function.
37836
37837         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37838         (__mkdir): When path is `/', just fail with EEXIST.
37839         * sysdeps/mach/hurd/mkdirat.c: Likewise.
37840
37841 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37842
37843         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37844         <sys/uio.h> (for writev).
37845         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37846         and <sys/param.h> (for MIN).
37847
37848 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37849
37850         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37851         REQUESTED_TIME.  Properly set the remaining time and return EINTR
37852         if interrupted.
37853
37854 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37855
37856         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37857         Depend on against $(link-rpcuserlibs).
37858
37859 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37860
37861         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37862         (__libc_stack_end): Do not use attribute_relro.
37863         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37864         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37865         to libthread-provided value.
37866         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37867         attribute_relro.
37868
37869 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37870
37871         [BZ #3748]
37872         * bits/libc-lock.h (__libc_once_get): New macro.
37873         * sysdeps/mach/bits/libc-lock.h: Likewise.
37874         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37875         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37876         instead of using implementation details.
37877
37878         * libio/fileops.c: Unconditionally include <kernel-features.h>.
37879         * libio/freopen.c: Likewise.
37880         * libio/freopen64.c: Likewise.
37881         * misc/syslog.c: Likewise.
37882         * nscd/connections.c: Likewise.
37883         * nscd/netgroupcache.c: Likewise.
37884         * sysdeps/posix/getcwd.c: Likewise.
37885
37886 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37887
37888         * math/w_ilogbf.c: Add #include <limits.h>.
37889
37890 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37891
37892         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37893         path instead of returning without unlocking.
37894
37895         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37896         immediate-write ioctls.
37897         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37898
37899 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37900
37901         * sysdeps/mach/hurd/i386/init-first.c (init): Use
37902         __builtin_frame_address instead of making assumptions about the
37903         location of the return address relative to DATA.  Force early load of
37904         the return address.
37905         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37906         __builtin_frame_address.
37907
37908         dup3 for GNU Hurd.
37909         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37910         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
37911         implement dup3 and do some further code clean-ups.
37912         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37913         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37914
37915 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37916
37917         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37918
37919         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37920         HURD_CRITICAL_END around holding _hurd_dtable_lock.
37921         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37922         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37923         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37924         d->port.lock.
37925
37926         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37927         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
37928         when handler == SIG_ERR, not when handler != SIG_ERR.
37929
37930 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37931
37932         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37933         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37934         definitions.
37935
37936         accept4 for GNU Hurd.
37937         * include/sys/socket.h (__libc_accept4): New prototype.
37938         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
37939         to implement __libc_accept4.
37940         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37941         __libc_accept4.
37942         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37943
37944         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37945         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37946         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37947         signal-defines.sym.
37948
37949 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37950
37951         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37952
37953 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37954
37955         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37956         assertion on O_CLOEXEC flag.
37957         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37958         * hurd/intern-fd.c: Likewise.
37959         * hurd/port2fd.c: Likewise.
37960
37961 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37962
37963         [BZ #3906]
37964         * bits/in.h (IPV6_PKTINFO): Define new macro.
37965         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37966
37967 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37968
37969         [BZ #13954]
37970         [BZ #13955]
37971         [BZ #13956]
37972         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37973         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37974         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37975         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37976         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37977         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37978         * math/libm-test.inc (logb_test) : Additional logb tests.
37979
37980 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
37981             Andreas Jaeger  <aj@suse.de>
37982
37983         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37984         * configure: Regenerated.
37985         * config.h.in (LINK_OBSOLETE_RPC): New macro.
37986         * config.make.in (link-obsolete-rpc): New substituted variable.
37987         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37988         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37989         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37990         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37991         so that libc.a contains the symbols.
37992         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37993         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37994         * sunrpc/auth_none.c: Likewise.
37995         * sunrpc/auth_unix.c: Likewise.
37996         * sunrpc/authdes_prot.c: Likewise.
37997         * sunrpc/authuxprot.c: Likewise.
37998         * sunrpc/clnt_gen.c: Likewise.
37999         * sunrpc/clnt_perr.c: Likewise.
38000         * sunrpc/clnt_raw.c: Likewise.
38001         * sunrpc/clnt_simp.c: Likewise.
38002         * sunrpc/clnt_tcp.c: Likewise.
38003         * sunrpc/clnt_udp.c: Likewise.
38004         * sunrpc/clnt_unix.c: Likewise.
38005         * sunrpc/des_crypt.c: Likewise.
38006         * sunrpc/des_soft.c: Likewise.
38007         * sunrpc/get_myaddr.c: Likewise.
38008         * sunrpc/key_call.c: Likewise.
38009         * sunrpc/key_prot.c: Likewise.
38010         * sunrpc/netname.c: Likewise.
38011         * sunrpc/pm_getmaps.c: Likewise.
38012         * sunrpc/pm_getport.c: Likewise.
38013         * sunrpc/pmap_clnt.c: Likewise.
38014         * sunrpc/pmap_prot.c: Likewise.
38015         * sunrpc/pmap_prot2.c: Likewise.
38016         * sunrpc/pmap_rmt.c: Likewise.
38017         * sunrpc/publickey.c: Likewise.
38018         * sunrpc/rpc_cmsg.c: Likewise.
38019         * sunrpc/rpc_common.c: Likewise.
38020         * sunrpc/rpc_dtable.c: Likewise.
38021         * sunrpc/rpc_prot.c: Likewise.
38022         * sunrpc/rpc_thread.c: Likewise.
38023         * sunrpc/rtime.c: Likewise.
38024         * sunrpc/svc.c: Likewise.
38025         * sunrpc/svc_auth.c: Likewise.
38026         * sunrpc/svc_raw.c: Likewise.
38027         * sunrpc/svc_run.c: Likewise.
38028         * sunrpc/svc_tcp.c: Likewise.
38029         * sunrpc/svc_udp.c: Likewise.
38030         * sunrpc/svc_unix.c: Likewise.
38031         * sunrpc/svcauth_des.c: Likewise.
38032         * sunrpc/xcrypt.c: Likewise.
38033         * sunrpc/xdr.c: Likewise.
38034         * sunrpc/xdr_array.c: Likewise.
38035         * sunrpc/xdr_float.c: Likewise.
38036         * sunrpc/xdr_intXX_t.c: Likewise.
38037         * sunrpc/xdr_mem.c: Likewise.
38038         * sunrpc/xdr_rec.c: Likewise.
38039         * sunrpc/xdr_ref.c: Likewise.
38040         * sunrpc/xdr_sizeof.c: Likewise.
38041         * sunrpc/xdr_stdio.c: Likewise.
38042
38043 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38044
38045         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38046         change.  Update copyright years.
38047
38048 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38049
38050         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38051
38052 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
38053             Joseph Myers  <joseph@codesourcery.com>
38054             Paul Pluzhnikov  <ppluzhnikov@google.com>
38055
38056         [BZ #14012]
38057         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38058         requiring rpcgen.
38059         [cross-compiling] (extra-libs): Likewise.
38060         [cross-compiling] (extra-libs-others): Likewise.
38061         [cross-compiling] (librpcsvc-routines): Likewise.
38062         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38063         [cross-compiling] (omit-deps): Likewise.
38064         (sunrpc-CPPFLAGS): New variable.
38065         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38066         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38067         (cross-rpcgen-objs): New variable.
38068         (extra-objs): Append $(cross-rpcgen-objs).
38069         ($(cross-rpcgen-objs)): New rule.
38070         ($(objpfx)cross-rpcgen): Likewise.
38071         (rpcgen-cmd): Define to use $(built-program-file).  Expand
38072         comment.
38073         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38074         ($(objpfx)x%.stmp): Likewise.
38075         * sunrpc/proto.h [IS_IN_build] (_): Define.
38076         [IS_IN_build] (_libc_intl_domainname): Likewise.
38077
38078 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38079
38080         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38081         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38082         and R_X86_64_TPOFF64.
38083
38084 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38085
38086         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38087         sysdeps/unix/sysv/syscalls.list.
38088         (stime): Likewise.
38089         (utime): Likewise.
38090         * sysdeps/unix/sysv/syscalls.list: Remove file.
38091
38092 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
38093
38094         [BZ #3440]
38095         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38096         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38097         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38098         (__LC_IDENTIFICATION): Make these macros useful in #if
38099         expressions, as required by C99.
38100
38101 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
38102
38103         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38104         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
38105         after this.
38106
38107 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
38108
38109         * stdlib/longlong.h: Updated from GCC.
38110
38111 2012-05-09  Andreas Jaeger  <aj@suse.de>
38112
38113         * nscd/nscd.c (run_modes): Make named enum, reorder so that
38114         default is first entry.
38115         (run_mode): Set type.
38116         (main): Remove informal message about syslog.
38117         (options): Fix typo.
38118
38119         [BZ #14053]
38120         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38121         to asm.
38122         (lrint): Likewise.
38123         (llrintf): Likewise.
38124         (llrint): Likewise.
38125         (rint): Likewise.
38126         (rintf): Likewise.
38127         (nearbyint): Likewise.
38128         (nearbyintf): Likewise.
38129
38130 2012-05-09  Andreas Jaeger  <aj@suse.de>
38131             Pedro Alves  <palves@redhat.com>
38132
38133         * nscd/nscd.c (run_mode): Use enum.
38134         (main): Cleanup coding style issue.
38135
38136 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
38137             Andreas Jaeger  <aj@suse.de>
38138
38139         * nscd/nscd.c (go_background): Replaced with...
38140         (run_mode): ... this.
38141         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38142         (options): Add -F --foreground.
38143         (main): Implement it.
38144         (parse_opt): Parse it.
38145
38146 2012-05-09  Andreas Jaeger  <aj@suse.de>
38147
38148         [BZ #14083]
38149         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38150         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38151         -Wconversion warning.
38152         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38153         Likewise.
38154
38155 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
38156
38157         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
38158         == 0.
38159         (LC_ALL): Use macro-int-constant.
38160         (LC_COLLATE): Likewise.
38161         (LC_CTYPE): Likewise.
38162         (LC_MESSAGES): Likewise.
38163         (LC_MONETARY): Likewise.
38164         (LC_NUMERIC): Likewise.
38165         (LC_TIME): Likewise.
38166         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38167         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38168         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38169         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38170         Specify type.
38171         [C99-based standards] (float_t): Expect type.
38172         [C99-based standards] (double_t): Expect type.
38173         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
38174         type.
38175         [C99-based standards] (HUGE_VALL): Likewise.
38176         [C99-based standards] (INFINITY): Likewise.
38177         [C99-based standards] (NAN): Likewise.
38178         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38179         [C99-based standards] (FP_NAN): Likewise.
38180         [C99-based standards] (FP_NORMAL): Likewise.
38181         [C99-based standards] (FP_SUBNORMAL): Likewise.
38182         [C99-based standards] (FP_ZERO): Likewise.
38183         [C99-based standards] (FP_FAST_FMA): Use
38184         optional-macro-int-constant.  Specify type.  Require == 1.
38185         [C99-based standards] (FP_FAST_FMAF): Likewise.
38186         [C99-based standards] (FP_FAST_FMAL): Likewise.
38187         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38188         [C99-based standards] (FP_ILOGBNAN): Likewise.
38189         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38190         Specify type.
38191         [C99-based standards] (MATH_ERREXCEPT): Likewise.
38192         [C99-based standards] (math_errhandling): Specify type.
38193         [ISO99 || ISO11] (signgam): Do not allow.
38194         [non-C99-based standards] (copysignf): Do not allow.
38195         [non-C99-based standards] (exp2f): Likewise.
38196         [non-C99-based standards] (log2f): Likewise.
38197         [non-C99-based standards] (modff): Allow.
38198         [non-C99-based standards] (erff): Do not allow.
38199         [non-C99-based standards] (erfcf): Likewise.
38200         [non-C99-based standards] (gammaf): Likewise.
38201         [non-C99-based standards] (hypotf): Likewise.
38202         [non-C99-based standards] (j0f): Likewise.
38203         [non-C99-based standards] (j1f): Likewise.
38204         [non-C99-based standards] (jnf): Likewise.
38205         [non-C99-based standards] (lgammaf): Likewise.
38206         [non-C99-based standards] (tgammaf): Likewise.
38207         [non-C99-based standards] (y0f): Likewise.
38208         [non-C99-based standards] (y1f): Likewise.
38209         [non-C99-based standards] (ynf): Likewise.
38210         [non-C99-based standards] (isnanf): Likewise.
38211         [non-C99-based standards] (acoshf): Likewise.
38212         [non-C99-based standards] (asinhf): Likewise.
38213         [non-C99-based standards] (atanhf): Likewise.
38214         [non-C99-based standards] (cbrtf): Likewise.
38215         [non-C99-based standards] (expm1f): Likewise.
38216         [non-C99-based standards] (ilogbf): Likewise.
38217         [non-C99-based standards] (log1pf): Likewise.
38218         [non-C99-based standards] (logbf): Likewise.
38219         [non-C99-based standards] (nextafterf): Likewise.
38220         [non-C99-based standards] (remainderf): Likewise.
38221         [non-C99-based standards] (rintf): Likewise.
38222         [non-C99-based standards] (scalbf): Likewise.
38223         [non-C99-based standards] (copysignl): Likewise.
38224         [non-C99-based standards] (exp2l): Likewise.
38225         [non-C99-based standards] (log2l): Likewise.
38226         [non-C99-based standards] (modfl): Allow.
38227         [non-C99-based standards] (erfl): Do not allow.
38228         [non-C99-based standards] (erfcl): Likewise.
38229         [non-C99-based standards] (gammal): Likewise.
38230         [non-C99-based standards] (hypotl): Likewise.
38231         [non-C99-based standards] (j0l): Likewise.
38232         [non-C99-based standards] (j1l): Likewise.
38233         [non-C99-based standards] (jnl): Likewise.
38234         [non-C99-based standards] (lgammal): Likewise.
38235         [non-C99-based standards] (tgammal): Likewise.
38236         [non-C99-based standards] (y0l): Likewise.
38237         [non-C99-based standards] (y1l): Likewise.
38238         [non-C99-based standards] (ynl): Likewise.
38239         [non-C99-based standards] (isnanl): Likewise.
38240         [non-C99-based standards] (acoshl): Likewise.
38241         [non-C99-based standards] (asinhl): Likewise.
38242         [non-C99-based standards] (atanhl): Likewise.
38243         [non-C99-based standards] (cbrtl): Likewise.
38244         [non-C99-based standards] (expm1l): Likewise.
38245         [non-C99-based standards] (ilogbl): Likewise.
38246         [non-C99-based standards] (log1pl): Likewise.
38247         [non-C99-based standards] (logbl): Likewise.
38248         [non-C99-based standards] (nextafterl): Likewise.
38249         [non-C99-based standards] (remainderl): Likewise.
38250         [non-C99-based standards] (rintl): Likewise.
38251         [non-C99-based standards] (scalbl): Likewise.
38252         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38253         [non-C99-based standards] (FP_*): Do not allow.
38254         [C99-based standards] (FP_*): Change to
38255         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38256         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38257         allow.
38258         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38259         (SIG_ERR): Likewise.
38260         [X/Open-based standards] (SIG_HOLD): Likewise.
38261         (SIG_IGN): Likewise.
38262         (SIGABRT): Use macro-int-constant.  Specify type.  Require
38263         positive value.
38264         (SIGFPE): Likewise.
38265         (SIGILL): Likewise.
38266         (SIGINT): Likewise.
38267         (SIGSEGV): Likewise.
38268         (SIGTER): Likewise.
38269         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38270         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38271         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38272         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38273         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38274         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38275         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38276         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38277         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38278         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38279         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38280         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38281         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38282         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38283         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38284         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38285         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38286         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38287         [X/Open-based standards] (SIGTRAP): Likewise.
38288         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38289         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38290         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38291         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38292         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38293         allow.
38294
38295 2012-05-08  Ian Wienand  <ianw@vmware.com>
38296
38297         [BZ #14080]
38298         * time/tzset.c (__tzset_parse_tz): Update default rules for
38299         daylight time changes in the Energy Policy Act of 2005.
38300
38301 2012-05-09  Andreas Jaeger  <aj@suse.de>
38302
38303         [BZ #13983]
38304         * elf/ldconfig.c (parse_conf): Change string to make clear that
38305         ldconfig only issued a warning if ld.so.conf does not exist.
38306
38307 2012-05-08  David S. Miller  <davem@davemloft.net>
38308
38309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38310         movxtod instead of popping the value on the stack.
38311
38312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38313
38314 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
38315
38316         * config.h.in: Add HAVE_ARM_PCS_VFP.
38317
38318 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
38319
38320         [BZ #13979]
38321         * include/features.h: Warn if user requests __FORTIFY_SOURCE
38322         checking but the checks are disabled for any reason.
38323
38324 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
38325
38326         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38327         and ELF64_R_TYPE with ELFW(R_TYPE).
38328
38329 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
38330
38331         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38332         (ulimit): Likewise.
38333
38334         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38335         (settimeofday): Likewise.
38336
38337 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
38338
38339         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
38340         a struct th_u2 inside the union, and move tu_block/tu_code into
38341         a new th_u3 union of tu_block/tu_code inside of that.  Move
38342         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
38343         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
38344         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38345         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38346         (th_stuff): Change to th_u1.tu_stuff.
38347         (th_data): Define.
38348         (th_msg): Change to th_u1.th_u2.tu_data.
38349
38350 2012-05-07  David S. Miller  <davem@davemloft.net>
38351
38352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38353
38354         [BZ #14074]
38355         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38356         (SETUP_PIC_REG): Use it.
38357         (SETUP_PIC_REG_LEAF): Use it.
38358
38359 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
38360
38361         [BZ #13885]
38362         [BZ #13923]
38363         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38364         USE_AS_EXPM1L.
38365         (EXPL_FINITE): Likewise.
38366         (FLDLOG): Likewise.
38367         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38368         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38369         e_expl.S.
38370         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38371         USE_AS_EXPM1L.
38372         (EXPL_FINITE): Likewise.
38373         (FLDLOG): Likewise.
38374         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38375         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38376         e_expl.S.
38377         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
38378         test of -max_value argument for long double.
38379         * sysdeps/i386/fpu/libm-test-ulps: Update.
38380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38381
38382 2012-05-06  David S. Miller  <davem@davemloft.net>
38383
38384         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38385         quad soft-float symbols whose references which are compiler
38386         generated.
38387         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38388
38389 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
38390
38391         [BZ #13884]
38392         [BZ #13914]
38393         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38394         USE_AS_EXP10L.
38395         (EXPL_FINITE): Likewise.
38396         (FLDLOG): Likewise.
38397         (c0): Likewise.
38398         (c1): Likewise.
38399         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38400         Adjust comments for base varying.
38401         (__expl_finite): Change alias to EXPL_FINITE.
38402         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38403         e_expl.S.
38404         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38405         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38406         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38407         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38408         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38409         USE_AS_EXP10L.
38410         (EXPL_FINITE): Likewise.
38411         (FLDLOG): Likewise.
38412         (c0): Likewise.
38413         (c1): Likewise.
38414         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38415         Adjust comments for base varying.
38416         (__expl_finite): Change alias to EXPL_FINITE.
38417         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
38418         tests for bugs.
38419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38420
38421         [BZ #14064]
38422         * math/libm-test.inc (check_float_internal): Correct ulp
38423         calculation for subnormal expected results.
38424
38425 2012-05-06  Andreas Jaeger  <aj@suse.de>
38426
38427         * Makeconfig (+math-flags): New, set to -frounding-math.
38428         (+cflags): Add +math-flags so that all of glibc gets compiled with
38429         it.
38430
38431         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38432
38433 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
38434
38435         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38436         Disable one test.
38437
38438         [BZ #13787]
38439         [BZ #13922]
38440         [BZ #14036]
38441         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38442         (__ieee754_expl): Allow for and saturate large arguments.
38443         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38444         (u_threshold): Likewise.
38445         (__exp): Call __ieee754_exp before checking for overflow and
38446         underflow.
38447         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38448         (u_threshold): Likewise.
38449         (__expf): Call __ieee754_expf before checking for overflow and
38450         underflow.
38451         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38452         (u_threshold): Likewise.
38453         (__expl): Call __ieee754_expl before checking for overflow and
38454         underflow.
38455         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38456         (__ieee754_expl): Allow for and saturate large arguments.
38457         * math/libm-test.inc (exp_test): Add another test.  Do not allow
38458         missing overflow exception on overflow.
38459         (expm1_test): Do not allow missing overflow exception on overflow.
38460
38461         * sysdeps/i386/fpu/e_expl.c: Move to ...
38462         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
38463         rather than using inline asm.
38464         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38465         * sysdeps/x86_64/fpu/e_expl.S: Copy from
38466         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38467
38468         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38469         (nice): Likewise.
38470         (poll): Likewise.
38471         (signal): Likewise.
38472         (time): Likewise.
38473         (times): Likewise.
38474
38475 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38476
38477         * sysdeps/unix/syscalls.list (adjtime): Add entry from
38478         sysdeps/unix/common/syscalls.list.
38479         (fchmod): Likewise.
38480         (fchown): Likewise.
38481         (ftruncate): Likewise.
38482         (getrusage): Likewise.
38483         (gettimeofday): Likewise.
38484         (setpgid): Likewise.
38485         (setregid): Likewise.
38486         (setreuid): Likewise.
38487         (sigaction): Likewise.
38488         (truncate): Likewise.
38489         (vhangup): Likewise.
38490         * sysdeps/unix/common/syscalls.list: Remove file.
38491         * sysdeps/unix/bsd/Implies: Don't include unix/common.
38492         * sysdeps/unix/sysv/linux/Implies: Likewise.
38493
38494 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
38495
38496         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38498         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38499         Moved to ...
38500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38501         Here.
38502         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38503         to ...
38504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38505         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38506         to ...
38507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38508         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38509         to ...
38510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38511         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38512         to ...
38513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38514         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38515         to ...
38516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38517         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38518         to ...
38519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38520         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38521         to ...
38522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38523         Here.
38524         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38525         to ...
38526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38527         Here.
38528         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38529         to ...
38530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38531         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38532         Moved to ...
38533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38534         Here.
38535         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38536         to ...
38537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38538
38539 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38540
38541         * sysdeps/unix/common/bits/dirent.h: Remove file.
38542         * sysdeps/unix/common/bits/fcntl.h: Likewise.
38543
38544         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38545         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38546         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38547         * sysdeps/unix/bsd/isatty.c: Likewise.
38548         * sysdeps/unix/bsd/tcdrain.c: Likewise.
38549         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38550         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38551
38552 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38553
38554         [BZ #13563]
38555         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38556         long double comparison inaccuracies.
38557         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38559
38560 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
38561
38562         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38563         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38564
38565 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38566
38567         [BZ #14049]
38568         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38569         nonzero digits before rounding a hex value.
38570         * stdlib/tst-strtod.c (tests): Add another test.
38571
38572 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38573
38574         * sysdeps/s390/fpu/libm-test-ulps: Update.
38575
38576 2012-05-03  Andreas Jaeger  <aj@suse.de>
38577
38578         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38579         does not get optimized out.
38580         (malloc_opt_barrier): New.
38581
38582 2012-05-03  Andreas Jaeger  <aj@suse.de>
38583             Roland McGrath  <roland@hack.frob.com>
38584
38585         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38586         intermediate file deletion.
38587         (generated): Add .symlist files.
38588
38589 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
38590
38591         [BZ #13775]
38592         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38593         Redirect under this condition.
38594         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38595         [__USE_GNU] (__dprintf_chk): Not under this condition.
38596         [__USE_GNU] (__vdprintf_chk): Likewise.
38597         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38598         under this condition.
38599         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38600         [__USE_XOPEN2K8] (dprintf): Define under this condition.
38601         [__USE_XOPEN2K8] (vdprintf): Likewise.
38602         [__USE_GNU] (__dprintf_chk): Not under this condition.
38603         [__USE_GNU] (__vdprintf_chk): Likewise.
38604         [__USE_GNU] (dprintf): Likewise.
38605         [__USE_GNU] (vdprintf): Likewise.
38606
38607 2012-05-03  Roland McGrath  <roland@hack.frob.com>
38608
38609         * elf/Makefile (common-generated): Set this instead of generated for
38610         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
38611         $(all-built-dso)-derived lists.
38612
38613 2012-05-03  Andreas Jaeger  <aj@suse.de>
38614
38615         * sysdeps/i386/fpu/libm-test-ulps: Update.
38616
38617         * FAQ: Removed.
38618         * FAQ.in: Likewise.
38619         * scripts/gen-FAQ.pl: Likewise.
38620         * manual/install.texi (Installation): Point to online location of
38621         FAQ.
38622         * Makefile (files-for-dist): Remove FAQ.
38623         (FAQ): Remove.
38624
38625 2012-05-02  Allan McRae  <allan@archlinux.org>
38626
38627         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38628         (LDFLAGS-reldepmod5.so): Likewise.
38629         (LDFLAGS-reldep6mod1.so): Likewise.
38630         (LDFLAGS-reldep6mod4.so): Likewise.
38631         (LDFLAGS-reldep8mod3.so): Likewise.
38632         (LDFLAGS-unload4mod1.so): Likewise.
38633         (LDFLAGS-unload4mod2.so): Likewise.
38634         (LDFLAGS-tst-initorder): Likewise.
38635         (LDFLAGS-tst-initordera2.so): Likewise.
38636         (LDFLAGS-tst-initordera3.so): Likewise.
38637         (LDFLAGS-tst-initordera4.so): Likewise.
38638         (LDFLAGS-tst-initorderb2.so): Likewise.
38639         (LDFLAGS-noload): Likewise.
38640         (LDFLAGS-next): Likewise.
38641         (LDFLAGS-order2mod1.so): Likewise.
38642         (LDFLAGS-order2mod2.so): Likewise.
38643         (LDFLAGS-tst-initorder2): Likewise.
38644         (LDFLAGS-tst-initorder2a.so): Likewise.
38645         (LDFLAGS-tst-initorder2b.so): Likewise.
38646         (LDFLAGS-tst-initorder2c.so): Likewise.
38647         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38648
38649 2012-05-02  David S. Miller  <davem@davemloft.net>
38650
38651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38652
38653 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
38654
38655         [BZ #14055]
38656         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38657
38658 2012-05-02  Andreas Jaeger  <aj@suse.de>
38659
38660         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38661         since we manipulate rounding mode.
38662         (CPPFLAGS-test-idouble.c): Likewise.
38663         (CPPFLAGS-test-ifloat.c): Likewise.
38664         (CFLAGS-test-ldouble.c): Likewise.
38665         (CFLAGS-test-double.c): Likewise.
38666         (CFLAGS-test-float.c): Likewise.
38667         (CFLAGS-test-misc.c): Likewise.
38668         (CFLAGS-test-test-fenv.c): Likewise.
38669
38670 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38671
38672         [BZ #2550]
38673         [BZ #2570]
38674         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38675         comparisons to determine direction to adjust input.
38676
38677 2012-05-01  Roland McGrath  <roland@hack.frob.com>
38678
38679         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38680         output to the target.
38681
38682         * scripts/localplt.awk: New file.
38683         * elf/Makefile ($(objpfx)check-localplt): Target removed.
38684         (check-localplt-CFLAGS): Variable removed.
38685         ($(all-built-dso:=.jmprel)): New static pattern rule.
38686         (generated): Add those targets.
38687         (localplt-built-dso): New variable.
38688         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38689
38690         * elf/check-localplt.c: File removed.
38691
38692         * scripts/check-execstack.awk: New file.
38693         * elf/Makefile ($(objpfx)check-execstack): Target removed.
38694         (check-execstack-CFLAGS): Variable removed.
38695         ($(objpfx)check-execstack.h): Target removed.
38696         ($(objpfx)execstack-default): New target.
38697         (generated): Add that instead of check-execstack.h.
38698         ($(all-built-dso:=.phdr)): New static pattern rule.
38699         (generated): Add those targets.
38700         * elf/check-execstack.c: File removed.
38701
38702         * scripts/check-textrel.awk: New file.
38703         * elf/Makefile ($(objpfx)check-textrel): Target removed.
38704         (check-textrel-CFLAGS): Variable removed.
38705         (all-built-dso): Use := to define.o
38706         ($(all-built-dso:=.dyn)): New static pattern rule.
38707         (generated): Add those targets.
38708         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38709         * config.make.in (READELF): New substituted variable.
38710         * elf/check-textrel.c: File removed.
38711
38712 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38713
38714         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38715         allow.
38716         * conform/data/ctype.h-data [C99-based standards] (isblank):
38717         Expect function.
38718         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38719         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38720         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38721         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38722         Specify type.  Require positive value.
38723         (EILSEQ): Likewise.
38724         (ERANGE): Likewise.
38725         [ISO || POSIX] (EILSEQ): Do not expect.
38726         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38727         Specify type.  Require positive value.
38728         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38729         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38730         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38731         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38732         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38733         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38734         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38735         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38736         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38737         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38738         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38739         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38740         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38741         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38742         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38743         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38744         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38745         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38746         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38747         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38748         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38749         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38750         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38751         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38752         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38753         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38754         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38755         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38756         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38757         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38758         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38759         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38760         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38761         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38762         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38763         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38764         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38765         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38766         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38767         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38768         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38769         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38770         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38771         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38772         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38773         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38774         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38775         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38776         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38777         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38778         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38779         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38780         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38781         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38782         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38783         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38784         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38785         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38786         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38787         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38788         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38789         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38790         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38791         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38792         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38793         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38794         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38795         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38796         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38797         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38798         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38799         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38800         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38801         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38802         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38803         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38804         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38805         Require >= 2.
38806         (FLT_ROUNDS): Expect as macro, not constant.
38807         (FLT_MANT_DIG): Use macro-int-constant.
38808         (DBL_MANT_DIG): Likewise.
38809         (LDBL_MANT_DIG): Likewise.
38810         (FLT_DIG): Likewise.
38811         (DBL_DIG): Likewise.
38812         (LDBL_DIG): Likewise.
38813         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
38814         (DBL_MIN_EXP): Likewise.
38815         (LDBL_MIN_EXP): Likewise.
38816         (FLT_MAX_EXP): Use macro-int-constant.
38817         (DBL_MAX_EXP): Likewise.
38818         (LDBL_MAX_EXP): Likewise.
38819         (FLT_MAX_10_EXP): Likewise.
38820         (DBL_MAX_10_EXP): Likewise.
38821         (LDBL_MAX_10_EXP): Likewise.
38822         (FLT_MAX): Use macro-constant.
38823         (DBL_MAX): Likewise.
38824         (LDBL_MAX): Likewise.
38825         (FLT_EPSILON): Use macro-constant.  Give upper bound.
38826         (DBL_EPSILON): Likewise.
38827         (LDBL_EPSILON): Likewise.
38828         (FLT_MIN): Likewise.
38829         (DBL_MIN): Likewise.
38830         (LDBL_MIN): Likewise.
38831         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38832         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38833         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38834         [ISO11] (FLT_HAS_SUBNORM): Likewise.
38835         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38836         [ISO11] (DBL_DECIMAL_DIG): Likewise.
38837         [ISO11] (FLT_DECIMAL_DIG): Likewise.
38838         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38839         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38840         [ISO11] (FLT_TRUE_MIN): Likewise.
38841         [ISO11] (LDBL_TRUE_MIN): Likewise.
38842         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38843         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38844         (SCHAR_MIN): Use macro-int-constant.  Specify type.
38845         (SCHAR_MAX): Likewise.
38846         (UCHAR_MAX): Likewise.
38847         (CHAR_MIN): Likewise.
38848         (CHAR_MAX): Likewise.
38849         (MB_LEN_MAX): Use macro-int-constant.
38850         (SHRT_MIN): Use macro-int-constant.  Specify type.
38851         (SHRT_MAX): Likewise.
38852         (USHRT_MAX): Likewise.
38853         (INT_MAX): Likewise.
38854         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
38855         bound negative.
38856         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38857         bound with "U".
38858         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38859         bound with "L".
38860         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
38861         bound negative.  Suffix upper bound with "L".
38862         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38863         bound with "UL".
38864         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38865         Specify type.
38866         [C99-based standards] (LLONG_MAX): Likewise.
38867         [C99-based standards] (ULLONG_MAX): Likewise.
38868         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
38869         == 0.
38870         [ISO11] (max_align_t): Require type.
38871         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38872
38873         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38874         from $CFLAGS, without defining away __attribute__ calls.
38875         (checknamespace): Use $CFLAGS_namespace.
38876
38877         * conform/conformtest.pl (@keywords): Only include C99 keywords
38878         for standards based on C99 or C11.
38879
38880         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38881         Disable tests.
38882         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38883         UNIX98]: Likewise.
38884
38885         * conform/conformtest.pl: Handle "macro-int-constant" and test for
38886         usability of symbols in #if.
38887
38888         * conform/conformtest.pl: If macro or constant types start
38889         "promoted:", expect the symbol to be of the following type
38890         promoted by the integer promotions.
38891
38892         * conform/conformtest.pl: Parse all "constant" and "macro" lines
38893         in one place.  Also handle "macro-constant".
38894
38895         * conform/conformtest.pl: Only accept expected macro values with
38896         "==".  Parse all "macro" lines in one place.
38897         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38898
38899         * conform/conformtest.pl: Handle braced types on "constant" lines
38900         instead of handling "typed-constant".
38901         * conform/data/signal.h-data: Use "constant" instead of
38902         "typed-constant".
38903
38904         * conform/conformtest.pl: Handle "optional-" at start of lines in
38905         one place rather than duplicating several cases.  Handle each
38906         format of "macro" line with initial "optional-".
38907
38908         * conform/conformtest.pl: Only accept expected constant or
38909         optional-constant values with "==".  Parse all "constant" lines in
38910         one place.  Parse all "optional-constant" lines in one place.
38911         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38912         * conform/data/fmtmsg.h-data: Likewise.
38913         * conform/data/netinet/in.h-data: Likewise.
38914         * conform/data/tar.h-data: Likewise.
38915         * conform/data/limits.h-data: Use "==" form on "constant" and
38916         "optional-constant" lines.
38917
38918         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38919         Use -std=c99 for XOPEN2K.
38920         (@knownproblems): Remove.
38921         (newtoken): Don't check %isknown.
38922
38923         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38924         Do not expect macro.
38925         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38926         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38927         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38928         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38929         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38930         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38931         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38932         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38933         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38934         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38935         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38936         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38937         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38938         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38939         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38940         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38941         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38942         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38943         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38944         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38945         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38946         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38947         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38948         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38949         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38950         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38951         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38952         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38953         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38954         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38955         [XPG3] (acosh): Likewise.
38956         [XPG3] (asinh): Likewise.
38957         [XPG3] (atanh): Likewise.
38958         [XPG3] (cbrt): Likewise.
38959         [XPG3] (expm1): Likewise.
38960         [XPG3] (ilogb): Likewise.
38961         [XPG3] (log1p): Likewise.
38962         [XPG3] (logb): Likewise.
38963         [XPG3] (nextafter): Likewise.
38964         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38965         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38966         [XPG3] (remainder): Likewise.
38967         [XPG3] (rint): Likewise.
38968         [XPG3 || XPG4 || UNIX98] (round): Likewise.
38969         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38970         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38971         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38972         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38973         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38974         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38975         [UNIX98 || XOPEN2K] (scalb): Expect.
38976         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38977         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38978         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38979         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38980         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38981         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38982         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38983         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38984         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38985         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38986         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38987         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38988         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38989         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38990         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38991         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38992         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38993         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38994         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38995         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38996         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38997         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38998         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38999         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39000         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39001         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39002         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39003         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39004         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39005         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39006         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39007         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39008         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39009         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39010         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39011         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39012         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39013         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39014         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39015         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39016         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39017         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39018         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39019         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39020         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39021         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39022         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39023         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39024         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39025         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39026         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39027         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39028         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39029         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39030         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39031         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39032         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39033         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39034         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39035         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39036         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39037         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39038         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39039         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39040         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39041         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39042         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39043         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39044         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39045         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39046         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39047         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39048         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39049         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39050         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39051         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39052         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39053         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39054         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39055         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39056         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39057         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39058         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39059         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39060         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39061         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39062         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39063         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39064         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39065         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39066         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39067         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39068         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39069         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39070         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39071         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39072         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39073         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39074         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39075         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39076         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39077         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39078         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39079         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39080         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39081         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39082         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39083         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39084         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39085         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39086         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39087         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39088         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39089         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39090         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39091         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39092         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39093         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39094         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39095         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39096         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39097         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39098         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39099         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39100         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39101         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39102         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39103         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39104         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39105         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39106         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39107         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39108         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39109         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39110         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39111         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39112         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39113
39114         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39115         _XOPEN_SOURCE_EXTENDED for XPG4.
39116
39117         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39118
39119         * Makeconfig (localtime): Remove variable.
39120         (inst_localtime-file): Likewise.
39121
39122 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39123
39124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39125         Update.
39126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39127         Update.
39128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39129         Update.
39130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39131         Update.
39132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39133         Update.
39134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39135         Update.
39136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39137         Update.
39138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39139         Update.
39140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39141         Update.
39142
39143 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39144
39145         [BZ #2550]
39146         [BZ #2570]
39147         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39148         comparisons to determine direction to adjust input.
39149         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39150         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39151         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39152         Likewise.
39153         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39154         Likewise.
39155         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39156         Likewise.
39157         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39158         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39159         Likewise.
39160         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39161         Likewise.
39162         * math/libm-test.inc (nexttoward_test): Add more tests.
39163
39164 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39165
39166         [BZ #14040]
39167         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39168         in version GLIBC_2.1, not GLIBC_2.0.
39169         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39170         Likewise.
39171
39172 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
39173
39174         [BZ #13942]
39175         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39176         (1 - x) * (1 + x).
39177         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39178         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39179         * math/libm-test.inc (acos_test): Add more tests.
39180         (asin_test): Likewise.
39181         * sysdeps/i386/fpu/libm-test-ulps: Update.
39182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39183
39184         [BZ #14034]
39185         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39186         of square root.
39187         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39188         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39189         * math/libm-test.inc (acos_test_tonearest): New function.
39190         (acos_test_towardzero): Likewise.
39191         (acos_test_downward): Likewise.
39192         (acos_test_upward): Likewise.
39193         (asin_test_tonearest): Likewise.
39194         (asin_test_towardzero): Likewise.
39195         (asin_test_downward): Likewise.
39196         (asin_test_upward): Likewise.
39197         (main): Call the new functions.
39198         * sysdeps/i386/fpu/libm-test-ulps: Update.
39199         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39200
39201         [BZ #13884]
39202         [BZ #13924]
39203         * math/e_exp10.c: Include <float.h>.
39204         (__ieee754_exp10): Handle underflow here rather than multiplying
39205         large negative argument by M_LN10.
39206         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39207         of __ieee754_expf.
39208         * math/e_exp10l.c: Include <float.h>.
39209         (__ieee754_exp10l): Handle underflow here rather than multiplying
39210         large negative argument by M_LN10l.
39211         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
39212         spurious overflow exception on underflow.
39213
39214 2012-04-29  Marek Polacek  <polacek@redhat.com>
39215
39216         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39217         (__fortify_function): New macro.
39218         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39219         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39220         __extern_always_inline.
39221         * libio/bits/stdio2.h: Likewise.
39222         * libio/bits/stdio.h: Likewise.
39223         * string/string.h: Likewise.
39224         * string/bits/string3.h: Likewise.
39225         * include/stdio.h: Likewise.
39226         * stdlib/bits/stdlib.h: Likewise.
39227         * stdlib/stdlib.h: Likewise.
39228         * rt/bits/mqueue2.h: Likewise.
39229         * rt/mqueue.h: Likewise.
39230         * posix/bits/unistd.h: Likewise.
39231         * posix/unistd.h: Likewise.
39232         * io/bits/poll2.h: Likewise.
39233         * io/bits/fcntl2.h: Likewise.
39234         * io/fcntl.h: Likewise.
39235         * io/sys/poll.h: Likewise.
39236         * misc/bits/syslog.h: Likewise.
39237         * misc/bits/syslog-ldbl.h: Likewise.
39238         * misc/sys/syslog.h: Likewise.
39239         * socket/bits/socket2.h: Likewise.
39240         * socket/sys/socket.h: Likewise.
39241         * debug/tst-chk1.c: Likewise.
39242         * wcsmbs/bits/wchar2.h: Likewise.
39243         * wcsmbs/bits/wchar-ldbl.h: Likewise.
39244         * wcsmbs/wchar.h: Likewise.
39245
39246 2012-04-29  Andreas Jaeger  <aj@suse.de>
39247
39248         * Makerules (tests): Remove enable-check-abi protection.
39249         (check-abi-warn): Remove.
39250         (check-abi-%): Remove check-abi-warn usage.
39251
39252         * configure.in: Remove check-abi configure option.
39253         * configure: Regenerated.
39254         * config.make.in (enable-check-abi): Remove.
39255
39256 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
39257
39258         [BZ #14033]
39259         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39260         double functions to double *_finite functions.
39261
39262         [BZ #13941]
39263         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39264         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39265         LDBL_MIN_EXP.
39266         * stdio-common/Makefile (tests): Add tst-sprintf3.
39267         * stdio-common/tst-sprintf3.c: New file.
39268
39269         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39270         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39271
39272 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39273
39274         * conform/conformtest.pl: Remove duplicate typed-constant
39275         handling.
39276
39277 2012-04-28  David S. Miller  <davem@davemloft.net>
39278
39279         * Makerules (%.abilist): Add vpath on sysdep_dirs.
39280         (check-abi-%): Remove AWK script prerequisite and explicit
39281         abilist directory.
39282         (check-abi): Rewrite to just diff the symlist with the abilist.
39283         (config-tls, config-abi-config): Delete, no longer used.
39284         (update-abi-%): Remove AWK script and explicit abilist directory.
39285         (update-abi): Rewrite to simply compare and conditionally copy the
39286         symlist and the sysdep abilist file.  Remove update-abi-config
39287         checks.
39288         * abilist/ld.abilist: Remove.
39289         * abilist/libBrokenLocale.abilist: Remove.
39290         * abilist/libanl.abilist: Remove.
39291         * abilist/libcrypt.abilist: Remove.
39292         * abilist/libdl.abilist: Remove.
39293         * abilist/librt.abilist: Remove.
39294         * abilist/libthread_db.abilist: Remove.
39295         * abilist/libutil.abilist: Remove.
39296         * scripts/extract-abilist.awk: Remove.
39297         * scripts/merge-abilist.awk: Remove.
39298         * sysdeps/generic/libcidn.abilist: New file.
39299         * sysdeps/generic/libnss_compat.abilist: New file.
39300         * sysdeps/generic/libnss_db.abilist: New file.
39301         * sysdeps/generic/libnss_dns.abilist: New file.
39302         * sysdeps/generic/libnss_files.abilist: New file.
39303         * sysdeps/generic/libnss_hesiod.abilist: New file.
39304         * sysdeps/generic/libnss_nis.abilist: New file.
39305         * sysdeps/generic/libnss_nisplus.abilist: New file.
39306         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39307         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39308         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39309         file.
39310         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39311         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39312         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39313         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39314         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39315         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39316         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39317         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39318         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39319         file.
39320         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39321         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39322         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39323         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39324         file.
39325         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39326         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39327         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39328         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39329         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39330         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39331         file.
39332         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39333         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39334         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39335         file.
39336         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39337         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39338         New file.
39339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39340         New file.
39341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39342         New file.
39343         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39344         New file.
39345         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39346         New file.
39347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39348         New file.
39349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39350         New file.
39351         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39352         New file.
39353         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39354         New file.
39355         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39356         New file.
39357         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39358         New file.
39359         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39360         New file.
39361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39362         New file.
39363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39364         file.
39365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39366         New file.
39367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39368         New file.
39369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39370         file.
39371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39372         New file.
39373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39374         New file.
39375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39376         file.
39377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39378         New file.
39379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39380         New file.
39381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39382         New file.
39383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39384         New file.
39385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39386         New file.
39387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39388         New file.
39389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39391         file.
39392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39393         New file.
39394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39395         file.
39396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39397         file.
39398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39399         file.
39400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39401         file.
39402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39403         file.
39404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39405         New file.
39406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39407         file.
39408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39409         file.
39410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39411         New file.
39412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39413         file.
39414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39416         file.
39417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39418         New file.
39419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39420         file.
39421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39422         file.
39423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39424         file.
39425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39426         file.
39427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39428         file.
39429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39430         New file.
39431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39432         file.
39433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39434         file.
39435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39436         New file.
39437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39438         file.
39439         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39440         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39441         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39442         file.
39443         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39444         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39445         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39446         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39447         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39448         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39449         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39450         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39451         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39452         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39455         file.
39456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39457         New file.
39458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39459         file.
39460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39461         file.
39462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39463         file.
39464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39465         file.
39466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39467         file.
39468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39469         New file.
39470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39471         New file.
39472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39473         file.
39474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39475         New file.
39476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39477         file.
39478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39480         file.
39481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39482         New file.
39483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39484         file.
39485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39486         file.
39487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39488         file.
39489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39490         file.
39491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39492         file.
39493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39494         New file.
39495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39496         New file.
39497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39498         file.
39499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39500         New file.
39501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39502         file.
39503
39504 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39505
39506         * conform/conformtest.pl: Fix typo in handling typed-constant from
39507         allow-header.
39508
39509 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39510
39511         * README: Cut down references to pre-2.6 Linux kernels and
39512         Linuxthreads.  Update lists of configurations in libc and ports
39513         and sort alphabetically.  Say "or newer" with Linux kernel version
39514         requirements.
39515
39516         * config.h.in [IS_IN_build]: Allow compiling without optimization.
39517
39518 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39519
39520         [BZ #887]
39521         * math/libm-test.inc (logb_test_downward): New test to expose
39522         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39523         rounding mode.
39524
39525 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39526
39527         [BZ #14027]
39528         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39529         to be done.
39530         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39531         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39532
39533 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
39534
39535         * sysdeps/unix/i386/brk.S: Remove file.
39536         * sysdeps/unix/i386/dl-brk.S: Likewise.
39537         * sysdeps/unix/i386/pipe.S: Likewise.
39538         * sysdeps/unix/i386/sigreturn.S: Likewise.
39539         * sysdeps/unix/i386/syscall.S: Likewise.
39540         * sysdeps/unix/i386/vfork.S: Likewise.
39541         * sysdeps/unix/i386/wait.S: Likewise.
39542
39543         * sysdeps/unix/common/tcsendbrk.c: Move to ...
39544         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39545
39546         * configure.in (arm*-none*): Do not allow without
39547         --enable-hacker-mode.
39548         (netbsd*): Remove case setting base_os.
39549         (386bsd*): Likewise.
39550         (freebsd*): Likewise.
39551         (bsdi*): Likewise.
39552         (osf*): Likewise.
39553         (sunos*): Likewise.
39554         (ultrix*): Likewise.
39555         (newsos*): Likewise.
39556         (dynix*): Likewise.
39557         (*bsd*): Likewise.
39558         (sysv*): Likewise.
39559         (isc*): Likewise.
39560         (esix*): Likewise.
39561         (sco*): Likewise.
39562         (minix*): Likewise.
39563         (irix4*): Likewise.
39564         (irix6*): Likewise.
39565         (solaris[2-9]*): Likewise.
39566         (none): Likewise.
39567         * configure: Regenerated.
39568
39569 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39570
39571         [BZ #11521]
39572         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39573         overflow or cancellation in calculating denominator.
39574         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39575         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39576         down expression to avoid unexpected rounding in newer GCCs.
39577         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39578
39579 2012-04-26  David S. Miller  <davem@davemloft.net>
39580
39581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39582         long-double compat symbols.
39583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39596
39597 2012-04-25  David S. Miller  <davem@davemloft.net>
39598
39599         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39600         HWCAP_* values only after the memory barriers have been defined.
39601         (atomic_full_barrier): Define.
39602         (atomic_read_barrier): Define.
39603         (atomic_write_barrier): Define.
39604
39605 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39606
39607         * shlib-versions: Add libgcc_s version information.
39608         * sysdeps/generic/libgcc_s.h: Remove.
39609         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39610         libgcc_s.h.
39611         * sysdeps/gnu/unwind-resume.c: Likewise.
39612         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39613
39614 2012-04-25  David S. Miller  <davem@davemloft.net>
39615
39616         * sysdeps/unix/sparc/brk.S: Delete.
39617         * sysdeps/unix/sparc/dl-brk.S: Delete.
39618         * sysdeps/unix/sparc/pipe.S: Delete.
39619         * sysdeps/unix/sparc/sysdep.S: Delete.
39620         * sysdeps/unix/sparc/sysdep.h: Delete.
39621         * sysdeps/unix/sparc/vfork.S: Delete.
39622         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39623         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39624         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39625         (ret_ERRVAL, r0, r1, MOVE): Define.
39626         (JUMPTARGET): Remove.
39627         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39628         sysdeps/unix/sparc/sysdep.h
39629         (ENTRY, END): Remove.
39630         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39631
39632 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
39633
39634         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39635         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39636         -DIS_IN_build.
39637
39638         * timezone/README: Update upstream location and email address for
39639         tzcode and tzdata.
39640         * timezone/zdump.c: Update from tzcode 2012b.
39641         * timezone/zic.c: Likewise.
39642
39643         * configure.in (libc_cv_as_needed): Remove test.
39644         * configure: Regenerated.
39645         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39646         conditional definition.
39647         [$(have-as-needed) != yes] (no-as-needed): Likewise.
39648         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39649         * config.make.in (have-as-needed): Remove variable.
39650
39651 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39652             Paul Pluzhnikov  <ppluzhnikov@google.com>
39653
39654         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39655         strings correctly.
39656
39657 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
39658
39659         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39660         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39661         * sysdeps/sh/strlen.S: Likewise.
39662
39663 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39664
39665         * sysdeps/unix/fork.S: Remove file.
39666         * sysdeps/unix/i386/fork.S: Likewise.
39667         * sysdeps/unix/sparc/fork.S: Likewise.
39668
39669         * sysdeps/unix/system.c: Remove file.
39670         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39671
39672         * sysdeps/unix/getegid.S: Remove file.
39673         * sysdeps/unix/geteuid.S: Likewise.
39674
39675 2012-04-24  Roland McGrath  <roland@hack.frob.com>
39676
39677         * scripts/check-localplt.awk: New file.
39678         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39679         of diff.
39680         * scripts/data/localplt-generic.data: Add a comment.
39681
39682         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39683         NODE when __dir_mkfile failed.
39684         * sysdeps/mach/hurd/symlinkat.c: Likewise.
39685         Reported by Ludovic Courtès <ludo@gnu.org>.
39686
39687 2012-04-24  Andreas Jaeger  <aj@suse.de>
39688
39689         * Makerules (common-clean): Also remove gen-as-const-headers
39690         files.
39691
39692 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39693
39694         * Makerules (native-compile): Do not change working directory for
39695         build.  Use $(OUTPUT_OPTION) in command.
39696         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39697
39698 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39699
39700         [BZ #13886]
39701         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39702         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39703         * math/libm-test.inc (floor_test): Add more tests.
39704         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39705
39706 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39707
39708         * sysdeps/unix/getdents.c: Remove file.
39709         * sysdeps/unix/sysv/getdents.c: Likewise.
39710         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39711
39712         * sysdeps/unix/syscalls.list (madvise): Add syscall from
39713         sysdeps/unix/mman/syscalls.list.
39714         (mmap): Likewise.
39715         (mprotect): Likewise.
39716         (msync): Likewise.
39717         (munmap): Likewise.
39718         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39719         * sysdeps/unix/mman/syscalls.list: Remove.
39720         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39721
39722         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39723         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39724         * configure: Regenerated.
39725         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39726         $(libgcc_s_suffix).
39727         * config.make.in (libgcc_s_suffix): Remove variable.
39728
39729 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
39730
39731         * sysdeps/unix/sysv/gethostname.c: Move to ...
39732         * sysdeps/posix/gethostname.c: ... here.
39733
39734         * sysdeps/unix/execve.S: Remove file.
39735
39736         * sysdeps/unix/_exit.S: Remove file.
39737
39738 2012-04-23  Andreas Jaeger  <aj@suse.de>
39739
39740         [BZ #13739]
39741         * manual/Makefile: Remove make dist support, there's no
39742         need for a stand-alone documentation tar ball.
39743         (TEXI2DVI): Define always, it's not in Makeconfig.
39744         (dist): Removed.
39745         (tar-it): Removed.
39746         (edition): Removed.
39747         (glibc-doc-$(edition).tar): Removed
39748         (%.Z): Removed.
39749         (%.gz): Removed.
39750         (%.uu): Removed.
39751         (ETAGS): Remove, it's in Makeconfig.
39752         (move-if-change): Remove, it's in Makeconfig.
39753
39754 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
39755
39756         [BZ #13970]
39757         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39758         (strtod, strtof, strtold, strtol, strtoul, strtoq)
39759         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39760         (strtod_l, strtof_l, strtold_l): Remove __wur.
39761         It is not necessarily an error to ignore strtol's return value.
39762         One can reliably look at the stored endptr to decide whether
39763         the number had valid syntax.
39764
39765 2012-04-21  Andreas Jaeger  <aj@suse.de>
39766
39767         [BZ #13739]
39768         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39769
39770 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
39771
39772         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39773         * sysdeps/unix/sysv/Versions: Remove file.
39774
39775 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
39776
39777         [BZ #13927]
39778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39779
39780 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
39781
39782         [BZ #7064]
39783         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39784         version from __vm86.
39785
39786 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
39787
39788         * sysdeps/unix/common/lxstat.c: Remove file.
39789         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39790
39791         * sysdeps/unix/sysv/Makefile: Remove file.
39792
39793         * sysdeps/unix/sysv/direct.h: Remove file.
39794
39795         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39796         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39797         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39798         * sysdeps/unix/sysv/bits/signum.h: Likewise.
39799         * sysdeps/unix/sysv/bits/stat.h: Likewise.
39800         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39801         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39802
39803         * sysdeps/unix/sysv/setrlimit.c: Remove file.
39804
39805         * sysdeps/unix/xmknod.c: Remove file.
39806         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39807
39808         * sysdeps/unix/sysv/settimeofday.c: Remove file.
39809
39810         * sysdeps/unix/sysv/i386/time.S: Remove file.
39811
39812         * sysdeps/unix/fxstat.c: Remove file.
39813         * sysdeps/unix/xstat.c: Likewise.
39814         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39815
39816         * sysdeps/unix/sysv/sigaction.c: Remove file.
39817
39818         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39819         (sysdep_headers): Remove variable.
39820         [termio.h not in sysdep_headers] (generated): Likewise.
39821         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39822         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39823         * sysdeps/unix/sysv/tcdrain.c: Likewise.
39824         * sysdeps/unix/sysv/tcflow.c: Likewise.
39825         * sysdeps/unix/sysv/tcflush.c: Likewise.
39826         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39827         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39828         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39829         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39830         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39831
39832         * sysdeps/unix/siglist.c: Remove file.
39833
39834         * sysdeps/unix/getppid.S: Remove file.
39835
39836         * sysdeps/unix/mkdir.c: Remove file.
39837         * sysdeps/unix/rmdir.c: Likewise.
39838
39839 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
39840
39841         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39842         ERR_MAX value.
39843         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39844         errlist-compat value.
39845
39846 2012-04-18  David S. Miller  <davem@davemloft.net>
39847
39848         * sysdeps/generic/memcopy.h (reg_char): Delete.
39849         * debug/strcat_chk.c: Use char, not reg_char.
39850         * debug/strcpy_chk.c: Likewise.
39851         * debug/strncat_chk.c: Likewise.
39852         * debug/strncpy_chk.c: Likewise.
39853         * string/memchr.c: Likewise.
39854         * string/memrchr.c: Likewise.
39855         * string/rawmemchr.c: Likewise.
39856         * string/strcat.c: Likewise.
39857         * string/strchr.c: Likewise.
39858         * string/strchrnul.c: Likewise.
39859         * string/strcmp.c: Likewise.
39860         * string/strcpy.c: Likewise.
39861         * string/strncat.c: Likewise.
39862         * string/strncmp.c: Likewise.
39863         * string/strncpy.c: Likewise.
39864
39865 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39866
39867         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39868         __builtin_memcopy is called when src and dest ranges are known to not
39869         overlap.
39870
39871 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39872
39873         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39874         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39875         fwd_align_merge macro call.
39876         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39877         bwd_align_merge macro call.
39878         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39879
39880 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39881
39882         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39883         bwd_align_merge macros.
39884         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39885         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39886         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39887
39888 2012-04-18  David S. Miller  <davem@davemloft.net>
39889
39890         * sysdeps/sparc/sparc64/memcopy.h: Delete.
39891
39892 2012-04-18  Andreas Jaeger  <aj@suse.de>
39893
39894         [BZ# 6794]
39895         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39896         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39897         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39898
39899         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39900         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39901         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39902
39903         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39904         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39905         Adjust for changed ldbl-128 files.
39906
39907         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39908         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39909         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39910
39911 2012-04-17  David S. Miller  <davem@davemloft.net>
39912
39913         * sysdeps/sparc/sparc32/memcopy.h: Delete.
39914
39915 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
39916
39917         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39918         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39919         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39920         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39921         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39922         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39923
39924 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39925
39926         [BZ #6794]
39927         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39928         * math/libm-test.inc: Add ilogb errno and exception tests.
39929         * math/w_ilogb.c: New file: ilogb wrapper.
39930         * math/w_ilogbf.c: New file: ilogbf wrapper.
39931         * math/w_ilogbl.c: New file: ilogbl wrapper.
39932         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39933         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39934         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39935         exception being thrown with 0.0 as argument.
39936         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39937         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39938         exception being thrown with 0.0 as argument.
39939         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39940         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39941         exception being thrown with 0.0 as argument.
39942         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39943         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39944         exception being thrown with 0.0 as argument.
39945         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39946         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39947         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39948         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39949         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39950         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39951         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39952         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39953         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39954
39955 2012-04-17  Petr Baudis  <pasky@ucw.cz>
39956
39957         * include/sys/uio.h: Change __vector to __iovec to avoid clash
39958         with altivec.
39959
39960 2012-04-16  Marek Polacek  <polacek@redhat.com>
39961
39962         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39963
39964 2012-04-16  Marek Polacek  <polacek@redhat.com>
39965
39966         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39967         operands of fdivp instruction.
39968
39969 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39970
39971         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39972         * elf/tst-auditmod3b.c: Likewise.
39973         * elf/tst-auditmod4b.c: Likewise.
39974         * elf/tst-auditmod5b.c: Likewise.
39975         * elf/tst-auditmod6b.c: Likewise.
39976         * elf/tst-auditmod6c.c: Likewise.
39977         * elf/tst-auditmod7b.c: Likewise.
39978         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39979         * sysdeps/x86_64/preconfigure.in: Likewise.
39980         * sysdeps/x86_64/preconfigure: Regenerated.
39981
39982 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39983
39984         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39985         __ILP32__.
39986
39987 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
39988
39989         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39990         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39991
39992 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39993
39994         [BZ #13973]
39995         * locale/iso-639.def: Fix gl language name. Spotted by
39996         Yaron Shahrabani.
39997
39998 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39999
40000         [BZ #2074]
40001         * libio/libio.h (__io_write_fn): Update comment.
40002
40003 2012-04-12  Petr Baudis  <pasky@ucw.cz>
40004
40005         [BZ #2074]
40006         * stdio.texi (Hook Functions): The user provided writer function
40007         is not allowed to return -1.
40008
40009 2012-04-11  David S. Miller  <davem@davemloft.net>
40010
40011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40012
40013 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
40014
40015         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40016         Add a leading slash to rtkaio.
40017
40018 2012-04-11  Jim Meyering  <meyering@redhat.com>
40019
40020         [BZ #11959]
40021         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40022         It is not necessarily an error to ignore fwrite's return
40023         value.  One can reliably use ferror to test for errors after
40024         the fact.
40025
40026 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40027
40028         * bits/types.h (__snseconds_t): New type.
40029         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40030
40031         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40032         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40033         (__SNSECONDS_T_TYPE): Likewise.
40034         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40035         (__SNSECONDS_T_TYPE): Likewise.
40036         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40037         (__SNSECONDS_T_TYPE): Likewise.
40038
40039 2012-04-10  Andreas Jaeger  <aj@suse.de>
40040
40041         [BZ #2636]
40042         * manual/time.texi (Processor Time): Return type of times is
40043         elapsed real time since an arbitrary point in the past.
40044         (CPU Time): Move CLK_TCK from here...
40045         (Processor Time): ...to here.  Correct description.
40046         * manual/conf.texi (Constants for Sysconf): Correct description of
40047         _SC_CLK_TCK.
40048
40049 2012-04-10  David S. Miller  <davem@davemloft.net>
40050
40051         [BZ #13967]
40052         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40053         where the is a gap between DT_REL(A) and DT_JMPREL.
40054
40055 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40056
40057         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40058         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40059         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40060
40061 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40062
40063         * elf/dl-support.c (_dl_inhibit_cache): New variable.
40064         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40065         (dl_main): Handle --inhibit-cache.
40066         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40067         _dl_inhibit_cache.
40068         * elf/dl-load.c (_dl_map_object): Use it.
40069         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40070
40071 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40072
40073         [BZ #13872]
40074         * sysdeps/i386/fpu/e_powl.S (p78): New object.
40075         (__ieee754_powl): Saturate large exponents rather than testing for
40076         overflow of y*log2(x).
40077         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40078         * math/libm-test.inc (pow_test): Do not permit spurious overflow
40079         exceptions.
40080
40081         [BZ #11521]
40082         * math/s_ctan.c: Include <float.h>.
40083         (__ctan): Avoid internal overflow or cancellation in calculating
40084         denominator.
40085         * math/s_ctanf.c: Likewise.
40086         * math/s_ctanl.c: Likewise.
40087         * math/s_ctanh.c: Likewise.
40088         * math/s_ctanhf.c: Likewise.
40089         * math/s_ctanhl.c: Likewise.
40090         * math/libm-test.inc (ctan_test): Add more tests.
40091         (ctanh_test): Likewise.
40092         * sysdeps/i386/fpu/libm-test-ulps: Update.
40093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40094
40095 2012-04-09  Andreas Jaeger  <aj@suse.de>
40096
40097         [BZ #6894]
40098         * manual/filesys.texi (Directory Entries): Mention that d_namlen
40099         is an optional BSD extension.
40100
40101         [BZ #10254]
40102         * manual/stdio.texi (Opening Streams): Document additional fopen
40103         parameters.
40104
40105 2012-04-09  Roland McGrath  <roland@hack.frob.com>
40106
40107         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40108         %eax without telling the compiler.
40109
40110 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
40111
40112         [BZ # 13963]
40113         * manual/install.texi: Use sourceware.org.
40114
40115 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40116
40117         [BZ #13873]
40118         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40119         (__ieee754_pow): Generate overflow and underflow using huge*huge
40120         and tiny*tiny rather than just returning constant infinity or zero
40121         for large exponents.
40122         * math/libm-test.inc (pow_test): Require overflow exceptions for
40123         applicable cases of large exponents.
40124
40125         [BZ #706]
40126         * sysdeps/i386/fpu/e_pow.S (p10): New object.
40127         (__ieee754_pow): Use iterative multiplication algorithm only for
40128         integer exponents with absolute value below 1024.  Check for odd
40129         integer exponents when using algorithm for real exponents.
40130         * math/libm-test.inc (pow_test): Add more tests.
40131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40132
40133 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
40134
40135         [BZ #13705]
40136         * math/libm-test.inc (exp_test): Do not allow overflow exception
40137         on underflow test.
40138
40139 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
40140
40141         [BZ #13705]
40142         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40143         instead of __kernel_standard_f.
40144
40145 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
40146
40147         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40148         * sysdeps/x86_64/memset_chk.S: Likewise.
40149
40150 2012-04-08  Andreas Jaeger  <aj@suse.de>
40151
40152         [BZ #10153]
40153         * manual/startup.texi (Environment Access): Describe return value
40154         for putenv and setenv.
40155
40156         [BZ #6895]
40157         * manual/filesys.texi (Directory Entries): Add description for
40158         DT_LNK.
40159
40160         [BZ #6890]
40161         * manual/filesys.texi (Directory Entries): Clarify that it's file
40162         system not operating system in the description of DT_UNKNOWN.
40163
40164         [BZ #6578]
40165         * manual/syslog.texi (closelog): Fix reference, it's openlog.
40166
40167 2012-04-08  Stephen Compall  <s11@member.fsf.org>
40168
40169         [BZ #6649]
40170         * manual/llio.texi (Opening and Closing Files): Add cross
40171         reference to explain mode argument.
40172
40173 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
40174
40175         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40176         * sysdeps/x86_64/memset_chk.S: Likewise.
40177
40178 2012-04-07  David S. Miller  <davem@davemloft.net>
40179
40180         * elf/elf.h (R_SPARC_WDISP10): Define.
40181         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40182         R_SPARC_SIZE32.
40183         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40184         R_SPARC_SIZE64 and R_SPARC_H34.
40185
40186 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
40187
40188         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40189         conditions and remove no longer applicable assertion.
40190
40191 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40192
40193         * bits/byteswap.h: Include <features.h>.
40194         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40195         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40196
40197 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40198
40199         * bits/byteswap.h (__bswap_16): Removed.
40200         Include <bits/byteswap-16.h> to get __bswap_16.
40201         * sysdeps/i386/bits/byteswap.h: Likewise.
40202         * sysdeps/s390/bits/byteswap.h: Likewise.
40203         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40204         * bits/byteswap-16.h: New file.
40205         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40206         * sysdeps/s390/bits/byteswap-16.h: Likewise.
40207         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40208         * string/Makefile (headers): Add bits/byteswap-16.h.
40209
40210 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40211
40212         [BZ #13895]
40213         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40214         extra indirection.
40215         * nss/Makefile (tests-static, tests): Add tst-nss-static.
40216         * nss/tst-nss-static.c: New.
40217
40218 2012-04-06  Robert Millan  <rmh@gnu.org>
40219
40220         [BZ #6486]
40221         * manual/llio.texi (File Position Primitive): lseek
40222         refers to WHENCE when it really means OFFSET.
40223
40224 2012-04-06  Andreas Jaeger  <aj@suse.de>
40225
40226         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40227         strncmp declarations.
40228
40229         * abilist/libc.abilist: Add __poll and __ppoll.
40230
40231 2012-04-05  David S. Miller  <davem@davemloft.net>
40232
40233         * scripts/check-local-headers.sh: Accept a host triplet in the
40234         path matched by the exclude regexp.
40235
40236         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40237         definition.
40238         * sysdeps/powerpc/powerpc32/dl-machine.h
40239         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40240         * sysdeps/s390/s390-32/dl-machine.h
40241         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40242         * sysdeps/sparc/sparc32/dl-machine.h
40243         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40244         * sysdeps/sparc/sparc64/dl-machine.h
40245         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40246
40247         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40248         lazy binding.
40249         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40250         undefined symbol errors.
40251
40252         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40253         DT_NEEDED entries.
40254
40255 2012-04-05  Michael Matz  <matz@suse.de>
40256
40257         [BZ #13592]
40258         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40259
40260 2012-04-05  Andreas Jaeger  <aj@suse.de>
40261
40262         [BZ #13908]
40263         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40264         comment.
40265
40266 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40267
40268         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40269         which ROUND is no valid rounding mode.
40270
40271 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40272
40273         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40274         read again.
40275         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40276
40277 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40278
40279         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40280         an exception using FPU order intentionally.
40281
40282 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40283
40284         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40285         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40286         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40287         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40288
40289 2012-04-05  Simon Josefsson  <simon@josefsson.org>
40290
40291         [BZ #12340]
40292         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40293         EINVAL when BUFLEN is too smal.
40294
40295 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
40296
40297         [BZ #13553]
40298         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40299         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40300
40301 2012-04-03  Andreas Jaeger  <aj@suse.de>
40302
40303         [BZ #13938]
40304         * manual/setjmp.texi (System V contexts): Fix sentence.
40305
40306         [BZ #13926]
40307         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40308         New macro for this case.
40309         [!__GNUC__] (__bswap_64): New inline function for this case.
40310         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40311         * bits/byteswap.h: Likewise.
40312         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40313         ull, guard with __GLIBC_HAVE_LONG_LONG.
40314
40315         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40316         __GLIBC_HAVE_LONG_LONG.
40317
40318         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40319         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40320
40321 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40322
40323         [BZ #13691]
40324         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40325         inptr and inend, rather than using last_ch.
40326
40327 2012-04-02  David S. Miller  <davem@davemloft.net>
40328
40329         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40330         * stdio-common/printf-parse.h (read_int): Change return type to
40331         'int', return -1 on INT_MAX overflow.
40332         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40333         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
40334         overflows INT_MAX.  Check for overflow of in-format-string precision
40335         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
40336         SIZE_MAX not INT_MAX for integer overflow test.
40337         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40338         skip the construct in the format string but do not record anything.
40339         * stdio-common/bug22.c: Adjust to test both width/prevision
40340         INT_MAX overflow as well as total length INT_MAX overflow.  Check
40341         explicitly for proper errno values.
40342
40343 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
40344
40345         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40346         CHAR_MAX.
40347         * string/test-strcmp.c [! WIDE]: Likewise.
40348         * time/tst-mktime2.c: Likewise for INT_MAX.
40349         * string/test-string.h: #include <sys/param.h> for MIN.
40350
40351         * csu/init-first.c (__libc_init_first): Call __ctype_init.
40352         * sysdeps/i386/init-first.c (init): Likewise.
40353         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40354         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40355         * sysdeps/sh/init-first.c (init): Likewise.
40356
40357 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
40358
40359         * po/ru.po: Update from translation team.
40360         * po/vi.po: Likewise.
40361
40362 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40363
40364         * resolv/nss_dns/dns-host.c: Merge copyright years.
40365
40366 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40367
40368         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40369         Optimize memcpy with prefetch if
40370         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
40371         src, dst pointers have unequal 16 byte alignments.
40372
40373 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40374
40375         [BZ #13928]
40376         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40377         from a CNAME entry and return the minimum ttl for the query.
40378         (gaih_getanswer_slice): Likewise.
40379
40380 2012-03-30  Jeff Law  <law@redhat.com>
40381
40382         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40383         due to long keys.
40384         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40385         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40386
40387         * resolv/nss_dns/dns-host.c: Update copyright year.
40388
40389 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
40390
40391         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40392         requests to save a system call.  Fix check that all bytes are sent.
40393
40394         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40395         comments for sendmmsg.
40396
40397 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40398
40399         [BZ #13691]
40400         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40401         with only 1 character between 0x0041 and 0x01b0.
40402         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40403         * wcsmbs/tst-mbsnrtowcs.c: New file.
40404
40405 2012-03-29  David S. Miller  <davem@davemloft.net>
40406
40407         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40408         small copies by hand.
40409
40410 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40411
40412         [BZ #13761]
40413         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40414         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40415         group memberships.
40416
40417 2012-03-28  David S. Miller  <davem@davemloft.net>
40418
40419         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40420         that branches into memcpy.
40421         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40422         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40423         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40424         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40425         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40426         bits.
40427         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40428         implementation too.
40429         * sysdeps/sparc/mempcpy.S: New file.
40430
40431         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40432         the IFUNC routine in the libc case.
40433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40434
40435         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40436         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40437         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40438         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40439         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40440         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40441         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40442         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40443
40444         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40445         loop to 256 bytes instead of 64 bytes and fix test signedness.
40446
40447         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40448         * sysdeps/sparc/sparc32/Makefile: rather than here...
40449         * sysdeps/sparc/sparc64/Makefile: and here.
40450
40451 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
40452
40453         * malloc/mallocbug.c: Avoid warnings about unused variables.
40454
40455 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40456
40457         [BZ #13760]
40458         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40459         in the right place. Discard and retry query if response is
40460         larger than input buffer size.
40461
40462 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
40463
40464         [BZ #369]
40465         [BZ #2678]
40466         [BZ #3866]
40467         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40468         x for large integer exponent.
40469         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40470         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
40471         sign of result as needed afterwards.
40472         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40473         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40474         result for underflowing pow the same as for overflow.
40475         (__kernel_standard_l): Handle powl overflow and underflow here
40476         rather than calling __kernel_standard.
40477         * math/libm-test.inc (pow_test): Add more tests.
40478
40479         [BZ #3868]
40480         [BZ #13879]
40481         [BZ #13910]
40482         [BZ #13911]
40483         [BZ #13912]
40484         [BZ #13913]
40485         [BZ #13915]
40486         [BZ #13916]
40487         [BZ #13917]
40488         [BZ #13918]
40489         [BZ #13919]
40490         [BZ #13920]
40491         [BZ #13921]
40492         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40493         * sysdeps/ieee754/k_standard.c: Include <float.h>.
40494         (__kernel_standard_l): New function.
40495         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40496         __kernel_standard.
40497         * math/w_acosl.c (__acosl): Likewise.
40498         * math/w_asinl.c (__asinl): Likewise.
40499         * math/w_atan2l.c (__atan2l): Likewise.
40500         * math/w_atanhl.c (__atanhl): Likewise.
40501         * math/w_coshl.c (__coshl): Likewise.
40502         * math/w_exp10l.c (__exp10l): Likewise.
40503         * math/w_exp2l.c (__exp2l): Likewise.
40504         * math/w_fmodl.c (__fmodl): Likewise.
40505         * math/w_hypotl.c (__hypotl): Likewise.
40506         * math/w_j0l.c (__j0l, __y0l): Likewise.
40507         * math/w_j1l.c (__j1l, __y1l): Likewise.
40508         * math/w_jnl.c (__jnl, __ynl): Likewise.
40509         * math/w_lgammal.c (__lgammal): Likewise.
40510         * math/w_log10l.c (__log10l): Likewise.
40511         * math/w_log2l.c (__log2l): Likewise.
40512         * math/w_logl.c (__logl): Likewise.
40513         * math/w_powl.c (__powl): Likewise.
40514         * math/w_remainderl.c (__remainderl): Likewise.
40515         * math/w_scalbl.c (sysv_scalbl): Likewise.
40516         * math/w_sinhl.c (__sinhl): Likewise.
40517         * math/w_sqrtl.c (__sqrtl): Likewise.
40518         * math/w_tgammal.c (__tgammal): Likewise.
40519         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40520         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40521         * math/libm-test.inc (acos_test): Add more tests.
40522         (acosh_test): Likewise.
40523         (asin_test): Likewise.
40524         (atanh_test): Likewise.
40525         (exp_test): Likewise.
40526         (exp10_test): Likewise.
40527         (exp2_test): Likewise.
40528         (expm1_test): Likewise.
40529         (lgamma_test): Likewise.
40530         (log_test): Likewise.
40531         (log10_test): Likewise.
40532         (log1p_test): Likewise.
40533         (log2_test): Likewise.
40534         (pow_test): Do not allow some spurious overflow exceptions.
40535         (sqrt_test): Add more tests.
40536         (tgamma_test): Likewise.
40537         (y0_test): Likewise.
40538         (y1_test): Likewise.
40539         (yn_test): Likewise.
40540
40541 2012-03-27  Anton Blanchard  <anton@samba.org>
40542
40543         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40544         MAP_HUGETLB.
40545         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40546         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40547         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40548
40549 2012-03-27  David S. Miller  <davem@davemloft.net>
40550
40551         * conform/Makefile: Run run-conformtest.sh using $(BASH).
40552
40553         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40554         have-as-vis3 check.
40555
40556 2012-03-27  Andreas Jaeger  <aj@suse.de>
40557
40558         * sysdeps/x86_64/elf/configure.in: Moved to ...
40559         * sysdeps/x86_64/configure.in: ... here.
40560         * sysdeps/x86_64/elf/start.S: Moved to ...
40561         * sysdeps/x86_64/start.S: ... here.
40562         * sysdeps/x86_64/elf/configure: Delete.
40563
40564         * sysdeps/x86_64/configure.in: Merge contents from
40565         sysdeps/i386/configure.in (without i686 check).
40566
40567         * sysdeps/i386/elf/Versions: Merge into ...
40568         * sysdeps/i386/Versions: ... this.
40569         * sysdeps/i386/elf/Versions: Delete file.
40570         * sysdeps/i386/elf/start.S: Moved to ...
40571         * sysdeps/i386/start.S: ...here.
40572         * sysdeps/i386/elf/configure.in: Merge into...
40573         * sysdeps/i386/configure.in: ...here.
40574         * sysdeps/i386/elf/configure.in: Delete file.
40575         * sysdeps/i386/elf/configure: Delete file.
40576
40577         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40578         * debug/backtracesyms.c: ... here.
40579         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40580         * debug/backtracesymsfd.c: ... here.
40581         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40582         * sysdeps/generic/ifunc-sel.h: ... here.
40583
40584         * sysdeps/unix/i386/start.c: Delete file.
40585         * sysdeps/unix/sparc/start.c: Delete file.
40586         * sysdeps/unix/start.c: Delete file.
40587
40588         * sysdeps/sh/elf/configure.in: Moved to ...
40589         * sysdeps/sh/configure.in: ... here.
40590         * sysdeps/sh/elf/start.S: Moved to ...
40591         * sysdeps/sh/start.S: ... here.
40592         * sysdeps/sh/elf/configure: Delete file.
40593
40594         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40595         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40596         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40597         * sysdeps/powerpc/powerpc64/entry.h: ... here.
40598         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40599         * sysdeps/powerpc/powerpc64/start.S: here.
40600         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40601         * sysdeps/powerpc/powerpc64/Makefile: ... this.
40602         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40603         * sysdeps/powerpc/powerpc64/configure.in: ... this.
40604         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40605
40606         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40607         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40608         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40609         * sysdeps/powerpc/powerpc32/start.S: ... here.
40610         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40611         * sysdeps/powerpc/powerpc32/configure.in: ... this.
40612         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40613
40614         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40615         * sysdeps/powerpc/ifunc-sel.h: ... here.
40616         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40617         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40618
40619         * sysdeps/sparc/elf/configure.in: Moved to ...
40620         * sysdeps/sparc/configure.in: ... here.
40621         * sysdeps/sparc/elf/configure: Delete file.
40622         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40623         * sysdeps/sparc/sparc32/start.S: ... here.
40624         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40625         * sysdeps/sparc/sparc64/start.S: ... here.
40626         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40627         * sysdeps/sparc/sparc32/Makefile: ... this.
40628         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40629         * sysdeps/sparc/sparc64/Makefile: ... this.
40630
40631         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40632         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40633         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40634         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40635         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40636         * sysdeps/s390/s390-32/setjmp.S: ... here.
40637         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40638         * sysdeps/s390/s390-32/configure.in: ... here.
40639         * sysdeps/s390/s390-32/elf/configure: Delete file.
40640         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40641         * sysdeps/s390/s390-32/start.S: ... here.
40642
40643         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40644         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40645         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40646         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40647         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40648         * sysdeps/s390/s390-64/setjmp.S: ... here.
40649         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40650         * sysdeps/s390/s390-64/configure.in: ... here
40651         * sysdeps/s390/s390-64/elf/configure: Delete file.
40652         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40653         * sysdeps/s390/s390-64/start.S: ... here.
40654         * sysdeps/s390/s390-64/elf/configure: Delete.
40655
40656         * configure.in: Remove support for elf directories in sysdeps.
40657
40658         * configure: Regenerated.
40659         * sysdeps/i386/configure: Regenerated.
40660         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40661         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40662         * sysdeps/s390/s390-32/configure: Regenerated.
40663         * sysdeps/s390/s390-64/configure: Regenerated.
40664         * sysdeps/sh/configure: Regenerated.
40665         * sysdeps/sparc/configure: Regenerated.
40666         * sysdeps/x86_64/configure: Regenerated.
40667
40668 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
40669
40670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40671
40672         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40673         denormal result into account.
40674
40675 2012-03-25  Roland McGrath  <roland@hack.frob.com>
40676
40677         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40678         Reported by Allan McRae <allan@archlinux.org>.
40679
40680 2012-03-23  Jeff Law  <law@redhat.com>
40681
40682         * nss/getnssent.c (__nss_getent): Fix typo.
40683
40684 2012-03-23  David S. Miller  <davem@davemloft.net>
40685
40686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40687
40688 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
40689
40690         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40691         to pad to uint64_t for each field.
40692         (dl_tls_index): Replace unsigned long with uint64_t.
40693
40694 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
40695         Paul Pluzhnikov  <ppluzhnikov@google.com>
40696
40697         [BZ #6528]
40698         * grp/Makefile (otherlibs): Don't set it.
40699         * inet/Makefile (otherlibs): Likewise.
40700         * login/Makefile (otherlibs): Likewise.
40701         * nscd/Makefile (otherlibs): Likewise.
40702         * posix/Makefile (otherlibs): Likewise.
40703         * pwd/Makefile (otherlibs): Likewise.
40704         * rt/Makefile (otherlibs): Likewise.
40705         * sunrpc/Makefile (otherlibs): Likewise.
40706         * nss/Makefile (otherlibs): Likewise.
40707         Add libnss_files to routines and static-only-routines.
40708         ($(objpfx)getent): Remove rule.
40709         * resolv/Makefile: Add libnss_dns and libresolv to routines and
40710         static-only-routines.
40711
40712 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
40713
40714         [BZ #13892]
40715         * math/s_cexp.c: Include <float.h>.
40716         (__cexp): Handle exp result overflowing not necessarily
40717         overflowing both real and imaginary parts of result.
40718         * math/s_cexpf.c: Likewise.
40719         * math/s_cexpl.c: Likewise.
40720         * math/libm-test.inc (cexp_test): Add more tests.
40721         * sysdeps/i386/fpu/libm-test-ulps: Update.
40722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40723
40724 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40725
40726         * include/link.h (ELFW): New macro.
40727         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40728         Replace ELF64_R_TYPE with ELFW(R_TYPE).
40729
40730 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40731
40732         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40733         with uint64_t.
40734
40735 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40736
40737         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40738         declaration.
40739         (struct La_x32_retval): Likewise.
40740
40741 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40742
40743         * sysdeps/x86_64/preconfigure.in: New file.
40744         * sysdeps/x86_64/preconfigure: New generated file.
40745
40746 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
40747
40748         [BZ #13824]
40749         * math/e_exp2l.c: Include <float.h>.
40750         (__ieee754_exp2l): Handle overflow and underflow cases
40751         separately.  Only pass fractional part of argument to
40752         __ieee754_expl.
40753         * math/libm-test.inc (exp2_test): Add more tests.
40754
40755         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40756         negating x to take absolute value.
40757         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40758         Likewise.
40759         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40760         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40761         Likewise.
40762         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40763         computing low part if x was negated.
40764         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40765
40766 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40767
40768         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40769         la_x32_gnu_pltexit.
40770         (pltexit): Cast int_retval to ptrdiff_t.
40771         * elf/tst-auditmod3b.c: Likewise.
40772         * elf/tst-auditmod4b.c: Likewise.
40773         * elf/tst-auditmod5b.c: Likewise.
40774         * elf/tst-auditmod6b.c: Likewise.
40775         * elf/tst-auditmod6c.c: Likewise.
40776         * elf/tst-auditmod7b.c: Likewise.
40777
40778         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40779         and x32_gnu_pltexit.
40780
40781         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40782         __ELF_NATIVE_CLASS.
40783         (La_x32_regs): New macro.
40784         (La_x32_retval): Likewise.
40785         (la_x32_gnu_pltenter): New function prototype.
40786         (la_x32_gnu_pltexit): Likewise.
40787
40788 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
40789
40790         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40791         exponent.
40792
40793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40794
40795         * configure.in (libc_cv_cc_nofma): Check for option to disable
40796         generation of FMA instructions.
40797         * configure: Regenerate.
40798         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40799         * sysdeps/ieee754/dbl-64/Makefile: New file.
40800         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40801         Remove brandred-fma4.
40802         (CFLAGS-brandred-fma4.c): Remove.
40803         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40804         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40805         define.
40806         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40807         define.
40808
40809 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40810
40811         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40812         LLONG_MAX != LONG_MAX.
40813         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40814         (_fitoa_word): Likewise.
40815         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40816         LLONG_MAX != LONG_MAX.
40817         * stdio-common/_itowa.h: Include <_itoa.h>.
40818         (_itowa_word): Use _ITOA_WORD_TYPE on value.
40819         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
40820         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
40821         only if not defined.
40822         (_ITOA_WORD_TYPE): Likewise.
40823         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40824         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40825
40826 2012-03-21  David S. Miller  <davem@davemloft.net>
40827
40828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40829
40830 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40831
40832         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40833         of x86_64 when setting libc_cv_slibdir, libdir and
40834         libc_cv_localedir.
40835         * sysdeps/unix/sysv/linux/configure: Regenerated.
40836
40837 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40838
40839         * manual/lang.texi (Old Varargs): Remove section.
40840         (How Variadic): Update menu.
40841         (va_start): Do not mention varargs.h.
40842
40843 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40844             Joseph Myers  <joseph@codesourcery.com>
40845
40846         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40847         link test.
40848         * configure: Regenerated.
40849
40850 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40851
40852         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40853         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40854         conformtest.pl
40855
40856 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40857
40858         * NOTES: Remove.
40859         * Makefile (files-for-dist): Remove NOTES.
40860         (NOTES): Remove rule.
40861         * README: Don't refer to NOTES.
40862         * manual/creature.texi: Don't include macros.texi.
40863         * manual/intro.texi (creature.texi): Remove comment referring to
40864         NOTES.
40865
40866         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40867         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40868         * configure: Regenerated.
40869         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40870         LIBC_TRY_CC_OPTION.
40871         (libc_cv_as_i686): Likewise.
40872         (libc_cv_cc_avx): Likewise.
40873         (libc_cv_cc_sse2avx): Likewise.
40874         (libc_cv_cc_fma4): Likewise.
40875         (libc_cv_cc_novzeroupper): Likewise.
40876         * sysdeps/i386/configure: Regenerated.
40877
40878         [BZ #13883]
40879         * sysdeps/i386/fpu/s_cexp.S: Remove.
40880         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40881         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40882         * math/libm-test.inc (cexp_test): Add more tests.
40883         * sysdeps/i386/fpu/libm-test-ulps: Update.
40884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40885
40886 2012-03-21  Allan McRae  <allan@archlinux.org>
40887
40888         * timezone/Makefile: Do not install iso3166.tab and zone.tab
40889
40890 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40891
40892         [BZ #13871]
40893         * math/w_exp2.c: Do not include <float.h>.
40894         (o_threshold, u_threshold): Remove.
40895         (__exp2): Calculate result before checking finiteness and calling
40896         __kernel_standard.
40897         * math/w_exp2f.c: Likewise.
40898         * math/w_exp2l.c: Likewise.
40899         * math/libm-test.inc (exp2_test): Require overflow exception for
40900         1e6 input.
40901
40902         [BZ #3866]
40903         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40904         range of signed 64-bit integers before using fistpll.  Remove
40905         checks for whether integers fit in mantissa bits.
40906         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40907         the range of signed 32-bit integers before using fistpl.  Remove
40908         checks for whether integers fit in mantissa bits.
40909         * sysdeps/i386/fpu/e_powl.S (p64): New object.
40910         (__ieee754_powl): Test for y outside the range of signed 64-bit
40911         integers before using fistpll.  Reduce 64-bit values to 63-bit
40912         ones as needed.
40913         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40914         divide-by-zero is raised for zero to large negative powers.
40915         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40916         (__ieee754_powl): Test for y outside the range of signed 64-bit
40917         integers before using fistpll.  Reduce 64-bit values to 63-bit
40918         ones as needed.
40919         * math/libm-test.inc (pow_test): Add more tests.
40920
40921 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40922
40923         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40924         <stdio-common/_itoa.h>.
40925         * debug/segfault.c: Likewise.
40926         * elf/dl-cache.c: Likewise.
40927         * elf/dl-minimal.c: Likewise.
40928         * elf/dl-misc.c: Likewise.
40929         * elf/dl-sysdep.c: Likewise.
40930         * elf/dl-version.c: Likewise.
40931         * elf/rtld.c: Likewise.
40932         * hurd/hurdsock.c: Likewise.
40933         * hurd/lookup-retry.c: Likewise.
40934         * malloc/malloc.c: Likewise.
40935         * malloc/mtrace.c: Likewise.
40936         * nscd/nscd_getgr_r.c: Likewise.
40937         * nscd/nscd_getpw_r.c: Likewise.
40938         * nscd/nscd_getserv_r.c: Likewise.
40939         * posix/getopt_init.c: Likewise.
40940         * posix/wordexp.c: Likewise.
40941         * stdio-common/_itoa.c: Likewise.
40942         * stdio-common/printf_fphex.c: Likewise.
40943         * stdio-common/vfprintf.c: Likewise.
40944         * string/_strerror.c: Likewise.
40945         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40946         * sysdeps/i386/i686/hp-timing.h: Likewise.
40947         * sysdeps/mach/_strerror.c: Likewise.
40948         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40949         * sysdeps/mach/hurd/sethostid.c: Likewise.
40950         * sysdeps/mach/hurd/xmknodat.c: Likewise.
40951         * sysdeps/mach/xpg-strerror.c: Likewise.
40952         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40953         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40954         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40955         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40956         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40957         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40958         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40959         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40960         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40961         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40962         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40963         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40964         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40965         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40966         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40967         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40968         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40969         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40970         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40971         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40972         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40973
40974         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40975
40976         * stdio-common/_itoa.h: Moved to ...
40977         * sysdeps/generic/_itoa.h: Here.
40978
40979         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40980
40981         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40982         instead of "_itoa.h" and "_itowa.h".
40983         * stdio-common/vfprintf.: Likewise.
40984
40985 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40986
40987         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40988         <bits/wordsize.h>.
40989         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40990         (__signbit): Likwise.
40991         (llrintf): Likwise.
40992         (llrint): Likwise.
40993
40994 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40995
40996         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40997         __WORDSIZE != 64.
40998
40999 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
41000
41001         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41002         OVERFLOW_EXCEPTION_OK.
41003         * math/libm-test.inc ("Philosophy"): Update comment about
41004         exception testing.
41005         (OVERFLOW_EXCEPTION): Define.
41006         (OVERFLOW_EXCEPTION_OK): Likewise.
41007         (INVALID_EXCEPTION_OK): Renumber.
41008         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41009         (IGNORE_ZERO_INF_SIGN): Likewise.
41010         (test_exceptions): Handle FE_OVERFLOW.
41011         (exp10_test): Expect overflow exceptions.
41012         (exp2_test): Likewise.
41013         (expm1_test): Likewise.
41014         (nextafter_test): Likewise.
41015         (pow_test): Likewise.
41016         (scalbn_test): Likewise.
41017         (scalbln_test): Likewise.
41018
41019 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41020
41021         * sysdeps/x86_64/bits/atomic.h
41022         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41023         64bit integer.
41024         (atomic_exchange_acq): Likewise.
41025         (__arch_exchange_and_add_body): Likewise.
41026         (__arch_add_body): Likewise.
41027         (atomic_add_negative): Likewise.
41028         (atomic_add_zero): Likewise.
41029
41030 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41031
41032         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41033         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41034
41035 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41036
41037         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41038         Check __x86_64__ instead of __WORDSIZE.
41039
41040 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41041
41042         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41043
41044 2012-03-19  David S. Miller  <davem@davemloft.net>
41045
41046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41047
41048         * sysdeps/sparc/fpu/fenv_private.h: New file.
41049         * sysdeps/sparc/fpu/math_private.h: Use it.
41050         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41051         Remove.
41052         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41053         (libc_feholdexcept_setroundl): Remove.
41054         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41055         Remove.
41056         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41057         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41058
41059 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41060
41061         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41062         int64_t instead of long int.
41063         (INSERT_WORDS64): Likwise.
41064
41065 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41066
41067         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41068         _Unwind_GetCFA return to _Unwind_Ptr first.
41069
41070 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
41071
41072         [BZ #13629]
41073         * math/s_clog.c: Include <float.h>.
41074         (__clog): Scale large or subnormal inputs.
41075         * math/s_clogf.c: Likewise.
41076         * math/s_clogl.c: Likewise.
41077         * math/s_clog10.c: Include <float.h>.
41078         (M_LOG10_2): Define.
41079         (__clog10): Scale large or subnormal inputs.
41080         * math/s_clog10f.c: Likewise.
41081         * math/s_clog10l.c: Likewise.
41082         * math/libm-test.inc (clog_test): Add more tests.
41083         (clog10_test): Likewise.
41084         * sysdeps/i386/fpu/libm-test-ulps: Update.
41085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41086
41087         [BZ #11451]
41088         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41089         x and y.
41090         * math/libm-test.inc (atan2_test): Add another test.
41091
41092         * Makerules (common-objdir-compile): Remove.
41093         * sysdeps/unix/Makefile (config-generated): Do not add
41094         $(unix-generated) to variable.
41095         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41096         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41097         Remove rule.
41098         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41099         Likewise.
41100         [generic bits/local_lim.h] (before-compile): Do not append to
41101         variable.
41102         [generic bits/local_lim.h] (common-generated): Likewise.
41103         [generic sys/param.h] (before-compile): Do not append to variable.
41104         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41105         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41106         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41107         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41108         include.
41109         [generic sys/param.h] (sys/param.h-includes): Remove variable.
41110         [generic sys/param.h] (sys/param.h-includes): Remove rule.
41111         [generic sys/param.h] ($(addprefix
41112         $(common-objpfx),$(sys/param.h-includes))): Likewise.
41113         [generic sys/param.h] (common-generated): Do not append to
41114         variable.
41115         [generic sys/param.h] (sysdep_headers): Likewise.
41116         [generic bits/errno.h] (before-compile): Do not append to
41117         variable.
41118         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41119         rule.
41120         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41121         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41122         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41123         [generic bits/errno.h] (common-generated): Do not append to
41124         variable.
41125         [generic bits/ioctls.h] (before-compile): Do not append to
41126         variable.
41127         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41128         rule.
41129         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41130         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41131         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41132         rule.
41133         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41134         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41135         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41136         [generic bits/ioctls.h] (common-generated): Do not append to
41137         variable.
41138         [generic sys/syscall.h] (syscall.h): Remove variable.
41139         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41140         rule.
41141         [generic sys/syscall.h] (before-compile): Do not append to
41142         variable.
41143         [generic sys/syscall.h] (common-generated): Likewise.
41144         * sysdeps/unix/errnos-tmpl.c: Remove file.
41145         * sysdeps/unix/errnos.awk: Likewise.
41146         * sysdeps/unix/ioctls-tmpl.c: Likewise.
41147         * sysdeps/unix/ioctls.awk: Likewise.
41148         * sysdeps/unix/mk-local_lim.c: Likewise.
41149         * sysdeps/unix/snarf-ioctls: Likewise.
41150
41151 2012-03-19  Richard Henderson  <rth@twiddle.net>
41152
41153         * sysdeps/i386/fpu/fenv_private.h: New file.
41154         * sysdeps/i386/fpu/math_private.h: Use it.
41155         (math_opt_barrier, math_force_eval): Remove.
41156         (libc_feholdexcept_setround_53bit): Remove.
41157         (libc_feupdateenv_53bit): Remove.
41158         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41159         (math_opt_barrier, math_force_eval): Remove.
41160         (libc_feholdexcept): Remove.
41161         (libc_feholdexcept_setround): Remove.
41162         (libc_fetestexcept, libc_fesetenv): Remove.
41163         (libc_feupdateenv_test): Remove.
41164         (libc_feupdateenv, libc_feholdsetround): Remove.
41165         (libc_feresetround): Remove.
41166
41167         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41168         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41169
41170         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41171         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41172         (libc_feupdateenv_testl): New.
41173         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41174         (libc_feupdateenv_testf): New.
41175         (libc_feupdateenv): Use libc_feupdateenv_test.
41176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41177         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41178
41179         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41180         (libc_feholdsetroundf, libc_feholdsetroundl): New.
41181         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41182         (libc_feresetround_noex): New.
41183         (libc_feresetround_noexf): New.
41184         (libc_feresetround_noexl): New.
41185         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41186         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41187         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41188         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41189         SET_RESTORE_ROUND.
41190         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41191         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41192         (__cos): Likewise.
41193         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41194         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41195         SET_RESTORE_ROUND_NOEX.
41196         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41197         SET_RESTORE_ROUND_NOEXF.
41198         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41199         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41200         (libc_feholdsetroundf): New.
41201         (libc_feresetround, libc_feresetroundf): New.
41202
41203         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41204         (libc_feholdexcept_setround_53bit): Convert from macro to function.
41205         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
41206
41207         * sysdeps/generic/math_private.h: Include <fenv.h>.
41208         (default_libc_feholdexcept): New.
41209         (default_libc_feholdexcept_setround): New.
41210         (default_libc_fesetenv, default_libc_feupdateenv): New.
41211         (libc_feholdexcept): Only define if undefined.
41212         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41213         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41214         (libc_feholdexcept_setroundl): Likewise.
41215         (libc_feholdexcept_setround_53bit): Likewise.
41216         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41217         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41218         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41219         (libc_feupdateenv_53bit): Likewise.
41220         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41221         (libc_feholdexcept): Convert from macro to inline function.
41222         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41223         (libc_fesetenv, libc_feupdateenv): Likewise.
41224
41225         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41226         not previously defined.
41227         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41228         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41229         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41230         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41231         * sysdeps/ieee754/flt-32/math_private.h: New file.
41232         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41233         math_private.h below SET_FLOAT_WORD.
41234         (__isnan, __isinf_ns, __finite): Remove.
41235         (__isnanf, __isinf_nsf, __finitef): Remove.
41236
41237 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
41238
41239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41240
41241 2012-03-17  David S. Miller  <davem@davemloft.net>
41242
41243         [BZ #6471]
41244         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41245         for 2.16.
41246
41247 2012-03-16  David S. Miller  <davem@davemloft.net>
41248
41249         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41250         warnings.
41251
41252         [BZ #6471]
41253         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41254         properly.
41255         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41256         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41257         sysdep_routines when subdir is sysvipc.
41258         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41259         __getshmlba helper.
41260
41261         * sysdeps/sparc/fpu/libm-test/ulps: Update.
41262
41263 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41264
41265         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41266         [__LP64__].
41267
41268 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41269
41270         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41271         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41272         (__lround): Renamed to ...
41273         (__llround): This.  Replace long int with long long int.
41274         Define lround functions as aliases of llround functions.
41275         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41276
41277 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41278
41279         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41280         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
41281         adresses to uintptr_t.  Replace "long int" and "unsigned long
41282         int" with "greg_t" on va_arg.
41283
41284 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41285
41286         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41287         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41288
41289         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41290         Move e_machine check before EI_CLASS check.  Handle x32
41291         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41292         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41293         SKIP_EM_IA_64 and include
41294         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41295
41296         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41297         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41298         (add_system_dir): New macro.
41299
41300         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41301         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41302
41303 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41304
41305         [BZ #2551]
41306         [BZ #2552]
41307         [BZ #2553]
41308         [BZ #2554]
41309         [BZ #2562]
41310         [BZ #2563]
41311         [BZ #2565]
41312         [BZ #2566]
41313         [BZ #2576]
41314         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41315         (y0): Likewise.
41316         * math/w_j0f.c (j0f): Likewise.
41317         (y0f): Likewise.
41318         * math/w_j0l.c (__j0l): Likewise.
41319         (__y0l): Likewise.
41320         * math/w_j1.c (j1): Likewise.
41321         (y1): Likewise.
41322         * math/w_j1f.c (j1f): Likewise.
41323         (y1f): Likewise.
41324         * math/w_j1l.c (__j1l): Likewise.
41325         (__y1l): Likewise.
41326         * math/w_jn.c (jn): Likewise.
41327         (yn): Likewise.
41328         * math/w_jnf.c (jnf): Likewise.
41329         (ynf): Likewise.
41330         * math/w_jnl.c (__jnl): Likewise.
41331         (__ynl): Likewise.
41332         * math/libm-test.inc (j0_test): Add more tests.
41333         (j1_test): Likewise.
41334         (jn_test): Likewise.  Add trailing semicolon to existing test.
41335         (y0_test): Likewise.
41336         (y1_test): Likewise.
41337         * sysdeps/i386/fpu/libm-test-ulps: Update.
41338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41339
41340         [BZ #13851]
41341         [BZ #13854]
41342         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41343         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41344         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41345         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41346         (__tanl): Set errno for infinite argument.
41347         * sysdeps/i386/fpu/mptan.c: Remove.
41348         * sysdeps/i386/fpu/s_tan.S: Likewise.
41349         * sysdeps/i386/fpu/s_tanl.S: Likewise.
41350         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41351         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41352         * math/libm-test.inc (tan_test): Add more tests and enable more
41353         tests for double and long double.
41354         * sysdeps/i386/fpu/libm-test-ulps: Update.
41355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41356
41357 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
41358
41359         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41360         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41361
41362 2012-03-16  Roland McGrath  <roland@hack.frob.com>
41363
41364         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41365         * configure.in: Use it for both main tree and add-ons.
41366         * configure: Regenerated.
41367
41368 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41369
41370         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41371
41372 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41373
41374         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41375         in comment.
41376
41377         [BZ #13851]
41378         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41379         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41380         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41381         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41382         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41383         infinite argument.
41384         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41385         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41386         != 0 for prec == 2.
41387         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41388         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41389         * sysdeps/i386/fpu/s_cosl.S: Likewise.
41390         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41391         * sysdeps/i386/fpu/s_sinl.S: Likewise.
41392         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41393         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41394         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41395         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41396         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41397         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41398         * math/libm-test.inc (cos_test): Add more tests and enable more
41399         tests for long double.
41400         (sin_test): Likewise.
41401         (sincos_test): Likewise.
41402         * sysdeps/i386/fpu/libm-test-ulps: Update.
41403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41404
41405 2012-03-16  David S. Miller  <davem@davemloft.net>
41406
41407         * sysdeps/sparc/fpu/math_private.h: New file.
41408
41409 2012-03-15  David S. Miller  <davem@davemloft.net>
41410
41411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41412         file.
41413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41415         file.
41416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41421         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41422         sysdep routines.
41423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41424
41425         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41426         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41427
41428         * sysdeps/sparc/sparc-ifunc.h: New file.
41429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41430         sparc-ifunc.h
41431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41433         Likewise.
41434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41435         Likewise.
41436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41440         Likewise.
41441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41446         Likewise.
41447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41448         Likewise.
41449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41455         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41456         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41457         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41463         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41464         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41467         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41468         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41469         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41470         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41471         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41472         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41473
41474 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41475
41476         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41477         scaling.
41478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41479
41480 2012-03-15  Andreas Jaeger  <aj@suse.de>
41481
41482         [BZ #13852]
41483         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41484         ieee754/flt-32 implementation for sin, cos and sincos.
41485         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41486         * sysdeps/i386/fpu/s_cosf.S: Likewise.
41487         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41488         * sysdeps/i386/fpu/s_sinf.S: Likewise.
41489         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41490         ieee754/flt-32 implementation for tan.
41491
41492         * math/libm-test.inc (cos_test): Enable some large input tests for
41493         float as well
41494         (sin_test): Likewise.
41495         (sincos_test): Likewise.
41496         (tan_test): Add tests for large input.
41497
41498         * sysdeps/i386/fpu/libm-test-ulps: Update.
41499
41500 2012-03-15  Andreas Jaeger  <aj@suse.de>
41501
41502         [BZ #13658]
41503         * math/libm-test.inc (cos_test): Add more test cases.
41504         (sin_test): Likewise.
41505         (sincos_test): Likewise.
41506
41507 2012-03-15  Andreas Jaeger  <aj@suse.de>
41508
41509         [BZ #13837]
41510         * math/libm-test.inc (cos_test): Add a test case for large input
41511         value.
41512         (sin_test): Likewise.
41513         (sincos_test): Likewise.
41514
41515 2012-03-15  Andreas Jaeger  <aj@suse.de>
41516             Joseph Myers  <joseph@codesourcery.com>
41517
41518         [BZ #13658]
41519         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41520         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41521         * sysdeps/i386/fpu/branred.c: Likewise.
41522         * sysdeps/i386/fpu/dosincos.c: Likewise.
41523         * sysdeps/i386/fpu/mpa.c: Likewise.
41524         * sysdeps/i386/fpu/s_cos.S: Likewise.
41525         * sysdeps/i386/fpu/s_sin.S: Likewise.
41526         * sysdeps/i386/fpu/s_sincos.S: Likewise.
41527         * sysdeps/i386/fpu/sincos32.c: Likewise.
41528
41529         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41530         Define.
41531         (libc_feupdateenv_53bit): Define.
41532         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41533         Define.
41534         (libc_feupdateenv_53bit): Define.
41535
41536         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41537         53 bit (without extend i386 double precision).
41538
41539         * math/libm-test.inc (sincos_test): Add tests for large input.
41540         (sin): Likewise.
41541         (cos): Likewise.
41542
41543         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41544
41545 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41546
41547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41548
41549 2012-03-15  David S. Miller  <davem@davemloft.net>
41550
41551         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41552         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41553         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41554         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41564         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41565         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41567         file.
41568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41570         file.
41571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41573         file.
41574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41576         file.
41577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41578         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41579         fmin/fmax sysdep routines.
41580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41581
41582 2012-03-14  David S. Miller  <davem@davemloft.net>
41583
41584         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41585         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41588         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41589         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41590         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41591         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41593         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41596         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41597         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41601         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41602         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41603         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41604         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41605         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41606         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41607         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41608         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41609         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41610         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41611         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41612         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41613         routines.
41614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41615         file.
41616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41618         file.
41619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41621         file.
41622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41624         file.
41625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41627         file.
41628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41630         file.
41631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41632         file.
41633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41634         file.
41635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41636         file.
41637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41638         New file.
41639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41640         file.
41641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41642         file.
41643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41645         file.
41646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41648         file.
41649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41651         file.
41652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41654         VIS3 routines.
41655
41656         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41657         New file.
41658
41659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41660
41661         * sysdeps/sparc/configure.in: New file.
41662         * sysdeps/sparc/configure: Generate.
41663         * configure.in (libc_cv_sparc_as_vis3): Substitute.
41664         * configure: Regenerate.
41665         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41666         * config.make.in (have-as-vis3): New.
41667         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41668         available use -Av9d instead of -Av9a.
41669         * sysdeps/sparc/sparc64/Makefile: Likewise.
41670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41672         New file.
41673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41674         file.
41675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41676         New file.
41677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41678         file.
41679         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41680         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41681         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41682         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41683         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41684
41685         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41686         fzeros/fnegs to load 0x80000000 into a float register instead of
41687         using the stack.
41688         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41689
41690 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
41691
41692         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41693         bits/syscall.h.
41694         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41695         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41696         ($(inst_includedir)/bits/syscall.h): Remove rule.
41697         ($(objpfx)bits/syscall.d): Include instead of
41698         $(objpfx)syscall-list.d.
41699         (generated): Change syscall-list.h and syscall-list.d to
41700         bits/syscall.h and bits/syscall.d.
41701
41702 2012-03-14  Roland McGrath  <roland@hack.frob.com>
41703
41704         [BZ #13846]
41705         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41706
41707 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
41708
41709         [BZ #13841]
41710         * math/s_csqrt.c: Include <float.h>.
41711         (__csqrt): Scale large or subnormal inputs.
41712         * math/s_csqrtf.c: Likewise.
41713         * math/s_csqrtl.c: Likewise.
41714         * math/libm-test.inc (csqrt_test): Add more tests.
41715         * sysdeps/i386/fpu/libm-test-ulps: Update.
41716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41717
41718         [BZ #13840]
41719         * math/libm-test.inc (hypot_test): Add more tests.
41720
41721 2012-03-13  David S. Miller  <davem@davemloft.net>
41722
41723         [BZ #13840]
41724         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41725         double-precision for the calculation instead of scaling.
41726
41727 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
41728
41729         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41730         manipulate bits before adding and subtracting TWO52[sx].
41731         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41732         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41733         Likewise.
41734         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41735
41736 2012-03-13  David S. Miller  <davem@davemloft.net>
41737
41738         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41739         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41740         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41741         rtld-global-offsets.h
41742         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41743
41744         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41745         large parameters.
41746
41747         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41748
41749         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41750         'err' in the ifdef scope in which it is actually used.
41751
41752         * nss/nss_db/db-init.c: Include string.h
41753
41754 2012-03-12  David S. Miller  <davem@davemloft.net>
41755
41756         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41757         masking out of the most significant byte of random value used.
41758         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41759         Fix coding style in previous change.
41760
41761         * sysdeps/unix/sysv/linux/kernel-features.h
41762         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41763         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41764         expression.
41765         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41766         later.
41767
41768 2012-03-11  David S. Miller  <davem@davemloft.net>
41769
41770         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41771         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41772         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41773         for 'resultvar' otherwise things get truncated on 64-bit.
41774
41775         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41776         Fix masking out of the most significant byte of random value used.
41777
41778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41779
41780 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
41781
41782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41783
41784 2012-03-09  David S. Miller  <davem@davemloft.net>
41785
41786         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41787         variables with appropriate CPP guards.
41788         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41789         from the frame pointer, not the stack pointer.  Correct layout
41790         comments.  Fix test on resulting framesize and the management of
41791         the outregs buffer for pltexit.  Preserve floating point return
41792         values across _dl_call_pltexit call.
41793         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41794         framesize and the management of the outregs buffer for pltexit.
41795         Preserve floating point return values across _dl_call_pltexit
41796         call.
41797         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41798         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41799         (la_sparc64_gnu_pltexit): New functions.
41800         (print_exit): Fix format string for return register value.
41801
41802 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
41803
41804         * sunrpc/Makefile (others): Add rpcgen.
41805         ($(objpfx)rpcgen): Remove special build rule and dependency on
41806         libc.
41807         * sunrpc/rpcgen.c: New file.
41808
41809 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
41810
41811         [BZ #13673]
41812         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41813         * stdio-common/bug-vfprintf-nargs.c: Likewise.
41814         * sysdeps/i386/crti.S: Likewise.
41815         * sysdeps/i386/crtn.S: Likewise.
41816         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41817         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41818         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41819         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41820         * sysdeps/sh/crti.S: Likewise.
41821         * sysdeps/sh/crtn.S: Likewise.
41822         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41823
41824         [BZ #13673]
41825         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41826         with URL.
41827         * locale/programs/locfile-kw.gperf: Likewise.
41828         * locale/programs/charmap-kw.h: Regenerated.
41829         * locale/programs/locfile-kw.h: Likewise.
41830
41831         [BZ #13673]
41832         * intl/plural.y: Replace FSF snail mail address with URL.
41833         * intl/plural.c: Regenerated.
41834
41835 2012-03-09  Richard Henderson  <rth@twiddle.net>
41836
41837         * include/math_private.h: Remove file.
41838         * math/math_private.h: Move file ...
41839         * sysdeps/generic/math_private.h: ... here.
41840
41841         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41842         * sysdeps/powerpc/fpu/math_private.h: Likewise.
41843         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41844
41845         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41846         and <math_private.h>.
41847         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41848         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41849         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41850         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41851         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41852         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41853         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41854         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41855         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41856         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41857         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41858         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41859         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41860         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41861         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41862         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41863         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41864         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41865         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41866         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41867         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41868         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41869         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41870         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41871         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41872         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41873         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41874         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41875         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41876         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41877         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41878         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41879         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41880         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41881         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41882         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41883         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41884         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41885         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41886         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41887         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41888         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41889         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41890         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41891         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41892         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41893         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41894         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41895         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41896         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41897         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41898         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41899         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41900         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41901         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41902         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41903         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41904         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41905         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41906         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41907         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41908         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41909         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41910         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41911         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41912         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41913         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41914         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41915         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41916         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41917         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41918         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41919         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41920         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41921         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41922         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41923         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41924         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41925         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41926         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41927         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41928         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41929         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41930         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41931         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41932         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41933         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41934         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41935         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41936         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41937         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41938         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41939         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41940         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41941         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41942         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41943         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41944         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41945         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41946         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41947         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41948         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41949         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41950         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41951         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41952         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41953         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41954         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41955         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41956         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41957         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41958         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41959         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41960         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41961         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41962         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41963         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41964         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41965         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41966         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41967         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41968         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41969         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41970         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41971         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41972         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41973         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41974         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41975         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41976         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41977         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41978         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41979         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41980         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41981         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41982         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41983         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41984         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41985         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41986         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41987         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41988         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41989         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41990         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41991         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41992         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41993         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41994         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41995         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41996         * sysdeps/ieee754/k_standard.c: Likewise.
41997         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41998         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41999         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42000         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42001         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42002         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42003         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42004         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42005         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42006         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42007         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42008         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42009         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42010         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42011         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42012         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42013         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42014         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42015         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42016         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42017         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42018         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42019         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42020         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42021         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42022         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42023         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42024         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42025         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42026         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42027         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42028         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42029         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42030         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42031         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42032         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42033         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42034         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42035         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42036         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42037         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42038         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42039         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42040         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42041         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42042         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42043         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42044         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42045         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42046         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42047         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42048         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42049         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42050         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42051         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42052         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42053         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42054         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42055         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42056         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42057         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42058         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42059         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42060         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42061         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42062         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42063         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42064         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42065         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42066         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42067         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42069         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42070         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42071         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42072         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42073         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42074         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42075         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42076         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42077         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42078         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42079         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42080         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42081         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42082         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42083         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42084         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42085         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42086         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42087         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42088         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42089         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42090         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42091         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42092         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42093         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42094         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42095         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42096         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42097         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42098         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42099         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42100         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42101         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42102         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42103         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42104         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42105         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42106         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42107         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42108         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42109         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42110         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42111         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42112         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42113         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42114         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42115         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42116         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42117         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42118         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42119         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42120         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42121         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42122         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42123         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42124         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42125         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42126         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42127         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42128         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42129         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42130         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42131         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42132         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42133         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42134         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42135         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42136         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42137         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42138         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42139         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42140         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42141         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42142         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42143         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42144         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42145         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42146         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42147         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42148         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42149         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42150         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42151         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42152         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42153         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42154         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42155         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42156         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42157         * sysdeps/ieee754/s_lib_version.c: Likewise.
42158         * sysdeps/ieee754/s_matherr.c: Likewise.
42159         * sysdeps/ieee754/s_signgam.c: Likewise.
42160         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42161         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42162         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42163         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42164         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42165         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42166         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42167         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42168         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42169         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42170         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42171         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42172         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42173         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42174         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42175         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42176         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42177         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42178         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42179         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42180         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42181
42182 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42183
42184         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42185         * sunrpc/rpc_main.c: Likewise.
42186         * sunrpc/rpc_svcout.c: Likewise.
42187
42188 2012-03-09  David S. Miller  <davem@davemloft.net>
42189
42190         * include/math_private.h: New file.
42191
42192 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42193
42194         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42195         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42196         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42197         from <bits/socket_type.h>.
42198         (enum __socket_type): Don't define here.
42199         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42200         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42201         bits/socket_type.h.
42202
42203         [BZ #13566]
42204         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42205         checking __USE_GNU.
42206
42207         * Makerules ($(inst_includedir)/%.h): New rule.
42208         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42209         (install-others): Remove variable setting.
42210         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42211
42212 2012-03-08  Richard Henderson  <rth@twiddle.net>
42213
42214         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42215         from macro to inline function; merge with the
42216         !__LIBC_INTERNAL_MATH_INLINES version.
42217         (__ieee754_sqrtf): Likewise.
42218
42219         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42220         to inline function.
42221         (__rintf, __floor, __floorf): Likewise.
42222
42223         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42224         macro to inline function.
42225         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42226
42227         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42228         not <math/math_private.h>.
42229
42230 2012-03-08  David S. Miller  <davem@davemloft.net>
42231
42232         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42233         copyright year.
42234         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42235
42236 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
42237
42238         * resolv/gai_misc.c (handle_requests): Fix struct timespec
42239         normalization.
42240         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42241         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42242
42243 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
42244
42245         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
42246         be defined individually, they must be defined as a block.  Define
42247         S for printing a string instead of hidint the different by using a
42248         macro for adding the 'l'.
42249         * stdio-common/tst-fphex-wide.c: Adjust.
42250
42251 2012-03-07  Marek Polacek  <polacek@redhat.com>
42252
42253         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42254
42255 2012-03-08  Marek Polacek  <polacek@redhat.com>
42256
42257         [BZ #13806]
42258         * stdio-common/Makefile (tests): Add tst-fphex-wide.
42259         * stdio-common/tst-fphex.c: Define a few macros to make the
42260         test reusable.  Use them.
42261         * stdio-common/tst-fphex-wide.c: New file.
42262
42263 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
42264
42265         [BZ #6911]
42266         * manual/macros.texi (gnusystems): New macro.
42267         (nongnusystems): Likewise.
42268         (gnulinuxhurdsystems): Likewise.
42269         (gnuhurdsystems): Likewise..
42270         (gnulinuxsystems): Likewise.
42271         * manual/charset.texi: Use new macros or @theglibc{} to refer to
42272         variants of the GNU system, not "GNU system".
42273         * manual/conf.texi: Likewise.
42274         * manual/errno.texi: Likewise.  Update example of errno macro
42275         expansion.
42276         * manual/filesys.texi: Likewise.
42277         (getumask): Document as specific to GNU/Hurd.
42278         * manual/install.texi: Likewise.  Reword some references to
42279         GNU/Linux.
42280         * manual/intro.texi: Likewise.
42281         * manual/io.texi: Likewise.
42282         (File Name Portability): Detail which constraints are inapplicable
42283         to all GNU systems and which are only inapplicable to GNU/Hurd.
42284         * manual/job.texi: Likewise.
42285         * manual/llio.texi: Likewise.
42286         (O_NOCTTY): Document as present on GNU/Linux.
42287         * manual/maint.texi: Likewise.
42288         * manual/memory.texi: Likewise.
42289         * manual/pattern.texi: Likewise.
42290         * manual/pipe.texi: Likewise.
42291         * manual/process.texi: Likewise.
42292         * manual/resource.texi: Likewise.
42293         (RUSAGE_CHILDREN): Remove statement about specifying a particular
42294         child on GNU/Hurd.
42295         * manual/setjmp.texi: Likewise.
42296         * manual/signal.texi: Likewise.
42297         * manual/startup.texi: Likewise.
42298         * manual/stdio.texi: Likewise.
42299         * manual/terminal.texi: Likewise.
42300         (ONLCR): Document as POSIX.
42301         (OXTABS): Document availability on GNU/Linux as XTABS.
42302         (ONOEOT): Document availability separately from other bits.
42303         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42304         * manual/time.texi: Likewise.
42305         * manual/users.texi: Likewise.
42306         * INSTALL: Regenerated.
42307         * sysdeps/gnu/errlist.c: Regenerated.
42308
42309         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42310         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42311         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
42312         puts.
42313         * configure: Regenerated.
42314
42315 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
42316
42317         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42318         default includes instead of AC_HEADER_CHECK.
42319         * sysdeps/i386/configure: Regenerated.
42320
42321         [BZ #10716]
42322         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42323         * math/s_cacoshf.c (__cacoshf): Likewise.
42324         * math/s_cacoshl.c (__cacoshl): Likewise.
42325         * math/s_casinh.c (__casinh): Set signs of result from argument.
42326         * math/s_casinhf.c (__casinhf): Likewise.
42327         * math/s_casinhl.c (__casinhl): Likewise.
42328         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42329         (casinh_test): Add more tests.
42330         * sysdeps/i386/fpu/libm-test-ulps: Update.
42331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42332
42333 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
42334
42335         * po/zh_TW.po: Update from translation team.
42336
42337         * login/Makefile (distribute): Remove variable.
42338         * catgets/Makefile: Likewise.
42339         * mach/Makefile: Likewise.
42340         * malloc/Makefile: Likewise.
42341         * misc/Makefile: Likewise.
42342         * iconv/Makefile: Likewise.
42343         * nscd/Makefile: Likewise.
42344         * hurd/Makefile: Likewise.
42345         * manual/Makefile: Likewise.
42346         * locale/Makefile: Likewise.
42347         * intl/Makefile: Likewise.
42348         * conform/Makefile: Likewise.
42349         * nss/Makefile: Likewise.
42350         * time/Makefile: Likewise.
42351         * soft-fp/Makefile: Likewise.
42352         * dirent/Makefile: Likewise.
42353         * gmon/Makefile: Likewise.
42354         * po/Makefile: Likewise.
42355         * rt/Makefile: Likewise.
42356         * socket/Makefile: Likewise.
42357         * math/Makefile: Likewise.
42358         * signal/Makefile: Likewise.
42359         * debug/Makefile: Likewise.
42360         * elf/Makefile: Likewise.
42361         * timezone/Makefile: Likewise.
42362         * stdlib/Makefile: Likewise.
42363         * iconvdata/Makefile: Likewise.
42364         * sunrpc/Makefile: Likewise.
42365         * io/Makefile: Likewise.
42366         * argp/Makefile: Likewise.
42367         * inet/Makefile: Likewise.
42368         * hesiod/Makefile: Likewise.
42369         * grp/Makefile: Likewise.
42370         * csu/Makefile: Likewise.
42371         * wctype/Makefile: Likewise.
42372         * crypt/Makefile: Likewise.
42373         * libio/Makefile: Likewise.
42374         * string/Makefile: Likewise.
42375         * nis/Makefile: Likewise.
42376         * resolv/Makefile: Likewise.
42377         * stdio-common/Makefile: Likewise.
42378         * wcsmbs/Makefile: Likewise.
42379         * dlfcn/Makefile: Likewise.
42380         * posix/Makefile: Likewise.
42381
42382         [BZ #6959]
42383         * timezone/Makefile: Don't install timezone files, just the programs
42384         and scripts.
42385
42386 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
42387
42388         * nss/databases.def: Add missing gshadow entry.
42389
42390         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
42391
42392 2012-03-06  Marek Polacek  <polacek@redhat.com>
42393
42394         [BZ #13726]
42395         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42396         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42397         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42398         * stdio-common/tst-long-dbl-fphex.c: New file.
42399
42400 2012-03-06  David S. Miller  <davem@davemloft.net>
42401
42402         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42403         (set_obp_int): New function.
42404         (get_obp_int): New function.
42405         (__get_clockfreq_via_dev_openprom): Likewise.
42406         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42407         Avoid unused variable warnings on 'val' and use builtin_expect.
42408         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42409         __builtin_expect.
42410         (INLINE_CLONE_SYSCALL): Likewise.
42411
42412 2012-03-05  David S. Miller  <davem@davemloft.net>
42413
42414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42415
42416 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
42417
42418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42419
42420         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42421         only for |x| >= 40.
42422         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42423
42424 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
42425
42426         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42427         Replace gettimeofday with __vdso_gettimeofday.
42428
42429         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42430         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42431         __vdso_clock_gettime and __vdso_getcpu.
42432
42433         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42434         time with __vdso_time.
42435
42436 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42437
42438         * manual/lang.texi (size_t): Note types to which size_t may be
42439         equivalent with the GNU C Library, but do not describe when
42440         differences between them are significant.
42441
42442 2012-03-05  Andreas Jaeger  <aj@suse.de>
42443
42444         * sysdeps/i386/fpu/libm-test-ulps: Update.
42445
42446 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42447
42448         [BZ #3976]
42449         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42450         (__ieee754_pow): Save and restore rounding mode and use
42451         round-to-nearest for main computations.
42452         * math/libm-test.inc (pow_test_tonearest): New function.
42453         (pow_test_towardzero): Likewise.
42454         (pow_test_downward): Likewise.
42455         (pow_test_upward): Likewise.
42456         (main): Call the new functions.
42457         * sysdeps/i386/fpu/libm-test-ulps: Update.
42458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42459
42460         [BZ #3976]
42461         * math/libm-test.inc (cosh_test_tonearest): New function.
42462         (cosh_test_towardzero): Likewise.
42463         (cosh_test_downward): Likewise.
42464         (cosh_test_upward): Likewise.
42465         (sinh_test_tonearest): Likewise.
42466         (sinh_test_towardzero): Likewise.
42467         (sinh_test_downward): Likewise.
42468         (sinh_test_upward): Likewise.
42469         (main): Call the new functions.
42470         * sysdeps/i386/fpu/libm-test-ulps: Update.
42471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42472
42473 2012-03-05  Tom de Vries  <tom@codesourcery.com>
42474
42475         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42476         default stack guard is set in last bytes.
42477         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42478
42479 2012-03-05  Kees Cook  <keescook@chromium.org>
42480
42481         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42482
42483         [BZ #13656]
42484         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42485         possibly allocate from heap instead of stack.
42486         * stdio-common/bug-vfprintf-nargs.c: New file.
42487         * stdio-common/Makefile (tests): Add nargs overflow test.
42488
42489 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
42490
42491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42492
42493 2012-03-03  Marek Polacek  <polacek@redhat.com>
42494
42495         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42496         * math/math_private.h: Likewise.
42497         * stdlib/tst-strtod.c: Likewise.
42498         * sysdeps/i386/i486/bits/atomic.h: Likewise.
42499         * sysdeps/x86_64/bits/atomic.h: Likewise.
42500
42501 2012-03-02  David S. Miller  <davem@davemloft.net>
42502
42503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42507         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42508         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42509         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42510         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42511
42512 2012-03-02  Roland McGrath  <roland@hack.frob.com>
42513
42514         [BZ #13792]
42515         * manual/examples/README: New file, says the example source files
42516         can be used under GPL>=2.
42517         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42518         line containing just "*/".
42519         * manual/examples/add.c: Add copyright header (GPL>=2).
42520         * manual/examples/argp-ex1.c: Likewise.
42521         * manual/examples/argp-ex2.c: Likewise.
42522         * manual/examples/argp-ex3.c: Likewise.
42523         * manual/examples/argp-ex4.c: Likewise.
42524         * manual/examples/atexit.c: Likewise.
42525         * manual/examples/db.c: Likewise.
42526         * manual/examples/dir.c: Likewise.
42527         * manual/examples/dir2.c: Likewise.
42528         * manual/examples/execinfo.c: Likewise.
42529         * manual/examples/filecli.c: Likewise.
42530         * manual/examples/filesrv.c: Likewise.
42531         * manual/examples/fmtmsgexpl.c: Likewise.
42532         * manual/examples/genpass.c: Likewise.
42533         * manual/examples/inetcli.c: Likewise.
42534         * manual/examples/inetsrv.c: Likewise.
42535         * manual/examples/isockad.c: Likewise.
42536         * manual/examples/longopt.c: Likewise.
42537         * manual/examples/memopen.c: Likewise.
42538         * manual/examples/memstrm.c: Likewise.
42539         * manual/examples/mkfsock.c: Likewise.
42540         * manual/examples/mkisock.c: Likewise.
42541         * manual/examples/mygetpass.c: Likewise.
42542         * manual/examples/pipe.c: Likewise.
42543         * manual/examples/popen.c: Likewise.
42544         * manual/examples/rprintf.c: Likewise.
42545         * manual/examples/search.c: Likewise.
42546         * manual/examples/select.c: Likewise.
42547         * manual/examples/setjmp.c: Likewise.
42548         * manual/examples/sigh1.c: Likewise.
42549         * manual/examples/sigusr.c: Likewise.
42550         * manual/examples/stpcpy.c: Likewise.
42551         * manual/examples/strdupa.c: Likewise.
42552         * manual/examples/strftim.c: Likewise.
42553         * manual/examples/strncat.c: Likewise.
42554         * manual/examples/subopt.c: Likewise.
42555         * manual/examples/swapcontext.c: Likewise.
42556         * manual/examples/termios.c: Likewise.
42557         * manual/examples/testopt.c: Likewise.
42558         * manual/examples/testpass.c: Likewise.
42559         * manual/examples/timeval_subtract.c: Likewise.
42560
42561         [BZ #13792]
42562         * manual/time.texi (Elapsed Time): Move timeval_subtract example
42563         function to ...
42564         * manual/timeval_subtract.c.texi: ... here, new file.
42565
42566 2012-03-02  David S. Miller  <davem@davemloft.net>
42567
42568         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42569
42570 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
42571
42572         [BZ #3976]
42573         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42574         (__sin): Save and restore rounding mode and use round-to-nearest
42575         for all computations.
42576         (__cos): Save and restore rounding mode and use round-to-nearest
42577         for all computations.
42578         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42579         <fenv.h>.
42580         (tan): Save and restore rounding mode and use round-to-nearest for
42581         all computations.
42582         * math/libm-test.inc (cos_test_tonearest): New function.
42583         (cos_test_towardzero): Likewise.
42584         (cos_test_downward): Likewise.
42585         (cos_test_upward): Likewise.
42586         (sin_test_tonearest): Likewise.
42587         (sin_test_towardzero): Likewise.
42588         (sin_test_downward): Likewise.
42589         (sin_test_upward): Likewise.
42590         (tan_test_tonearest): Likewise.
42591         (tan_test_towardzero): Likewise.
42592         (tan_test_downward): Likewise.
42593         (tan_test_upward): Likewise.
42594         (main): Call the new functions.
42595         * sysdeps/i386/fpu/libm-test-ulps: Update.
42596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42597
42598         [BZ #10135]
42599         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42600         small n, then large n, before computing and testing k+n.
42601         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42602         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42603         Likewise.
42604         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42605         Likewise.
42606         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42607         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42608         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42609         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42610         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42611         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42612         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42613         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42614         * math/libm-test.inc (scalbn_test): Add more tests.
42615         (scalbln_test): Likewise.
42616
42617         * manual/filesys.texi (mode_t): Describe constraints on size and
42618         signedness, not exact equivalence to a particular type.
42619         (ino_t): Likewise.
42620         (ino64_t): Likewise.
42621         (dev_t): Likewise.
42622         (nlink_t): Likewise.
42623         (blkcnt_t): Likewise.
42624         (blkcnt64_t): Likewise.
42625         * manual/llio.texi (off_t): Likewise.
42626
42627         [BZ #3976]
42628         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42629         (__ieee754_exp): Save and restore rounding mode and use
42630         round-to-nearest for all computations.
42631         * math/libm-test.inc (exp_test_tonearest): New function.
42632         (exp_test_towardzero): Likewise.
42633         (exp_test_downward): Likewise.
42634         (exp_test_upward): Likewise.
42635         (main): Call the new functions.
42636         * sysdeps/i386/fpu/libm-test-ulps: Update.
42637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42638
42639 2012-03-01  Chris Demetriou  <cgd@google.com>
42640
42641         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42642         have predictable order.
42643
42644 2012-03-01  David S. Miller  <davem@davemloft.net>
42645
42646         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42647
42648         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42649         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42650         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42651         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42652
42653         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42654         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42655         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42657         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42658         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42659         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42660         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42661         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42662
42663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42664
42665         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42666         * sysdeps/sparc/fpu/libm-test-ulps: to here.
42667         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42668
42669         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42670         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42671         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42672         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42673         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42674         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42675         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42676         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42677         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42678         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42679         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42680         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42681         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42682         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42683         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42684         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42685         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42686         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42687         * sysdeps/sparc/elf/configure: Regenerated.
42688
42689 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
42690
42691         * configure.in (AS, LD): Require binutils 2.20 or later.
42692         * configure: Regenerated.
42693         * manual/install.texi (Tools for Compilation): Give binutils 2.20
42694         as required minimum version.
42695         * INSTALL: Regenerated.
42696
42697         [BZ #2541]
42698         [BZ #4108]
42699         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42700         before squaring exponent.
42701         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42702         bottom long double and 27 bits of top long double before squaring
42703         exponent.
42704         * math/libm-test.inc (erfc_test): Add more tests.
42705         * sysdeps/i386/fpu/libm-test-ulps: Update.
42706         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42708
42709 2012-03-01  Kai Tietz  <ktietz@redhat.com>
42710
42711         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42712         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42713         containing bit-fields.
42714         * soft-fp/extended.h (_FP_UNION_E): Likewise.
42715         * soft-fp/single.h (_FP_UNION_S): Likewise.
42716         * soft-fp/double.h (_FP_UNION_D): Likewise.
42717
42718 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
42719
42720         [BZ #13786]
42721         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42722         not include ../strcmp.S.
42723         [USE_AS_STRNCASECMP_L]: Likewise.
42724         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42725         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42726         * sysdeps/i386/i686/multiarch/strncase_l-c.c
42727         (__strncasecmp_l_ia32): Define as alias to
42728         __strncasecmp_l_nonascii.
42729
42730         [BZ #5794]
42731         * math/libm-test.inc (expm1_test): Add test for bug 5794.
42732         * sysdeps/i386/fpu/libm-test-ulps: Update.
42733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42734
42735         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42737
42738 2012-02-29  Jeff Law  <law@redhat.com>
42739
42740         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42741         out of bounds read.
42742
42743 2012-02-29  Marek Polacek  <polacek@redhat.com>
42744
42745         [BZ #13706]
42746         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42747         * elf/Makefile: Add rules to run tst-unused-dep.out.
42748
42749 2012-02-28  David S. Miller  <davem@davemloft.net>
42750
42751         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42752         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42753         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42754         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42755         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42756         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42757
42758 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
42759
42760         * math/libm-test.inc (llround_test): Move one test from
42761         lround_test.  Use TEST_f_L in moved test.
42762         (lround_test): Move misplaced test to llround_test.  Add testcase
42763         from bug 2561.
42764
42765 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
42766
42767         * sysdeps/x86_64/fpu/e_expf.S: New file.
42768         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42769
42770 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
42771
42772         [BZ #13637]
42773         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42774         of remain_len that may cause incomplete multi-byte character and
42775         false match.
42776         * posix/bug-regex33.c: New file.
42777         * posix/Makefile (tests): Add bug-regex33.
42778
42779 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
42780
42781         * manual/macros.texi: New file.
42782         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42783         * manual/libc.texinfo: Include macros.texi.
42784         * manual/creatute.texi: Likewise.
42785         * manual/install.texi: Likewise.
42786         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42787         @glibcadj{} in references to the GNU C Library.
42788         * manual/charset.texi: Likewise.
42789         * manual/conf.texi: Likewise.
42790         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
42791         when not using those macros.
42792         * manual/creature.texi: Likewise.
42793         * manual/crypt.texi: Likewise.
42794         * manual/errno.texi: Likewise.
42795         * manual/filesys.texi: Likewise.
42796         * manual/header.texi: Likewise.
42797         * manual/install.texi: Likewise.
42798         * manual/intro.texi: Likewise.
42799         * manual/io.texi: Likewise.
42800         * manual/job.texi: Likewise.
42801         * manual/lang.texi: Likewise.
42802         * manual/libc.texiinfo: Likewise.
42803         * manual/llio.texi: Likewise.
42804         * manual/locale.texi: Likewise.
42805         * manual/maint.texi: Likewise.
42806         * manual/math.texi: Likewise.
42807         * manual/memory.texi: Likewise.
42808         * manual/message.texi: Likewise.
42809         * manual/nss.texi: Likewise.
42810         * manual/pattern.texi: Likewise.
42811         * manual/process.texi: Likewise.
42812         * manual/resource.texi: Likewise.
42813         * manual/search.texi: Likewise.
42814         * manual/setjmp.texi: Likewise.
42815         * manual/signal.texi: Likewise.
42816         * manual/socket.texi: Likewise.
42817         * manual/startup.texi: Likewise.
42818         * manual/stdio.texi: Likewise.
42819         * manual/string.texi: Likewise.
42820         * manual/sysinfo.texi: Likewise.
42821         * manual/syslog.texi: Likewise.
42822         * manual/terminal.texi: Likewise.
42823         * manual/time.texi: Likewise.
42824         * manual/users.texi: Likewise.
42825         * INSTALL: Regenerated.
42826         * NOTES: Regenerated.
42827         * sysdeps/gnu/errlist.c: Regenerated.
42828
42829 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
42830
42831         * include/dirent.h: Include <dirstream.h> before
42832         <dirent/dirent.h>.
42833
42834 2012-02-28  David S. Miller  <davem@davemloft.net>
42835
42836         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42837         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42838         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42839         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42840
42841 2012-02-27  David S. Miller  <davem@davemloft.net>
42842
42843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42845         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42846         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42847
42848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42849         frame pointer instead of stack pointer relative arg slot.
42850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42851         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42852         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42853
42854 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
42855
42856         [BZ #3992]
42857         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42858
42859 2012-02-27  David S. Miller  <davem@davemloft.net>
42860
42861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42865         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42866         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42867         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42868         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42869
42870 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42871
42872         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42873         later.  Allow versions 5-9.
42874         * configure: Regenerated.
42875         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42876         required minimum version and 4.6 as recommended version.  Do not
42877         mention bugs in GCC 2.7 and 2.8.
42878         * INSTALL: Regenerated.
42879
42880 2012-02-27  David S. Miller  <davem@davemloft.net>
42881
42882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42886         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42887         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42888         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42889         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42890
42891         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42892         manipulate bits before adding and subtracting TWO112[sx].
42893         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42894
42895 2012-02-27  Roland McGrath  <roland@hack.frob.com>
42896
42897         [BZ #13775]
42898         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42899         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42900         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42901         being in POSIX, because they are in 1003.1-2008.
42902
42903         * rt/tst-aio.c: Include <fcntl.h>.
42904         * rt/tst-aio7.c: Likewise.
42905         * rt/tst-aio64.c: Likewise.
42906
42907         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42908
42909 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42910
42911         * manual/install.texi (--with-headers): Describe headers as
42912         interface headers, not private headers.
42913         (Specific advice for GNU/Linux systems): Describe use of headers
42914         from "make headers_install", not private headers from older
42915         kernels.
42916         * INSTALL: Regenerated.
42917         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42918         Change to 2.6.19.
42919         * sysdeps/unix/sysv/linux/configure: Regenerated.
42920
42921         * manual/llio.texi (fclean): Remove documentation.
42922
42923         * manual/Makefile (libc-texi-generated): New variable.  Include
42924         version.texi.
42925         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42926         $(libc-texi-generated), not duplicated list of files.
42927         (version.texi, stamp-version): New rules.
42928         (realclean): Remove $(libc-texi-generated), not individual files
42929         from that list.  Do not remove dir-add.texinfo.
42930         * manual/libc.texinfo: Comment out uses of edition numbers and
42931         references to printed manual.  Remove last-updated dates.
42932         (EDITION): Comment out.
42933         (ISBN): Likewise.
42934         (VERSION, UPDATED): Remove.
42935         (version.texi): Include.
42936
42937 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
42938
42939         * sysdeps/posix/spawni.c: Include <signal.h>.
42940         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42941         * sysdeps/pthread/aio_fsync.c: Likewise.
42942
42943 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
42944
42945         * conform/Makefile (tests): Run only when not cross-compiling and
42946         when fast-check is not defined.
42947
42948         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42949         * conform/data/limits.h-data: Fixes for POSIX2008.
42950         * conform/run-conformtest.sh: Run all tests.
42951         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42952         headers.
42953         * include/bits/dlfcn.h: Likewise.
42954         * include/langinfo.h: Likewise.
42955         * include/monetary.h: Likewise.
42956         * include/sys/poll.h: Likewise.
42957
42958         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42959         for __USE_GNU.
42960         * posix/spawn.h: Define __need_sigset_t.
42961         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42962         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42963         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
42964         to get sigevent_t only.
42965         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42966         only for __USE_GNU.
42967         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42968         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42969         process_vm_writev only for __USE_GNU.
42970         * termios/termios.h: Declare tcgetsid also for POSIX2008.
42971
42972         * conform/Makefile: For now ignore errors from run-conformtest.
42973         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
42974         POSIX to avoid namespace pollution.  Don't prepend headers.
42975         * conform/data/aio.h-data: Fixes for POSIX testing.
42976         * conform/data/fcntl.h-data: Likewise.
42977         * conform/data/glob.h-data: Likewise.
42978         * conform/data/grp.h-data: Likewise.
42979         * conform/data/pthread.h-data: Likewise.
42980         * conform/data/pwd.h-data: Likewise.
42981         * conform/data/signal.h-data: Likewise.
42982         * conform/data/spawn.h-data: Likewise.
42983         * conform/data/stdio.h-data: Likewise.
42984         * conform/data/stdlib.h-data: Likewise.
42985         * conform/data/stropts.h-data: Likewise.
42986         * conform/data/sys/mman.h-data: Likewise.
42987         * conform/data/sys/stat.h-data: Likewise.
42988         * conform/data/sys/types.h-data: Likewise.
42989         * conform/data/sys/wait.h-data: Likewise.
42990         * conform/data/time.h-data: Likewise.
42991         * conform/data/unistd.h-data: Likewise.
42992         * conform/data/utime.h-data: Likewise.
42993
42994         * io/sys/stat.h: fchmod was always in POSIX.
42995         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42996         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42997         * rt/aio.h: Define __need_timespec before including <time.h>.
42998         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42999         struct.  Add forward declaration of pthread_attr_t and use it in
43000         sigevent.
43001         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43002         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43003         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43004         always remove CLK_TCK definition.
43005
43006 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
43007
43008         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43009
43010 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
43011
43012         * conform/run-conformtest.sh: New file.
43013         * conform/Makefile: Run run-conformtest for tests.
43014         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
43015         support.
43016
43017         * conform/data/uchar.h-data: New file.
43018         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43019         * conform/data/arpa/inet.h-data: Likewise.
43020         * conform/data/assert.h-data: Likewise.
43021         * conform/data/complex.h-data: Likewise.
43022         * conform/data/cpio.h-data: Likewise.
43023         * conform/data/ctype.h-data: Likewise.
43024         * conform/data/dirent.h-data: Likewise.
43025         * conform/data/dlfcn.h-data: Likewise.
43026         * conform/data/errno.h-data: Likewise.
43027         * conform/data/fcntl.h-data: Likewise.
43028         * conform/data/float.h-data: Likewise.
43029         * conform/data/fmtmsg.h-data: Likewise.
43030         * conform/data/fnmatch.h-data: Likewise.
43031         * conform/data/ftw.h-data: Likewise.
43032         * conform/data/glob.h-data: Likewise.
43033         * conform/data/grp.h-data: Likewise.
43034         * conform/data/iconv.h-data: Likewise.
43035         * conform/data/inttypes.h-data: Likewise.
43036         * conform/data/langinfo.h-data: Likewise.
43037         * conform/data/libgen.h-data: Likewise.
43038         * conform/data/limits.h-data: Likewise.
43039         * conform/data/locale.h-data: Likewise.
43040         * conform/data/math.h-data: Likewise.
43041         * conform/data/monetary.h-data: Likewise.
43042         * conform/data/mqueue.h-data: Likewise.
43043         * conform/data/ndbm.h-data: Likewise.
43044         * conform/data/net/if.h-data: Likewise.
43045         * conform/data/netdb.h-data: Likewise.
43046         * conform/data/netinet/in.h-data: Likewise.
43047         * conform/data/nl_types.h-data: Likewise.
43048         * conform/data/poll.h-data: Likewise.
43049         * conform/data/pthread.h-data: Likewise.
43050         * conform/data/pwd.h-data: Likewise.
43051         * conform/data/regex.h-data: Likewise.
43052         * conform/data/sched.h-data: Likewise.
43053         * conform/data/search.h-data: Likewise.
43054         * conform/data/semaphore.h-data: Likewise.
43055         * conform/data/setjmp.h-data: Likewise.
43056         * conform/data/signal.h-data: Likewise.
43057         * conform/data/spawn.h-data: Likewise.
43058         * conform/data/stdarg.h-data: Likewise.
43059         * conform/data/stdio.h-data: Likewise.
43060         * conform/data/stdlib.h-data: Likewise.
43061         * conform/data/string.h-data: Likewise.
43062         * conform/data/strings.h-data: Likewise.
43063         * conform/data/stropts.h-data: Likewise.
43064         * conform/data/sys/ipc.h-data: Likewise.
43065         * conform/data/sys/mman.h-data: Likewise.
43066         * conform/data/sys/msg.h-data: Likewise.
43067         * conform/data/sys/resource.h-data: Likewise.
43068         * conform/data/sys/select.h-data: Likewise.
43069         * conform/data/sys/sem.h-data: Likewise.
43070         * conform/data/sys/shm.h-data: Likewise.
43071         * conform/data/sys/socket.h-data: Likewise.
43072         * conform/data/sys/stat.h-data: Likewise.
43073         * conform/data/sys/statvfs.h-data: Likewise.
43074         * conform/data/sys/time.h-data: Likewise.
43075         * conform/data/sys/timeb.h-data: Likewise.
43076         * conform/data/sys/times.h-data: Likewise.
43077         * conform/data/sys/types.h-data: Likewise.
43078         * conform/data/sys/uio.h-data: Likewise.
43079         * conform/data/sys/un.h-data: Likewise.
43080         * conform/data/sys/utsname.h-data: Likewise.
43081         * conform/data/sys/wait.h-data: Likewise.
43082         * conform/data/syslog.h-data: Likewise.
43083         * conform/data/tar.h-data: Likewise.
43084         * conform/data/termios.h-data: Likewise.
43085         * conform/data/utime.h-data: Likewise.
43086         * conform/data/utmpx.h-data: Likewise.
43087         * conform/data/varargs.h-data: Likewise.
43088         * conform/data/wchar.h-data: Likewise.
43089         * conform/data/wctype.h-data: Likewise.
43090         * conform/data/wordexp.h-data: Likewise.
43091
43092         * include/stropts.h: New file.
43093         * include/uchar.h: New file.
43094         * include/aio.h: Changes to allow conformtest.pl to use the headers.
43095         * include/assert.h: Likewise.
43096         * include/ctype.h: Likewise.
43097         * include/dirent.h: Likewise.
43098         * include/dlfcn.h: Likewise.
43099         * include/fcntl.h: Likewise.
43100         * include/fnmatch.h: Likewise.
43101         * include/glob.h: Likewise.
43102         * include/grp.h: Likewise.
43103         * include/libio.h: Likewise.
43104         * include/locale.h: Likewise.
43105         * include/math.h: Likewise.
43106         * include/net/if.h: Likewise.
43107         * include/netdb.h: Likewise.
43108         * include/netinet/in.h: Likewise.
43109         * include/pthread.h: Likewise.
43110         * include/pwd.h: Likewise.
43111         * include/regex.h: Likewise.
43112         * include/sched.h: Likewise.
43113         * include/search.h: Likewise.
43114         * include/setjmp.h: Likewise.
43115         * include/signal.h: Likewise.
43116         * include/stdio.h: Likewise.
43117         * include/stdlib.h: Likewise.
43118         * include/string.h: Likewise.
43119         * include/sys/cdefs.h: Likewise.
43120         * include/sys/mman.h: Likewise.
43121         * include/sys/msg.h: Likewise.
43122         * include/sys/resource.h: Likewise.
43123         * include/sys/select.h: Likewise.
43124         * include/sys/socket.h: Likewise.
43125         * include/sys/stat.h: Likewise.
43126         * include/sys/statvfs.h: Likewise.
43127         * include/sys/time.h: Likewise.
43128         * include/sys/times.h: Likewise.
43129         * include/sys/uio.h: Likewise.
43130         * include/sys/utsname.h: Likewise.
43131         * include/sys/wait.h: Likewise.
43132         * include/termios.h: Likewise.
43133         * include/time.h: Likewise.
43134         * include/ulimit.h: Likewise.
43135         * include/unistd.h: Likewise.
43136         * include/utime.h: Likewise.
43137         * include/wchar.h: Likewise.
43138         * include/wctype.h: Likewise.
43139         * include/wordexp.h: Likewise.
43140
43141         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43142
43143         * time/time.h: TIME_UTC must be a macro.
43144         Make timespec_get available for ISO C11 only as well.
43145
43146 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
43147
43148         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43149         Reported by Peng Haitao <penght@cn.fujitsu.com>.
43150
43151 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43152
43153         * configure.in: Use -o not -a in test for unsupported multi-arch.
43154
43155 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43156
43157         * manual/texinfo.tex: Update to version 2012-01-19.16.
43158
43159 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43160
43161         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43162
43163 2012-02-24  Roland McGrath  <roland@hack.frob.com>
43164
43165         [BZ #13738]
43166         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43167         * manual/fdl-1.3.texi: New file.
43168         * manual/fdl-1.1.texi: File removed.
43169
43170         [BZ #13738]
43171         * manual/libc.texinfo (FDL_VERSION): New @set.
43172         Use it for mention of FDL in cover text.
43173         (Documentation License): Use it in @include file name.
43174
43175 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43176             Roland McGrath  <roland@hack.frob.com>
43177
43178         [BZ #5461]
43179         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43180         (not LONG_LONG_MAX and LONG_LONG_MIN.
43181         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43182         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
43183         name.
43184         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43185
43186 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43187
43188         [BZ #2547]
43189         [BZ #11365]
43190         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43191         manipulate bits before adding and subtracting TWO23[sx].
43192         * math/libm-test.inc (nearbyint_test): Add more tests.
43193
43194 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43195
43196         [BZ #2548]
43197         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43198         bits before adding and subtracting TWO23[sx].
43199         * math/libm-test.inc (rint_test): Add more tests.
43200         (rint_test_tonearest): Likewise.
43201         (rint_test_towardzero): Likewise.
43202         (rint_test_downward): Likewise.
43203         (rint_test_upward: Likewise.
43204
43205 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43206
43207         [BZ #10110]
43208         * include/stdc-predef.h: New file.  Extracted from features.h.
43209         * include/features.h: Include stdc-predef.h.
43210         * Makefile (headers): Add stdc-predef.h.
43211         * CONFORMANCE (Compiler limitations): Update.
43212
43213 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43214
43215         * manual/libc.texinfo (VERSION, UPDATED): Revert.
43216
43217 2012-02-21  David S. Miller  <davem@davemloft.net>
43218
43219         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43220         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43221
43222 2012-02-20  David S. Miller  <davem@davemloft.net>
43223
43224         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43225         using a normal save/restore sequence, rather than allocating a
43226         dummy stack frame just to store a frame pointer and restore.
43227         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43228
43229 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43230
43231         * manual/install.texi: Fix stray word in line-wrapped comment.
43232
43233 2012-02-20  David S. Miller  <davem@davemloft.net>
43234
43235         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43236         both binutils and gcc support GOTDATA.
43237
43238         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43239         "rd %pc" in the PIC register setup sequences.
43240
43241         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43242         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43243         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43244         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43245         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43246         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43247         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43248         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43249         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43250         (SYSCALL_ERROR_HANDLER): Likewise.
43251         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43252         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43253         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43254         (SYSCALL_ERROR_HANDLER): Likewise.
43255
43256         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43257         (HAVE_GCC_GOTDATA): New.
43258         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43259         relocation support in both binutils and gcc.
43260         * sysdeps/sparc/elf/configure: Regenerate.
43261
43262         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43263         * sysdeps/sparc/sparc32/elf/configure: Delete.
43264         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43265         * sysdeps/sparc/sparc64/elf/configure: Delete.
43266         * sysdeps/sparc/elf/configure.in: New file.
43267         * sysdeps/sparc/elf/configure: Generate.
43268
43269         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43270         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43271         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43272         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43273         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43274
43275 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43276
43277         * manual/install.texi: Do not mention specific glibc version
43278         numbers.
43279         * manual/libc.texinfo (VERSION, UPDATED): Update.
43280         (@copying): Use @copyright{} and range of years.
43281
43282 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43283
43284         [BZ #13695]
43285         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43286         [crti.S not in sysdirs] (generated): Do not append.
43287         [crti.S not in sysdirs] (omit-deps): Likewise.
43288         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43289         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43290         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43291         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43292         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43293         Likewise.
43294         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43295         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43296         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43297         * csu/defs.awk: Remove file.
43298         * sysdeps/generic/initfini.c: Likewise.
43299         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43300         variable.
43301         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43302         Likewise.
43303
43304 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43305
43306         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43307         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43308         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43309         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43310         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43311         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43312         <bits/epoll.h>.
43313         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43314         (__EPOLL_PACKED): Define to empty if not defined by
43315         <bits/epoll.h>.
43316         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43318         bits/epoll.h.
43319
43320 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43321
43322         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43323         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43324         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43325         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43326         <bits/timerfd.h>.
43327         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43328         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43329         bits/timerfd.h.
43330
43331 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43332
43333         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43334         in C locale.
43335         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43336         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43337         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43339
43340 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
43341
43342         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43343         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43344
43345 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
43346
43347         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43348         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43349         defined.
43350         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43351         Likewise.
43352         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43353         entry for 2.16.
43354
43355 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
43356
43357         * math/w_acos.c: Use non-signaling floating-point comparisons.
43358         * math/w_acosf.c: Likewise.
43359         * math/w_acosh.c: Likewise.
43360         * math/w_acoshf.c: Likewise.
43361         * math/w_acoshl.c: Likewise.
43362         * math/w_acosl.c: Likewise.
43363         * math/w_asin.c: Likewise.
43364         * math/w_asinf.c: Likewise.
43365         * math/w_asinl.c: Likewise.
43366         * math/w_atanh.c: Likewise.
43367         * math/w_atanhf.c: Likewise.
43368         * math/w_atanhl.c: Likewise.
43369         * math/w_exp2.c: Likewise.
43370         * math/w_exp2f.c: Likewise.
43371         * math/w_exp2l.c: Likewise.
43372         * math/w_j0.c: Likewise.
43373         * math/w_j0f.c: Likewise.
43374         * math/w_j0l.c: Likewise.
43375         * math/w_j1.c: Likewise.
43376         * math/w_j1f.c: Likewise.
43377         * math/w_j1l.c: Likewise.
43378         * math/w_jn.c: Likewise.
43379         * math/w_jnf.c: Likewise.
43380         * math/w_log.c: Likewise.
43381         * math/w_log10.c: Likewise.
43382         * math/w_log10f.c: Likewise.
43383         * math/w_log10l.c: Likewise.
43384         * math/w_log2.c: Likewise.
43385         * math/w_log2f.c: Likewise.
43386         * math/w_log2l.c: Likewise.
43387         * math/w_logf.c: Likewise.
43388         * math/w_logl.c: Likewise.
43389         * math/w_sqrt.c: Likewise.
43390         * math/w_sqrtf.c: Likewise.
43391         * math/w_sqrtl.c: Likewise.
43392         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43393         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43394         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43395         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43396         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43397
43398 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43399
43400         [BZ #9739]
43401         * manual/string.texi (strnlen): Use correct parameter name in
43402         equivalent expression.
43403
43404 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43405
43406         [BZ #11174]
43407         * manual/users.texi (seteuid): Consistently use neweuid for
43408         argument name.
43409
43410 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43411
43412         [BZ #13704]
43413         * manual/nss.texi (Services in the NSS configuration): Correct
43414         list of services in example configuration file.
43415
43416 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
43417
43418         [BZ #11322]
43419         * manual/arith.texi: Remove statements about negative zero
43420         behaving identically to zero.
43421
43422 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43423
43424         [BZ #5993]
43425         * manual/install.texi: Do not document upgrading from libc5.
43426
43427 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43428
43429         [BZ #4596]
43430         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43431
43432 2012-02-18  David S. Miller  <davem@davemloft.net>
43433
43434         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43435         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43436         %o7 across the call.
43437         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43438         instead.
43439         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43440         SETUP_PIC_REG_LEAF.
43441         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43442         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43443         * sysdeps/sparc/crtn.S: Likewise.
43444
43445 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
43446
43447         * aout/Makefile: Remove.
43448
43449 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
43450
43451         [BZ #13058]
43452         * manual/examples/argp-ex1.c (main): Format definition in GNU
43453         style.
43454         * manual/examples/argp-ex2.c (main): Likewise.
43455         * manual/examples/argp-ex3.c (main): Likewise.
43456         * manual/examples/argp-ex4.c (main): Likewise.
43457         * manual/examples/longopt.c (main): Use new-style prototype
43458         definition.
43459         * manual/examples/strncat.c (main): Specify return type and use
43460         (void) for arguments.
43461         * manual/examples/subopt.c (main): Use char **argv argument.
43462
43463 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43464
43465         [BZ #5077]
43466         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43467         rounding modes.
43468
43469 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
43470
43471         [BZ #6907]
43472         * manual/string.texi (strchr): Change when strchrnul is
43473         recommended.
43474
43475 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
43476
43477         [BZ #174]
43478         * manual/locale.texi (setlocale): Document LOCPATH.
43479
43480 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43481
43482         [BZ #10210]
43483         * manual/process.texi (execle): Move @dots{} before last argument.
43484
43485 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
43486
43487         [BZ #12047]
43488         * manual/charset.texi (Generic Charset Conversion): Fix typo
43489         (LC_TYPE -> LC_CTYPE).
43490
43491 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
43492
43493         [BZ #5805]
43494         * manual/arith.texi (scalbn): Use @var{} on parameter names.
43495         (scalbnf): Likewise.
43496         (scalbnl): Likewise.
43497         (scalbln): Likewise.
43498         (scalblnf): Likewise.
43499         (scalblnl): Likewise.
43500         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43501         (vwarnx): Likewise.
43502         (verr): Likewise.
43503         (verrx): Likewise.
43504         * manual/filesys.texi (telldir): Use braces around return type.
43505         * manual/llio.texi (mmap): Add space after comma.
43506         (mmap64): Likewise.
43507         * manual/math.texi (jn): Use @var{} on parameter names.
43508         (jnf): Likewise.
43509         (jnl): Likewise.
43510         (yn): Likewise.
43511         (ynf): Likewise.
43512         (ynl): Likewise.
43513         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43514         line.
43515         * manual/resource.texi (ulimit): Use @dots{} instead of literal
43516         "...".
43517         (sched_get_priority_min): Remove semicolon on @deftypefun line.
43518         (sched_get_priority_max): Likewise.
43519         * manual/signal.texi (sigvec): Add space after comma.
43520         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43521         names.
43522         (if_indextoname): Likewise.
43523         (if_freenameindex): Likewise.
43524         (sendto): Use ',' instead of '.' in prototype.
43525         * manual/startup.texi (syscall): Use @dots{} instead of literal
43526         "...".
43527         * manual/stdio.texi (__fpending): Separate initial words of
43528         paragraph from @deftypefun line.
43529         * manual/syslog.texi (syslog): Use @dots{} instead of literal
43530         "...".
43531         (vsyslog): Use @var{} on parameter names.
43532         * manual/terminal.texi (stty): Use @var{} on parameter names.
43533         * manual/users.texi (getutmp): Use @var{} on parameter names.
43534         (getutmpx): Likewise.
43535
43536 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43537
43538         [BZ #6884]
43539         * manual/stdio.texi (fopen): Fix typos in description of
43540         ",ccs=STRING".
43541
43542 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
43543
43544         [BZ #4026]
43545         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43546         get clock_id definition.
43547
43548 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
43549
43550         [BZ #4822]
43551         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43552         (madvise): Cast every argument to void on its own.
43553
43554 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43555
43556         [BZ #9902]
43557         * manual/startup.texi (Exit Status): Fix typo.
43558
43559 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43560
43561         [BZ #10140]
43562         * manual/examples/argp-ex1.c: Include <stdlib.h>.
43563         * manual/examples/argp-ex2.c: Likewise.
43564         * manual/examples/argp-ex3.c: Likewise.
43565
43566 2012-02-16  Richard Henderson  <rth@redhat.com>
43567
43568         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43569         * sysdeps/s390/s390-32/initfini.c: Remove.
43570         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43571         * sysdeps/s390/s390-64/initfini.c: Remove.
43572
43573 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43574
43575         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43576         compiler output for sysdeps/generic/initfini.c.
43577         * sysdeps/sh/elf/initfini.c: Remove file.
43578
43579 2012-02-16  David S. Miller  <davem@davemloft.net>
43580
43581         [BZ #11494]
43582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43583
43584         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43585         * sysdeps/sparc/crti.S: New file.
43586         * sysdeps/sparc/crtn.S: New file.
43587         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43588         * sysdeps/sparc/sparc64/Makefile: Likewise.
43589
43590 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
43591
43592         [BZ #3335]
43593         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43594
43595 2012-02-15  Roland McGrath  <roland@hack.frob.com>
43596
43597         [BZ #4822]
43598         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43599
43600         * mach/devstream.c (cookie_io_functions_t): Macro removed.
43601         (write, read, close): Likewise.
43602         Patch by Aurelien Jarno <aurelien@aurel32.net>.
43603
43604 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
43605
43606         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43607         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43608         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43609         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43610         <bits/signalfd.h>.
43611         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43612         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43613         bits/signalfd.h.
43614
43615 2012-02-14  Marek Polacek  <polacek@redhat.com>
43616
43617         * sysdeps/x86_64/crti.S: New file.
43618         * sysdeps/x86_64/crtn.S: New file.
43619         * sysdeps/x86_64/elf/initfini.c: Remove file.
43620
43621 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43622
43623         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43624         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43625         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43626         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43627         <bits/inotify.h>.
43628         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43629         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43630         bits/inotify.h.
43631
43632 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43633
43634         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43635         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43636         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43637         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43638         <bits/eventfd.h>.
43639         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43641         bits/eventfd.h.
43642
43643 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
43644
43645         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43646         __feraiseexcept instead of feraiseexcept.
43647
43648         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43649         nanosleep invocations.
43650         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43651         strings, and add error checking for a nanosleep invocations.
43652
43653 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
43654
43655         Replace FSF snail mail address with URLs, as per GNU coding standards.
43656         Most of the snail mail addresses were wrong anyway, and omitting
43657         them makes the source code easier to maintain.  Almost all of the
43658         changes are to license notices and to locale LC_IDENTIFICATION
43659         addresses, except for this one:
43660         * manual/libc.texinfo: In "Published by", give the FSF's URL,
43661         not its snail mail address.
43662
43663 2012-02-09  Richard Henderson  <rth@twiddle.net>
43664
43665         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43666         of kernel-features.h.
43667
43668         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43669
43670 2012-02-08  Marek Polacek  <polacek@redhat.com>
43671
43672         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43673         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43674         * sysdeps/gnu/_G_config.h: Likewise.
43675         * sysdeps/generic/_G_config.h: Likewise.
43676
43677 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
43678
43679         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43680         tests.
43681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43682
43683         * sysdeps/powerpc/powerpc32/crti.S: New file.
43684         * sysdeps/powerpc/powerpc32/crtn.S: New file.
43685         * sysdeps/powerpc/powerpc64/crti.S: New file.
43686         * sysdeps/powerpc/powerpc64/crtn.S: New file.
43687
43688         * Makeconfig (have-initfini): Don't set.
43689         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43690         * configure.in (nopic_initfini): Don't substitute.
43691         * config.h.in (HAVE_INITFINI): Don't #undef.
43692         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43693         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43694
43695 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
43696
43697         Support crti.S and crtn.S provided directly by architectures.
43698         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43699         [crti.S in sysdirs] (omit-deps): Likewise.
43700         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43701         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43702         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43703         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43704         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43705         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43706         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43707         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43708         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43709         compiler output for sysdeps/generic/initfini.c.
43710         * sysdeps/i386/elf/Makefile: Remove file.
43711         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43712
43713 2012-02-07  Marek Polacek  <polacek@redhat.com>
43714
43715         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43716         * sysdeps/gnu/_G_config.h: Likewise.
43717         * sysdeps/mach/hurd/_G_config.h: Likewise.
43718
43719 2012-02-07  Marek Polacek  <polacek@redhat.com>
43720
43721         * math/Makefile (tests): Add tst-CMPLX2.
43722         * math/tst-CMPLX2.c: New file.
43723
43724 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
43725
43726         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43727
43728         * math/libm-test.inc (jn_test): Add missing L suffix.
43729
43730 2012-02-06  Marek Polacek  <polacek@redhat.com>
43731
43732         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43733         * sysdeps/i386/fpu/e_powf.S: Likewise.
43734         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43735         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43736         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43737         * sysdeps/i386/fpu/e_pow.S: Likewise.
43738         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43739         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43740         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43741         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43742         * sysdeps/i386/fpu/e_log2.S: Likewise.
43743         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43744         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43745         * sysdeps/i386/fpu/e_powl.S: Likewise.
43746         * sysdeps/i386/fpu/s_log1p.S: Likewise.
43747         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43748         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43749         * sysdeps/i386/fpu/e_logl.S: Likewise.
43750         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43751         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43752         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43753         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43754         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43755         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43756         * sysdeps/i386/fpu/e_log.S: Likewise.
43757         * sysdeps/i386/fpu/s_cexp.S: Likewise.
43758         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43759         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43760         * sysdeps/i386/fpu/e_logf.S: Likewise.
43761         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43762         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43763         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43764         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43765         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43766         * sysdeps/i386/fpu/e_log10.S: Likewise.
43767         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43768         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43769         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43770         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43771         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43772         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43773         * sysdeps/i386/asm-syntax.h: Likewise.
43774         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43775         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43776         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43777         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43778         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43779         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43780         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43781         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43782         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43783         * sysdeps/powerpc/sysdep.h: Likewise.
43784         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43785         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43786
43787 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
43788
43789         [BZ #411]
43790         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43791
43792 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
43793
43794         * sysdeps/i386/sysdep.h: Include <features.h>.
43795         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43796         version.
43797
43798 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
43799
43800         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43801         Define.
43802         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43803         LOAD_PIC_REG_STR.
43804
43805 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43806
43807         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43808         (SETUP_PIC_REG): Use GET_PC_THUNK.
43809         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43810         macro.
43811
43812 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43813
43814         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43815         for non-PIC compilation.
43816         (SETUP_PIC_REG): Add .p2align directive.
43817         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43818         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43819         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43820         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43821         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43822         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43823         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43824         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43825         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43826         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43827         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43828         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43829         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43830         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43831         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43832         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43833         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43834         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43835         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43836         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43837         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43838         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43839         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43840         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43841         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43842         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43843         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43844         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43845         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43846         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43847         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43848         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43849         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43850         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43851         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43852         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43853         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43854         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43855         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43856         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43857         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43858
43859 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43860
43861         * math/tst-CMPLX.c: Include <stdio.h>.
43862
43863 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
43864
43865         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43866         float.
43867         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43868         * sysdeps/sparc/bits/mathdef.h: Likewise.
43869
43870 2012-01-31  Marek Polacek  <polacek@redhat.com>
43871
43872         * libio/libio.h: Don't define _PARAMS.
43873         * locale/programs/config.h: Don't define PARAMS.
43874         * stdlib/strtol_l.c: Likewise.
43875         (__strtol_l): Remove PARAMS from the prototype.
43876
43877 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
43878
43879         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
43880         names.  Just use the correct names.  Remove unnecessary wrapper
43881         functions.
43882         * malloc/arena.c: Likewise.
43883         * malloc/hooks.c: Likewise.
43884
43885         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43886         ARENA_TEST says not to.  Simplify test for creation of a new arena.
43887         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43888
43889 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
43890
43891         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43892         into tail calls.
43893         (update_get_addr): New function.
43894         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43895         GET_ADDR_MODULE parameter.
43896
43897 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43898
43899         * crypt/cert.c: Remove __STDC__ conditionals.
43900         * crypt/crypt-entry.c: Likewise.
43901         * crypt/crypt_util.c: Likewise.
43902         * libio/filedoalloc.c: Likewise.
43903         * libio/fileops.c: Likewise.
43904         * libio/genops.c: Likewise.
43905         * libio/iofclose.c: Likewise.
43906         * libio/iofdopen.c: Likewise.
43907         * libio/iofopen.c: Likewise.
43908         * libio/iofopen64.c: Likewise.
43909         * libio/iogetdelim.c: Likewise.
43910         * libio/iopopen.c: Likewise.
43911         * libio/obprintf.c: Likewise.
43912         * libio/oldfileops.c: Likewise.
43913         * libio/oldiofclose.c: Likewise.
43914         * libio/oldiofdopen.c: Likewise.
43915         * libio/oldiofopen.c: Likewise.
43916         * libio/oldiopopen.c: Likewise.
43917         * libio/wfiledoalloc.c: Likewise.
43918         * libio/wgenops.c: Likewise.
43919         * locale/programs/xmalloc.c: Likewise.
43920         * misc/syslog.c: Likewise.
43921         * stdio-common/xbug.c: Likewise.
43922         * string/memchr.c: Likewise.
43923         * string/memcmp.c: Likewise.
43924         * string/memrchr.c: Likewise.
43925         * string/rawmemchr.c: Likewise.
43926         * sysdeps/posix/getcwd.c: Likewise.
43927         * time/strftime_l.c: Likewise.
43928
43929 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43930
43931         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43932         * config.make.in (config-cflags-sse2avx): Define.
43933         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43934         Fix typo.
43935
43936 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
43937
43938         * scripts/config.guess: Update from upstream config git repository.
43939         * scripts/config.sub: Likewise.
43940
43941 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
43942
43943         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43944         (EM_NUM): Update.
43945         (R_TILEPRO_*, R_TILEGX_*): New macros.
43946
43947         * scripts/firstversions.awk: Fix bug in version range handling.
43948
43949         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43950
43951         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43952
43953         * include/sys/epoll.h: New file.
43954         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43955         libc_hidden_def.
43956
43957 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
43958
43959         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43960         Avoid unnecessary __WORDSIZE == 64 test.
43961         (fmaxf): Use VEX format if possible.
43962         (fmax): Likewise.
43963         (fminf): Likewise.
43964         (fmin): Likewise.
43965
43966         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43967         * math/math_private.h: Remove libc_fegetround* and
43968         libc_fesetround*.
43969         * sysdeps/i386/configure.in: Check for -msse2avx.
43970         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43971         also if SSE2AVX is defined.
43972         Remove libc_fegetround* and libc_fesetround*.
43973         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43974         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
43975         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43976         of HAS_YMM_USABLE.
43977         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43978         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43979         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43980         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43981         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43982
43983         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43984
43985 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43986
43987         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43988         size is not set.
43989         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43990
43991 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43992
43993         [BZ #13618]
43994         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43995         relocation.
43996         * Makeconfig (libm): Define.
43997         * elf/Makefile: Add rules to build and run tst-relsort1.
43998         * elf/tst-relsort1.c: New file.
43999         * elf/tst-relsort1mod1.c: New file.
44000         * elf/tst-relsort1mod2.c: New file.
44001
44002 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
44003
44004         * math/s_ldexp.c: Remove __STDC__ conditionals.
44005         * math/s_ldexpf.c: Likewise.
44006         * math/s_ldexpl.c: Likewise.
44007         * math/s_nextafter.c: Likewise.
44008         * math/s_nexttowardf.c: Likewise.
44009         * math/s_significand.c: Likewise.
44010         * math/s_significandf.c: Likewise.
44011         * math/s_significandl.c: Likewise.
44012         * math/w_jnl.c: Likewise.
44013         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44014         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44015         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44016         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44017         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44018         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44019         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44020         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44021         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44022         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44023         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44024         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44025         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44026         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44027         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44028         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44029         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44030         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44031         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44032         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44033         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44034         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44035         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44036         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44037         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44038         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44039         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44040         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44041         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44042         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44043         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44044         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44045         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44046         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44047         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44048         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44049         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44050         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44051         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44052         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44053         * sysdeps/ieee754/k_standard.c: Likewise.
44054         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44055         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44056         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44057         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44058         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44059         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44060         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44061         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44062         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44063         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44064         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44065         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44066         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44067         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44068         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44069         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44070         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44071         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44072         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44073         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44074         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44075         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44076         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44077         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44078         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44079         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44080         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44081         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44082         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44083         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44084         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44085         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44086         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44087         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44088         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44089         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44090         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44091         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44092         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44093         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44094         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44095         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44096         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44097         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44098         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44099         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44100         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44101         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44102         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44103         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44104         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44105         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44106         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44107         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44108         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44109         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44110         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44111         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44112         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44113         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44114         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44115         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44116         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44117         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44118         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44119         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44120         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44121         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44122         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44123         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44124         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44125         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44126         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44127         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44128         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44129         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44130         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44131         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44132         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44133         * sysdeps/ieee754/s_matherr.c: Likewise.
44134         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44135         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44136         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44137         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44138
44139 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44140
44141         * crypt/md5.h: Remove __STDC__ conditionals.
44142         * libio/libioP.h: Likewise.
44143         * locale/programs/config.h: Likewise.
44144         * sysdeps/generic/sysdep.h: Likewise.
44145         * sysdeps/i386/asm-syntax.h: Likewise.
44146         * sysdeps/s390/asm-syntax.h: Likewise.
44147         * sysdeps/unix/sysdep.h: Likewise.
44148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44150
44151 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44152
44153         * libio/libio.h: Remove __STDC__ conditionals.
44154         * malloc/obstack.h: Likewise.
44155         * math/complex.h: Likewise.
44156         * math/math.h: Likewise.
44157         * sysdeps/generic/_G_config.h: Likewise.
44158         * sysdeps/gnu/_G_config.h: Likewise.
44159         * sysdeps/mach/hurd/_G_config.h: Likewise.
44160         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44161         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44162         * sysdeps/sparc/bits/mathdef.h: Likewise.
44163
44164 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
44165
44166         [BZ #13583]
44167         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44168         Clean up HAS_* macros.
44169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44170         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44171         possible.
44172         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44173         HAS_AVX.
44174         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44175         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44176         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44177         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44178         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44179
44180 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
44181
44182         * elf/tst-unique3.cc (gets): Remove declaration.
44183         * elf/tst-unique3lib.cc (gets): Likewise.
44184         * elf/tst-unique3lib2.cc (gets): Likewise.
44185         * elf/tst-unique4.cc (gets): Likewise.
44186
44187 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
44188
44189         * include/stdio.h: Add C++ protection.  Add gets declarations and
44190         definitions.
44191         * debug/tst-chk1.c: Don't declare gets here.
44192         * stdio-common/tst-gets.c: Likewise.
44193
44194 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44195
44196         * posix/glob: Remove directory.
44197
44198 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44199
44200         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44201
44202 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
44203
44204         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44205         of the non-standard EPFNOSUPPORT.
44206
44207 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44208
44209         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44210         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44211         ANYWHERE set to 1 only on KERN_NO_SPACE error.
44212
44213 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
44214
44215         * wcsmbs/uchar.h: Test __STDC_VERSION__.
44216
44217 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
44218
44219         * nscd/aicache.c (addhstaiX): Do not cache negative results of
44220         transient errors.
44221         * nscd/grpcache.c (cache_addgr): Likewise.
44222         * nscd/hstcache.c (cache_addhst): Likewise.
44223         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44224         * nscd/pwdcache.c (cache_addpw): Likewise.
44225         * nscd/servicescache.c (cache_addserv): Likewise.
44226
44227 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
44228
44229         * malloc/malloc.c: Various cleanups.
44230         * malloc/hooks.c: Likewise.
44231
44232         * stdlib/Makefile (tests): Add bug-fmtmsg1.
44233         * stdlib/bug-fmtmsg1.c: New file.
44234
44235         * stdlib/fmtmsg.c (init): Add missing unlock.
44236         Patch by Peng Haitao <penght@cn.fujitsu.com>.
44237
44238 2012-01-12  Marek Polacek  <polacek@redhat.com>
44239
44240         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44241         and _GNU_SOURCE.
44242
44243 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44244
44245         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44246         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44247         macro to ensure uniqueness of label name.
44248         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44249         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44250
44251 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
44252
44253         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44254
44255         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44256         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44257         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44258         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44259
44260 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
44261
44262         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44263
44264         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44265         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44266         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44267
44268         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44269
44270         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44271         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44272         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44273         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44274
44275         * math/bits/math-finite.h: Add ldexp support.
44276
44277 2012-01-10  Marek Polacek  <polacek@redhat.com>
44278
44279         * locale/programs/localedef.h (show_archive_content): Add noreturn
44280         attribute.
44281
44282 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
44283
44284         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44285
44286 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44287
44288         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44289
44290         * io/Makefile (headers): Add bits/poll2.h.
44291
44292 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
44293
44294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44295         typo #include statement.
44296
44297 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44298
44299         * include/sys/cdefs.h: Define __attribute_alloc_size.
44300         * catgets/gencat.c: Add alloc_size attribute and apply consistently
44301         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44302         * elf/pldd.c: Likewise.
44303         * iconv/iconv_charmap.c: Likewise.
44304         * iconv/iconvconfig.c: Likewise.
44305         * iconv/strtab.c: Likewise.
44306         * locale/programs/locale.c: Likewise.
44307         * locale/programs/localedef.h: Likewise.
44308         * locale/programs/simple-hash.c: Likewise.
44309         * nscd/nscd.h: Likewise.
44310         * nss/makedb.c: Likewise.
44311         * sysdeps/generic/ldconfig.h: Likewise.
44312         * locale/programs/localedef.c: Remove xmalloc prototype.
44313         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44314
44315 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44316
44317         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44318         appropriate.
44319
44320 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44321
44322         * math/Makefile (tests): Add tst-CMPLX.
44323         * math/tst-CMPLX.c: New file.
44324
44325         * math/complex.h (CMPLXL): Fix typo.
44326
44327         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44328         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44329         GLIBC_2.16.
44330         * debug/tst-chk1.c: Add poll and ppoll tests.
44331         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44332         * include/sys/poll.h: Add hidden proto for ppoll.
44333         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44334         * sysdeps/mach/hurd/ppoll.c: Likewise.
44335         * io/ppoll.c: Likewise.
44336         * debug/poll_chk.c: New file.
44337         * debug/ppoll_chk.c: New file.
44338         * include/bits/poll2.h: New file.
44339         * io/bits/poll2.h: New file.
44340
44341         [BZ #1350]
44342         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44343
44344         * configure.in: static is always set to yes.  Remove.
44345         * config.make.in: Don't set build-static.
44346         * Makeconfig: Remove use of build-static.
44347         * dlfcn/Makefile: Likewise.
44348         * elf/Makefile: Likewise.
44349         * math/Makefile: Likewise.
44350         * misc/Makefile: Likewise.
44351         * nptl/Makefile: Likewise.
44352         * sysdeps/mach/hurd/Makefile: Likewise.
44353
44354         * configure.in: PWD_P is not used anymore.
44355         * config.make.in: Remove PWD_P entry.
44356
44357         * configure.in: Remove last remnants of RANLIB.
44358         No need to check for signed size_t anymore.
44359         Don't set libc_commonpagesize and libc_relro_required here for Alpha
44360         and IA-64.
44361         Remove __builtin_expect test because we require at least gcc 3.4.
44362         * aclocal.m4: Likewise.
44363
44364         * wcsmbs/mbrtoc16.c: Implement using towc function.
44365         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44366         * wcsmbs/wcsmbsload.c: Likewise.
44367         * iconv/gconv_simple.c: Likewise.
44368         * iconv/gconv_int.h: Likewise.
44369         * iconv/gconv_builtin.h: Likewise.
44370         * iconv/iconv_prog.c: Remove CHAR16 handling.
44371
44372         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44373
44374         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44375
44376         * configure.in: Remove --with-elf and --enable-bounded options.
44377         Dont set base_machine for ia64.  More non-ELF conditions removed.
44378         Remove testing and setting of leading underscore information.
44379         * config.make.in (build-bounded): Set to no.
44380         * config.h.in: Remove NO_UNDERSCORES entry.
44381         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
44382         them.
44383         * csu/start.c: Remove !NO_UNDERSCORE code.
44384         * locale/localeinfo.h: Likewise.
44385         * sysdeps/generic/machine-gmon.h: Likewise.
44386         * sysdeps/generic/sysdep.h: Likewise.
44387         * sysdeps/i386/sysdep.h: Likewise.
44388         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44389         * sysdeps/mach/sysdep.h: Likewise.
44390         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44391         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44392         * sysdeps/sh/sysdep.h: Likewise.
44393         * sysdeps/sparc/sparc32/alloca.S: Likewise.
44394         * sysdeps/unix/i386/sysdep.S: Likewise.
44395         * sysdeps/unix/sparc/start.c: Likewise.
44396         * sysdeps/unix/sparc/sysdep.S: Likewise.
44397         * sysdeps/unix/sparc/sysdep.h: Likewise.
44398         * sysdeps/unix/start.c: Likewise.
44399         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44400         * sysdeps/x86_64/sysdep.h: Likewise.
44401
44402 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
44403
44404         [BZ #13553]
44405         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44406         for non-gcc.
44407         * argp/argp-fmtstream.h: Use const instead __const.
44408         * argp/argp.h: Likewise.
44409         * assert/assert.h: Likewise.
44410         * bits/fenv.h: Likewise.
44411         * bits/sched.h: Likewise.
44412         * bits/sigset.h: Likewise.
44413         * bits/sigthread.h: Likewise.
44414         * catgets/nl_types.h: Likewise.
44415         * conform/data/pthread.h-data: Likewise.
44416         * crypt/crypt-private.h: Likewise.
44417         * crypt/crypt.h: Likewise.
44418         * crypt/crypt_util.c: Likewise.
44419         * ctype/ctype.h: Likewise.
44420         * debug/execinfo.h: Likewise.
44421         * debug/mbsnrtowcs_chk.c: Likewise.
44422         * debug/mbsrtowcs_chk.c: Likewise.
44423         * debug/wcsnrtombs_chk.c: Likewise.
44424         * debug/wcsrtombs_chk.c: Likewise.
44425         * debug/wcstombs_chk.c: Likewise.
44426         * dirent/dirent.h: Likewise.
44427         * dlfcn/dlfcn.h: Likewise.
44428         * elf/neededtest4.c: Likewise.
44429         * grp/grp.h: Likewise.
44430         * gshadow/gshadow.h: Likewise.
44431         * iconv/gconv.h: Likewise.
44432         * iconv/gconv_int.h: Likewise.
44433         * iconv/gconv_simple.c: Likewise.
44434         * iconv/iconv.h: Likewise.
44435         * iconv/loop.c: Likewise.
44436         * iconv/skeleton.c: Likewise.
44437         * include/aio.h: Likewise.
44438         * include/aliases.h: Likewise.
44439         * include/argz.h: Likewise.
44440         * include/arpa/inet.h: Likewise.
44441         * include/assert.h: Likewise.
44442         * include/dirent.h: Likewise.
44443         * include/dlfcn.h: Likewise.
44444         * include/execinfo.h: Likewise.
44445         * include/fcntl.h: Likewise.
44446         * include/fenv.h: Likewise.
44447         * include/glob.h: Likewise.
44448         * include/grp.h: Likewise.
44449         * include/libintl.h: Likewise.
44450         * include/mntent.h: Likewise.
44451         * include/netdb.h: Likewise.
44452         * include/pwd.h: Likewise.
44453         * include/rpc/netdb.h: Likewise.
44454         * include/sched.h: Likewise.
44455         * include/search.h: Likewise.
44456         * include/shadow.h: Likewise.
44457         * include/signal.h: Likewise.
44458         * include/stdio.h: Likewise.
44459         * include/stdlib.h: Likewise.
44460         * include/string.h: Likewise.
44461         * include/sys/socket.h: Likewise.
44462         * include/sys/stat.h: Likewise.
44463         * include/sys/statfs.h: Likewise.
44464         * include/sys/statvfs.h: Likewise.
44465         * include/sys/syslog.h: Likewise.
44466         * include/sys/time.h: Likewise.
44467         * include/sys/uio.h: Likewise.
44468         * include/time.h: Likewise.
44469         * include/unistd.h: Likewise.
44470         * include/utmp.h: Likewise.
44471         * include/wchar.h: Likewise.
44472         * include/wctype.h: Likewise.
44473         * inet/aliases.h: Likewise.
44474         * inet/arpa/inet.h: Likewise.
44475         * inet/netinet/ether.h: Likewise.
44476         * inet/netinet/in.h: Likewise.
44477         * intl/libintl.h: Likewise.
44478         * io/bits/fcntl2.h: Likewise.
44479         * io/fcntl.h: Likewise.
44480         * io/ftw.h: Likewise.
44481         * io/sys/poll.h: Likewise.
44482         * io/sys/stat.h: Likewise.
44483         * io/sys/statfs.h: Likewise.
44484         * io/sys/statvfs.h: Likewise.
44485         * io/utime.h: Likewise.
44486         * libio/bits/stdio.h: Likewise.
44487         * libio/bits/stdio2.h: Likewise.
44488         * libio/libio.h: Likewise.
44489         * libio/libioP.h: Likewise.
44490         * libio/stdio.h: Likewise.
44491         * locale/lc-ctype.c: Likewise.
44492         * locale/locale.h: Likewise.
44493         * login/utmp.h: Likewise.
44494         * malloc/arena.c: Likewise.
44495         * malloc/malloc.c: Likewise.
44496         * malloc/malloc.h: Likewise.
44497         * malloc/mcheck.c: Likewise.
44498         * malloc/mtrace.c: Likewise.
44499         * math/bits/mathcalls.h: Likewise.
44500         * math/fenv.h: Likewise.
44501         * math/math_private.h: Likewise.
44502         * misc/bits/error.h: Likewise.
44503         * misc/bits/syslog.h: Likewise.
44504         * misc/err.h: Likewise.
44505         * misc/error.h: Likewise.
44506         * misc/fstab.h: Likewise.
44507         * misc/mntent.h: Likewise.
44508         * misc/regexp.h: Likewise.
44509         * misc/search.h: Likewise.
44510         * misc/sgtty.h: Likewise.
44511         * misc/sys/mman.h: Likewise.
44512         * misc/sys/syslog.h: Likewise.
44513         * misc/sys/uio.h: Likewise.
44514         * misc/sys/xattr.h: Likewise.
44515         * misc/ttyent.h: Likewise.
44516         * nis/rpcsvc/ypclnt.h: Likewise.
44517         * nss/nss.h: Likewise.
44518         * posix/bits/unistd.h: Likewise.
44519         * posix/fnmatch.h: Likewise.
44520         * posix/glob.h: Likewise.
44521         * posix/sched.h: Likewise.
44522         * posix/spawn.h: Likewise.
44523         * posix/sys/wait.h: Likewise.
44524         * posix/unistd.h: Likewise.
44525         * posix/wordexp.h: Likewise.
44526         * pwd/pwd.h: Likewise.
44527         * resolv/netdb.h: Likewise.
44528         * resource/sys/resource.h: Likewise.
44529         * rt/aio.h: Likewise.
44530         * rt/bits/mqueue2.h: Likewise.
44531         * rt/mqueue.h: Likewise.
44532         * shadow/shadow.h: Likewise.
44533         * signal/signal.h: Likewise.
44534         * socket/send.c: Likewise.
44535         * socket/sendto.c: Likewise.
44536         * socket/sys/socket.h: Likewise.
44537         * stdio-common/printf.h: Likewise.
44538         * stdlib/bits/stdlib.h: Likewise.
44539         * stdlib/fmtmsg.h: Likewise.
44540         * stdlib/monetary.h: Likewise.
44541         * stdlib/stdlib.h: Likewise.
44542         * stdlib/ucontext.h: Likewise.
44543         * streams/stropts.h: Likewise.
44544         * string/argz.h: Likewise.
44545         * string/bits/string2.h: Likewise.
44546         * string/string.h: Likewise.
44547         * string/strings.h: Likewise.
44548         * sunrpc/rpc/auth.h: Likewise.
44549         * sunrpc/rpc/auth_des.h: Likewise.
44550         * sunrpc/rpc/clnt.h: Likewise.
44551         * sunrpc/rpc/netdb.h: Likewise.
44552         * sunrpc/rpc/pmap_clnt.h: Likewise.
44553         * sunrpc/rpc/xdr.h: Likewise.
44554         * sysdeps/generic/inttypes.h: Likewise.
44555         * sysdeps/generic/net/if.h: Likewise.
44556         * sysdeps/generic/sys/swap.h: Likewise.
44557         * sysdeps/gnu/net/if.h: Likewise.
44558         * sysdeps/gnu/utmpx.h: Likewise.
44559         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44560         * sysdeps/i386/i486/bits/string.h: Likewise.
44561         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44562         * sysdeps/s390/bits/string.h: Likewise.
44563         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44564         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44565         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44566         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44567         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44568         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44569         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44570         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44571         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44572         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44573         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44574         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44575         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44576         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44577         * sysdeps/unix/sysv/linux/readv.c: Likewise.
44578         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44579         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44580         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44581         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44582         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44583         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44584         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44585         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44586         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44587         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44588         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44589         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44590         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44591         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44592         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44593         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44594         * sysvipc/sys/ipc.h: Likewise.
44595         * sysvipc/sys/msg.h: Likewise.
44596         * sysvipc/sys/sem.h: Likewise.
44597         * sysvipc/sys/shm.h: Likewise.
44598         * termios/termios.h: Likewise.
44599         * time/sys/time.h: Likewise.
44600         * time/time.h: Likewise.
44601         * wcsmbs/bits/wchar2.h: Likewise.
44602         * wcsmbs/uchar.h: Likewise.
44603         * wcsmbs/wchar.h: Likewise.
44604         * wctype/wctype.h: Likewise.
44605
44606         [BZ #13551]
44607         * Makeconfig: Remove all but ELF support including AIX support.
44608         * Makerules: Likewise.
44609         * config.h.in: Likewise.
44610         * config.make.in: Likewise.
44611         * configure: Likewise.
44612         * configure.in: Likewise.
44613         * csu/Makefile: Likewise.
44614         * csu/version.c: Likewise.
44615         * debug/Makefile: Likewise.
44616         * dlfcn/Makefile: Likewise.
44617         * elf/Makefile: Likewise.
44618         * extra-lib.mk: Likewise.
44619         * iconv/Makefile: Likewise.
44620         * include/libc-symbols.h: Likewise.
44621         * include/shlib-compat.h: Likewise.
44622         * resolv/Makefile: Likewise.
44623         * resolv/res_libc.c: Likewise.
44624         * rt/Makefile: Likewise.
44625         * sysdeps/i386/asm-syntax.h: Likewise.
44626         * sysdeps/i386/sysdep.h: Likewise.
44627         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44628         * sysdeps/mach/sysdep.h: Likewise.
44629         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44630         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44631         * sysdeps/s390/asm-syntax.h: Likewise.
44632         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44633         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44634         * sysdeps/sh/sysdep.h: Likewise.
44635         * sysdeps/unix/sparc/sysdep.h: Likewise.
44636         * sysdeps/wordsize-32/divdi3.c: Likewise.
44637         * sysdeps/x86_64/sysdep.h: Likewise.
44638
44639         * argp/Versions: Remove _argp_unlock_xxx.
44640
44641         [BZ #13559]
44642         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
44643         * abilist/libBrokenLocale.abilist: Likewise.
44644         * abilist/libanl.abilist: Likewise.
44645         * abilist/libc.abilist: Likewise.
44646         * abilist/libcrypt.abilist: Likewise.
44647         * abilist/libdl.abilist: Likewise.
44648         * abilist/libm.abilist: Likewise.
44649         * abilist/libnsl.abilist: Likewise.
44650         * abilist/libpthread.abilist: Likewise.
44651         * abilist/libresolv.abilist: Likewise.
44652         * abilist/librt.abilist: Likewise.
44653         * abilist/libthread_db.abilist: Likewise.
44654         * abilist/libutil.abilist: Likewise.
44655         * abilist/libnss_db.abilist: New file.
44656
44657         * scripts/abilist.awk: Add support for indirect functions.
44658
44659         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44660
44661         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44662
44663         * shlib-versions: Remove entries for ports architectures.
44664
44665         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
44666         files in ports.
44667         * elf/stackguard-macros.h: Remove support for IA-64.
44668         * elf/tst-auditmod1.c: Likewise.
44669         * sysdeps/generic/ldsodefs.h: Likewise.
44670
44671         * sysdeps/unix/sysv/linux/configure.in: Ports should define
44672         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44673         configure files.
44674
44675         [BZ #13552]
44676         * configure.in: Remove --enable-omitfp support.
44677         * FAQ.in: Adjust.
44678         * config.make.in: Likewise.
44679         * Makeconfig: Likewise.
44680         * manual/install.texi: Likewise.
44681
44682         In case anyone cares, the IA-64 architecture could move to ports.
44683         * sysdeps/ia64/*: Removed.
44684         * sysdeps/unix/sysv/linux/ia64/*: Removed.
44685         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44686
44687         [BZ #13555]
44688         * configure.in: Remove entries for unsupported architectures.
44689
44690         [BZ #13533]
44691         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44692         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
44693         routines.
44694         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44695         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44696         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
44697         fall back to using wcrtomb.
44698         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44699         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
44700         renaming.
44701         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44702         * wcsmbs/tst-c16c32-1.c: New file.
44703
44704         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44705         local variable.
44706
44707         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44708
44709         * elf/tst-unique3.cc: Add explicit declaration of gets.
44710         * elf/tst-unique3lib.cc: Likewise.
44711         * elf/tst-unique3lib2.cc: Likewise.
44712         * elf/tst-unique4.cc: Likewise.
44713
44714         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44715
44716 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
44717
44718         [BZ #13566]
44719         * assert/assert.h (static_assert): Don't define for C++.
44720         * libio/stdio.h (gets): Do declare for C++ <= C++11.
44721         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44722
44723 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
44724
44725         * iconv/loop.c (single loop): Fix assertion in storing of
44726         remaining bytes.
44727
44728         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44729
44730 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
44731
44732         * posix/getconf.c: Update copyright year.
44733         * nss/getent.c: Likewise.
44734         * nss/makedb.c: Likewise.
44735         * iconv/iconvconfig.c: Likewise.
44736         * iconv/iconv_prog.c: Likewise.
44737         * elf/ldconfig.c: Likewise.
44738         * elf/pldd.c: Likewise.
44739         * elf/sotruss.ksh: Likewise.
44740         * catgets/gencat.c: Likewise.
44741         * csu/version.c: Likewise.
44742         * elf/ldd.bash.in: Likewise.
44743         * elf/sprof.c (print_version): Likewise.
44744         * locale/programs/locale.c: Likewise.
44745         * locale/programs/localedef.c: Likewise.
44746         * login/programs/pt_chown.c: Likewise.
44747         * nscd/nscd.c (print_version): Likewise.
44748         * debug/xtrace.sh: Likewise.
44749         * malloc/memusage.sh: Likewise.
44750         * malloc/mtrace.pl: Likewise.
44751         * debug/catchsegv.sh: Likewise.
44752
44753 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
44754
44755         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44756         pure attribute.
44757
44758 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
44759
44760         [BZ #13533]
44761         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44762         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44763         transformations.
44764         * iconv/gconv_int.h: Likewise.
44765         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44766         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44767         from libc for GLIBC_2.16.
44768         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44769         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44770         * wcsmbs/uchar.h: Really define mbstate_t.
44771         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44772         * wcsmbs/c16rtomb.c: New file.
44773         * wcsmbs/mbrtoc16.c: New file.
44774         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44775         for C/POSIX locale.
44776         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44777         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44778
44779         * wcsmbs/wchar.h: Add missing __restrict.
44780
44781 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44782
44783         [BZ #13532]
44784         * time/Makefile (routines): Add timespec_get.
44785         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44786         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
44787         timespec for ISO C11.
44788         * time/timespec_get.c: New file.
44789         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44790         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44791
44792         [BZ #13531]
44793         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44794         * stdlib/stdlib.h: Declare aligned_alloc.
44795         * Versions.def: Add GLIBC_2.16 for libc.
44796         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44797
44798         [BZ 13527]
44799         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44800         ISO C11.
44801
44802         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
44803         code.
44804
44805         [BZ #13528]
44806         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44807
44808         [BZ #13529]
44809         * assert/assert.h (static_assert): Define.
44810
44811         * version.h: Update for 2.16 development version.
44812
44813         [BZ #13526]
44814         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44815         _ISOC11_SOURCE.
44816
44817         * version.h (RELEASE): Bump for 2.15 release.
44818         * include/features.h (__GLIBC_MINOR__): Bump to 15.
44819
44820         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44821         Patch by Marek Polacek <mpolacek@redhat.com>.
44822
44823         * bits/byteswap.h: Protect long long constants with __extension__.
44824         * sysdeps/i386/bits/byteswap.h: Likewise.
44825         * sysdeps/ia64/bits/byteswap.h: Likewise.
44826         * sysdeps/s390/bits/byteswap.h: Likewise.
44827         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44828
44829 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44830
44831         [BZ #13540]
44832         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44833         destination buffer.
44834         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44835
44836 2011-12-23  Marek Polacek  <polacek@redhat.com>
44837
44838         * elf/dl-addr.c (determine_info): Add inline keyword.
44839         * elf/tst-auditmod4b.c (check_avx): Likewise.
44840         * elf/tst-auditmod6b.c (check_avx): Likewise.
44841         * elf/tst-auditmod6c.c (check_avx): Likewise.
44842         * elf/tst-auditmod7b.c (check_avx): Likewise.
44843
44844 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44845
44846         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44847         !__SSE_MATH__.
44848
44849 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44850
44851         [BZ #13540]
44852         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44853         processing for last bytes.
44854
44855 2011-08-06  Bruno Haible  <bruno@clisp.org>
44856
44857         [BZ #13061]
44858         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44859         U+0385, not to U+1FEE.
44860
44861         [BZ #13062]
44862         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44863         entry for U+00A5 U+0301.
44864
44865 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44866
44867         [BZ #13166]
44868         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44869         buffer for the output is too small.
44870
44871         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44872         optimization.
44873
44874         [BZ #13185]
44875         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44876         SSE flags if possible.
44877
44878 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44879
44880         [BZ #13540]
44881         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44882         processing for last bytes.
44883
44884 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
44885
44886         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44887         (syscall-list-default-options, syscall-list-default-condition)
44888         (syscall-list-includes): Define.
44889         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44890         list of ABIs and options and #if conditions for each ABI.  Do not
44891         handle common syscalls between ABIs specially.
44892         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44893         Remove.
44894         (syscall-list-variants, syscall-list-32bit-options)
44895         (syscall-list-32bit-condition, syscall-list-64bit-options)
44896         (syscall-list-64bit-condition): Define.
44897         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44898         (syscall-list-variants, syscall-list-32bit-options)
44899         (syscall-list-32bit-condition, syscall-list-64bit-options)
44900         (syscall-list-64bit-condition): Define.
44901         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44902         Remove.
44903         (syscall-list-variants, syscall-list-32bit-options)
44904         (syscall-list-32bit-condition, syscall-list-64bit-options)
44905         (syscall-list-64bit-condition): Define.
44906         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44907         Remove.
44908         (syscall-list-variants, syscall-list-32bit-options)
44909         (syscall-list-32bit-condition, syscall-list-64bit-options)
44910         (syscall-list-64bit-condition): Define.
44911
44912 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44913
44914         * locale/iso-639.def: Add brx entry.
44915
44916         [BZ #13328]
44917         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44918         Proposed by Mariusz_Cukr <marcukr@op.pl>.
44919
44920         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44921         __feraiseexcept_renamed.
44922
44923 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44924
44925         [BZ #13538]
44926         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44927         EPOLLET with unsigned values.
44928         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44929         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44930
44931         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44932         to large cancellation.
44933         * math/s_cacoshf.c: Likewise.
44934         * math/s_cacoshl.c: Likewise.
44935
44936 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
44937
44938         [BZ #13305]
44939         [BZ #12786]
44940         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44941         * math/s_cacoshf.c: Likewise.
44942         * math/s_cacoshl.c: Likewise.
44943
44944 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44945
44946         [BZ #13439]
44947         * iconv/gconv.h: Define __GCONV_SWAP.
44948         * iconvdata/unicode.c: The swap bit must be stored in __flags.
44949         * iconvdata/utf-16.c: Likewise.
44950         * iconvdata/utf-32.c: Likewise.
44951
44952 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
44953
44954         [BZ #13524]
44955         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44956         numerator after shifting it by one limb.
44957
44958 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
44959
44960         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44961         under [__USE_EXTERN_INLINES].
44962
44963 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44964
44965         [BZ #13446]
44966         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44967
44968 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44969
44970         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44971         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44972         optimized code.
44973         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44974         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44975         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44976         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44977         for strncasecmp/strncasecmp_l compilation.
44978         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44979         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44980
44981 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
44982
44983         [BZ #13484]
44984         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44985         of __asm__.
44986
44987 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44988
44989         [BZ #13506]
44990         * time/tzfile.c (__tzfile_read): Check values from file header.
44991
44992 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44993
44994         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44995         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44996         * powerpc/powerpc32/dl-start.S: Likewise.
44997         * powerpc/powerpc32/elf/start.S: Likewise.
44998         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44999         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45000         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45001         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45002         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45003         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45004         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45005         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45006         * powerpc/powerpc32/fpu/s_round.S: Likewise.
45007         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45008         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45009         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45010         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45011         * powerpc/powerpc32/memset.S: Likewise.
45012         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45013         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45014         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45015         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45016         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45017         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45018         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45019         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45020         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45021         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45022         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45023         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45024         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45025
45026 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45027
45028         * math/libm-test.inc: Added more nearbyint tests.
45029         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45030         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45031         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45032         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45033
45034 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
45035
45036         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45037         FD_CLOEXEC.
45038
45039 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45040
45041         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45042         Add wcscpy-ssse3 wcscpy-c.
45043         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45044         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45045         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45046         * sysdeps/x86_64/wcschr.S: New file.
45047         * sysdeps/x86_64/wcsrchr.S: New file.
45048         * string/test-strcmp.c: Remove checking of wcscmp function for
45049         wrong alignments.
45050         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45051         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45052         wcsrchr-sse2 wcsrchr-c.
45053         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45054         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45055         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45056         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45057         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45058         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45059         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45060         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45061         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45062         * wcsmbc/wcschr.c (WCSCHR): New macro.
45063
45064 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45065
45066         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45067         * wcsmbs/test-wcsrchr.c: New file.
45068         * string/test-strrchr.c: Add wcsrchr support.
45069         (WIDE): New macro.
45070         * wcsmbs/test-wcscpy.c: New file.
45071         * string/test-strcpy.c: Add wcscpy support.
45072         (WIDE): New macro.
45073
45074 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
45075
45076         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45077         the inner loop.
45078
45079 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
45080
45081         [BZ #13472]
45082         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45083
45084 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
45085
45086         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45087         Minor optimizations.
45088
45089         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45090         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45091         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45092
45093 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
45094
45095         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45096         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45097         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45098         for gcc to avoid warnings.
45099         * inet/Makefile (tests): Add tst-checks.
45100         * inet/tst-checks.c: New file.
45101
45102         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45103         warning.
45104
45105         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45106         __wmemcmp_sse2.
45107
45108         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45109         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45110
45111         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45112
45113 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
45114
45115         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45116         problem.
45117
45118         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45119
45120 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
45121
45122         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45123         conditional on GCC version.
45124         (__arch_compare_and_exchange_val_8_acq)
45125         (__arch_compare_and_exchange_val_16_acq)
45126         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45127         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45128         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45129
45130 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
45131
45132         * sysdeps/sh/backtrace.c: New file.
45133
45134 2011-12-02  Andreas Schwab  <schwab@redhat.com>
45135
45136         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
45137         parenthesis.
45138
45139 2011-12-01  Andreas Schwab  <schwab@redhat.com>
45140
45141         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45142         falling back to utime.
45143
45144 2011-11-30  Andreas Schwab  <schwab@redhat.com>
45145
45146         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45147         expectations for float.
45148
45149 2011-11-29  Andreas Schwab  <schwab@redhat.com>
45150
45151         * locale/weight.h (findidx): Add parameter len.
45152         * locale/weightwc.h (findidx): Likewise.
45153         * posix/fnmatch_loop.c (FCT): Adjust caller.
45154         * posix/regcomp.c (build_equiv_class): Likewise.
45155         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45156         * posix/regexec.c (check_node_accept_bytes): Likewise.
45157         * string/strcoll_l.c (STRCOLL): Likewise.
45158         * string/strxfrm_l.c (STRXFRM): Likewise.
45159
45160 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
45161
45162         * Makefile.in: Remove CVSOPT handling.
45163         * configure.in: Remove use of AC_REVISION.
45164         * iconvdata/Makefile (distribute): No need to filter out CVS.
45165         * scripts/list-sources.sh: Remove CVS, subversion and monotone
45166         handling.
45167
45168 2011-11-16  Andreas Schwab  <schwab@redhat.com>
45169
45170         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45171         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45172         [USE_AS_STRNCASECMP_L]: Likewise.
45173         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45174         NO_TLS_DIRECT_SEG_REFS.
45175         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45176         Fix argument offsets for non-PIC.
45177         [USE_AS_STRNCASECMP_L]: Likewise.
45178         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45179         NO_TLS_DIRECT_SEG_REFS.
45180
45181 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45182
45183         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45184         O_CLOEXEC.
45185         * locale/loadlocale.c (_nl_load_locale): Likewise.
45186
45187 2011-11-15  Andreas Schwab  <schwab@redhat.com>
45188
45189         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45190         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45191         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45192         (SYSCALL_GETTIME): Set errno on error.
45193
45194         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45195         count references to noai6ai_cached.
45196
45197 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45198
45199         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45200
45201         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45202         FD_CLOEXEC for /proc/self/maps.
45203
45204         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45205         FD_CLOEXEC for /proc/meminfo.
45206
45207         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45208         gai.conf.
45209
45210         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
45211         FD_CLOEXEC for given file.
45212
45213         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45214
45215         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45216         FD_CLOEXEC for /etc/hosts.
45217         (_gethtent): Likewise.
45218
45219         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45220
45221         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45222         cancellation and set FD_CLOEXEC for /etc/netgroup.
45223
45224         * nss/nss_files/files-key.c (search): Don't allow cancellation when
45225         reading /etc/publickey.
45226
45227         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45228         allow cancellation when reading /etc/group.
45229
45230         * nss/nss_files/files-alias.c (internal_setent): Don't allow
45231         cancellation.
45232         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
45233
45234         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45235         when using data file.
45236
45237         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45238
45239         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45240         (write_nis_obj): Use "c" and "e" in fopen.
45241
45242         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45243
45244         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45245
45246         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45247
45248         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45249
45250         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45251         locale.alias.
45252
45253         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45254
45255         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45256
45257         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45258
45259         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45260         file parsing and set FD_CLOEXEC.
45261
45262 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45263
45264         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45265
45266 2011-11-14  Andreas Schwab  <schwab@redhat.com>
45267
45268         * malloc/arena.c (arena_get2): Don't call reused_arena when
45269         _int_new_arena failed.
45270
45271 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45272
45273         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45274         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45275         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45276         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45277         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45278         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45279         to compile strcasecmp and strncasecmp.
45280         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45281         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45282
45283         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45284
45285 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
45286
45287         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45288         locale-defines.sym to gen-as-const-headers.
45289         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45290         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45292         to compile strcasecmp and strncasecmp.
45293         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45294         strcasecmp_l and strncasecmp_l.
45295         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45296         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45297         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45298         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45299         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45300         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45301         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45302         * sysdeps/i386/i686/multiarch/strncase.S: New file.
45303         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45304         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45305         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45306
45307 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
45308
45309         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45310         result of SYSDEP_GETTIME_CPU to retval.
45311         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45312         parameter list to macro.  Remove trailing semicolon.  Adjust users.
45313
45314         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45315         variable.
45316
45317         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45318         mantissa words.
45319         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45320
45321         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45322         from unused variable.
45323
45324         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45325         DWARF definitions.
45326         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45327         for assembling.
45328
45329         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45330         over namespaces.
45331
45332         * sunrpc/rpc_prot.c (rejected): Fix case value.
45333
45334         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45335         unsigned long long int to avoid warnings in shift.
45336
45337         * posix/regex_internal.c (re_string_reconstruct): Actually use result
45338         of use of trans.
45339         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45340         variable tmp.
45341
45342         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45343         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45344         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45345
45346         * nis/nis_table.c (nis_list): Use variable of correct type for
45347         result of __follow_path call.
45348
45349 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45350
45351         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45352         of math functions ceil, trunc, floor, round, and sqrt, when
45353         avaliable on the platform.
45354         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45355         name clash.
45356         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45357         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45358         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45359
45360 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
45361
45362         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45363         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45364
45365 2011-11-11  Roland McGrath  <roland@hack.frob.com>
45366
45367         * include/unistd.h: Fix __readlink return type.
45368         Reported by Chris Metcalf <cmetcalf@tilera.com>.
45369
45370 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
45371
45372         * stdlib/ucontext.h: Undo last change for makecontext.
45373
45374 2011-11-11  Andreas Schwab  <schwab@redhat.com>
45375
45376         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45377
45378         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45379         * setjmp/setjmp.h: Mark functions as non-leaf.
45380         * setjmp/bits/setjmp2.h: Likewise.
45381         * stdlib/ucontext.h: Likewise.
45382
45383 2011-11-10  Andreas Schwab  <schwab@redhat.com>
45384
45385         * malloc/arena.c (_int_new_arena): Don't increment narenas.
45386         (reused_arena): Don't check arena limit.
45387         (arena_get2): Atomically check arena limit.
45388
45389 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
45390
45391         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45392         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45393
45394         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45395         instructions.
45396
45397 2011-11-07  Andreas Schwab  <schwab@redhat.com>
45398
45399         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45400         handler when locking.
45401
45402         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45403         Fix size of allocated buffer.
45404
45405 2011-11-04  Andreas Schwab  <schwab@redhat.com>
45406
45407         [BZ #10103]
45408         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45409         declarations for long double functions.
45410         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45411
45412         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45413
45414 2011-11-03  Andreas Schwab  <schwab@redhat.com>
45415
45416         * nscd/nscd.c (main): Don't start AVC thread until credentials are
45417         installed.
45418
45419         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45420         is disabled.
45421
45422 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45423
45424         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45425
45426 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45427
45428         * include/alloca.h (stackinfo_alloca_round): Define.
45429         (extend_alloca): Use it.
45430         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45431         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45432         here.
45433
45434         * scripts/check-local-headers.sh: Ignore libaudit.h.
45435
45436         * nscd/Makefile (extra-objs): Make recursively expanded.
45437
45438 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
45439
45440         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45441         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45442
45443         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45444         * posix/tst-rfc3484-2.c: Likewise.
45445         * posix/tst-rfc3484-3.c: Likewise.
45446
45447         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45448         process_vm_writev.
45449         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45450         process_vm_writev.
45451         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45452         process_vm_writev from libc using GLIBC_2.15 version.
45453
45454         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45455
45456 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
45457
45458         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45459         stack usage.
45460
45461 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
45462
45463         [BZ #13367]
45464         * nss/getent.c (initgroups_keys): Show error message in case no group
45465         names are given.
45466
45467         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45468         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45469         __bump_nl_timestamp.
45470         * nscd/connections (nscd_init): When host database is served open
45471         netlink socket and request notification about configuration changes.
45472         (main_loop_poll): Track netlink file descriptor and bump timestamp
45473         in case data becomes available.
45474         (main_loop_epoll): Likewise.
45475         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45476         (database_pers_head): Add extra_data fileds.
45477         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45478         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45479         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45480         Adjust caller.
45481         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45482         in6ai data, call __free_in6ai.
45483         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45484         Add -DHAVE_NETLINK.
45485         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
45486         interface information.  Reuse previous data if netlink timestamp
45487         is not changed.
45488         (__bump_nl_timestamp): New function.
45489         (__free_in6ai): New function.
45490
45491 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
45492
45493         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45494         close_not_cancel_no_status here.
45495         (__check_pf): Reorganize code a bit to not call close twice if OOM.
45496
45497 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45498
45499         [BZ #13276]
45500         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45501         return value.
45502
45503         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45504         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45505         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45506
45507 2011-07-03  Andreas Jaeger  <aj@suse.de>
45508
45509         [BZ #10709]
45510         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45511         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45512         * math/libm-test.inc (sin_test): Add test case.
45513
45514 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45515
45516         [BZ #13337]
45517         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45518         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45519
45520         * elf/chroot_canon.c (chroot_canon): Cleanups.
45521
45522         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45523
45524         [BZ #13335]
45525         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45526         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45527
45528         * string/test-strchr.c: Make usable for strchrnul testing.
45529         * string/test-strchrnul.c: New file.
45530         * string/Makefile (strop-tests): Add strchrnul.
45531
45532         * po/it.po: Update from translation team.
45533         * po/es.po: Likewise.
45534
45535 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
45536
45537         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45538         the three constants needed as parameters.  Drop the others.
45539         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45540         __m128i_strloadu_tolower.
45541         Create and initialize variable zero and use it in all the places
45542         where _mm_setzero_si128 was used.
45543
45544         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45545         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45546         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45547         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45548         anymore.
45549         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45550         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45551         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45552         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45553         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45554         __mpranred, __mptan.
45555         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45556         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45557         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45558         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45559         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45560         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45561         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45562         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45563         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45564
45565 2011-10-28  Andreas Schwab  <schwab@redhat.com>
45566
45567         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45568         redefine if SHARED.
45569         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45570
45571         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45572         wide char related routines to wcsmbs subdir.
45573
45574 2011-10-27  Andreas Schwab  <schwab@redhat.com>
45575
45576         [BZ #13344]
45577         * misc/sys/cdefs.h (__THROWNL): Define.
45578         * posix/unistd.h: Use __THREADNL instead of __THREAD
45579         for memory synchronization functions.
45580
45581 2011-10-26  Roland McGrath  <roland@hack.frob.com>
45582
45583         [BZ #13349]
45584         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45585         doesn't exist.
45586         * manual/stdio.texi (Obstack Streams): Node removed.
45587
45588 2011-10-26  Andreas Schwab  <schwab@redhat.com>
45589
45590         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45591         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45592         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45593
45594         * math/math_private.h (math_force_eval): Allow non-addressable
45595         arguments.
45596         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45597
45598 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45599
45600         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45601         file is not needed.
45602
45603         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45604         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45605         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45606         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45607         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45608         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45609         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45610         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45611         Add AVX variants.
45612         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45613         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45614         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45615         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45616         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45617         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45618         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45619         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45620         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45621         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45622         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45623         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45624         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45625         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45626         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45627         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45628         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45629         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45630         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45631
45632         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45633         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
45634
45635         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45636         place.  Use VEX encoding when compiling for AVX.
45637
45638 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45639
45640         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45641         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45642
45643         * string/test-strchr.c (do_test): Don't generate NUL bytes.
45644
45645 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45646
45647         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45648         useless if() expression.
45649         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45650         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45651         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45652         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45653         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45654         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45655         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45656         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45657         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45658         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45659         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45660         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45661         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45662         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45663         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45664         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45665         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45666         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45667         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45668
45669         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45670
45671 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45672
45673         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45674         condition.
45675         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45676
45677 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45678
45679         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45680         .text section.  Avoid duplicate constants.
45681         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45682         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45683         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45684         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45685         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45686         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45687         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45688         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45689         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45690         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45691         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45692         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45693         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45694         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45695         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45696         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45697         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45698         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45699         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45700         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45701         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45702         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45703         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45704         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45705         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45706         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45707         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45708         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45709         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45710         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45711         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45712         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45713         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45714         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45715         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45716         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45717         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45718         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45719         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45720         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45721         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45722         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45723         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45724         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45725         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45726
45727 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
45728
45729         * sysdeps/x86_64/dla.h: Move to ...
45730         * sysdeps/x86_64/fpu/dla.h: ...here.
45731         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45732         situations.  Use __builtin_fma only for gcc 4.6 and up.
45733
45734         * config.make.in: Add have-mfma4 entry.
45735         * configure.in: Substitute libc_cv_cc_fma4.
45736         * math/Makefile (dbl-only-routines): Add sincostab.
45737         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45738         Use __sincostab not sincos.
45739         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45740         name is a macro.
45741         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45742         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45743         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45744         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
45745         using __copysign.
45746         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
45747         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
45748         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45749         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45750         and __inv.
45751         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45752         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45753         __copysign.
45754         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
45755         define aliases when function name is a macro.
45756         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45757         sysdeps/ieee754/dbl-64/sincos.tbl.
45758         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45759         fma4-enabled routines.
45760         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45761         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45762         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45763         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45764         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45765         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45766         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45767         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45768         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45769         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45770         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45771         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45772         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45773         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45774         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45775         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45776         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45777         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45778         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45779         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45780         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45781         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45782         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45783         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45784         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45785         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45786         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45787         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45788         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45789         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45790
45791         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45792         rename.
45793         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45794         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45796         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45797         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45798         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45799         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45800         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45801
45802 2011-10-24  Andreas Schwab  <schwab@redhat.com>
45803
45804         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45805
45806 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45807
45808         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45809
45810         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45811         prediction.
45812         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45813
45814         * string/strnlen.c: Don't define STRNLEN, reverse logic.
45815         Remove unused variable magic_bits.
45816         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45817
45818         * string/strnlen.c: Define and use STRNLEN macro.
45819         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45820         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45821         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45822         * wcsmbs/wcslen.c: Define and use WCSLEN.
45823         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45824         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45825         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45826         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45827         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45828         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45829         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45830
45831 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45832
45833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45834         strnlen-sse2-no-bsf.
45835         Rename strlen-no-bsf to strlen-sse2-no-bsf.
45836         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45837         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45838         Add strnlen support.
45839         (USE_AS_STRNLEN): New macro.
45840         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45841         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45842         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45843         * sysdeps/x86_64/wcslen.S: New file.
45844
45845 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
45846
45847         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45848         XMM-moves are used for copying on small sizes.
45849
45850 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45851
45852         * wcsmbs/Makefile (strop-tests): Add wcschr.
45853         * wcsmbs/test-wcschr.c: New file.
45854         * string/test-strchr.c: Update.
45855         Add wcschr support.
45856         (WIDE): New macro.
45857
45858 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45859
45860         * wcsmbs/Makefile (strop-tests): Add wcslen.
45861         * wcsmbs/test-wcslen.c: New file.
45862         * string/test-strlen.c: Update.
45863         Add wcslen support.
45864         (WIDE): New macro.
45865
45866 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45867
45868         * po/it.po: Update from translation team.
45869
45870 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45871
45872         * sysdeps/x86_64/wcscmp.S: Update.
45873         Fix wrong comparison semantics.
45874         wcscmp shall use signed comparison not unsigned.
45875         Don't use substraction to avoid overflow bug.
45876         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45877         * wcsmbc/wcscmp.c: Likewise.
45878         * string/test-strcmp.c: Likewise.
45879         Add new tests to check cases with negative values.
45880
45881 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45882
45883         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45884         * sysdeps/x86_64/dla.h: ...here.  New file.
45885         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45886         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45887         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45888         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45889         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45890         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45891         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45892         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45893         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45894
45895 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
45896
45897         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45898         __ynl_finite aliases.
45899
45900 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45901
45902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45903
45904         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45905         define DLA_FMA.
45906         [DLA_FMA] (EMULV): Use DLA_FMA.
45907         [DLA_FMA] (MUL12): Use EMULV.
45908         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45909         that are not needed.
45910         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45911         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45912         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45913         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45914         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45915         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45916         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45917
45918 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
45919
45920         * math/s_nan.c: Undef __nan.
45921         * math/s_nanf.c: Undef __nanf.
45922         * math/s_nanl.c: Undef __nanl.
45923         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45924         "math_private.h".
45925
45926 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45927
45928         * math/s_catan.c: Add branch predictions.
45929         * math/s_catanf.c: Likewise.
45930         * math/s_catanh.c: Likewise.
45931         * math/s_catanhf.c: Likewise.
45932         * math/s_catanhl.c: Likewise.
45933         * math/s_catanl.c: Likewise.
45934         * math/s_cexp.c: Likewise.
45935         * math/s_cexpf.c: Likewise.
45936         * math/s_cexpl.c: Likewise.
45937         * math/s_clog.c: Likewise.
45938         * math/s_clog10.c: Likewise.
45939         * math/s_clog10f.c: Likewise.
45940         * math/s_clog10l.c: Likewise.
45941         * math/s_clogf.c: Likewise.
45942         * math/s_clogl.c: Likewise.
45943         * math/s_csqrt.c: Likewise.
45944         * math/s_csqrtf.c: Likewise.
45945         * math/s_csqrtl.c: Likewise.
45946         * math/s_ctanf.c: Likewise.
45947         * math/s_ctanh.c: Likewise.
45948         * math/s_ctanhf.c: Likewise.
45949         * math/s_ctanhl.c: Likewise.
45950         * math/s_ctanl.c: Likewise.
45951
45952         * math/math_private.h: Define __nan, __nanf, __nanl.
45953         * math/s_cacosh.c: Include <math_private.h>.
45954         * math/s_cacoshl.c: Likewise.
45955         * math/s_casinh.c: Likewise.
45956         * math/s_casinhf.c: Likewise.
45957         * math/s_casinhl.c: Likewise.
45958         * math/s_ccos.c: Rely entire on ccosh.
45959         * math/s_ccosf.c: Rely entire on ccoshf.
45960         * math/s_ccosl.c: Rely entirely on ccoshl.
45961         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
45962         Remove tests for FE_INVALID.
45963         * math/s_ccoshf.c: Likewise.
45964         * math/s_ccoshl.c: Likewise.
45965         * math/s_csin.c: Likewise.
45966         * math/s_csinf.c: Likewise.
45967         * math/s_csinh.c Likewise.
45968         * math/s_csinhf.c: Likewise.
45969         * math/s_csinhl.c: Likewise.
45970         * math/s_csinl.c: Likewise.
45971         * math/s_ctan.c: Likewise.
45972         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45973         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45974         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45975
45976 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
45977
45978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45979         compilation problems.
45980
45981         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45982         __builtin_expect.
45983
45984 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
45985
45986         * sysdeps/i386/configure.in: Test for -mfma4 option.
45987         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45988         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45989         COMMON_CPUID_INDEX_80000001.
45990         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45991         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45992         use it if FMA3 is not supported.
45993         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45994
45995         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45996         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45997
45998 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45999
46000         [BZ #12892]
46001         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46002         it would create a cycle with a link time dependency.
46003
46004 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
46005
46006         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46007         instruction.
46008         * string/Makefile (strop-tests): Add rawmemchr.
46009         * string/test-rawmemchr.c: New file.
46010
46011         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46012         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
46013         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
46014         when compiling str{,n}casecmp and when AVX is available.  Hook up
46015         new optimized code in initializers.
46016
46017 2011-10-19  Andreas Schwab  <schwab@redhat.com>
46018
46019         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46020         __feraiseexcept instead of feraiseexcept.
46021
46022 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
46023
46024         * math/math_private.h: Define defaults for libc_fetestexcept and
46025         libc_feupdateenv.
46026         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46027         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46028         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46029         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46030         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46031         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46032         libc_fetestexcept and libc_feupdateenv.
46033
46034         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46035         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46036         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46037         * sysdeps/x86_64/fpu/math_private.h: Define special version of
46038         libc_feholdexcept_setround.
46039
46040         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46041         Add s_nearbyint-c and s_nearbyintf-c.
46042         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46043         nearbyintf inlines.
46044         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46045         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46046         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46047         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46048
46049         * math/math_private.h: Define defaults for libc_fegetround,
46050         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46051         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46052         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46053         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46054         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46055         standard functions.
46056         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46057         Remove comments and hacks for old compiler versions.
46058         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46059         libc_fegetround, libc_fesetround, libc_feholdexcept, and
46060         libc_feholdexceptl.
46061
46062 2011-10-18  Andreas Schwab  <schwab@redhat.com>
46063
46064         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46065         (__feraiseexcept_renamed): Add __NTH.
46066         (feraiseexcept): Add __NTH.  Rename local variables to fix
46067         namespace violations.
46068
46069 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
46070
46071         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46072
46073         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46074
46075         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46076         recently added interfaces.
46077         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46078
46079         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46080         about macro parameter expansion.
46081
46082         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46083         __NO_MATH_INLINES is defined.  Cleanups.
46084
46085         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46086         and __floorf is target has SSE4.1.
46087         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46088         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46089         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46090         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46091
46092         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46093         name.
46094         (floorf): Likewise.
46095
46096         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46097
46098 2011-10-17  Andreas Schwab  <schwab@redhat.com>
46099
46100         * misc/sys/cdefs.h: Fix last change.
46101
46102         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46103         database lookup.
46104
46105 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
46106
46107         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46108
46109         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46110         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46111         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46112         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46113         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46114         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46115         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46116         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46117         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46118         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46119         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46120         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46121         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46122         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46123         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46124         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46125         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46126         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46127         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46128         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46129         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46130         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46131
46132         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46133         ceil, ceilf, floor, floorf.
46134
46135         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46136         Perform IRELATIVE relocations last.
46137
46138         * elf/do-rel.h: Add another parameter nrelative, replacing the
46139         local variable with the same name.  Change name of the function
46140         to end in Rel or Rela (uppercase).
46141         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46142         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
46143         elf_dynamic_do_##reloc function.
46144
46145 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46146
46147         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46148         is sufficient, at least on modern CPUs.
46149
46150         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46151
46152         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46153         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46154
46155         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46156         __expl_finite.
46157         * math/bits/math-finite.h: Add entries for exp.
46158         * math/e_expl.c: Add __*_finite alias.
46159         * sysdeps/i386/fpu/e_exp.S: Likewise.
46160         * sysdeps/i386/fpu/e_expf.S: Likewise.
46161         * sysdeps/i386/fpu/e_expl.c: Likewise.
46162         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46163         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46164         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46165         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46166         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46167         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46168         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46169
46170         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46171         is sufficient, at least on modern CPUs.
46172
46173         * ctype/ctype-info.c (__ctype_init): Define.
46174         * include/ctype.h (__ctype_init): Declare.
46175         (__ctype_b_loc): The variable is always initialized.
46176         (__ctype_toupper_loc): Likewise.
46177         (__ctype_tolower_loc): Likewise.
46178         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46179         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46180
46181 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
46182
46183         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46184
46185         * configure.in: Also look in $cxxmachine/include for C++ system
46186         headers.
46187
46188 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46189
46190         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46191         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46192         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46193         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
46194         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46195         (USE_AS_WMEMCMP): New macro.
46196         Fixing indents.
46197         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46198         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46199         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46200         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46201         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46202         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46203         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46204         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46205         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46206         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46207         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46208         (USE_AS_WMEMCMP): New macro.
46209         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46210         * sysdeps/string/test-memcmp.c: Update.
46211         Fix simple_wmemcmp.
46212         Add new tests.
46213         * wcsmbs/wmemcmp.c: Update.
46214         (WMEMCMP): New macro.
46215         Fix overflow bug.
46216
46217 2011-10-12  Andreas Jaeger  <aj@suse.de>
46218
46219         [BZ #13268]
46220         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46221
46222 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46223
46224         * libio/iofwide.c (do_length): Avoid warning.
46225
46226         * ctype/ctype.h (__isctype_f): Add missing __THROW.
46227
46228 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
46229
46230         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46231
46232         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46233         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46234         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46235         * sysdeps/i386/i686/fpu/e_log.S: New file.
46236         * sysdeps/i386/i686/fpu/e_logf.S: New file.
46237         * sysdeps/i386/i686/fpu/e_logl.S: New file.
46238
46239         * ctype/ctype.h: Add support for inlined isXXX functions when
46240         compiling C++ code.
46241
46242 2011-10-14  Andreas Schwab  <schwab@redhat.com>
46243
46244         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46245
46246         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46247
46248 2011-10-13  Roland McGrath  <roland@hack.frob.com>
46249
46250         [BZ #13291]
46251         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46252
46253 2011-10-13  Andreas Schwab  <schwab@redhat.com>
46254
46255         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46256         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46257         feraiseexcept.
46258
46259         * sysdeps/x86_64/memrchr.S: Check for zero size.
46260
46261         * string/stratcliff.c: Add memrchr tests.
46262
46263 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46264
46265         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46266         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46267         rawmemchr-sse2 rawmemchr-sse2-bsf.
46268         * sysdeps/i386/i686/multiarch/memchr.S: New file.
46269         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46270         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46271         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46272         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46273         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46274         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46275         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46276         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46277         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46278         * string/memrchr.c (MEMRCHR): New macro.
46279
46280 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
46281
46282         Add integration with gcc's -ffinite-math-only and optimize wrapper
46283         functions in libm.
46284         * Versions.def: Define GLIBC_2.15 version for libm.
46285         * math/Makefile (headers): Add bits/math-finite.h.
46286         * math/bits/math-finite.h: New file.
46287         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46288         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46289         * math/e_acoshl.c: Add __*_finite alias.
46290         * math/e_acosl.c: Likewise.
46291         * math/e_asinl.c: Likewise.
46292         * math/e_atan2l.c: Likewise.
46293         * math/e_atanhl.c: Likewise.
46294         * math/e_coshl.c: Likewise.
46295         * math/e_exp10.c: Likewise.
46296         * math/e_exp10f.c: Likewise.
46297         * math/e_exp10l.c: Likewise.
46298         * math/e_exp2l.c: Likewise.
46299         * math/e_fmodl.c: Likewise.
46300         * math/e_gammal_r.c: Likewise.
46301         * math/e_hypotl.c: Likewise.
46302         * math/e_j0l.c: Likewise.
46303         * math/e_j1l.c: Likewise.
46304         * math/e_jnl.c: Likewise.
46305         * math/e_lgammal_r.c: Likewise.
46306         * math/e_log10l.c: Likewise.
46307         * math/e_log2l.c: Likewise.
46308         * math/e_logl.c: Likewise.
46309         * math/e_powl.c: Likewise.
46310         * math/e_sinhl.c: Likewise.
46311         * math/e_sqrtl.c: Likewise.
46312         * math/e_scalb.c: Completely rewritten and optimized.
46313         * math/e_scalbf.c: Likewise.
46314         * math/e_scalbl.c: Likewise.
46315         * math/w_acos.c: Likewise.
46316         * math/w_acosf.c: Likewise.
46317         * math/w_acosl.c: Likewise.
46318         * math/w_acosh.c: Likewise.
46319         * math/w_acoshf.c: Likewise.
46320         * math/w_acoshl.c: Likewise.
46321         * math/w_asin.c: Likewise.
46322         * math/w_asinf.c: Likewise.
46323         * math/w_asinl.c: Likewise.
46324         * math/w_atan2.c: Likewise.
46325         * math/w_atan2f.c: Likewise.
46326         * math/w_atan2l.c: Likewise.
46327         * math/w_atanh.c: Likewise.
46328         * math/w_atanhf.c: Likewise.
46329         * math/w_atanhl.c: Likewise.
46330         * math/w_exp10.c: Likewise.
46331         * math/w_exp10f.c: Likewise.
46332         * math/w_exp10l.c: Likewise.
46333         * math/w_fmod.c: Likewise.
46334         * math/w_fmodf.c: Likewise.
46335         * math/w_fmodl.c: Likewise.
46336         * math/w_j0.c: Likewise.
46337         * math/w_j0f.c: Likewise.
46338         * math/w_j0l.c: Likewise.
46339         * math/w_j1.c: Likewise.
46340         * math/w_j1f.c: Likewise.
46341         * math/w_j1l.c: Likewise.
46342         * math/w_jn.c: Likewise.
46343         * math/w_jnf.c: Likewise.
46344         * math/w_log.c: Likewise.
46345         * math/w_logf.c: Likewise.
46346         * math/w_logl.c: Likewise.
46347         * math/w_log10.c: Likewise.
46348         * math/w_log10f.c: Likewise.
46349         * math/w_log10l.c: Likewise.
46350         * math/w_log2.c: Likewise.
46351         * math/w_log2f.c: Likewise.
46352         * math/w_log2l.c: Likewise.
46353         * math/w_pow.c: Likewise.
46354         * math/w_powf.c: Likewise.
46355         * math/w_powl.c: Likewise.
46356         * math/w_remainder.c: Likewise.
46357         * math/w_remainderf.c: Likewise.
46358         * math/w_remainderl.c: Likewise.
46359         * math/w_scalb.c: Likewise.
46360         * math/w_scalbf.c: Likewise.
46361         * math/w_scalbl.c: Likewise.
46362         * math/w_sqrt.c: Likewise.
46363         * math/w_sqrtf.c: Likewise.
46364         * math/w_sqrtl.c: Likewise.
46365         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46366         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
46367         used.
46368         * math/math_private.h: Declare __kernel_standard_f.
46369         * math/w_cosh.c: Remove cruft and optimize a bit.
46370         * math/w_coshf.c: Likewise.
46371         * math/w_coshl.c: Likewise.
46372         * math/w_exp2.c: Likewise.
46373         * math/w_exp2f.c: Likewise.
46374         * math/w_exp2l.c: Likewise.
46375         * math/w_hypot.c: Likewise.
46376         * math/w_hypotf.c: Likewise.
46377         * math/w_hypotl.c: Likewise.
46378         * math/w_lgamma.c: Likewise.
46379         * math/w_lgamma_r.c: Likewise.
46380         * math/w_lgammaf.c: Likewise.
46381         * math/w_lgammaf_r.c: Likewise.
46382         * math/w_lgammal.c: Likewise.
46383         * math/w_lgammal_r.c: Likewise.
46384         * math/w_sinh.c: Likewise.
46385         * math/w_sinhf.c: Likewise.
46386         * math/w_sinhl.c: Likewise.
46387         * math/w_tgamma.c: Likewise.
46388         * math/w_tgammaf.c: Likewise.
46389         * math/w_tgammal.c: Likewise.
46390         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46391         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46392         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46393         Minor optimizations.  Pretty printing.  Remove cruft.
46394         * sysdeps/i386/fpu/e_acosf.S: Likewise.
46395         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46396         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46397         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46398         * sysdeps/i386/fpu/e_acosl.c: Likewise.
46399         * sysdeps/i386/fpu/e_asin.S: Likewise.
46400         * sysdeps/i386/fpu/e_asinf.S: Likewise.
46401         * sysdeps/i386/fpu/e_atan2.S: Likewise.
46402         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46403         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46404         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46405         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46406         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46407         * sysdeps/i386/fpu/e_exp10.S: Likewise.
46408         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46409         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46410         * sysdeps/i386/fpu/e_exp2.S: Likewise.
46411         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46412         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46413         * sysdeps/i386/fpu/e_fmod.S: Likewise.
46414         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46415         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46416         * sysdeps/i386/fpu/e_hypot.S: Likewise.
46417         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46418         * sysdeps/i386/fpu/e_log.S: Likewise.
46419         * sysdeps/i386/fpu/e_log10.S: Likewise.
46420         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46421         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46422         * sysdeps/i386/fpu/e_log2.S: Likewise.
46423         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46424         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46425         * sysdeps/i386/fpu/e_logf.S: Likewise.
46426         * sysdeps/i386/fpu/e_logl.S: Likewise.
46427         * sysdeps/i386/fpu/e_pow.S: Likewise.
46428         * sysdeps/i386/fpu/e_powf.S: Likewise.
46429         * sysdeps/i386/fpu/e_powl.S: Likewise.
46430         * sysdeps/i386/fpu/e_remainder.S: Likewise.
46431         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46432         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46433         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46434         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46435         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46436         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46437         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46438         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46439         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46440         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46441         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46442         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46443         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46444         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46445         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46446         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46447         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46448         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46449         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46450         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46451         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46452         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46453         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46454         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46455         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46456         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46457         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46458         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46459         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46460         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46461         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46462         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46463         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46464         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46465         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46466         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46467         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46468         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46469         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46470         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46471         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46472         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46473         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46474         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46475         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46476         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46477         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46478         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46479         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46480         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46481         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46482         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46483         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46484         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46485         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46486         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46487         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46488         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46489         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46490         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46491         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46492         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46493         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46494         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46495         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46496         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46497         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46498         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46499         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46500         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46501         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46502         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46503         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46504         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46505         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46506         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46507         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46508         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46509         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46510         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46511         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46512         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46513         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46514         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46515         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46516         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46517         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46518         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46519         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46520         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46521         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46522         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46523         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46524         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46525         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46526         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46527         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46528         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46529         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46530         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46531         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46532         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46533         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46534         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46535         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46536         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46537         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46538         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46539         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46540         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46541         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46542         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46543         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46544         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46545         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46546         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46547         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46548         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46549         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
46550         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46551         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46552         (__isnanf): Likewise.
46553         (__isinf_ns): Likewise.
46554         (__isinf_nsf): Likewise.
46555         (__finite): Likewise.
46556         (__finitef): Likewise.
46557         (__ieee754_sqrt): Define as macro.
46558         (__ieee754_sqrtf): Define as macro.
46559         (__ieee754_sqrtl): Define as macro.
46560         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46561         inlined copy.
46562         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46563         __FINITE_MATH_ONLY__ consistent.
46564         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46565
46566 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
46567
46568         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46569         of rawmemchr.
46570
46571         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46572
46573 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
46574
46575         * po/ja.po: Update from translation team.
46576
46577 2011-10-08  Roland McGrath  <roland@hack.frob.com>
46578
46579         * locale/programs/locarchive.c (prepare_address_space): New function.
46580         (create_archive, enlarge_archive, open_archive): Use it.
46581
46582         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46583         inside [SHARED], where it is used.
46584
46585         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46586
46587         * nss/getent.c (netgroup_keys): Remove unused variable.
46588         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46589
46590 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
46591
46592         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46593         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46594         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46595         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46596         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46597         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46598         * math/Makefile (libm-calls): Add s_isinf_ns.
46599         * math/divtc3.c: Use __isinf_nsl instead of isinf.
46600         * math/multc3.c: Likewise.
46601         * math/s_casin.c: Likewise.
46602         * math/s_casinf.c: Likewise.
46603         * math/s_casinl.c: Likewise.
46604         * math/s_ccos.c: Likewise.
46605         * math/s_ccosf.c: Likewise.
46606         * math/s_ccosl.c: Likewise.
46607         * math/s_ctan.c: Likewise.
46608         * math/s_ctanf.c: Likewise.
46609         * math/s_ctanh.c: Likewise.
46610         * math/s_ctanhf.c: Likewise.
46611         * math/s_ctanhl.c: Likewise.
46612         * math/s_ctanl.c: Likewise.
46613         * math/w_fmod.c: Likewise.
46614         * math/w_fmodf.c: Likewise.
46615         * math/w_fmodl.c: Likewise.
46616         * math/w_remainder.c: Likewise.
46617         * math/w_remainderf.c: Likewise.
46618         * math/w_remainderl.c: Likewise.
46619         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46620         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46621         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46622         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46623         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46624         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46625         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46626         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46627
46628         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46629         of the number.
46630         * stdio-common/printf_fphex.c: Likewise.
46631         * stdio-common/printf_size.c: Likewise.
46632
46633         * math/e_exp10.c: Include math_private.h using <...> not "...".
46634         * math/e_exp10f.c: Likewise.
46635         * math/e_exp10l.c: Likewise.
46636         * math/e_exp2l.c: Likewise.
46637         * math/e_j0l.c: Likewise.
46638         * math/e_j1l.c: Likewise.
46639         * math/e_jnl.c: Likewise.
46640         * math/e_lgammal_r.c: Likewise.
46641         * math/e_rem_pio2l.c: Likewise.
46642         * math/e_scalb.c: Likewise.
46643         * math/e_scalbf.c: Likewise.
46644         * math/e_scalbl.c: Likewise.
46645         * math/k_cosl.c: Likewise.
46646         * math/k_sinl.c: Likewise.
46647         * math/k_tanl.c: Likewise.
46648         * math/s_cacoshf.c: Likewise.
46649         * math/s_catan.c: Likewise.
46650         * math/s_catanf.c: Likewise.
46651         * math/s_catanh.c: Likewise.
46652         * math/s_catanhf.c: Likewise.
46653         * math/s_catanhl.c: Likewise.
46654         * math/s_catanl.c: Likewise.
46655         * math/s_ccosh.c: Likewise.
46656         * math/s_ccoshf.c: Likewise.
46657         * math/s_ccoshl.c: Likewise.
46658         * math/s_cexp.c: Likewise.
46659         * math/s_cexpf.c: Likewise.
46660         * math/s_cexpl.c: Likewise.
46661         * math/s_clog.c: Likewise.
46662         * math/s_clog10.c: Likewise.
46663         * math/s_clog10f.c: Likewise.
46664         * math/s_clog10l.c: Likewise.
46665         * math/s_clogf.c: Likewise.
46666         * math/s_clogl.c: Likewise.
46667         * math/s_csin.c: Likewise.
46668         * math/s_csinf.c: Likewise.
46669         * math/s_csinh.c: Likewise.
46670         * math/s_csinhf.c: Likewise.
46671         * math/s_csinhl.c: Likewise.
46672         * math/s_csinl.c: Likewise.
46673         * math/s_csqrt.c: Likewise.
46674         * math/s_csqrtf.c: Likewise.
46675         * math/s_csqrtl.c: Likewise.
46676         * math/s_ctan.c: Likewise.
46677         * math/s_ctanf.c: Likewise.
46678         * math/s_ctanh.c: Likewise.
46679         * math/s_ctanhf.c: Likewise.
46680         * math/s_ctanhl.c: Likewise.
46681         * math/s_ctanl.c: Likewise.
46682         * math/s_ldexp.c: Likewise.
46683         * math/s_ldexpf.c: Likewise.
46684         * math/s_ldexpl.c: Likewise.
46685         * math/s_significand.c: Likewise.
46686         * math/s_significandf.c: Likewise.
46687         * math/s_significandl.c: Likewise.
46688         * math/w_acos.c: Likewise.
46689         * math/w_acosf.c: Likewise.
46690         * math/w_acosh.c: Likewise.
46691         * math/w_acoshf.c: Likewise.
46692         * math/w_acoshl.c: Likewise.
46693         * math/w_acosl.c: Likewise.
46694         * math/w_asin.c: Likewise.
46695         * math/w_asinf.c: Likewise.
46696         * math/w_asinl.c: Likewise.
46697         * math/w_atan2.c: Likewise.
46698         * math/w_atan2f.c: Likewise.
46699         * math/w_atan2l.c: Likewise.
46700         * math/w_atanh.c: Likewise.
46701         * math/w_atanhf.c: Likewise.
46702         * math/w_atanhl.c: Likewise.
46703         * math/w_cosh.c: Likewise.
46704         * math/w_coshf.c: Likewise.
46705         * math/w_coshl.c: Likewise.
46706         * math/w_dremf.c: Likewise.
46707         * math/w_exp10.c: Likewise.
46708         * math/w_exp10f.c: Likewise.
46709         * math/w_exp10l.c: Likewise.
46710         * math/w_exp2.c: Likewise.
46711         * math/w_exp2f.c: Likewise.
46712         * math/w_fmod.c: Likewise.
46713         * math/w_fmodf.c: Likewise.
46714         * math/w_fmodl.c: Likewise.
46715         * math/w_hypot.c: Likewise.
46716         * math/w_hypotf.c: Likewise.
46717         * math/w_hypotl.c: Likewise.
46718         * math/w_j0.c: Likewise.
46719         * math/w_j0f.c: Likewise.
46720         * math/w_j0l.c: Likewise.
46721         * math/w_j1.c: Likewise.
46722         * math/w_j1f.c: Likewise.
46723         * math/w_j1l.c: Likewise.
46724         * math/w_jn.c: Likewise.
46725         * math/w_jnf.c: Likewise.
46726         * math/w_jnl.c: Likewise.
46727         * math/w_lgamma.c: Likewise.
46728         * math/w_lgamma_r.c: Likewise.
46729         * math/w_lgammaf.c: Likewise.
46730         * math/w_lgammaf_r.c: Likewise.
46731         * math/w_lgammal.c: Likewise.
46732         * math/w_lgammal_r.c: Likewise.
46733         * math/w_log.c: Likewise.
46734         * math/w_log10.c: Likewise.
46735         * math/w_log10f.c: Likewise.
46736         * math/w_log10l.c: Likewise.
46737         * math/w_log2.c: Likewise.
46738         * math/w_log2f.c: Likewise.
46739         * math/w_log2l.c: Likewise.
46740         * math/w_logf.c: Likewise.
46741         * math/w_logl.c: Likewise.
46742         * math/w_pow.c: Likewise.
46743         * math/w_powf.c: Likewise.
46744         * math/w_powl.c: Likewise.
46745         * math/w_remainder.c: Likewise.
46746         * math/w_remainderf.c: Likewise.
46747         * math/w_remainderl.c: Likewise.
46748         * math/w_scalb.c: Likewise.
46749         * math/w_scalbf.c: Likewise.
46750         * math/w_scalbl.c: Likewise.
46751         * math/w_sinh.c: Likewise.
46752         * math/w_sinhf.c: Likewise.
46753         * math/w_sinhl.c: Likewise.
46754         * math/w_sqrt.c: Likewise.
46755         * math/w_sqrtf.c: Likewise.
46756         * math/w_sqrtl.c: Likewise.
46757         * math/w_tgamma.c: Likewise.
46758         * math/w_tgammaf.c: Likewise.
46759         * math/w_tgammal.c: Likewise.
46760
46761         * po/ja.po: Update from translation team.
46762
46763 2011-09-29  Andreas Jaeger  <aj@suse.de>
46764
46765         [BZ #13179]
46766         * sunrpc/netname.c (netname2host): Fix logic.
46767
46768         [BZ #6779]
46769         [BZ #6783]
46770         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46771         correctly.
46772         * math/w_remainder.c (__remainder): Likewise.
46773         * math/w_remainderf.c (__remainderf): Likewise.
46774         * math/libm-test.inc (remainder_test): Add test cases.
46775
46776 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46777
46778         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
46779         sdiv_qrnnd.
46780
46781 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
46782
46783         * string/test-memcmp.c: Avoid unncessary #defines.
46784         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46785
46786 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46787
46788         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46789         Use new sse2 version for core i3 - i7 as it's faster
46790         than sse42 version.
46791         (bit_Prefer_PMINUB_for_stringop): New.
46792         * sysdeps/x86_64/rawmemchr.S: Update.
46793         Replace with faster SSE2 version.
46794         * sysdeps/x86_64/memrchr.S: New file.
46795         * sysdeps/x86_64/memchr.S: Update.
46796         Replace with faster SSE2 version.
46797
46798 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
46799
46800         * elf/dl-load.c (lose): Add cast to avoid warning.
46801
46802 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
46803
46804         * po/ca.po: Update from translation team.
46805
46806         * inet/getnetgrent_r.c: Hook up nscd.
46807         * nscd/Makefile (routines): Add nscd_netgroup.
46808         (nscd-modules): Add netgroupcache.
46809         (CFLAGS-netgroupcache.c): Define.
46810         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46811         (cache_search): Add const to second parameter.
46812         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46813         INNETGR.
46814         (dbs): Add netgrdb entry.
46815         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46816         (verify_persistent_db): Handle netgrdb.
46817         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46818         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46819         GETFDNETGR.
46820         (netgroup_response_header): Define.
46821         (innetgroup_response_header): Define.
46822         (datahead): Add netgroup_response_header and innetgroup_response_header
46823         elements.
46824         * nscd/nscd.conf: Add entries for netgroup cache.
46825         * nscd/nscd.h (dbtype): Add netgrdb.
46826         (_PATH_NSCD_NETGROUP_DB): Define.
46827         (netgroup_iov_disabled): Declare.
46828         (xmalloc, xcalloc, xrealloc): Move declarations here.
46829         (cache_search): Adjust prototype.
46830         Add netgroup-related prototypes.
46831         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46832         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46833         (__nscd_innetgr): Declare.
46834         * nscd/selinux.c (perms): Use access_vector_t as element type and
46835         add netgroup-related initializers.
46836         * nscd/netgroupcache.c: New file.
46837         * nscd/nscd_netgroup.c: New file.
46838         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46839         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46840         For four parameters use innetgr.
46841         * nss/nss_files/files-init.c: Add definition and callback for netgr.
46842         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46843         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46844         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46845
46846         * nscd/connections.c (register_traced_file): Don't register file
46847         for disabled databases.
46848
46849 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
46850
46851         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46852
46853         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46854         from tree and freeing node.
46855
46856 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
46857
46858         * nss/nsswitch.c (__nss_database_lookup): Handle
46859         nss_parse_service_list out of memory case.
46860
46861 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
46862
46863         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46864         out of memory case.
46865
46866 2011-10-04  Andreas Schwab  <schwab@redhat.com>
46867
46868         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46869         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46870         pass it down.
46871         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46872         elf_machine_rela, elf_machine_lazy_rel.
46873         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46874         (ELF_DYNAMIC_DO_REL): Likewise.
46875         (ELF_DYNAMIC_DO_RELA): Likewise.
46876         (ELF_DYNAMIC_RELOCATE): Likewise.
46877         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46878         to ELF_DYNAMIC_DO_REL.
46879         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46880         (dl_main): In trace mode always set __RTLD_NOIFUNC.
46881         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46882         elf_machine_rela.
46883         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46884         skip_ifunc, don't call ifunc function if non-zero.
46885         (elf_machine_rela): Likewise.
46886         (elf_machine_lazy_rel): Likewise.
46887         (elf_machine_lazy_rela): Likewise.
46888         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46889         (elf_machine_lazy_rel): Likewise.
46890         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46891         Likewise.
46892         (elf_machine_lazy_rel): Likewise.
46893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46894         Likewise.
46895         (elf_machine_lazy_rel): Likewise.
46896         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46897         (elf_machine_lazy_rel): Likewise.
46898         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46899         (elf_machine_lazy_rel): Likewise.
46900         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46901         (elf_machine_lazy_rel): Likewise.
46902         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46903         (elf_machine_lazy_rel): Likewise.
46904         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46905         (elf_machine_lazy_rel): Likewise.
46906         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46907         (elf_machine_lazy_rel): Likewise.
46908
46909 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
46910
46911         * nss/nss_files/files-init.c (_nss_files_init): Use static
46912         initialization for all the *_traced_file variables.
46913
46914 2011-09-28  Andreas Schwab  <schwab@redhat.com>
46915
46916         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46917
46918 2011-09-27  Roland McGrath  <roland@hack.frob.com>
46919
46920         [BZ #13226]
46921         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46922
46923 2011-09-27  Andreas Schwab  <schwab@redhat.com>
46924
46925         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46926         Reread the line before reparsing it.
46927
46928 2011-09-26  Andreas Schwab  <schwab@redhat.com>
46929
46930         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46931
46932 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
46933             Maxim Kuvyrkov  <maxim@codesourcery.com>
46934             Joseph Myers  <joseph@codesourcery.com>
46935
46936         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46937         if needed for __stack_chk_guard.
46938
46939 2011-09-19  Roland McGrath  <roland@hack.frob.com>
46940
46941         * sysdeps/posix/spawni.c (script_execute): Always define it.
46942         It will be optimized away if unused.
46943         (maybe_script_execute): New function.
46944         (__spawni): Call it.
46945
46946         * Makerules: Don't include tls.make.
46947         (config-tls): Always set to thread.
46948         * tls.make.c: File removed.
46949
46950 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
46951
46952         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46953         * config.make.in (CPPFLAGS-config): New substituted variable.
46954
46955 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46956
46957         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46958
46959         [BZ #13192]
46960         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46961         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46962
46963 2011-09-15  Roland McGrath  <roland@hack.frob.com>
46964
46965         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46966         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46967         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46968         (CALL_FAIL): Likewise.
46969         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46970         (CALL_FAIL): Macro removed.
46971         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46972
46973 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46974
46975         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46976         for __FINITE_MATH_ONLY__ == 1.
46977
46978 2011-09-15  Andreas Schwab  <schwab@redhat.com>
46979
46980         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46981         __ieee754_sqrt instead of sqrt.
46982         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46983         __ieee754_sqrtf instead of sqrtf.
46984         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46985         __floorf instead of floorf.
46986         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46987         __floorf, __truncf instead of floorf, truncf.
46988
46989 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
46990
46991         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46992
46993         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46994         __extern_always_inline.
46995         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46996         32-bit.
46997
46998 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46999
47000         * elf/rtld.c (dl_main): Also relocate in dependency order when
47001         doing symbol dependency testing.
47002
47003 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
47004
47005         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47006         Always define `refsym'.
47007
47008 2011-09-13  Andreas Schwab  <schwab@redhat.com>
47009
47010         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47011         (__FD_ELT): Renamed from __FDELT.
47012         * misc/bits/select2.h (__FD_ELT): Likewise.
47013         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47014         __FD_MASK instead of __FDELT, __FDMASK.
47015         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47016         Likewise.
47017         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47018         Likewise.
47019
47020         * elf/Makefile (gen-ldd): Fix pattern.
47021
47022         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47023         (init_tls): Likewise.
47024
47025 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
47026
47027         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47028
47029 2011-09-12  Andreas Schwab  <schwab@redhat.com>
47030
47031         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47032         `struct cmsghdr *' instead of `void *'.
47033         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47034         Likewise.
47035
47036 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
47037
47038         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47039         if non-absolute.
47040         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47041         ldd_rewrite_script.
47042
47043 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
47044
47045         * configure.in: Remove --with-tls option.
47046         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47047         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47048         out in case it is missing.
47049         * sysdeps/ia64/elf/configure.in: Likewise.
47050         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47051         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47052         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47053         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47054         * sysdeps/sh/elf/configure.in: Likewise.
47055         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47056         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47057         * sysdeps/x86_64/elf/configure.in: Likewise.
47058         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47059         * sysdeps/mach/hurd/tls.h: Likewise.
47060
47061         [BZ #13067]
47062         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47063
47064         [BZ #13090]
47065         * configure.in: Fix use of AC_INIT.
47066
47067         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47068
47069 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
47070
47071         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47072         __set_errno.
47073         * malloc/hooks.c: Likewise.
47074
47075         [BZ #11929]
47076         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
47077         variables statically.
47078         (narenas): Initialize.
47079         (list_lock): Initialize.
47080         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
47081         initializtion of main_arena and list_lock.  Small cleanups.
47082         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47083         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
47084         Add initializers to main_arena and mp_.
47085         (malloc_state): Remove pagesize member.  Change all users to use
47086         GLRO(dl_pagesize).
47087
47088         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47089         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
47090         is always initialized.
47091
47092         * malloc/malloc.c: Removed unused configurations and dead code.
47093         * malloc/arena.c: Likewise.
47094         * malloc/hooks.c: Likewise.
47095         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47096
47097         * include/tls.h: Removed.  USE___THREAD must always be defined.
47098         * bits/libc-tsd.h: Don't handle !USE___THREAD.
47099         * elf/dl-libc.c: Likewise.
47100         * elf/dl-tsd.c: Likewise.
47101         * include/errno.h: Likewise.
47102         * include/netdb.h: Likewise.
47103         * include/resolv.h: Likewise.
47104         * inet/herrno-loc.c: Likewise.
47105         * inet/herrno.c: Likewise.
47106         * malloc/arena.c: Likewise.
47107         * malloc/hooks.c: Likewise.
47108         * malloc/malloc.c: Likewise.
47109         * resolv/res-state.c: Likewise.
47110         * resolv/res_libc.c: Likewise.
47111         * sysdeps/i386/dl-machine.h: Likewise.
47112         * sysdeps/ia64/dl-machine.h: Likewise.
47113         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47114         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47115         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47116         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47117         * sysdeps/sh/dl-machine.h: Likewise.
47118         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47119         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47120         * sysdeps/unix/i386/sysdep.S: Likewise.
47121         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47122         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47123         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47124         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47125         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47126         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47127         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47130         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47131         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47132         * sysdeps/x86_64/dl-machine.h: Likewise.
47133         * tls.make.c: Likewise.
47134
47135         * configure.in: Remove --with-__thread option.  Make tests for
47136         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47137         tls_model attribute fail if no support is available.  Remove
47138         USE_IN_LIBIO.
47139         * Makeconfig: Adjust for dropped configure option.  All features are
47140         now mandatory.
47141         * Makerules: Likewise.
47142         * Versions.def: Likewise.
47143         * argp/argp-fmtstream.c: Likewise.
47144         * argp/argp-fmtstream.h: Likewise.
47145         * argp/argp-help.c: Likewise.
47146         * assert/assert.c: Likewise.
47147         * config.h.in: Likewise.
47148         * config.make.in: Likewise.
47149         * configure: Likewise.
47150         * configure.in: Likewise.
47151         * csu/Versions: Likewise.
47152         * csu/init.c: Likewise.
47153         * elf/tst-audit2.c: Likewise.
47154         * elf/tst-tls10.c: Likewise.
47155         * elf/tst-tls10.h: Likewise.
47156         * elf/tst-tls11.c: Likewise.
47157         * elf/tst-tls12.c: Likewise.
47158         * elf/tst-tls14.c: Likewise.
47159         * elf/tst-tlsmod11.c: Likewise.
47160         * elf/tst-tlsmod12.c: Likewise.
47161         * elf/tst-tlsmod13.c: Likewise.
47162         * elf/tst-tlsmod13a.c: Likewise.
47163         * elf/tst-tlsmod14a.c: Likewise.
47164         * elf/tst-tlsmod15b.c: Likewise.
47165         * elf/tst-tlsmod16a.c: Likewise.
47166         * elf/tst-tlsmod16b.c: Likewise.
47167         * elf/tst-tlsmod7.c: Likewise.
47168         * elf/tst-tlsmod8.c: Likewise.
47169         * elf/tst-tlsmod9.c: Likewise.
47170         * gmon/gmon.c: Likewise.
47171         * grp/fgetgrent_r.c: Likewise.
47172         * grp/putgrent.c: Likewise.
47173         * hurd/fopenport.c: Likewise.
47174         * include/libc-symbols.h: Likewise.
47175         * include/tls.h: Likewise.
47176         * intl/gettextP.h: Likewise.
47177         * intl/loadinfo.h: Likewise.
47178         * locale/global-locale.c: Likewise.
47179         * locale/localeinfo.h: Likewise.
47180         * mach/devstream.c: Likewise.
47181         * malloc/arena.c: Likewise.
47182         * malloc/set-freeres.c: Likewise.
47183         * misc/err.c: Likewise.
47184         * misc/getttyent.c: Likewise.
47185         * misc/mntent_r.c: Likewise.
47186         * posix/getopt.c: Likewise.
47187         * posix/wordexp.c: Likewise.
47188         * pwd/fgetpwent_r.c: Likewise.
47189         * resolv/Versions: Likewise.
47190         * resolv/res_hconf.c: Likewise.
47191         * shadow/fgetspent_r.c: Likewise.
47192         * shadow/putspent.c: Likewise.
47193         * stdio-common/printf_fphex.c: Likewise.
47194         * stdio-common/tmpfile.c: Likewise.
47195         * stdlib/abort.c: Likewise.
47196         * stdlib/fmtmsg.c: Likewise.
47197         * sunrpc/auth_unix.c: Likewise.
47198         * sunrpc/clnt_perr.c: Likewise.
47199         * sunrpc/clnt_tcp.c: Likewise.
47200         * sunrpc/clnt_udp.c: Likewise.
47201         * sunrpc/clnt_unix.c: Likewise.
47202         * sunrpc/openchild.c: Likewise.
47203         * sunrpc/svc_simple.c: Likewise.
47204         * sunrpc/svc_tcp.c: Likewise.
47205         * sunrpc/svc_udp.c: Likewise.
47206         * sunrpc/svc_unix.c: Likewise.
47207         * sunrpc/xdr.c: Likewise.
47208         * sunrpc/xdr_array.c: Likewise.
47209         * sunrpc/xdr_rec.c: Likewise.
47210         * sunrpc/xdr_ref.c: Likewise.
47211         * sunrpc/xdr_stdio.c: Likewise.
47212
47213 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47214
47215         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47216
47217 2011-07-03  Andreas Jaeger  <aj@suse.de>
47218
47219         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47220         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47221         regenerate with gen-libm-tests.pl.
47222
47223 2010-05-12  Petr Baudis  <pasky@suse.cz>
47224
47225         [BZ #11589]
47226         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47227         around j0() zero points by switching to j1().
47228         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47229         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47230         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47231         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47232
47233 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47234
47235         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47236         instead of 0.
47237         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47238         instead of 0.
47239         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47240         Patch in part by Pavel Roskin <proski@gnu.org>.
47241
47242         [BZ #13138]
47243         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47244         realloc.
47245         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
47246         Free memory block if necessary.
47247
47248         [BZ #12847]
47249         * libio/genops.c (INTDEF): For string streams the _lock pointer can
47250         be NULL.  Don't lock in this case.
47251
47252 2011-09-09  Roland McGrath  <roland@hack.frob.com>
47253
47254         * elf/elf.h (ELFOSABI_GNU): New macro.
47255         (ELFOSABI_LINUX): Define to that.
47256
47257 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
47258
47259         * string/strncat.c (strncat): Undef the symbol in case it has been
47260         defined in bits/string.h.
47261
47262 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47263
47264         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47265
47266         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47267         link map.
47268
47269 2011-08-17  Andreas Jaeger  <aj@suse.de>
47270
47271         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47272
47273 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47274             Ian Lance Taylor  <iant@google.com>
47275
47276         * math/libm-test.inc (lround_test): New testcase.
47277         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47278
47279 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
47280
47281         * Makefile: Remove support for automatic cvs check-ins.
47282         * Makerules: Likewise.
47283         * config.make.in: Likewise.
47284         * configure.in: Likewise.
47285         * intl/Makefile: Likewise.
47286         * locale/Makefile: Likewise.
47287         * po/Makefile: Likewise.
47288         * posix/Makefile: Likewise.
47289         * sysdeps/gnu/Makefile: Likewise.
47290         * sysdeps/mach/hurd/Makefile: Likewise.
47291         * sysdeps/sparc/sparc32/Makefile: Likewise.
47292
47293         [BZ #13118]
47294         * posix/Makefile (bug-regex32-ENV): Define.
47295         Patch by John Stanley <jpsinthemix@verizon.net>.
47296
47297         * misc/Makefile (headers): Add bits/select2.h.
47298         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47299         * misc/bits/select2.h: New file.
47300         * include/bits/select2.h: New file.
47301         * debug/Makefile (routines): Add fdelt_chk.
47302         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47303         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47304         FD_ISSET.
47305         * debug/fdelt_chk.c: New file.
47306
47307         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
47308         * wcsmbs/test-wmemcmp.c: Likewise.
47309         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47310         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47311
47312 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47313
47314         * string/Makefile (strop-tests): Add memcmp.
47315         * string/test-wmemcmp.c: New file.
47316         * string/test-memcmp.c: Add wmemcmp support.
47317
47318 2011-09-08  Roland McGrath  <roland@hack.frob.com>
47319
47320         [BZ #13153]
47321         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47322         2011-07-19 change.
47323
47324         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47325         garbage value in a __mach_port_mod_refs call in the cases of the
47326         task-self and thread-self ports.
47327
47328 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47329
47330         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47331
47332 2011-09-08  Andreas Schwab  <schwab@redhat.com>
47333
47334         * elf/dl-load.c (lose): Check for non-null L.
47335
47336 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47337
47338         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47339
47340         * elf/dl-libc.c (dlerror_run): Pass back error code from
47341         dl_catch_error.
47342
47343         [BZ #13123]
47344         * elf/dl-load.c (lose): Free l_origin if it is valid.
47345
47346         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47347         names.
47348         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47349         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47350         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47351         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47352         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47353         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47354
47355 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47356
47357         * sysdeps/powerpc/fpu/e_hypot.c: New file.
47358         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47359         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47360         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47361         * sysdeps/powerpc/fpu/k_cosf.c: New file.
47362         * sysdeps/powerpc/fpu/k_sinf.c: New file.
47363         * sysdeps/powerpc/fpu/s_cosf.c: New file.
47364         * sysdeps/powerpc/fpu/s_sinf.c: New file.
47365         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47366         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47367
47368 2011-08-15  Alan Modra  <amodra@gmail.com>
47369
47370         [BZ #13092]
47371         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47372         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47373         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
47374         ppc_mcount to static-only-routines.
47375         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47376         __mcount_internal.
47377         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47378         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
47379
47380 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
47381
47382         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47383         for finite and infinity parameters.
47384
47385 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47386
47387         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47388         and add nop instructions for throughput optimization.
47389         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47390
47391 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
47392
47393         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47394         aligned copy for power7 with vector-scalar instructions.
47395         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47396
47397 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
47398
47399         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47400         AVX check.
47401
47402 2011-09-07  Andreas Schwab  <schwab@redhat.com>
47403
47404         [BZ #13144]
47405         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47406         last change.
47407
47408 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47409
47410         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47411         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47412         syscall wrapper around clock_gettime in __vdso_clock_gettime.
47413         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47414         clock_gettime.
47415
47416 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47417
47418         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47419         Forgot to demangle the pointer.
47420
47421         * sysdeps/i386/sysdep.h: Define atom_text_section.
47422         * sysdeps/x86_64/sysdep.h: Likewise.
47423         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47424         section with atom_text_section.
47425         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47426         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47427         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47428         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47429         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47430
47431         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47432         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47433         already be defined.  Change to take two parameters and don't assign
47434         result to variable.  Adjust all users.
47435         Define INTERNAL_GETTIME if not already defined.
47436         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47437         call.
47438         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47439         HAVE_CLOCK_GETTIME_VSYSCALL.
47440         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47441
47442         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47443         gettimeofday vsyscall, just use time.
47444
47445 2011-09-06  Andreas Schwab  <schwab@redhat.com>
47446
47447         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47448         <errno.h>.
47449
47450 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47451
47452         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47453         syscall on x86-64.
47454         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47455         syscall.
47456         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47457         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47458         syscall if possible.
47459
47460 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47461
47462         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47463         e_ident.  Don't pass to find_mapsXX.
47464         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47465
47466 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47467
47468         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47469         strchr-sse2-no-bsf strrchr-sse2-no-bsf
47470         * sysdeps/x86_64/multiarch/strchr.S: Update.
47471         Check bit_slow_BSF bit.
47472         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47473         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47474         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47475
47476 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47477
47478         [BZ #13134]
47479         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47480         before glibc 2.15.
47481         (tryshell): Define.
47482         (__spawni): Change last parameter to be flag.  Test
47483         SPAWN_XFLAGS_USE_PATH flag to use path or not.
47484         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47485         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47486         * posix/spawni.c: Likewise.
47487         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47488         * posix/spawnp.c: Likewise.  Change normal version to use
47489         SPAWN_XFLAGS_USE_PATH.
47490         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47491         SPAWN_XFLAGS_TRY_SHELL.
47492
47493         [BZ #13150]
47494         * posix/glob.h: Remove gcc 1.x support.
47495
47496         [BZ #13068]
47497         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47498
47499 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47500
47501         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47502         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47503         strrchr-sse2-bsf
47504         * sysdeps/i386/i686/multiarch/strchr.S: New file.
47505         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47506         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47507         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47508         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47509         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47510
47511 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47512
47513         * sysdeps/x86_64/wcscmp.S: New file.
47514
47515         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47516         wcscmp-c wcscmp-sse2
47517         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47518         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47519         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47520         * wcsmbs/wcscmp.c: Allow renaming.
47521
47522 2011-09-05  David S. Miller  <davem@davemloft.net>
47523
47524         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47525         stack slot, rather than the struct return pointer slot.
47526         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47527         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47529         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47530
47531 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47532
47533         * po/ja.po: Update from translation team.
47534
47535         [BZ #13144]
47536         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47537         kernel in 64-bit binaries.
47538
47539 2011-09-01  David S. Miller  <davem@davemloft.net>
47540
47541         * elf/elf.h (HWCAP_SPARC_*): Move to..
47542         * sysdeps/sparc/sysdep.h: this new file and add new values.
47543         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47544         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47545         _DL_HWCAP_COUNT to 24.
47546         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47547         entries.
47548         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47549         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47550         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47551         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47552         instead of magic constants.
47553         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47554
47555 2011-08-31  David S. Miller  <davem@davemloft.net>
47556
47557         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47558         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47559         Reimplement to do errno handling inline.
47560         (SYSCALL_ERROR_HANDLER): New macro.
47561         (__SYSCALL_STRING): Do not do errno handling in asm.
47562         (__CLONE_SYSCALL_STRING): Delete.
47563         (__INTERNAL_SYSCALL_STRING): Delete.
47564         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47565         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47566         (PSEUDO): Reimplement to do errno handling inline.
47567         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47568         (SYSCALL_ERROR_HANDLER): New macro.
47569         (__SYSCALL_STRING): Do not do errno handling in asm.
47570         (__CLONE_SYSCALL_STRING): Delete.
47571         (__INTERNAL_SYSCALL_STRING): Delete.
47572         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47573         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47574         i386.
47575         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47576         (inline_syscall*): Add 'err' argument.
47577         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47578         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47579         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47580         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47581
47582         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47583         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47584
47585 2011-08-30  Andreas Schwab  <schwab@redhat.com>
47586
47587         * elf/rtld.c (dl_main): Relocate objects in dependency order.
47588
47589 2011-08-29  Jiri Olsa <jolsa@redhat.com>
47590
47591         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47592         directive.
47593
47594 2011-08-24  David S. Miller  <davem@davemloft.net>
47595
47596         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47597
47598 2011-08-24  Andreas Schwab  <schwab@redhat.com>
47599
47600         * elf/Makefile: Add rules to build and run unload8 test.
47601         * elf/unload8.c: New file.
47602         * elf/unload8mod1.c: New file.
47603         * elf/unload8mod1x.c: New file.
47604         * elf/unload8mod2.c: New file.
47605         * elf/unload8mod3.c: New file.
47606
47607         * elf/dl-close.c (_dl_close_worker): Reset private search list if
47608         it wasn't used.
47609
47610 2011-08-23  David S. Miller  <davem@davemloft.net>
47611
47612         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47613         subtract stack bias.
47614         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47615         %sp not %fp in calculations.
47616         (_JMPBUF_UNWINDS_ADJ): Likewise.
47617
47618         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47619         (aio_suspend): Call it to force an exception region around the
47620         AIO_MISC_WAIT() invocation.
47621
47622 2011-08-23  Andreas Schwab  <schwab@redhat.com>
47623
47624         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47625         backslash.
47626
47627 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
47628
47629         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47630         protection macro.
47631         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47632         and <dl-machine.h>.
47633         (Elf64_FuncDesc): Remove.
47634
47635 2011-08-22  David S. Miller  <davem@davemloft.net>
47636
47637         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47638         sigaltstack check, add missing cfi directives.
47639         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47640         missing cfi directives, and sigaltstack handling.
47641
47642 2011-08-16  Andreas Schwab  <schwab@redhat.com>
47643
47644         [BZ #11724]
47645         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47646         object is seen twice.
47647         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47648
47649         * elf/Makefile (distribute): Add tst-initorder2.c.
47650         (tests): Add tst-initorder2.
47651         (modules-names): Add tst-initorder2a tst-initorder2b
47652         tst-initorder2c tst-initorder2d.  Add rules to build them.
47653         ($(objpfx)tst-initorder2.out): New rule.
47654         * elf/tst-initorder2.c: New file.
47655         * elf/tst-initorder2.exp: New file.
47656
47657 2011-08-22  Andreas Schwab  <schwab@redhat.com>
47658
47659         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47660
47661         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47662         dependencies back to end of function.
47663
47664         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47665         $(elfobjdir)/ld.so.
47666
47667 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
47668
47669         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47670         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47671         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47672         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47673         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47674         of __vdso_gettimeofday.
47675         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47676         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
47677         attribute_hidden.
47678         (_libc_vdso_platform_setup): Remove initialization of
47679         __vdso_gettimeofday and __vdso_time.
47680
47681 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
47682
47683         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47684         and fgetc_unlocked.
47685         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47686         getc_unlocked.
47687
47688         * elf/dl-open.c (add_to_global): Report additions to the global scope
47689         for LD_DEBUG=scopes.
47690         (dl_open_worker): Also print scope of newly loaded dependencies.
47691         (_dl_show_scope): Indicate if there is no scope.
47692
47693         [BZ #13114]
47694         * stdio-common/Makefile (tests): Add bug24.
47695         * stdio-common/bug24.c: New file.
47696
47697 2011-08-19  Andreas Jaeger  <aj@suse.de>
47698
47699         [BZ #13114]
47700         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47701         non-existant file when using close-on-exec mode.
47702
47703 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
47704
47705         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47706         the very first instruction.
47707
47708         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47709         the CFI state in the end.
47710         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47711         inclusion of dl-trampoline.h.
47712         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47713
47714 2011-08-19  Andreas Schwab  <schwab@redhat.com>
47715
47716         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47717         expectations for long double.
47718
47719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47720         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47721
47722 2011-08-14  David S. Miller  <davem@davemloft.net>
47723
47724         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47725         artificual limit depends upon the system page size.
47726
47727 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
47728
47729         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47730         * resolv/Makefile: Define CFLAGS-libresolv.
47731
47732 2011-08-17  Andreas Schwab  <schwab@redhat.com>
47733
47734         * nss/makedb.c (compute_tables): Make variables used in nested
47735         function static.
47736
47737 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
47738
47739         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47740         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47741         if buffer was too small.
47742
47743         * elf/pldd.c (main): Attach to all threads in the process.
47744         Rewrite /proc handling to use *at functions.
47745
47746 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
47747
47748         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47749         specifies first scope to show.
47750         (dl_open_worker): Update callers.  Move printing scope of new
47751         object to before the relocation.
47752         * elf/rtld.c (dl_main): Update _dl_show_scope call.
47753         * sysdeps/generic/ldsodefs.h: Update declaration.
47754
47755         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47756         string for the scope number.
47757
47758 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
47759
47760         * nscd/servicescache.c (cache_addserv): Make sure written is always
47761         initialized.
47762
47763 2011-08-14  Roland McGrath  <roland@hack.frob.com>
47764
47765         * sysdeps/i386/i486/bits/atomic.h
47766         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47767         statement expression, so as to suppress "set but not used" warning.
47768         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47769
47770         * string/strncat.c (STRNCAT): Use prototype definition.
47771
47772         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47773         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47774         -Iprograms here.
47775         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47776         (localedef-modules): Add localedef.
47777         (locale-modules): Add locale.
47778
47779         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47780         * elf/rtld.c (dl_main): Invert order of assignment in last change,
47781         to avoid a warning.
47782
47783 2011-08-14  David S. Miller  <davem@davemloft.net>
47784
47785         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47786         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47787
47788 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
47789
47790         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
47791         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47792         * elf/rtld.c (dl_main): Set l_name of vDSO.
47793         Call _dl_show_scope when DL_DEBUG_SCOPES.
47794         (process_dl_debug): Recognize scopes flag and also set it for all.
47795         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47796         Declare _dl_show_scope.
47797
47798         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47799         (do_dlopen): Pass caller_dlopen to dl_open.
47800         (__libc_dlopen_mode): Initialize caller_dlopen.
47801
47802         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47803         of libc.  Make tolower call locale-independent.  Optimize a bit by
47804         using isdigit instead of isalnum.
47805         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47806
47807 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
47808
47809         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47810         was a dependency or dynamically loaded.
47811
47812 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
47813
47814         * intl/l10nflist.c: Allow architecture-specific pop function.
47815         * sysdeps/x86_64/l10nflist.c: New file.
47816
47817         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47818         classification.
47819
47820 2011-08-10  Andreas Schwab  <schwab@redhat.com>
47821
47822         * include/dirent.h: Add libc_hidden_proto for scandirat and
47823         scandirat64.  Don't declare __scandirat64.
47824         * dirent/scandirat.c: Add libc_hidden_def.
47825         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47826         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47827
47828 2011-08-10  David S. Miller  <davem@davemloft.net>
47829
47830         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47831         enum.
47832         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47833         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47834         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47835
47836 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
47837
47838         * Versions.def [libc]: Add GLIBC_2.15.
47839         * dirent/Makefile (routines): Add scandirat and scandirat64.
47840         * dirent/Versions [libc]: Export scandirat and scandirat64 for
47841         GLIBC_2.15.
47842         * dirent/dirent.h: Declare scandirat and scandirat64.
47843         * dirent/scandirat.c: New file.
47844         * dirent/scandirat64.c: New file.
47845         * sysdeps/wordsize-64/scandirat.c: New file.
47846         * sysdeps/wordsize-64/scandirat64.c: New file.
47847         * dirent/opendir.c: Define opendirat.
47848         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
47849         using scandirat.
47850         * dirent/scandir64.c: Adjust for scandir.c change.
47851         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
47852         __scandirat64, and __scandir_cancel_handler.
47853         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
47854         additional parameter and use openat instead of open (outside of ld.so).
47855         Add new __opendir as wrapper around __opendirat.
47856         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47857         here without requiring old scandirat implementation.
47858
47859 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
47860
47861         * dirent/scandir.c (cancel_handler): Renamed to
47862         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
47863         defined.  Adjust users.
47864         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47865         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47866
47867 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
47868
47869         * string/test-string.h (IMPL): Use __STRING to expand name and then
47870         stringify it.
47871
47872         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
47873         of cleanups.
47874
47875 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47876
47877         * string/Makefile: Update.
47878         (strop-tests): Append strncat.
47879         * string/test-wcscmp.c: New file.
47880         New comprehensive test for wcscmp.
47881         * string/test-strcmp.c: Update.
47882         (WIDE): New define.
47883
47884 2011-07-22  Andreas Schwab  <schwab@redhat.com>
47885
47886         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47887         line.
47888
47889 2011-07-26  Andreas Schwab  <schwab@redhat.com>
47890
47891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47892         encoding to ACE if AI_IDN.
47893
47894 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
47895
47896         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47897         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47898
47899 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47900
47901         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47902         Fix overflow bug in strncat.
47903         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47904
47905         * string/test-strncat.c: Update.
47906         Add new tests for checking overflow bugs.
47907
47908 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47909
47910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47911         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47912         * sysdeps/i386/i686/multiarch/strcat.S: New file.
47913         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47914         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47915         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47916         * sysdeps/i386/i686/multiarch/strncat.S: New file.
47917         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47918         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47919
47920         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47921         (USE_AS_STRCAT): Define.
47922         Add strcat and strncat support.
47923         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47924
47925 2011-07-25  Andreas Schwab  <schwab@redhat.com>
47926
47927         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47928         __n bigger than INT_MAX+1.
47929         (__strncmp_g): Likewise.
47930
47931 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
47932
47933         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47934         * libio/stido.h: Likewise.
47935
47936         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47937         (AF_NFC): Define.
47938         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47939         (AF_NFC): Define.
47940
47941         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47942         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47943         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47944         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47945         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47946
47947         [BZ #13021]
47948         * scripts/test-installation.pl: Don't expect libnss_test1 to be
47949         installed.
47950
47951         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47952         typo.
47953         (_dl_x86_64_save_sse): Likewise.
47954
47955 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
47956
47957         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47958         OSXSAVE.
47959         (_dl_x86_64_save_sse): Likewise.
47960
47961         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47962
47963         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47964
47965 2011-07-21  Andreas Schwab  <schwab@redhat.com>
47966
47967         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47968         change.
47969         (_dl_x86_64_save_sse): Use correct AVX check.
47970
47971 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47972
47973         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47974         bug in strncpy/strncat.
47975         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47976
47977 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
47978
47979         * string/tester.c (test_strcat): Add tests for different alignments
47980         of source and destination.
47981         (test_strncat): Likewise.
47982
47983 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47984
47985         [BZ #12852]
47986         * posix/glob.c (glob): Check passed in values before using them in
47987         expressions to avoid some overflows.
47988         (glob_in_dir): Likewise.
47989
47990         [BZ #13007]
47991         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47992         check for AVX enablement so that we don't crash with old kernels and
47993         new hardware.
47994         * elf/tst-audit4.c: Add same checks here.
47995         * elf/tst-audit6.c: Likewise.
47996
47997         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47998
47999 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
48000
48001         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48002
48003 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48004
48005         * po/cs.po: Update from translation team.
48006         * po/bg.po: Likewise.
48007
48008 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
48009
48010         * misc/sys/cdefs.h: Add support for const attribute.
48011         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48012         to gnu_dev_{major,minor,makedev} functions.
48013
48014 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
48015
48016         * intl/dcigettext.c (get_output_charset): Add missing bracket.
48017
48018 2011-07-20  Andreas Schwab  <schwab@redhat.com>
48019
48020         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48021         strlen results.
48022
48023 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48024
48025         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48026         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48027         register in order to avoid conflicts with the soft frame pointer
48028         being held in r11 when necessary.
48029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48030         (INTERNAL_VSYSCALL_NCS): Likewise.
48031
48032 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
48033
48034         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48035         * elf/dl-fini.c (_dl_fini): Adjust caller.
48036         * elf/dl-close.c (_dl_close_worker): Likewise.
48037         * sysdeps/generic/ldsodefs.h: Adjust declaration.
48038
48039 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48040
48041         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48042         "aux_cache->nlibs < 0".
48043
48044         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48045         in the reload-count case.
48046
48047 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48048
48049         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48050         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48051         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48052         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48053         * sysdeps/x86_64/multiarch/strcat.S: New file.
48054         * sysdeps/x86_64/multiarch/strncat.S: New file.
48055         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48056         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48057         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48058         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48059         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48060         (USE_AS_STRCAT): Define.
48061         Add strcat and strncat support.
48062         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48063         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48064         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48065         * string/strncat.c: Update.
48066         (USE_AS_STRNCAT): Define.
48067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48068         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48069         and i7.
48070         * sysdeps/x86_64/multiarch/init-arch.h
48071         (bit_Prefer_PMINUB_for_stringop): New.
48072         (index_Prefer_PMINUB_for_stringop): Likewise.
48073         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48074         bit_Prefer_PMINUB_for_stringop.
48075
48076 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48077
48078         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48079         buffer64.
48080         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48081         of casting of buffer.
48082         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48083         buffer32 and buffer64.
48084         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48085         writes instead of casting of buffer.
48086         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48087         buffer32.
48088         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48089         casting of buffer.
48090
48091 2011-07-19  Andreas Schwab  <schwab@redhat.com>
48092
48093         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48094
48095 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48096
48097         * nscd/nscd.c (termination_handler): Don't do anything for a database
48098         if it has not yet been initialized.
48099
48100 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48101
48102         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48103
48104 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48105
48106         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48107
48108 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48109
48110         * po/nl.po: Update from translation team.
48111         * po/sv.po: Likewise.
48112
48113 2011-07-16  Roland McGrath  <roland@hack.frob.com>
48114
48115         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48116         now disallowed by GCC.
48117
48118         * configure.in (use-default-link): Default to yes if a test -shared
48119         link meets our qualifications.
48120         * configure: Regenerated.
48121
48122         * config.make.in (output-format): New variable.
48123         * configure.in: Check for ld --print-output-format support.
48124         * configure: Regenerated.
48125         * Makerules ($(common-objpfx)format.lds)
48126         [$(output-format) != unknown]: Just use $(output-format),
48127         instead of the linker-script munging.
48128
48129 2011-07-14  Roland McGrath  <roland@hack.frob.com>
48130
48131         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48132         of $(common-objpfx)shlib.lds.
48133         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48134
48135         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48136         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48137
48138         * configure.in (-z relro check): Adjust test code to add a large
48139         writable data section after it.
48140         * configure: Regenerated.
48141
48142 2011-07-11  Roland McGrath  <roland@hack.frob.com>
48143
48144         * configure.in (-z relro check): Fix test code to make the variable
48145         truly const.
48146         * configure: Regenerated.
48147
48148 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
48149
48150         * nscd/nscd.h (struct traced_file): Define.
48151         (struct database_dyn): Remove inotify_descr, reset_res, and filename
48152         elements.  Add traced_files.
48153         (inotify_fd): Declare.
48154         (register_traced_file): Declare.
48155         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48156         (inotify_fd): Export.
48157         (resolv_conf_descr): Remove.
48158         (nscd_init): Move inotify descriptor creation to main.
48159         Don't register files for notification here.
48160         (register_traced_file): New function.
48161         (invalidate_cache): Don't use reset_res to determine whether to call
48162         res_init, go through the list of registered files.
48163         (main_loop_poll): The inotify descriptors are now stored in the
48164         structures for the traced files.
48165         (main_loop_epoll): Likewise
48166         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
48167         to __nss_disable_nscd.
48168         * nscd/cache.c (prune_cache): There is no single inotify descriptor
48169         for a database anymore.  Check the records for all the registered
48170         files instead.
48171         * nss/Makefile (libnss_files-routines): Add files-init.
48172         (libnss_db-routines): Add db-init.
48173         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48174         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48175         * nss/nss_db/db-init.c: New file.
48176         * nss/nss_files/files-init.c: New file.
48177         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
48178         __nss_lookup_function.
48179         (__nss_lookup_function): Call nss_load_library.
48180         (nss_load_all_libraries): New function.
48181         (__nss_disable_nscd): Take parameter with callback function for files
48182         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
48183         used for the cached services.
48184         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48185         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48186         options for features to all the files in nscd.
48187
48188         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48189
48190 2011-07-10  Roland McGrath  <roland@hack.frob.com>
48191
48192         * csu/elf-init.c (__libc_csu_init): Comment typo.
48193
48194 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
48195
48196         * po/pl.po: Update from translation team.
48197         * po/ja.po: Likewise.
48198         * po/ru.po: Likewise.
48199         * po/ko.po: Likewise.
48200         * po/fr.po: Likewise.
48201
48202 2011-07-09  Roland McGrath  <roland@hack.frob.com>
48203
48204         * configure.in (.ctors/.dtors header and trailer check):
48205         Use an empirical test on a built program.
48206         * configure: Regenerated.
48207
48208         * configure.in (-z relro check): Use an empirical test on a built DSO.
48209         Detect, but do not require, on ia64.
48210         * configure: Regenerated.
48211
48212         * configure.in (READELF): Find it with AC_CHECK_TOOL.
48213         Update tests that use readelf to use $READELF instead.
48214         * configure: Regenerated.
48215
48216 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
48217
48218         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48219         if the result is not used.
48220
48221 2011-07-05  Andreas Jaeger  <aj@suse.de>
48222
48223         [BZ#9696]
48224         * stdlib/tst-strtod.c: Add testcase.
48225
48226 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
48227
48228         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48229         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48230         The latter has a higher limit.  Take additional parameter to pass to
48231         the new function.
48232         (__pathconf): Pass file to __statfs_link_max.
48233         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48234         __statfs_link_max.
48235         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48236         __statfs_link_max.
48237
48238         [BZ #12868]
48239         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48240         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48241         Handle Lustre.
48242         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48243         (__statfs_filesize_max): Likewise.
48244         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48245
48246 2011-07-05  Andreas Jaeger  <aj@suse.de>
48247
48248         * resolv/res_comp.c (dn_skipname): Remove unused variable.
48249
48250 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
48251
48252         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48253         `status' variable.
48254         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48255         Likewise.
48256
48257 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
48258
48259         * Makefile (strop-tests): Add strncat.
48260         * string/test-strncat.c: New file.
48261
48262 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
48263
48264         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48265
48266 2011-06-21  Andreas Jaeger  <aj@suse.de>
48267
48268         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48269         Copy rule from iconvdata/Makefile.
48270
48271 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48272
48273         [BZ #12922]
48274         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48275         but no long options are defined, just return 'W'.
48276
48277 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
48278
48279         [BZ #9696]
48280         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48281
48282 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48283
48284         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48285         netgroups to read.
48286         (innetgr): Likewise.
48287
48288 2011-07-05  Roland McGrath  <roland@hack.frob.com>
48289
48290         * config.make.in (install_root): Default to $(DESTDIR).
48291
48292 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
48293
48294         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48295
48296 2011-07-02  Roland McGrath  <roland@hack.frob.com>
48297
48298         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48299
48300         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48301         containing directory rather than embedding absolute directory names.
48302
48303         * scripts/check-local-headers.sh: Rewritten using awk.
48304         Match by word, not by line.  Print error messages for matches.
48305         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48306
48307         * Makerules [shlib-lds-flags empty]:
48308         ($(common-objpfx)libc_pic.opts): New target.
48309         ($(common-objpfx)libc_pic.os.clean): New target.
48310         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48311
48312         * config.make.in (OBJCOPY): New variable.
48313         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48314         * configure: Regenerated.
48315
48316         * config.make.in (use-default-link): New variable.
48317         * configure.in (use_default_link): Grok --with-default-link to set it.
48318         * configure: Regenerated.
48319         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48320         (shlib-lds, shlib-lds-flags): Define to empty.
48321
48322         * Makerules (shlib-lds): New variable.
48323         (shlib-lds-flags): New variable.
48324         (build-shlib, build-moduile, build-module-asneeded): Use it.
48325         ($(common-objpfx)libc.so): Use $(shlib-lds).
48326         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48327         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48328
48329         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48330         DT_FLAGS/DT_FLAGS_1 with zero flags.
48331
48332         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48333         linker script munging.
48334
48335 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
48336
48337         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48338         as 128-bit value.
48339         * crypt/sha512.c (sha512_process_block): Perform total addition using
48340         128-bit if possible.
48341         (__sha512_finish_ctx): Likewise.
48342         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48343         as 64-bit value.
48344         * crypt/sha256.c (SWAP64): Define.
48345         (sha256_process_block): Perform total addition using 64-bit if
48346         possible.
48347         (__sha256_finish_ctx): Likewise.
48348
48349 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
48350
48351         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
48352         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48353         * nscd/hstcache.c (cache_addhst): Likewise.
48354         * nscd/grpcache.c (cache_addgr): Likewise.
48355         * nscd/aicache.c (addhstaiX): Likewise
48356         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48357
48358 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
48359
48360         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48361         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48362         * nscd/hstcache.c (cache_addhst): Likewise.
48363         * nscd/grpcache.c (cache_addgr): Likewise.
48364         * nscd/aicache.c (addhstaiX): Likewise
48365
48366 2011-07-01  Andreas Schwab  <schwab@redhat.com>
48367
48368         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48369         domain only when needed.
48370
48371 2011-06-30  Andreas Schwab  <schwab@redhat.com>
48372
48373         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48374         is always restored.
48375
48376 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
48377
48378         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48379         are re-adding the entry.
48380         * nscd/servicescache.c (cache_addserv): Likewise.
48381
48382 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
48383
48384         * sysdeps/generic/dl-irel.h: fix protection against multiple
48385         inclusions.
48386         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48387
48388 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
48389
48390         [BZ #12935]
48391         * malloc/memusage.sh: Fix quoting in message.
48392         * debug/xtrace.sh: Likewise.
48393
48394         * configure.in: Remove support for --experimental-malloc option, make
48395         it the default.
48396         * config.make.in: Likewise.
48397         * malloc/Makefile: Likewise.
48398
48399 2011-06-27  Andreas Schwab  <schwab@redhat.com>
48400
48401         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48402         two-byte characters.
48403
48404 2011-06-27  Roland McGrath  <roland@hack.frob.com>
48405
48406         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48407         AC_CACHE_CHECK invocation.
48408         * configure: Regenerated.
48409
48410         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48411
48412 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
48413
48414         [BZ #12350]
48415         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
48416         bit from old_res_options.
48417
48418         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48419
48420         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48421         value type for setfct.
48422
48423 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
48424
48425         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48426         __gettimeofday instead of gettimeofday.
48427
48428 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
48429
48430         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48431
48432 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
48433
48434         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48435
48436         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48437         info.
48438
48439 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48440
48441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48442         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48443         strcpy-sse2-unaligned strncpy-sse2-unaligned
48444         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48445         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48446         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48447         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48448         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48449         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48450         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48451         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48452         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48453         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48454         (STRCPY): Support SSE2 and SSSE3 versions.
48455
48456 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
48457
48458         [BZ #12874]
48459         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48460         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48461         kernels which artificially limit size of requests.
48462
48463 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48464
48465         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48466         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48467         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48468         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48469         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48470         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48471         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48472         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48473         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48474         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48475         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48476         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48477         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48478         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48479         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48481         Enable unaligned load optimization for Intel Core i3, i5 and i7
48482         processors.
48483         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48484         Define.
48485         (index_Fast_Unaligned_Load): Define.
48486         (HAS_FAST_UNALIGNED_LOAD): Define.
48487
48488 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
48489
48490         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48491
48492 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48493
48494         [BZ #12907]
48495         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48496         until it is clear that the information is realy needed.
48497         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48498
48499 2011-06-22  Andreas Schwab  <schwab@redhat.com>
48500
48501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48502
48503 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48504
48505         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48506         /sys/devices/system/cpu/online if it is usable.
48507
48508         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48509         reading the information from the /proc filesystem to once a second.
48510
48511 2011-06-21  Andreas Jaeger  <aj@suse.de>
48512
48513         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48514         NULL after inclusion of kernel headers.
48515
48516 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
48517
48518         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48519         calls to internal_setent.
48520
48521         [BZ #12885]
48522         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48523         addresses using gethostbyname4_r ignore IPv4 addresses.
48524
48525         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48526         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
48527
48528         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48529
48530 2011-06-20  David S. Miller  <davem@davemloft.net>
48531
48532         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48533         inclusions.
48534         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48535
48536         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48537         (elf_irel): Use it.
48538         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48539         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48540         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48541         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48542         * sysdeps/x86_64/dl-irel.h: Likewise.
48543
48544         * elf/dl-runtime.c: Use elf_ifunc_invoke.
48545         * elf/dl-sym.c: Likewise.
48546
48547 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48548
48549         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
48550         need to dereference resplen2.
48551
48552 2011-06-14  Andreas Schwab  <schwab@redhat.com>
48553
48554         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48555
48556 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48557
48558         * Makeconfig: Define vardbdir and inst_vardbdir.
48559         * nss/Makefile: Add rules to install db-Makefile.
48560
48561         * nss/nss_db/db-XXX.c: Cleanup.
48562
48563         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48564         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48565         GLIBC_PRIVATE.
48566         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48567         * nss/makedb.c: Implement -g option to specify that value strings
48568         are generated and should not be added to table iterated over for
48569         get*ent calls.
48570         * nss/nss_db/db-initgroups.c: New file.
48571
48572         * nss/getent.c: Add support for initgroups lookups through getgrouplist
48573         interface.
48574
48575         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48576         (internal_getgrouplist): Adjust to name change.
48577         Update use_initgroups_entry if this is not the first call.
48578         * nss/databases.def: Add initgroups entry.
48579
48580         * nss/makedb.c (compute_tables): Check result of multiple hash table
48581         sizes to minimize maximum chain length.
48582
48583 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
48584
48585         * Versions.def: Add entry for libnss_db.
48586         * shlib-versions: Likewise.
48587         * nss/Makefile: Add rules to build libnss_db.
48588         * nss/Versions: Add libnss_db information.  Organize libnss_files
48589         entries better.
48590         * nss/db-Makefile: Add gshadow support.  Change rules for the new
48591         makedb progra.  Some minor improvements to generate smaller files.
48592         * nss/nss_db/nss_db.h: Move NSS database header data structures to
48593         here from...
48594         * nss/makedb.c: ...here.
48595         Improve database format to be smaller and require less memory at
48596         runtime.
48597         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
48598         db anymore.
48599         * nss/nss_db/db-netgrp.c: Likewise.
48600         * nss/nss_db/db-open.c: Likewise.
48601         * nss/nss_files/flies-XXX.x: Adjust comments.
48602         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48603         * nss/nss_files/files-grp.c: Likewise.
48604         * nss/nss_files/files-hosts.c: Likewise.
48605         * nss/nss_files/files-network.c: Likewise.
48606         * nss/nss_files/files-proto.c: Likewise.
48607         * nss/nss_files/files-pwd.c: Likewise.
48608         * nss/nss_files/files-rpc.c: Likewise.
48609         * nss/nss_files/files-service.c: Likewise.
48610         * nss/nss_files/files-sgrp.c: Likewise.
48611         * nss/nss_files/files-spwd.c: Likewise.
48612         * nss/nss_db/db-alias.c: Removed.
48613         * nss/nss_db/dummy-db.h: Removed.
48614
48615 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
48616
48617         * nss/makedb.c: Rewritten to not use database library.
48618         * nss/Makefile: Update to build new makedb program.
48619
48620 2011-06-14  Andreas Jaeger  <aj@suse.de>
48621
48622         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48623         memset declaration.
48624
48625 2011-06-10  Andreas Schwab  <schwab@redhat.com>
48626
48627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48628         tmpbuf.
48629
48630 2011-06-10  Roland McGrath  <roland@hack.frob.com>
48631
48632         * Makerules (shlib.lds): Fail if the linker script comes out empty.
48633         * elf/Makefile ($(objpfx)ld.so): Likewise.
48634
48635         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48636         Don't list ld.so twice in dependencies.
48637
48638         * posix/bug-regex31.c: Include <stdlib.h>.
48639
48640         * nscd/hstcache.c (cache_addhst): Remove unused variable.
48641
48642         * nis/nss_compat/compat-spwd.c
48643         (getspent_next_nss_netgr): Remove unused variable.
48644         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48645
48646         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48647         nonmembers" output to use the right array.
48648
48649         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48650
48651         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48652
48653         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48654         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48655         * catgets/gencat.c (read_input_file): Likewise.
48656         * locale/programs/locarchive.c (enlarge_archive): Likewise.
48657
48658         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48659         variable definition inside #if's controlling its use.
48660
48661         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48662
48663         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48664
48665         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48666
48667         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48668         unreachable code.
48669
48670         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48671
48672         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48673         * configure: Regenerated.
48674
48675         * Makerules: Revert last change.
48676         * elf/Makefile: Likewise.
48677
48678 2011-06-09  Roland McGrath  <roland@hack.frob.com>
48679
48680         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48681         * elf/Makefile ($(objpfx)librtld.os): Likewise.
48682         (reloc-link): Likewise.
48683
48684 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
48685
48686         * elf/Makefile: Add rules to build pldd.
48687         * elf/pldd.c: New file.
48688         * elf/pldd-xx.c: New file.
48689
48690 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
48691
48692         * version.h: Update for 2.15 development version.
48693
48694 2011-06-07  David S. Miller  <davem@davemloft.net>
48695
48696         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48697         ifuncs.
48698         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48699         elf_machine_lazy_rel): Likewise.
48700         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48701         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48702         elf_machine_lazy_rel): Likewise.
48703         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48704         dl_hwcap via passed in argument.
48705         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48706         Likewise.
48707
48708 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48709
48710         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
48711
48712 2011-06-06  Roland McGrath  <roland@hack.frob.com>
48713
48714         [BZ #12849]
48715         * manual/fdl-1.1.texi: New file, verbatim from:
48716         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48717         * manual/lgpl-2.1.texi: New file, verbatim from:
48718         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48719         * manual/Makefile (licenses): New variable, list those new file names.
48720         (texis): Use it.
48721         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48722
48723         * manual/fdl.texi: File removed.
48724         * manual/lesser.texi: File removed.
48725         * manual/libc.texinfo (Copying, Documentation License):
48726         Use new @include file names, put @appendix directive before @include.
48727
48728 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
48729
48730         [BZ #12841]
48731         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48732         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48733         (mq_open): Add __NTH.
48734
48735 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
48736
48737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48738         Assume Intel Core i3/i5/i7 processor if AVX is available.
48739
48740 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
48741
48742         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48743         typo.
48744
48745 2011-05-31  Andreas Schwab  <schwab@redhat.com>
48746
48747         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48748         memory.  Use alloca_account.  Fix memory leak when retrying.
48749
48750 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
48751
48752         * version.h (RELEASE): Bump for 2.14 release.
48753         * include/features.h (__GLIBC_MINOR__): Bump to 14.
48754
48755         * config.make.in (RANLIB): Remove entry.
48756
48757 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
48758
48759         * po/Makefile (po-sed-cmd): Add ksh to extensions.
48760         (libc.pot): Work around missing support for .ksh extension in xgettext.
48761
48762         [BZ #12684]
48763         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48764         if both request failed.
48765         (send_dg): In case of server errors clear resplen or *resplen2.
48766
48767         [BZ #12454]
48768         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48769         when there are multiple maps.
48770         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48771         (_dl_fini): Remove test here.
48772
48773         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48774
48775 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
48776
48777         [BZ #12350]
48778         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48779         bit from old_res_options.
48780         (gaih_inet): Likewise.
48781
48782         [BZ #11099]
48783         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
48784         as signed.
48785
48786         * resolv/res_init.c (res_setoptions): Make the code more compact.
48787
48788         [BZ #11558]
48789         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48790         set RES_USEVC.
48791
48792         [BZ #11634]
48793         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48794
48795         * malloc/malloc.h: Mark malloc hook variables as deprecated.
48796
48797         [BZ #11781]
48798         * malloc/malloc.h: Declare malloc hook variables as volatile.
48799
48800         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48801         in last patch.
48802
48803         [BZ #11799]
48804         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
48805         raise in the comment.
48806         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48807         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48808         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
48809
48810 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
48811
48812         [BZ #12811]
48813         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48814         grow the buffers more if it already has to be sufficient.
48815         (build_wcs_upper_buffer): Likewise.
48816         * posix/regexec.c (check_matching): Likewise.
48817         (clean_state_log_if_needed): Likewise.
48818         (extend_buffers): Don't enlarge buffers beyond size of the input
48819         buffer.
48820         Patches mostly by Emil Wojak <emil@wojak.eu>.
48821         * posix/bug-regex32.c: New file.
48822         * posix/Makefile (tests): Add bug-regex32.
48823
48824         * locale/findlocale.c (_nl_find_locale): Return right away if
48825         _nl_explode_name failed.
48826         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48827
48828         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48829
48830         * debug/xtrace.sh: Unify messages.
48831         * malloc/memusage.sh: Likewise.
48832
48833         [BZ #12813]
48834         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48835         time symbol from vDSO.  Substitute with vsyscall if not available.
48836         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48837         __vdso_time.
48838
48839         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48840         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48841         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48842         Add sendmmsg and internal_sendmmsg.
48843         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48844         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48845         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48846
48847         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48848         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48849         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48850
48851 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
48852
48853         [BZ #12813]
48854         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48855         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
48856         available.
48857         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48858         __vdso_getcpu.
48859
48860         [BZ #12814]
48861         * iconvdata/Makefile (tests): Add bug-iconv9.
48862         * iconvdata/bug-iconv9.c: New file.
48863
48864 2011-05-27  Andreas Schwab  <schwab@redhat.com>
48865
48866         [BZ #12814]
48867         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48868
48869 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
48870
48871         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48872         (struct user_regs_struct): Change intcs field back to cs.
48873
48874 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
48875
48876         * po/ja.po: Update from translation team.
48877
48878 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
48879
48880         [BZ #12795]
48881         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48882         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48883
48884 2011-05-20  Andreas Schwab  <schwab@redhat.com>
48885
48886         * stdlib/longlong.h: Update from GCC.
48887
48888 2011-05-23  Andreas Schwab  <schwab@redhat.com>
48889
48890         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48891         parameter name.
48892         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48893         Add parameter name.
48894         (__sysconf): Pass it down.
48895
48896 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
48897
48898         [BZ #12671]
48899         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48900         some situations.
48901         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48902         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48903         add in in __libc_use_alloca calls.  Adjust callers.
48904         (glob): Use malloc in some situations.
48905
48906         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48907         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48908         pltexit.
48909
48910 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
48911
48912         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48913         and CLOCK_BOOTTIME_ALARM.
48914
48915         [BZ #12782]
48916         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48917         is returned.
48918
48919         * string/_strerror.c (__strerror_r): Print negative errors as signed
48920         numbers.
48921
48922         [BZ #12777]
48923         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48924         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48925         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48926
48927         * configure.in: Fix typo in redirection and correct removal of test
48928         files in two cases.
48929
48930         [BZ #12788]
48931         * locale/setlocale.c (new_composite_name): Fix test to check for
48932         identical name of all categories.
48933
48934         [BZ #12792]
48935         * libio/filedoalloc.c (local_isatty): New function.
48936         (_IO_file_doallocate): Use local_isatty.
48937         * stdio-common/perror.c (perror): In case a new stream is used
48938         forward the stream error.
48939         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48940         error flag.
48941
48942 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
48943
48944         [BZ #11869]
48945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48946         alloca.
48947         * include/alloca.h (extend_alloca_account): Define.
48948
48949         [BZ #11857]
48950         * posix/regex.h: Fix comments with documentation of user-accessible
48951         fields after compilation and describe correct free'ing of pattern
48952         after re_compile_pattern.
48953         Patch by Reuben Thomas <rrt@sc3d.org>.
48954
48955 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
48956
48957         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48958         and -mno-altivec to prevent the compiler from using Altivec and/or
48959         VSX instructions when the corresponding registers are not available.
48960
48961 2011-05-19  Andreas Schwab  <schwab@redhat.com>
48962
48963         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48964
48965 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
48966
48967         * libio/freopen.c (freopen): Use __dup2, not dup2.
48968         * libio/freopen64.c (freopen64): Likewise.
48969
48970 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48971
48972         [BZ #12775]
48973         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48974         * math/Makefile (tests): Add test-powl.
48975         (CFLAGS-test-powl.c): Define.
48976         * math/test-powl.c: New file.
48977
48978 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48979
48980         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48981
48982 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
48983
48984         [BZ #11837]
48985         * iconvdata/gb18030.c: Update to GB18020-2005.
48986
48987 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
48988
48989         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48990         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48991         Patch by Aharon Robbins <arnold@skeeve.com>.
48992
48993         [BZ #11892]
48994         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48995         on the stack.
48996
48997         [BZ #11895]
48998         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48999         through underflows.
49000
49001         [BZ #12766]
49002         * misc/error.c (error_at_line): Ensure file_name and old_file_name
49003         point to strings before performing equality test for error_one_per_line
49004         mode.
49005
49006         [BZ #11697]
49007         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49008
49009         [BZ #11820]
49010         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49011         (struct user_fpregs_struct): Avoid __uint*_t types.
49012
49013         [BZ #6420]
49014         * malloc/mtrace.c (tr_where): Add additional parameter to point to
49015         symbol info.  Use it instead of calling _dl_addr locally.
49016         (lock_and_info): New function.
49017         (tr_freehook): Call lock_and_info and pass symbol info as additional
49018         parameter to tr_where.
49019         (tr_mallochook): Likewise.
49020         (tr_reallochook): Likewise.
49021         (tr_memalignhook): Likewise.
49022
49023         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
49024         used and couldn't be at all thread-safe.
49025
49026 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
49027
49028         * libio/freopen.c (freopen): Don't close old file descriptor
49029         before the new one is opened.  Instead dup the new file descriptor
49030         to the old one after the new stream is created.
49031         * libio/freopen64.c (freopen64): Likewise.
49032         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49033         * libio/fileops.c (_IO_new_file_close_it): Handle new
49034         _IO_FLAGS2_NOCLOSE flag.
49035         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49036         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49037         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49038         _IO_FLAGS2_NOCLOSE flag.
49039         * include/unistd.h: Add hidden_proto for dup3.
49040         Define __have_dup3.
49041         * io/dup3.c: Define hidden symbol.
49042         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49043
49044         [BZ #7101]
49045         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49046         when an incomplete long option is used.
49047         * posix/tst-getopt_long1.c: New file.
49048         * posix/Makefile (tests): Add tst-getopt_long1.
49049
49050         [BZ #10138]
49051         * scripts/config.guess: Update from autoconf-2.68.
49052         * scripts/config.sub: Likewise.
49053
49054         [BZ #10157]
49055         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49056         tests into ...
49057         (has_cpuclock): ...this.  New function.
49058         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49059         macro here based on has_cpuclock code.
49060
49061         [BZ #10149]
49062         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49063         First byte (not low byte) is now always NUL.
49064         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49065
49066         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49067         Use non-cancelable interfaces.
49068
49069         [BZ #9809]
49070         * locale/iso-639.def: Add entry for Sorani.
49071
49072         [BZ #11901]
49073         * include/stdlib.h: Move include protection to the right place.
49074         Define abort_msg_s.  Declare __abort_msg with it.
49075         * stdlib/abort.c (__abort_msg): Adjust type.
49076         * assert/assert.c (__assert_fail_base): New function.  Majority
49077         of code from __assert_fail.  Allocate memory for __abort_msg with
49078         mmap.
49079         (__assert_fail): Now call __assert_fail_base.
49080         * assert/assert-perr.c: Remove bulk of implementation.  Use
49081         __assert_fail_base.
49082         * include/assert.hL Declare __assert_fail_base.
49083         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49084         mmap.
49085         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49086
49087 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
49088
49089         [BZ #11952]
49090         [BZ #12453]
49091         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49092         until all modules are registered in the DTV.
49093         * elf/Makefile: Add rules to build and run tst-tls19.
49094         * elf/tst-tls19.c: New file.
49095         * elf/tst-tls19mod1.c: New file.
49096         * elf/tst-tls19mod2.c: New file.
49097         * elf/tst-tls19mod3.c: New file.
49098         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49099
49100         [BZ #12083]
49101         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49102         correctly.
49103
49104         [BZ #12601]
49105         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49106         two-byte sequence errors.
49107         * iconvdata/Makefile (tests): Add bug-iconv8.
49108         * iconvdata/bug-iconv8.c: New file.
49109
49110         [BZ #12626]
49111         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49112         buf2 definition.
49113
49114         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49115
49116         [BZ #12432]
49117         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49118         (dummy_getcfa): New function.
49119         (init): Get _Unwind_GetCFA address, use dummy if not found.
49120         (backtrace_helper): In recursion check, also check whether CFA changes.
49121         (__backtrace): Completely initialize arg.
49122
49123         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49124         storing incomplete byte sequence in state object.  Avoid testing for
49125         guaranteed too small input if we know there is enough data available.
49126
49127 2011-05-11  Andreas Schwab  <schwab@redhat.com>
49128
49129         * Makeconfig (+link-pie): Indent.
49130         * Rules (binaries-pie): Define if $(have-fpie) and
49131         $(build-shared).
49132         (binaries-shared): Also filter out $(binaries-pie).
49133         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49134         * nscd/Makefile (others-pie): Add nscd.
49135         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49136         ($(objpfx)nscd): Remove command override.
49137         * login/Makefile (others-pie): Add pt_chown.
49138         ($(objpfx)pt_chown): Remove command override.
49139         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49140         remove command overrides.
49141
49142 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
49143
49144         * libio/tst_putwc.c: Fix error messages.
49145
49146         [BZ #12724]
49147         * libio/fileops.c (_IO_new_file_close_it): Always flush when
49148         currently writing and seek to current position when not.
49149         * libio/Makefile (tests): Add bug-fclose1.
49150         * libio/bug-fclose1.c: New file.
49151
49152 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
49153
49154         [BZ #12511]
49155         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49156         don't set DF_1_NODELETE here.
49157         (do_lookup_x): When entering new entry test for copy relocation
49158         and if necessary set DF_1_NODELETE flag.
49159         * elf/tst-unique4.cc: New file.
49160         * elf/tst-unique4.h: New file.
49161         * elf/tst-unique4lib.cc: New file.
49162         * elf/Makefile: Add rules to build and run tst-unique4.
49163         Patch by Piotr Bury <pbury@goahead.com>.
49164
49165 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
49166
49167         [BZ #12052]
49168         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49169
49170         [BZ #12625]
49171         * misc/mntent_r.c (addmntent): Flush the stream after the output
49172
49173         [BZ #12393]
49174         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49175         (is_trusted_path_normalize): Skip initial colon.  Append slash
49176         to empty buffer.  Duplicate is_trusted_path code but allow
49177         constructed patch to be prefix.
49178         (is_dst): Allow $ORIGIN followed by /.
49179         (_dl_dst_substitute): Correct clearing of check_for_trusted.
49180         Correct testing of result of is_trusted_path_normalize
49181         (decompose_rpath): Fix warning.
49182
49183 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
49184
49185         [BZ #11257]
49186         * grp/initgroups.c (internal_getgrouplist): When we found the service
49187         list through the initgroups entry in nsswitch.conf do not always
49188         continue on a successful lookup.  Don't always use the
49189         __nss_group_database value if it is set.
49190         * nss/nsswitch.conf (initgroups): Change action for successful db
49191         lookup to continue for compatibility.
49192
49193 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
49194
49195         [BZ #11532]
49196         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49197         and CP774 modules.
49198         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49199         and CP774 modules.
49200         * iconvdata/tst-tables.sh: Likewise.
49201         * iconvdata/cp770.c: New file.
49202         * iconvdata/cp771.c: New file.
49203         * iconvdata/cp772.c: New file.
49204         * iconvdata/cp773.c: New file.
49205         * iconvdata/cp774.c: New file.
49206         * iconvdata/testdata/CP770: New file.
49207         * iconvdata/testdata/CP770..UTF8: New file.
49208         * iconvdata/testdata/CP771: New file.
49209         * iconvdata/testdata/CP771..UTF8: New file.
49210         * iconvdata/testdata/CP772: New file.
49211         * iconvdata/testdata/CP772..UTF8: New file.
49212         * iconvdata/testdata/CP773: New file.
49213         * iconvdata/testdata/CP773..UTF8: New file.
49214         * iconvdata/testdata/CP774: New file.
49215         * iconvdata/testdata/CP774..UTF8: New file.
49216
49217         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49218         END CHARMAP line.
49219         * iconvdata/gen-8bit-gap.sh: Likewise.
49220         * iconvdata/gen-8bit.sh: Likewise.
49221
49222         * locale/iso-639.def: Add ary entry.
49223
49224         [BZ #11258]
49225         * locale/C-translit.h.in: Add U20A1 transliteration.
49226
49227         [BZ #12178]
49228         * locale/iso-639.def: Add wae entry.
49229         Patch by Kevin Bortis <bortis@translate-wae.ch>.
49230
49231         [BZ #12545]
49232         * locale/programs/localedef.c (construct_output_path): Use ssize_t
49233         for n.
49234
49235         [BZ #12711]
49236         * locale/C-translit.h.in: Add entry for U20B9.
49237         Patch by pravin.d.s@gmail.com.
49238
49239 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
49240
49241         [BZ #12713]
49242         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49243         ENAMETOOLONG use generic getcwd.
49244         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
49245         in rtld.  Use *stat64.
49246         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49247         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49248         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49249         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49250         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49251         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49252         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49253         __fstatat64 macros.
49254         * include/dirent.h: Add libc_hidden_proto for rewinddir.
49255         * dirent/rewinddir.c: Add libc_hidden_def.
49256         * sysdeps/mach/hurd/rewinddir.c: Likewise.
49257         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
49258
49259         * include/dirent.h (__alloc_dir): Add flags parameter.
49260         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49261         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49262         __alloc_dir.
49263         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
49264         from fdopendir if O_CLOEXEC is already set.
49265
49266 2011-03-15  Alan Modra  <amodra@gmail.com>
49267
49268         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49269         l_tls_firstbyte_offset non-zero.  Save padding offset in
49270         l_tls_firstbyte_offset for later use.
49271         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49272         freeing static tls block.
49273
49274 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
49275
49276         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49277         where #ifdef was intended.  The intent is to prevent ARG_MAX from
49278         being defined by the kernel headers.
49279
49280 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
49281
49282         [BZ #12734]
49283         * resolv/resolv.h: Define RES_NOTLDQUERY.
49284         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49285         no-tld-query and set RES_NOTLDQUERY.
49286         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49287         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49288         modern BIND to search name as TLD unless forbidden.
49289
49290 2011-05-07  Petr Baudis  <pasky@suse.cz>
49291             Ulrich Drepper  <drepper@gmail.com>
49292
49293         [BZ #12393]
49294         * elf/dl-load.c (fillin_rpath): Move trusted path check...
49295         (is_trusted_path): ...to here.
49296         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49297         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49298         using is_trusted_path_normalize() in setuid scripts.
49299
49300 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49301
49302         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49303         __BEGIN/__END_DECLS.
49304
49305 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
49306
49307         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49308         NSS_STATUS_NOTFOUND if no record was found.
49309
49310 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49311
49312         * sunrpc/Makefile (headers): Add rpc/netdb.h.
49313         (headers-not-in-tirpc): Remove rpc/netdb.h
49314         * resolv/netdb.h: Revert last change.
49315
49316 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49317
49318         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49319         circular dependency between libgcc.a and libc.a.
49320
49321 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49322
49323         * resolv/netdb.h: Don't include <rpc/netdb.h>.
49324         * nis/Makefile: Don't install rpcsvc/*.
49325         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49326         instead of <rpc/types.h>.
49327         (MAXHOSTNAMELEN): Define.
49328
49329 2011-05-03  Andreas Schwab  <schwab@redhat.com>
49330
49331         * elf/ldconfig.c (add_dir): Don't crash on empty path.
49332
49333 2011-04-28  Maciej Babinski  <mbabinski@google.com>
49334
49335         [BZ #12714]
49336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49337         gethostbyname4_r when IPv6 results are possible.
49338
49339 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
49340
49341         [BZ #12723]
49342         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49343         _PC_PIPE_BUF handling.
49344
49345 2011-04-30  Bruno Haible  <bruno@clisp.org>
49346
49347         [BZ #12717]
49348         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49349         * resolv/netdb.h (getnameinfo): Change type of flags parameter
49350         to 'int'.
49351         * inet/getnameinfo.c (getnameinfo): Likewise.
49352
49353 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
49354
49355         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49356         to groups setting in database lookup.
49357         * nss/nsswitch.conf: Add initgroups entry.
49358
49359 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
49360
49361         [BZ #12685]
49362         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49363         mode string.
49364         Patch by Eric Blake <eblake@redhat.com>.
49365
49366 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
49367
49368         * sunrpc/Makefile (need-export-routines): Add svc_run.
49369         (routines): Remove svc_run.
49370         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49371         * sunrpc/clnt_perr.c (clnt_perrno): Export.
49372         * sunrpc/svc_run.c (svc_run): Likewise.
49373         * sunrpc/svc_udp.c (svcudp_create): Likewise.
49374
49375 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
49376
49377         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49378         problem in reallocation in last patch.
49379
49380 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
49381
49382         * sunrpc/Makefile: Move inclusion of Rules.
49383
49384 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49385
49386         * nss/nss_files/files-initgroups.c: New file.
49387         * nss/Makefile (libnss_files-routines): Add files-initgroups.
49388         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49389         _nss_files_initgroups_dyn.
49390
49391 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
49392
49393         * elf/elf.h (R_ARM_IRELATIVE): Define.
49394
49395 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49396
49397         * po/ru.po: Update from translation team.
49398
49399 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49400
49401         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49402         dependencies.
49403
49404 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
49405
49406         [BZ #12653]
49407         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49408         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49409         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49410         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49411         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49412
49413 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
49414
49415         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49416         differing bytes.
49417         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49418         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49419         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49420
49421 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49422
49423         [BZ #12420]
49424         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49425         storing it.
49426         * stdlib/bug-getcontext.c: New file.
49427         * stdlib/Makefile: Add rules to build and run bug-getcontext.
49428
49429 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49430
49431         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49432         instructions into .machine "z9-109".
49433         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49434         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49435
49436 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49437
49438         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49439         between environment variables and auxiliary vector.
49440
49441 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
49442
49443         * Makefile: Add rules to build linkobj/libc.so.
49444         * include/libc-symbols.h: Define libc_hidden_nolink.
49445         * include/rpc/auth.h: Mark functions which are to be hidden.
49446         * include/rpc/auth_des.h: Likewise.
49447         * include/rpc/auth_unix.h: Likewise.
49448         * include/rpc/clnt.h: Likewise.
49449         * include/rpc/des_crypt.h: Likewise.
49450         * include/rpc/key_prot.h: Likewise.
49451         * include/rpc/pmap_clnt.h: Likewise.
49452         * include/rpc/pmap_prot.h: Likewise.
49453         * include/rpc/pmap_rmt.h: Likewise.
49454         * include/rpc/rpc_msg.h: Likewise.
49455         * include/rpc/svc.h: Likewise.
49456         * include/rpc/svc_auth.h: Likewise.
49457         * include/rpc/xdr.h: Likewise.
49458         * nis/Makefile: Link all DSOs against linkobj/libc.so.
49459         * nss/Makefile: Likewise.
49460         * sunrpc/Makefile: Don't install headers.  Build library with normal
49461         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
49462         * sunrpc/auth_des.c: Hide exported symbols by default, export some
49463         for the compat linking library.  Remove use of INTDEF/INTUSE.
49464         * sunrpc/auth_none.c: Likewise.
49465         * sunrpc/auth_unix.c: Likewise.
49466         * sunrpc/authdes_prot.c: Likewise.
49467         * sunrpc/authuxprot.c: Likewise.
49468         * sunrpc/clnt_gen.c: Likewise.
49469         * sunrpc/clnt_perr.c: Likewise.
49470         * sunrpc/clnt_raw.c: Likewise.
49471         * sunrpc/clnt_simp.c: Likewise.
49472         * sunrpc/clnt_tcp.c: Likewise.
49473         * sunrpc/clnt_udp.c: Likewise.
49474         * sunrpc/clnt_unix.c: Likewise.
49475         * sunrpc/des_crypt.c: Likewise.
49476         * sunrpc/des_soft.c: Likewise.
49477         * sunrpc/get_myaddr.c: Likewise.
49478         * sunrpc/key_call.c: Likewise.
49479         * sunrpc/key_prot.c: Likewise.
49480         * sunrpc/netname.c: Likewise.
49481         * sunrpc/pm_getmaps.c: Likewise.
49482         * sunrpc/pm_getport.c: Likewise.
49483         * sunrpc/pmap_clnt.c: Likewise.
49484         * sunrpc/pmap_prot.c: Likewise.
49485         * sunrpc/pmap_prot2.c: Likewise.
49486         * sunrpc/pmap_rmt.c: Likewise.
49487         * sunrpc/publickey.c: Likewise.
49488         * sunrpc/rpc_cmsg.c: Likewise.
49489         * sunrpc/rpc_common.c: Likewise.
49490         * sunrpc/rpc_dtable.c: Likewise.
49491         * sunrpc/rpc_prot.c: Likewise.
49492         * sunrpc/rpc_thread.c: Likewise.
49493         * sunrpc/rtime.c: Likewise.
49494         * sunrpc/svc.c: Likewise.
49495         * sunrpc/svc_auth.c: Likewise.
49496         * sunrpc/svc_authux.c: Likewise.
49497         * sunrpc/svc_raw.c: Likewise.
49498         * sunrpc/svc_run.c: Likewise.
49499         * sunrpc/svc_simple.c: Likewise.
49500         * sunrpc/svc_tcp.c: Likewise.
49501         * sunrpc/svc_udp.c: Likewise.
49502         * sunrpc/svc_unix.c: Likewise.
49503         * sunrpc/svcauth_des.c: Likewise.
49504         * sunrpc/xcrypt.c: Likewise.
49505         * sunrpc/xdr.c: Likewise.
49506         * sunrpc/xdr_array.c: Likewise.
49507         * sunrpc/xdr_float.c: Likewise.
49508         * sunrpc/xdr_intXX_t.c: Likewise.
49509         * sunrpc/xdr_mem.c: Likewise.
49510         * sunrpc/xdr_rec.c: Likewise.
49511         * sunrpc/xdr_ref.c: Likewise.
49512         * sunrpc/xdr_sizeof.c: Likewise.
49513         * sunrpc/xdr_stdio.c: Likewise.
49514
49515 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
49516
49517         [BZ #12650]
49518         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49519         * sysdeps/ia64/dl-tls.h: Likewise.
49520         * sysdeps/powerpc/dl-tls.h: Likewise.
49521         * sysdeps/s390/dl-tls.h: Likewise.
49522         * sysdeps/sh/dl-tls.h: Likewise.
49523         * sysdeps/sparc/dl-tls.h: Likewise.
49524         * sysdeps/x86_64/dl-tls.h: Likewise.
49525         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49526
49527 2011-03-14  Andreas Schwab  <schwab@redhat.com>
49528
49529         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49530         rpath element also skip the following colon.
49531         (expand_dynamic_string_token): Add is_path parameter and pass
49532         down to DL_DST_REQUIRED and _dl_dst_substitute.
49533         (decompose_rpath): Call expand_dynamic_string_token with
49534         non-zero is_path.  Ignore empty rpaths.
49535         (_dl_map_object_from_fd): Call expand_dynamic_string_token
49536         with zero is_path.
49537
49538 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
49539
49540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49541         Make cancelable.
49542
49543 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
49544
49545         [BZ #12655]
49546         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49547         Patch by Filipe David Manana <fdmanana@apache.org>.
49548
49549 2011-04-07  Andreas Schwab  <schwab@redhat.com>
49550
49551         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49552         Maintain aligned stack.
49553         (CHECK_RSP): Remove unused macro.
49554
49555 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
49556
49557         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49558         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49559
49560 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
49561
49562         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49563
49564         * include/features.h: Mention __USE_XOPEN2K8 in comment.
49565
49566 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
49567
49568         [BZ #12518]
49569         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49570         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49571         * sysdeps/x86_64/memmove.c: New file.
49572         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49573         (memcpy): Renamed to ...
49574         (__new_memcpy): This.
49575         (memcpy): Provide GLIBC_2_14 memcpy.
49576         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49577         (memcpy): Provide GLIBC_2_2_5 memcpy.
49578
49579 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49580
49581         [BZ #12631]
49582         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49583
49584 2011-03-30  Andreas Schwab  <schwab@redhat.com>
49585
49586         * misc/syncfs.c: New file.
49587         * misc/Makefile (routines): Add syncfs.
49588         * posix/unistd.h: Declare syncfs.
49589         * sysdeps/unix/syscalls.list: Add syncfs.
49590
49591 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49592
49593         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49594         open_by_handle_at.
49595         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49596         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49597         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49598         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49600         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49601         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49602
49603 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49604
49605         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49606         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49607         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49608         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49609         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49610         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49611         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49612
49613         * io/Makefile: Compile fallocate.c, fallocate64.c, and
49614         sync_file_range.c with -fexceptions.
49615         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49616         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49617         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49618         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49619         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49620         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49621         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49622         sync_file_range as cancellation point
49623         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
49624         now a wrapper around __call_sync_file_range with cancellation handling.
49625         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49626         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
49627         function name to __call_sync_file_range.
49628         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49629         Add call_sync_file_range.
49630
49631 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49632
49633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49634         bits/timex.h.
49635
49636 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49637
49638         * iconv/iconv.h: Fix typo in comment.
49639         * io/fcntl.h: Likewise.
49640         * libio/stdio.h: Likewise.
49641         * posix/spawn.h: Likewise.
49642         * posix/unistd.h: Likewise.
49643         * stdlib/stdlib.h: Likewise.
49644         * time/time.h: Likewise.
49645         * wcsmbs/wchar.h: Likewise.
49646
49647         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49648         open_by_handle): Add.
49649         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49650         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
49651         Augment a few comments.
49652         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49653         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49654         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49655         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49656         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49657         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49658         open_by_handle.
49659
49660         * io/fcntl.h (AT_EMPTY_PATH): Define.
49661
49662 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
49663
49664         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49665         * sysdeps/unix/sysv/linux/bits/time.h: New file.
49666         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49667         to...
49668         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
49669         * Versions.def: Add GLIBC_2.14.
49670         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49671         Export.
49672
49673 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
49674
49675         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49676         round counter.
49677         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49678
49679 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49680
49681         [BZ #12597]
49682         * string/test-strncmp.c (do_page_test): New function.
49683         (check2): Likewise.
49684         (test_main): Call check2.
49685         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49686
49687 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
49688
49689         [BZ #12587]
49690         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49691         Handle cache information in CPU leaf 4.
49692         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49693
49694 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
49695
49696         [BZ #12583]
49697         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49698         character representation.
49699         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49700
49701 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
49702
49703         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49704         END(__isnan) to END(__isnanf) to match function entry point/label
49705         EALIGN(__isnanf,...).
49706
49707 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
49708
49709         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49710
49711 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
49712
49713         [BZ #12510]
49714         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49715         copy from the symbol referenced in the relocation to initialize the
49716         used variable.
49717         Patch by Piotr Bury <pbury@goahead.com>.
49718         * elf/Makefile: Add rules to build and tst-unique3.
49719         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49720         * elf/tst-unique3.cc: New file.
49721         * elf/tst-unique3.h: New file.
49722         * elf/tst-unique3lib.cc: New file.
49723         * elf/tst-unique3lib2.cc: New file.
49724
49725         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49726
49727 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
49728
49729         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49730         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
49731         to _start.
49732
49733 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
49734
49735         * elf/dl-load.c (_dl_map_object): If we are looking for the first
49736         to-be-loaded object along a path to loader is ld.so.
49737
49738 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
49739             Ulrich Drepper  <drepper@gmail.com>
49740
49741         * sysdeps/x86_64/memset.S: After aligning destination, code
49742         branches to different locations depending on the value of
49743         misalignment, when multiarch is enabled. Fix this.
49744
49745 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
49746
49747         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49748         Set _x86_64_preferred_memory_instruction for AMD processsors.
49749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49750         Set bit_Prefer_SSE_for_memop for AMD processors.
49751
49752 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
49753
49754         * libio/fmemopen.c (fmemopen): Optimize a bit.
49755
49756 2011-03-03  Andreas Schwab  <schwab@redhat.com>
49757
49758         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49759
49760 2011-03-03  Roland McGrath  <roland@redhat.com>
49761
49762         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49763
49764 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
49765
49766         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
49767         __bzero_ultra1 instead of __memset_ultra1.
49768
49769 2011-02-23  Andreas Schwab  <schwab@redhat.com>
49770             Ulrich Drepper  <drepper@gmail.com>
49771
49772         [BZ #12509]
49773         * include/link.h (struct link_map): Add l_orig_initfini.
49774         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49775         returning unsuccessfully.
49776         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49777         close of a file loaded at startup, restore the original l_initfini
49778         list.
49779         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49780         list, store the pointer.
49781         * elf/Makefile ($(objpfx)noload-mem): New rule.
49782         (noload-ENV): Define.
49783         (tests): Add $(objpfx)noload-mem.
49784         * elf/noload.c: Include <memcheck.h>.
49785         (main): Call mtrace.  Close all opened handles.
49786
49787 2011-02-17  Andreas Schwab  <schwab@redhat.com>
49788
49789         [BZ #12454]
49790         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49791         dependencies are missing.
49792
49793 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49794
49795         Fix __if_freereq crash: Unlike the generic version which uses free,
49796         Hurd needs munmap.
49797         * sysdeps/mach/hurd/ifreq.h: New file.
49798
49799 2011-01-27  Petr Baudis  <pasky@suse.cz>
49800             Ulrich Drepper  <drepper@gmail.com>
49801
49802         [BZ 12445]#
49803         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49804         to extend_alloca().
49805         * stdio-common/bug23.c: New file.
49806         * stdio-common/Makefile (tests): Add bug23.
49807
49808 2010-09-28  Andreas Schwab  <schwab@redhat.com>
49809             Ulrich Drepper  <drepper@gmail.com>
49810
49811         [BZ #12489]
49812         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49813         before performing relro protection.  At old place add assertion
49814         to make sure nothing changed.
49815
49816 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
49817             Glauber de Oliveira Costa  <glommer@gmail.com>
49818
49819         * elf/elf.h: Add new ARM TLS relocs.
49820
49821 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
49822
49823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49824         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49825         cast from r3.
49826         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
49827         'tests' variable.
49828         * sysdeps/wordsize-64/tst-writev.c: New file.
49829
49830 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
49831
49832         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49833         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49834         insns in _dl_start to prevent a TOC reference before relocs are
49835         resolved.
49836
49837 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
49838
49839         [BZ #12469]
49840         * Makeconfig: Remove RANLIB definition.
49841         * Makerules: Don't use RANLIB.
49842         * aclocal.m4: Remove ranlib test.
49843         * configure.in: No need to check for ranlib.
49844         * elf/rtld-Rules: Don't use RANLIB.
49845
49846 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49847
49848         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49849         protection macro.
49850         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49851         inclusion protection macro.
49852
49853         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49854         SIGRTMIN and SIGRTMAX and print information in that case only when
49855         SIGRTMIN is defined.
49856
49857 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
49858
49859         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49860         arginfo fn returning -1.
49861
49862         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49863         and thousands string is zero terminated.
49864
49865 2011-02-03  Andreas Schwab  <schwab@redhat.com>
49866
49867         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49868         sysdeps/unix/sysv/linux/bits/socket.h.
49869
49870 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49871
49872         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49873         (__CPU_COUNT): Remove old macros.
49874         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49875         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49876         (__CPU_ALLOC, __CPU_FREE): Add macros.
49877         (__sched_cpualloc, __sched_cpufree): Add declarations.
49878
49879 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
49880
49881         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49882         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49883         * nscd/aicache.c (addhstaiX): Return timeout of added value.
49884         (readdhstai): Return value of addhstaiX call.
49885         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49886         (addgrbyX): Return value returned by cache_addgr.
49887         (readdgrbyname): Return value returned by addgrbyX.
49888         (readdgrbygid): Likewise.
49889         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49890         (addpwbyX): Return value returned by cache_addpw.
49891         (readdpwbyname): Return value returned by addhstbyX.
49892         (readdpwbyuid): Likewise.
49893         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49894         (addservbyX): Return value returned by cache_addserv.
49895         (readdservbyname): Return value returned by addservbyX:
49896         (readdservbyport): Likewise.
49897         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49898         (addhstbyX): Return value returned by cache_addhst.
49899         (readdhstbyname): Return value returned by addhstbyX.
49900         (readdhstbyaddr): Likewise.
49901         (readdhstbynamev6): Likewise.
49902         (readdhstbyaddrv6): Likewise.
49903         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49904         (readdinitgroups): Return value returned by addinitgroupsX.
49905         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49906         (prune_cache): Keep track of timeout value of re-added entries.
49907         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49908         * nscd/nscd.h: Adjust prototypes of readd* functions.
49909
49910 2011-02-04  Roland McGrath  <roland@redhat.com>
49911
49912         * nis/nis_server.c (nis_servstate): Use the right name for 0.
49913         (nis_stats): Likewise.
49914         * nis/nis_modify.c (nis_modify): Likewise.
49915         * nis/nis_remove.c (nis_remove): Likewise.
49916         * nis/nis_add.c (nis_add): Likewise.
49917
49918         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49919
49920         * posix/fnmatch_loop.c: Add some consts.
49921
49922         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49923
49924 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
49925
49926         [BZ #12460]
49927         * config.make.in (config-cflags-novzeroupper): Define.
49928         * configure.in: Substitute libc_cv_cc_novzeroupper.
49929         * elf/Makefile (AVX-CFLAGS): Define.
49930         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49931         (CFLAGS-tst-auditmod4a.c): Likewise.
49932         (CFLAGS-tst-auditmod4b.c): Likewise.
49933         (CFLAGS-tst-auditmod6b.c): Likewise.
49934         (CFLAGS-tst-auditmod6c.c): Likewise.
49935         (CFLAGS-tst-auditmod7b.c): Likewise.
49936         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49937
49938 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
49939
49940         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49941         function to the callback.
49942         Patch partly by Jiri Olsa <jolsa@redhat.com>.
49943
49944 2011-02-02  Andreas Schwab  <schwab@redhat.com>
49945
49946         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49947         of errno.
49948
49949 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
49950
49951         [BZ #11724]
49952         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49953         of constructors.
49954         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49955         of destructors.
49956         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49957
49958         [BZ #11724]
49959         * elf/Makefile: Add rules to build and run new test.
49960         * elf/tst-initorder.c: New file.
49961         * elf/tst-initorder.exp: New file.
49962         * elf/tst-initordera1.c: New file.
49963         * elf/tst-initordera2.c: New file.
49964         * elf/tst-initordera3.c: New file.
49965         * elf/tst-initordera4.c: New file.
49966         * elf/tst-initorderb1.c: New file.
49967         * elf/tst-initorderb2.c: New file.
49968         * elf/tst-order-a1.c: New file.
49969         * elf/tst-order-a2.c: New file.
49970         * elf/tst-order-a3.c: New file.
49971         * elf/tst-order-a4.c: New file.
49972         * elf/tst-order-b1.c: New file.
49973         * elf/tst-order-b2.c: New file.
49974         * elf/tst-order-main.c: New file.
49975         New test case by George Gensure <werkt0@gmail.com>.
49976
49977 2010-10-01  Andreas Schwab  <schwab@redhat.com>
49978
49979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49980         decoding ACE if AI_CANONIDN.
49981
49982 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
49983
49984         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49985
49986 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
49987
49988         * version.h (RELEASE): Bump for 2.13 release.
49989         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49990
49991         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49992
49993         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49994         MADV_NOHUGEPAGE.
49995         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49996         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49997         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49998         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49999         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50000         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50001
50002         * posix/getconf.c: Update copyright year.
50003         * catgets/gencat.c: Likewise.
50004         * csu/version.c: Likewise.
50005         * debug/catchsegv.sh: Likewise.
50006         * debug/xtrace.sh: Likewise.
50007         * elf/ldconfig.c: Likewise.
50008         * elf/ldd.bash.in: Likewise.
50009         * elf/sprof.c (print_version): Likewise.
50010         * iconv/iconv_prog.c: Likewise.
50011         * iconv/iconvconfig.c: Likewise.
50012         * locale/programs/locale.c: Likewise.
50013         * locale/programs/localedef.c: Likewise.
50014         * malloc/memusage.sh: Likewise.
50015         * malloc/mtrace.pl: Likewise.
50016         * nscd/nscd.c (print_version): Likewise.
50017         * nss/getent.c: Likewise.
50018
50019         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50020         PF_CAIF, and PF_ALG.
50021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50022
50023 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
50024
50025         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50026         (modules-names): Use them.
50027         (ifunc-test-modules, ifunc-pie-tests): Define.
50028         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50029         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50030         (test-extras): Likewise.
50031         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50032         $(compile-command.c).
50033         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50034         (all-built-dso): Define.
50035         (check-textrel.out, check-execstack.out): Depend on it.
50036
50037         * configure.in: Don't override --enable-multi-arch.
50038
50039 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
50040
50041         [BZ #6812]
50042         * nscd/hstcache.c (tryagain): Define.
50043         (cache_addhst): Return tryagain not notfound for temporary errors.
50044         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50045         failed.
50046
50047 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
50048
50049         [BZ #10563]
50050         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50051         to make the syscall.
50052         * sysdeps/unix/sysv/linux/setgroups.c: New file.
50053
50054         [BZ #12378]
50055         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50056         and fall back to matching as normal character if the string ends before
50057         the matching ']' is found.  This is what POSIX requires.
50058         * posix/testfnm.c: Adjust test result.
50059         * posix/globtest.sh: Adjust test result.  Add new test.
50060         * posix/tst-fnmatch.input: Likewise.
50061         * posix/tst-fnmatch2.c: Add new test.
50062
50063 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
50064
50065         * elf/Makefile (check-execstack): Revert last change.  Depend on
50066         check-execstack.h.
50067         (check-execstack.h): New target.
50068         (generated): Add check-execstack.h.
50069         * elf/check-execstack.c: Include "check-execstack.h".
50070         (main): Revert last change.
50071         (handle_file): Return zero if GNU_STACK is absent and
50072         DEFAULT_STACK_PERMS doesn't include PF_X.
50073
50074 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
50075
50076         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50077         in child fails because the descriptor is already closed.
50078         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50079         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50080         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50081
50082         [BZ #12397]
50083         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50084         syscall.
50085
50086         [BZ #10484]
50087         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50088         temporary buffer used to handle multi lookups locally.
50089         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50090
50091 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50092
50093         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50094         loader is ld.so.
50095
50096 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
50097
50098         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50099         alignment for SSE2.
50100
50101 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50102
50103         [BZ #12394]
50104         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50105         characters.  When rounding increased number of integer digits recompute
50106         number of groups.
50107         * stdio-common/tst-grouping.c: New file.
50108         * stdio-common/Makefile: Add rules to build and run tst-grouping.
50109
50110 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
50111
50112         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50113         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
50114
50115         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50116         void.
50117         * bits/select.h: Likewise.
50118
50119 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
50120
50121         * po/ja.po: Update from translation team.
50122
50123 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
50124
50125         [BZ #11155]
50126         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50127         implementation just like for lxstat, fxstatat, et al.
50128
50129 2010-12-27  Jim Meyering  <meyering@redhat.com>
50130
50131         [BZ #12348]
50132         * posix/regexec.c (build_trtable): Return failure indication upon
50133         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
50134
50135 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
50136
50137         [BZ #12201]
50138         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50139         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50140         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50141         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50142
50143         [BZ #12207]
50144         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50145
50146         [BZ #12204]
50147         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50148         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50149
50150 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
50151
50152         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50153         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50154         script has SORT_BY_INIT_PRIORITY.
50155         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50156         NO_CTORS_DTORS_SECTIONS is defined.
50157         * elf/soinit.c: Likewise.
50158         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50159         NO_CTORS_DTORS_SECTIONS is defined.
50160         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50161         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50162         * sysdeps/sh/init-first.c: Likewise.
50163         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50164
50165 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
50166
50167         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50168         always use the slow path.
50169
50170 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
50171
50172         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50173         similar rule which adds the sysdep directories to the header search in
50174         order to pick up the correct platform stackinfo.h.
50175         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50176         perform test if it is, otherwise return successfully without testing.
50177         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50178         DEFAULT_STACK_PERMS define in stackinfo.h.
50179         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50180         defined in stackinfo.h.
50181         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50182         DEFAULT_STACK_PERMS defined in stackinfo.h.
50183         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50184         * sysdeps/ia64/stackinfo.h: Likewise.
50185         * sysdeps/s390/stackinfo.h: Likewise.
50186         * sysdeps/sh/stackinfo.h: Likewise.
50187         * sysdeps/sparc/stackinfo.h: Likewise.
50188         * sysdeps/x86_64/stackinfo.h: Likewise.
50189         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50190         PF_X for powerpc64.  Retain PF_X for powerpc32.
50191
50192 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
50193
50194         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50195         accurately.
50196         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50197         GETDENTS_64BIT_ALIGNED.
50198
50199 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
50200
50201         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50202
50203 2010-12-10  Andreas Schwab  <schwab@redhat.com>
50204
50205         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50206         _GNU_SOURCE.
50207
50208         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50209         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50210         Remove __restrict.
50211         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50212         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50213
50214 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
50215
50216         [BZ #11655]
50217         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50218         are initialized.
50219
50220 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
50221
50222         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50223
50224 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
50225
50226         * po/it.po: Update from translation team.
50227
50228 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
50229
50230         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50231         unused codes.
50232
50233 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
50234
50235         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50236
50237 2010-11-24  Andreas Schwab  <schwab@redhat.com>
50238
50239         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50240         specially.
50241         (gaih_getanswer_slice): Likewise.
50242
50243 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
50244
50245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50246
50247 2010-05-31  Petr Baudis  <pasky@suse.cz>
50248
50249         [BZ #11149]
50250         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50251         silently even in the chroot mode.
50252
50253 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
50254
50255         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50256         last patch a bit.  Pretty printing
50257
50258 2010-05-31  Petr Baudis <pasky@suse.cz>
50259
50260         [BZ #10085]
50261         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50262         initialization of skip_initgroups_dyn.
50263
50264 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
50265
50266         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50267         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50268
50269 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
50270
50271         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50272
50273 2010-11-11  Andreas Schwab  <schwab@redhat.com>
50274
50275         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50276         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50277         (tst-fnmatch-ENV): Set MALLOC_TRACE.
50278         ($(objpfx)tst-fnmatch-mem): New rule.
50279         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50280         * posix/tst-fnmatch.c (main): Call mtrace.
50281
50282 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
50283
50284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50285         Support Intel processor model 6 and model 0x2c.
50286
50287 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
50288
50289         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50290           signed comparison.
50291
50292 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
50293
50294         [BZ #12205]
50295         * string/test-strncasecmp.c (check_result): New function.
50296         (do_one_test): Use it.
50297         (check1): New function.
50298         (test_main): Use it.
50299         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50300         Support strcasecmp and strncasecmp.
50301
50302 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
50303
50304         [BZ #12194]
50305         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50306         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50307
50308 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50309
50310         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50311         IFUNC support.
50312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50313         memset-x86-64.
50314         * sysdeps/x86_64/multiarch/bzero.S: New file.
50315         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50316         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50317         * sysdeps/x86_64/multiarch/memset.S: New file.
50318         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50319         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50320         Set bit_Prefer_SSE_for_memop for Intel processors.
50321         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50322         Define.
50323         (index_Prefer_SSE_for_memop): Define.
50324         (HAS_PREFER_SSE_FOR_MEMOP): Define.
50325
50326 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
50327
50328         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50329         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50330
50331 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
50332
50333         [BZ #12191]
50334         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50335         (__x86_64_raw_data_cache_size_half): Likewise.
50336         (__x86_64_raw_shared_cache_size): Likewise.
50337         (__x86_64_raw_shared_cache_size_half): Likewise.
50338
50339         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50340         (__x86_64_raw_data_cache_size_half): Likewise.
50341         (__x86_64_raw_shared_cache_size): Likewise.
50342         (__x86_64_raw_shared_cache_size_half): Likewise.
50343         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50344         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50345         and __x86_64_raw_shared_cache_size_half.  Round
50346         __x86_64_data_cache_size_half, __x86_64_data_cache_size
50347         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50348         to multiple of 256 bytes.
50349
50350 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
50351
50352         [BZ #12167]
50353         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50354         of inacessible symlinks.  Verify result of symlink before returning it.
50355         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50356         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50357
50358 2010-10-28  Erich Ritz  <erichritz@gmail.com>
50359
50360         * math/math.h (isinf): Fix typo in comment.
50361
50362 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
50363
50364         * po/da.po: Update from translation team.
50365
50366 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
50367
50368         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50369         is added to the list.
50370
50371 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50372             Ulrich Drepper  <drepper@gmail.com>
50373
50374         * elf/dl-object.c (_dl_new_object): Don't append the new object to
50375         the global list here.  Move code to...
50376         (_dl_add_to_namespace_list): ...here.  New function.
50377         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50378         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50379         * elf/dl-load.c (lose): Don't remove the element from the list.
50380         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50381         (_dl_map_object): Likewise.
50382
50383 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
50384
50385         [BZ #12159]
50386         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50387         into all bytes of SSE register.
50388         Patch by Richard Li <richardpku@gmail.com>.
50389
50390 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
50391
50392         [BZ #12140]
50393         * malloc/malloc.c (_int_free): Fill correct number of bytes when
50394         perturbing.
50395
50396 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
50397
50398         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50399         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50400         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50401         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50403         submachine.
50404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50405
50406 2010-10-22  Andreas Schwab  <schwab@redhat.com>
50407
50408         * include/dlfcn.h (__RTLD_SECURE): Define.
50409         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
50410         mode & __RTLD_SECURE instead.
50411         (open_path): Rename preloaded parameter to secure.
50412         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50413         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50414         * elf/dl-deps.c (openaux): Likewise.
50415         * elf/rtld.c (struct map_args): Remove is_preloaded.
50416         (map_doit): Don't use it.
50417         (dl_main): Likewise.
50418         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50419         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50420
50421 2010-09-09  Andreas Schwab  <schwab@redhat.com>
50422
50423         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50424         (sysd-rules-targets): Remove duplicates.
50425         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50426         rtld-%.$o dependency.
50427
50428 2010-10-18  Andreas Schwab  <schwab@redhat.com>
50429
50430         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50431         _dl_map_object do it.
50432
50433 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
50434
50435         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50436         fast fma builtins, define the macros in the C99 standard.
50437         (FP_FAST_FMAF): Likewise.
50438         (FP_FAST_FMAL): Likewise.
50439         * sysdeps/x86_64/bits/mathdef.h: Likewise.
50440
50441         * bits/mathdef.h: Update copyright year.
50442         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50443
50444 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
50445
50446         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50447         builtins, define the macros in the C99 standard.
50448         (FP_FAST_FMAF): Likewise.
50449         (FP_FAST_FMAL): Likewise.
50450         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50451         multiply/add.
50452         (FP_FAST_FMAF): Likewise.
50453
50454 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
50455
50456         [BZ #3268]
50457         * math/libm-test.inc (fma_test): Some new testcases.
50458         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50459         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50460         y and infinite z.  Do multiplication by C already in long double.
50461         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50463         y and infinite z.  Do bitwise or of inexact bit into u.d.
50464         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50465         * sysdeps/i386/fpu/s_fmaf.S: Removed.
50466         * sysdeps/i386/fpu/s_fma.S: Removed.
50467         * sysdeps/i386/fpu/s_fmal.S: Removed.
50468
50469 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
50470
50471         [BZ #3268]
50472         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50473         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50474         computation is not scheduled after fetestexcept.  Fix value
50475         of minimum denormal long double.
50476
50477 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
50478
50479         [BZ #3268]
50480         * math/libm-test.inc (fma_test): Add some more tests.
50481         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50482         correctly.
50483
50484 2010-10-15  Andreas Schwab  <schwab@redhat.com>
50485
50486         * scripts/data/localplt-s390-linux-gnu.data: New file.
50487         * scripts/data/localplt-s390x-linux-gnu.data: New file.
50488
50489 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
50490
50491         [BZ #3268]
50492         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50493         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50494         instead of dbl-64.
50495         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50496         inlines.
50497         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50498         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50499         if one of x and y is very large and the other is subnormal.
50500         * sysdeps/s390/fpu/s_fmaf.c: New file.
50501         * sysdeps/s390/fpu/s_fma.c: New file.
50502         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50503         * sysdeps/powerpc/fpu/s_fma.S: New file.
50504         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50505         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50506         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50507
50508 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
50509
50510         [BZ #3268]
50511         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50512         fma tests.
50513         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50514         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50515         * sysdeps/i386/i686/multiarch/s_fma.c: Include
50516         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50517         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50518         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50519         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50520
50521 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
50522
50523         [BZ #12078]
50524         * posix/regcomp.c (parse_branch): One more memory leak plugged.
50525         * posix/bug-regex31.input: Add test case.
50526
50527 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50528
50529         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50530         * posix/bug-regex31.input: New file.
50531
50532         [BZ #12078]
50533         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50534         (parse_sub_exp): Fix last change, use postorder.
50535
50536         * posix/bug-regex31.c: New file.
50537         * posix/Makefile: Add rules to build and run bug-regex31.
50538
50539         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50540
50541         [BZ #12078]
50542         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50543
50544         [BZ #12108]
50545         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50546         to have entries in sys_siglist.
50547
50548         [BZ #12093]
50549         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50550         be NULL.
50551
50552 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
50553
50554         [BZ #3268]
50555         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50556         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50557         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50558         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50559         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50560         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50561         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50562         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50563         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50564         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50565         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50566         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50567         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50568         * math/ftestexcept.c (fetestexcept): Likewise.
50569         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50570         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50571         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50572         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50573         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50574         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50575         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50576
50577 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50578
50579         [BZ #12107]
50580         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50581         newline.
50582
50583 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
50584
50585         * string/bug-strstr1.c: New file.
50586         * string/Makefile: Add rules to build and run bug-strstr1.
50587
50588 2010-10-05  Eric Blake  <eblake@redhat.com>
50589
50590         [BZ #12092]
50591         * string/str-two-way.h (two_way_long_needle): Always clear memory
50592         when skipping input due to the shift table.
50593
50594 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
50595
50596         [BZ #12005]
50597         * malloc/mcheck.c: Handle large requests.
50598
50599         [BZ #12077]
50600         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50601         for strncmp and strncasecmp.
50602         * string/stratcliff.c: Add tests for strcmp and strncmp.
50603         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50604
50605 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50606
50607         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50608         __set_fpscr.
50609
50610 2010-09-30  Andreas Jaeger  <aj@suse.de>
50611
50612         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50613         (CGROUP_SUPER_MAGIC): Define.
50614         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50615         Handle btrfs and cgroup file systems.
50616         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50617         Likewise.
50618
50619 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
50620
50621         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50622         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50623
50624 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50625
50626         [BZ #12067]
50627         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50628         trying to locate the ELF header.
50629
50630 2010-09-27  Andreas Schwab  <schwab@redhat.com>
50631
50632         [BZ #11611]
50633         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50634         Mask out sign-bit copies when constructing f_fsid.
50635
50636 2010-09-24  Petr Baudis <pasky@suse.cz>
50637
50638         * debug/stack_chk_fail_local.c: Add missing licence exception.
50639         * debug/warning-nop.c: Likewise.
50640
50641 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
50642
50643         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50644         implementing getdents64 using getdents syscall, set d_type if
50645         __ASSUME_GETDENTS32_D_TYPE.
50646
50647 2010-09-16  Andreas Schwab  <schwab@redhat.com>
50648
50649         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50650         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50651
50652 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
50653
50654         [BZ #12037]
50655         * posix/unistd.h: Undo change of feature selection for ftruncate from
50656         2010-01-11.
50657
50658 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
50659
50660         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50661         detection.
50662
50663 2010-09-20  Andreas Schwab  <schwab@redhat.com>
50664
50665         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50666         fanotify_mark.
50667         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50668
50669 2010-09-14  Andreas Schwab  <schwab@redhat.com>
50670
50671         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50672         variables after CHECK_SP call.
50673         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50674
50675 2010-09-13  Andreas Schwab  <schwab@redhat.com>
50676             Ulrich Drepper  <drepper@redhat.com>
50677
50678         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50679         re-relocationg ld.so.
50680         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50681         _dl_init_paths call.
50682         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
50683         here anymore.
50684
50685 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
50686
50687         * resolv/res_init.c (__res_vinit): Count the default server we added.
50688
50689 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
50690             Ulrich Drepper  <drepper@redhat.com>
50691
50692         [BZ #11968]
50693         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50694         (____longjmp_chk): Use %ebx for saving value across system call.
50695         Add unwind info.
50696
50697 2010-09-06  Andreas Schwab  <schwab@redhat.com>
50698
50699         * manual/Makefile: Don't mix pattern rules with normal rules.
50700
50701 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50702
50703         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50704         operation.
50705         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50706         * libio/iofopncook.c (_IO_cookie_init): Likewise.
50707         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50708         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50709         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50710         Likewise.
50711
50712 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
50713
50714         [BZ #11979]
50715         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50716         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50717
50718 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
50719
50720         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50721         * sysdeps/x86_64/addmul_1.S: Likewise.
50722         * sysdeps/x86_64/lshift.S: Likewise.
50723         * sysdeps/x86_64/mul_1.S: Likewise.
50724         * sysdeps/x86_64/rshift.S: Likewise.
50725         * sysdeps/x86_64/sub_n.S: Likewise.
50726         * sysdeps/x86_64/submul_1.S: Likewise.
50727
50728 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50729
50730         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50731         Define __sched_param instead of SCHED_* and sched_param when
50732         <bits/sched.h> is included with __need_schedparam defined.
50733         * bits/sched.h [__need_schedparam]
50734         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
50735         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50736         (__defined_schedparam): Define to 1.
50737         (__sched_param): New structure, identical to sched_param.
50738         (__need_schedparam): Undefine.
50739
50740 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
50741
50742         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50743         (epoll_create1): Declare.
50744
50745         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50746
50747 2010-08-31  Andreas Schwab  <schwab@redhat.com>
50748
50749         [BZ #7066]
50750         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50751         shifting retval into place.
50752
50753 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
50754
50755         * nis/rpcsvc/nis.h: Update copyright notice.
50756         * nis/rpcsvc/nis.x: Likewise.
50757         * nis/rpcsvc/nis_callback.h: Likewise.
50758         * nis/rpcsvc/nis_callback.x: Likewise.
50759         * nis/rpcsvc/nis_object.x: Likewise.
50760         * nis/rpcsvc/nis_tags.h: Likewise.
50761         * nis/rpcsvc/yp.h: Likewise.
50762         * nis/rpcsvc/yp.x: Likewise.
50763         * nis/rpcsvc/ypupd.h: Likewise.
50764         * nis/yp_xdr.c: Likewise.
50765         * nis/ypupdate_xdr.c: Likewise.
50766
50767         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
50768         mainly the body of pmap_getport.  Add parameters to specify timeouts.
50769         (pmap_getport): Use __libc_rpc_getport.
50770         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50771         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50772         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50773
50774 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
50775
50776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50777         fanotify_mark.
50778
50779 2010-08-27  Roland McGrath  <roland@redhat.com>
50780
50781         * sysdeps/i386/i686/multiarch/Makefile
50782         (CFLAGS-varshift.c): New variable.
50783
50784 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
50785
50786         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50787         * sysdeps/i386/i686/multiarch/varshift.c: New file.
50788
50789         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50790
50791         * sysdeps/x86_64/strlen.S: Minimal code improvement.
50792
50793 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
50794
50795         * sysdeps/x86_64/strlen.S: Unroll the loop.
50796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50797         strlen-sse2 strlen-sse2-bsf.
50798         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50799         __strlen_no_bsf if bit_Slow_BSF is set.
50800         (__strlen_sse42): Removed.
50801         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50802         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50803
50804 2010-08-25  Roland McGrath  <roland@redhat.com>
50805
50806         * sysdeps/x86_64/multiarch/varshift.S: File removed.
50807         * sysdeps/x86_64/multiarch/varshift.c: New file.
50808         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50809         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50810         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50811         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50812
50813 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
50814
50815         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50816         strlen-sse2 strlen-sse2-bsf.
50817         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50818         __strlen_sse2_bsf if bit_Slow_BSF is unset.
50819         (__strlen_sse2): Removed.
50820         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50821         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50822         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50823         bit_Slow_BSF for Atom.
50824         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50825         (index_Slow_BSF): Define.
50826         (HAS_SLOW_BSF): Define.
50827
50828 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
50829
50830         [BZ #10851]
50831         * resolv/res_init.c (__res_vinit): When no server address at all
50832         is given default to loopback.
50833
50834 2010-08-24  Roland McGrath  <roland@redhat.com>
50835
50836         * configure.in: Remove config-name.h generation.
50837         * configure: Regenerated.
50838         * config-name.in: File removed.
50839         * scripts/config-uname.sh: New file.
50840         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50841         ($(objdir)config-name.h): New target.
50842
50843         * sunrpc/rpc_parse.h: Avoid nested comment.
50844
50845 2010-08-24  Richard Henderson  <rth@redhat.com>
50846             Ulrich Drepper  <drepper@redhat.com>
50847             H.J. Lu  <hongjiu.lu@intel.com>
50848
50849         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50851         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50852         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
50853         _mm_alignr_epi8 with _mm_loadu_si128.
50854         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50855         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50856         (__m128i_shift_right): Removed.
50857         * sysdeps/i386/i686/multiarch/varshift.h: New file.
50858         * sysdeps/i386/i686/multiarch/varshift.S: New file.
50859         * sysdeps/x86_64/multiarch/varshift.h: New file.
50860         * sysdeps/x86_64/multiarch/varshift.S: New file.
50861
50862 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
50863
50864         * configure.in: Move assembler checks to before sysdep dir checking.
50865
50866 2010-08-20  Petr Baudis  <pasky@suse.cz>
50867
50868         * LICENSES: Sync the sunrpc license.
50869
50870 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
50871
50872         * sunrpc/auth_des.c: Update copyright notice once again.
50873         * sunrpc/auth_none.c: Likewise.
50874         * sunrpc/auth_unix.c: Likewise.
50875         * sunrpc/authdes_prot.c: Likewise.
50876         * sunrpc/authuxprot.c: Likewise.
50877         * sunrpc/bindrsvprt.c: Likewise.
50878         * sunrpc/clnt_gen.c: Likewise.
50879         * sunrpc/clnt_perr.c: Likewise.
50880         * sunrpc/clnt_raw.c: Likewise.
50881         * sunrpc/clnt_simp.c: Likewise.
50882         * sunrpc/clnt_tcp.c: Likewise.
50883         * sunrpc/clnt_udp.c: Likewise.
50884         * sunrpc/clnt_unix.c: Likewise.
50885         * sunrpc/des_crypt.c: Likewise.
50886         * sunrpc/des_soft.c: Likewise.
50887         * sunrpc/get_myaddr.c: Likewise.
50888         * sunrpc/getrpcport.c: Likewise.
50889         * sunrpc/key_call.c: Likewise.
50890         * sunrpc/key_prot.c: Likewise.
50891         * sunrpc/openchild.c: Likewise.
50892         * sunrpc/pm_getmaps.c: Likewise.
50893         * sunrpc/pm_getport.c: Likewise.
50894         * sunrpc/pmap_clnt.c: Likewise.
50895         * sunrpc/pmap_prot.c: Likewise.
50896         * sunrpc/pmap_prot2.c: Likewise.
50897         * sunrpc/pmap_rmt.c: Likewise.
50898         * sunrpc/rpc/auth.h: Likewise.
50899         * sunrpc/rpc/auth_unix.h: Likewise.
50900         * sunrpc/rpc/clnt.h: Likewise.
50901         * sunrpc/rpc/des_crypt.h: Likewise.
50902         * sunrpc/rpc/key_prot.h: Likewise.
50903         * sunrpc/rpc/netdb.h: Likewise.
50904         * sunrpc/rpc/pmap_clnt.h: Likewise.
50905         * sunrpc/rpc/pmap_prot.h: Likewise.
50906         * sunrpc/rpc/pmap_rmt.h: Likewise.
50907         * sunrpc/rpc/rpc.h: Likewise.
50908         * sunrpc/rpc/rpc_des.h: Likewise.
50909         * sunrpc/rpc/rpc_msg.h: Likewise.
50910         * sunrpc/rpc/svc.h: Likewise.
50911         * sunrpc/rpc/svc_auth.h: Likewise.
50912         * sunrpc/rpc/types.h: Likewise.
50913         * sunrpc/rpc/xdr.h: Likewise.
50914         * sunrpc/rpc_clntout.c: Likewise.
50915         * sunrpc/rpc_cmsg.c: Likewise.
50916         * sunrpc/rpc_common.c: Likewise.
50917         * sunrpc/rpc_cout.c: Likewise.
50918         * sunrpc/rpc_dtable.c: Likewise.
50919         * sunrpc/rpc_hout.c: Likewise.
50920         * sunrpc/rpc_main.c: Likewise.
50921         * sunrpc/rpc_parse.c: Likewise.
50922         * sunrpc/rpc_parse.h: Likewise.
50923         * sunrpc/rpc_prot.c: Likewise.
50924         * sunrpc/rpc_sample.c: Likewise.
50925         * sunrpc/rpc_scan.c: Likewise.
50926         * sunrpc/rpc_scan.h: Likewise.
50927         * sunrpc/rpc_svcout.c: Likewise.
50928         * sunrpc/rpc_tblout.c: Likewise.
50929         * sunrpc/rpc_util.c: Likewise.
50930         * sunrpc/rpc_util.h: Likewise.
50931         * sunrpc/rpcinfo.c: Likewise.
50932         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50933         * sunrpc/rpcsvc/key_prot.x: Likewise.
50934         * sunrpc/rpcsvc/klm_prot.x: Likewise.
50935         * sunrpc/rpcsvc/mount.x: Likewise.
50936         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50937         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50938         * sunrpc/rpcsvc/rex.x: Likewise.
50939         * sunrpc/rpcsvc/rstat.x: Likewise.
50940         * sunrpc/rpcsvc/rusers.x: Likewise.
50941         * sunrpc/rpcsvc/sm_inter.x: Likewise.
50942         * sunrpc/rpcsvc/spray.x: Likewise.
50943         * sunrpc/rpcsvc/yppasswd.x: Likewise.
50944         * sunrpc/rtime.c: Likewise.
50945         * sunrpc/svc.c: Likewise.
50946         * sunrpc/svc_auth.c: Likewise.
50947         * sunrpc/svc_authux.c: Likewise.
50948         * sunrpc/svc_raw.c: Likewise.
50949         * sunrpc/svc_run.c: Likewise.
50950         * sunrpc/svc_simple.c: Likewise.
50951         * sunrpc/svc_tcp.c: Likewise.
50952         * sunrpc/svc_udp.c: Likewise.
50953         * sunrpc/svc_unix.c: Likewise.
50954         * sunrpc/svcauth_des.c: Likewise.
50955         * sunrpc/xcrypt.c: Likewise.
50956         * sunrpc/xdr.c: Likewise.
50957         * sunrpc/xdr_array.c: Likewise.
50958         * sunrpc/xdr_float.c: Likewise.
50959         * sunrpc/xdr_mem.c: Likewise.
50960         * sunrpc/xdr_rec.c: Likewise.
50961         * sunrpc/xdr_ref.c: Likewise.
50962         * sunrpc/xdr_sizeof.c: Likewise.
50963         * sunrpc/xdr_stdio.c: Likewise.
50964
50965         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50966         handling.
50967
50968 2010-08-19  Andreas Schwab  <schwab@redhat.com>
50969
50970         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50971
50972 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
50973
50974         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50975         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50976         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50977         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50978         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50979         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50980         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50981         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50982         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50983         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50984         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50985         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50986         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50987         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50988
50989 2010-07-26  Anton Blanchard  <anton@samba.org>
50990
50991         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50992         * malloc/arena.c (heap_trim): Likewise.
50993
50994 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50995
50996         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50997         here.  Not...
50998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50999         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51000
51001 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
51002
51003         * sysdeps/i386/elf/Makefile: New file.
51004
51005 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51006
51007         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51008         from fanotify_init.
51009         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51010         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51011
51012 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
51013
51014         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51015         of strncasecmp_l.
51016         * sysdeps/multiarch/strcmp.S: Likewise.
51017
51018 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
51019
51020         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51021         strncase_l-nonascii.
51022         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51023         Add strncase_l-ssse3.
51024         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51025         * sysdeps/x86_64/strcmp.S: Likewise.
51026         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51027         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51028         * sysdeps/x86_64/strncase.S: New file.
51029         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51030         * sysdeps/x86_64/strncase_l.S: New file.
51031         * string/Makefile (strop-tests): Add strncasecmp.
51032         * string/test-strncasecmp.c: New file.
51033
51034         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51035         warning.
51036
51037         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51038         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51039
51040 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51041
51042         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51043
51044 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
51045
51046         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51047         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51048         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51049
51050 2010-05-01  Alan Modra  <amodra@gmail.com>
51051
51052         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51053         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51054         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51055         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51056         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51057         tidying.  Don't tail-call __sigjmp_save for static lib.
51058         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51059         save location.
51060         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51061         (CALL_MCOUNT): Add eh info, and nop after bl.
51062         (TAIL_CALL_SYSCALL_ERROR): New macro.
51063         (PSEUDO_RET): Use it.
51064         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51065         Correct save location of integer regs and cr.
51066         (_dl_profile_resolve): Correct cr save location.  Delete nops
51067         after bl when SHARED.  Reduce cfi size a little by better
51068         placement of cfi directives.
51069         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51070         make a stack frame.  Instead use parm save area as a temp.
51071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51072         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
51073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51074         Don't make a stack frame for parent, use parm save area.
51075         Increase child stack frame to 112 bytes.  Don't save unused reg,
51076         and adjust reg usage.  Set up cfi on error recovery and
51077         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51079         (__makecontext): Add dummy nop after jump to exit.
51080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51081         Use correct parm save area and cr save, reduce stack frame.
51082         Correct cfi for possible PSEUDO_RET frame setup.
51083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51084         Branch to local label emitted by PSEUDO_RET rather than
51085         __syscall_error.
51086
51087 2010-08-12  Andreas Schwab  <schwab@redhat.com>
51088
51089         [BZ #11904]
51090         * locale/programs/locale.c (print_assignment): New function.
51091         (show_locale_vars): Use it.
51092
51093 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
51094
51095         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51096         field.
51097         (struct statfs64): Likewise.
51098         (_STATFS_F_FLAGS): Define.
51099         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51100         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51101         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51102         (ST_VALID): Define locally.
51103         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51104         __statvfs_getflags, use the provided value.
51105         * sysdeps/unix/sysv/linux/kernel-features.h: Define
51106         __ASSUME_STATFS_F_FLAGS.
51107
51108         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51109
51110         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51111         Add sys/fanotify.h.
51112         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51113         fanotify_mask for GLIBC_2.13.
51114         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51115         fanotify_init and fanotify_mark.
51116         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51117         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51118
51119         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51120         Add prlimit.
51121         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51122         prlimit64 for GLIBC_2.13.
51123         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51124         prlimit64.
51125         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51126         syscall.
51127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51128         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51129         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51130         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51131         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
51132         add prlimit alias.
51133         * sysdeps/unix/sysv/linux/prlimit.c: New file.
51134
51135         [BZ #11903]
51136         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51137         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51138
51139         * nss/Makefile: Add rules to build and run tst-nss-test1.
51140         * shlib-versions: Add entry for libnss_test1.
51141         * nss/nss_test1.c: New file.
51142         * nss/tst-nss-test1.c: New file.
51143
51144         * nss/nsswitch.c (__nss_database_custom): Define new variable.
51145         (__nss_configure_lookup): Set appropriate entry in
51146         __nss_configure_lookup to true.
51147         * nss/nsswitch.h: Define enum with indeces of databases in
51148         databases and __nss_database_custom arrays.  Declare
51149         __nss_database_custom.
51150         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51151         to avoid using nscd when custom rules are installed.
51152         * nss/getXXbyYY_r.c: Likewise.
51153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51154
51155         * nss/nss_files/files-parse.c: Whitespace fixes.
51156
51157 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
51158
51159         [BZ #11883]
51160         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51161         * posix/fnmatch_loop.c: Likewise.
51162
51163 2010-07-17  Andi Kleen  <ak@linux.intel.com>
51164
51165         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51166         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51167         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51168         * Versions.def [GLIBC_2.13]: Add.
51169
51170 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
51171
51172         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51173         Also fail if tpwd after pwuid call is NULL.
51174
51175 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51176
51177         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51178         when converting to ms.
51179
51180 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51181
51182         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51183         EOPNOTSUPP errors with ENOTTY.
51184         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51185         EOPNOTSUPP errors with ENOTTY.
51186
51187 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
51188
51189         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51190         Add strcasecmp_l-ssse3.
51191         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51192         strcasecmp.
51193         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51194         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51195         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51196
51197 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
51198
51199         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51200
51201         * string/Makefile (strop-tests): Add strcasecmp.
51202         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51203         strcasecmp_l-nonascii.
51204         (gen-as-const-headers): Add locale-defines.sym.
51205         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51206         * sysdeps/x86_64/strcasecmp.S: New file.
51207         * sysdeps/x86_64/strcasecmp_l.S: New file.
51208         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51209         * sysdeps/x86_64/locale-defines.sym: New file.
51210         * string/test-strcasecmp.c: New file.
51211
51212         * string/test-strcasestr.c: Test both ends of the range of characters.
51213         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51214
51215 2010-07-29  Roland McGrath  <roland@redhat.com>
51216
51217         [BZ #11856]
51218         * manual/locale.texi (Yes-or-No Questions): Fix example code.
51219
51220 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
51221
51222         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51223         for ld.so.
51224
51225 2010-07-27  Andreas Schwab  <schwab@redhat.com>
51226
51227         * manual/memory.texi (Malloc Tunable Parameters): Document
51228         M_PERTURB.
51229
51230 2010-07-26  Roland McGrath  <roland@redhat.com>
51231
51232         [BZ #11840]
51233         * configure.in (-fgnu89-inline check): Set and substitute
51234         gnu89_inline, not libc_cv_gnu89_inline.
51235         * configure: Regenerated.
51236         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51237
51238 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
51239
51240         * string/test-strnlen.c: New file.
51241         * string/Makefile (strop-tests): Add strnlen.
51242         * string/tester.c (test_strnlen): Add a few more test cases.
51243         * string/tst-strlen.c: Better error reporting.
51244
51245         * sysdeps/x86_64/strnlen.S: New file.
51246
51247 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
51248
51249         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51250         lower-latency instructions.
51251
51252 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
51253
51254         * string/test-strcasestr.c: New file.
51255         * string/test-strstr.c: New file.
51256         * string/Makefile (strop-tests): Add strstr and strcasestr.
51257         * string/str-two-way.h: Don't undefine MAX.
51258         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51259
51260 2010-07-21  Andreas Schwab  <schwab@redhat.com>
51261
51262         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51263         strcasestr-nonascii.
51264         (CFLAGS-strcasestr-nonascii.c): Define.
51265         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51266         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51267         Remove unused attribute.
51268
51269 2010-07-20  Roland McGrath  <roland@redhat.com>
51270
51271         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51272         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
51273         ld.so.cache was broken.  With it, there is no way to disable dsocaps
51274         like LD_HWCAP_MASK can disable hwcaps.
51275
51276 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51277
51278         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51279
51280 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
51281
51282         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51283         call in strcasestr.
51284         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51285         __strcasestr_sse42_nonascii.
51286         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51287         strcasestr-nonascii.c.
51288         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51289
51290 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
51291
51292         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51293         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51294         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51295         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51296
51297 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
51298
51299         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51300         fcntl.
51301
51302 2010-07-06  Andreas Schwab  <schwab@redhat.com>
51303
51304         [BZ #11577]
51305         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51306         dl_signal_cerror.
51307
51308 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
51309
51310         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51311         _PC_PIPE_BUF using F_GETPIPE_SZ.
51312
51313 2010-07-05  Roland McGrath  <roland@redhat.com>
51314
51315         * manual/arith.texi (Rounding Functions): Fix rint description
51316         implicit in round description.
51317
51318 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
51319
51320         * elf/Makefile: Fix linking for a few tests to make recent linker
51321         happy.
51322
51323 2010-06-30  Andreas Schwab  <schwab@redhat.com>
51324
51325         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51326         $(common-objpfx)libc_nonshared.a.
51327
51328 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
51329
51330         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51331         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51332         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51333         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51334         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51335         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51336         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51337         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51352         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51353         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51354         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51355         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51356         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51357         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51358         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51359         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51360         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51361         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51362         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51363         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51378
51379 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
51380
51381         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51382         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
51383         * string/memmove.c (memmove): Renamed to ...
51384         (MEMMOVE): ...this.  Default to memmove.
51385         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51386         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51387         (END_CHK): Define.
51388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51389         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51390         mempcpy-ssse3-back memmove-ssse3-back.
51391         * sysdeps/x86_64/multiarch/bcopy.S: New file .
51392         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51393         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51394         * sysdeps/x86_64/multiarch/memcpy.S: New file.
51395         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51396         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51397         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51398         * sysdeps/x86_64/multiarch/memmove.c: New file.
51399         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51400         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51401         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51402         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51403         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51404         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51405         Define.
51406         (index_Fast_Copy_Backward): Define.
51407         (HAS_ARCH_FEATURE): Define.
51408         (HAS_FAST_REP_STRING): Define.
51409         (HAS_FAST_COPY_BACKWARD): Define.
51410
51411 2010-06-21  Andreas Schwab  <schwab@redhat.com>
51412
51413         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51414         Restore proper fallback handling.
51415
51416 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
51417
51418         [BZ #11701]
51419         * posix/group_member.c (__group_member): Correct checking loop.
51420
51421         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51422         OOM in getpwuid_r correctly.  Return error number when the caller
51423         should return, otherwise -1.
51424         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51425         call returning > 0 value.
51426         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51427
51428 2010-06-07  Andreas Schwab  <schwab@redhat.com>
51429
51430         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51431         libc_nonshared.a from targets in modules-names.
51432
51433 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
51434
51435         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51436         requires it.
51437
51438 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
51439
51440         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51441         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51442         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51443         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51444
51445 2010-06-02  Andreas Schwab  <schwab@redhat.com>
51446
51447         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51448
51449 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
51450
51451         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51452         and F_GETPIPE_SZ.
51453         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51454         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51455         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51456         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51457         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51458         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51459
51460 2010-06-14  Roland McGrath  <roland@redhat.com>
51461
51462         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51463
51464 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
51465
51466         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51467         __REDIRECT followed by __THROW.
51468         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51469         * posix/getopt.h (getopt): Likewise.
51470
51471 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51472
51473         * hurd/lookup-at.c (__file_name_lookup_at): Accept
51474         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
51475         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51476         in AT_FLAGS.
51477         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51478         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51479
51480 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
51481
51482         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51483
51484 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
51485
51486         [BZ #11640]
51487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51488         Properly check family and model.
51489
51490 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
51491
51492         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51493
51494 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
51495
51496         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51497
51498 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
51499
51500         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51501         symbol reference.
51502
51503 2010-05-19  Andreas Schwab  <schwab@redhat.com>
51504
51505         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51506         symbol reference.
51507
51508 2010-05-21  Andreas Schwab  <schwab@redhat.com>
51509
51510         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51511         and internal_recvmmsg.
51512         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51513         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51514         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51515         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51516
51517         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51518         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51519         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51520
51521 2010-05-20  Andreas Schwab  <schwab@redhat.com>
51522
51523         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51524
51525 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
51526
51527         POWER7 optimizations.
51528         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51529         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51530
51531 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
51532
51533         * version.h: Update for 2.13 development version.
51534
51535 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
51536
51537         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51538         exceptions.  Return 0.
51539
51540 2010-05-07  Roland McGrath  <roland@redhat.com>
51541
51542         * elf/ldconfig.c (main): Add a const.
51543
51544 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
51545
51546         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51547         (args_options): Add no-idn option.
51548         (ahosts_keys_int): Add idn_flags to ai_flags.
51549         (parse_option): Handle 'i' option to clear idn_flags.
51550
51551         * malloc/malloc.c (_int_free): Possible race in the most recently
51552         added check.  Only act on the data if no current modification
51553         happened.
51554
51555 See ChangeLog.17 for earlier changes.