manual/llio.texi: Add Linux-specific comments for write().
[platform/upstream/glibc.git] / ChangeLog
1 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
2
3         * manual/llio.texi: Add comments discussing why write() may be
4         considered MT-unsafe on Linux.
5
6 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
7
8         * dl-load.c (local_strdup): Remove.
9         (expand_dynamic_string_token): Use __strdup.
10         (decompose_rpath): Likewise.
11         (_dl_map_object): Likewise.
12
13 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
14
15         [BZ #14132]
16         * sysdeps/generic/unwind-dw2-fde.c
17         (__register_frame_info_bases_internal): Do not declare.
18         (__register_frame_info_table_bases_internal): Likewise.
19         (__deregister_frame_info_bases_internal): Likewise.
20         (__register_frame_info_bases): Declare and use hidden_proto before
21         definition.  Use hidden_def instead of INTDEF.
22         (__register_frame_info_table_bases): Likewise.
23         (__deregister_frame_info_bases): Likewise.
24         (__register_frame_info): Do not use INTUSE.
25         (__register_frame): Likewise.
26         (__register_frame_info_table): Likewise.
27         (__register_frame_table): Likewise.
28         (__deregister_frame_info): Likewise.
29         (__deregister_frame): Likewise.
30
31 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
32
33         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
35         not undefine.
36         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
37         Likewise.
38         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
39         Likewise.
40
41 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
42
43         [BZ #14138]
44         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
46         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
47         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
48         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
49         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
50         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
51         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
52         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
53         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
54         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
55         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
56         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
57         syscall.
58         (setfsuid): Likewise.
59         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
60         (setfsuid): Likewise.
61         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
62         (setfsuid): Likewise.
63         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
64         Likewise.
65         (setfsuid): Likewise.
66         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
67         (setfsuid): Likewise.
68         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
69         Likewise.
70         (setfsuid): Likewise.
71
72 2014-10-27  Andreas Schwab  <schwab@suse.de>
73
74         [BZ #17501]
75         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
76         check for Slow_SSE4_2 feature bit.
77         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
78         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
79         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
80         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
81
82 2014-10-24  Roland McGrath  <roland@hack.frob.com>
83
84         * configure.ac: Validate compiler version with a empirical test of
85         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
86         $CC -v output.
87         * configure: Regenerated.
88
89         * inet/htons.c (htons): Prototypify.
90         * inet/htonl.c (htonl): Likewise.
91
92 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
93
94         * string/strncat.c (strncat): Improve performance by using strlen.
95
96 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
97
98         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
99
100 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
101
102         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
103         Call libc_fetestexcept_aarch64.
104
105 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
106
107         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
108         Call libc_feholdexcept_aarch64.
109
110 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
111
112         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
113         Call get_rounding_mode.
114
115 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
116
117         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
118         Simplify logic.
119
120 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
121
122         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
123         Simplify logic.
124
125 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
126
127         [BZ #14138]
128         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
129         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
130         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
131         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
132         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
133         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
134         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
135         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
136         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
137         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
138         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
139         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
140         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
141         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
142         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
143         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
144         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
145         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
146         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
147         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
148         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
149         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
150         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
151         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
152         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
153         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
154         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
155         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
156         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
157         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
158         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
159         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
160         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
161         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
162         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
163         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
164         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
165         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
166         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
167         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
168         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
169         syscall.
170         (geteuid): Likewise.
171         (getgid): Likewise.
172         (getuid): Likewise.
173         (getresgid): Likewise.
174         (getresuid): Likewise.
175         (getgroups): Likewise.
176         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
177         (geteuid): Likewise.
178         (getgid): Likewise.
179         (getuid): Likewise.
180         (getresgid): Likewise.
181         (getresuid): Likewise.
182         (getgroups): Likewise.
183         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
184         (geteuid): Likewise.
185         (getgid): Likewise.
186         (getuid): Likewise.
187         (getresgid): Likewise.
188         (getresuid): Likewise.
189         (getgroups): Likewise.
190         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
191         Likewise.
192         (geteuid): Likewise.
193         (getgid): Likewise.
194         (getuid): Likewise.
195         (getresgid): Likewise.
196         (getresuid): Likewise.
197         (getgroups): Likewise.
198         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
199         (geteuid): Likewise.
200         (getgid): Likewise.
201         (getuid): Likewise.
202         (getresgid): Likewise.
203         (getresuid): Likewise.
204         (getgroups): Likewise.
205         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
206         Likewise.
207         (geteuid): Likewise.
208         (getgid): Likewise.
209         (getuid): Likewise.
210         (getgroups): Likewise.
211
212         [BZ #14138]
213         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
214         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
215         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
216         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
217         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
218         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
219         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
220         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
221         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
222         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
223         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
224         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
225         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
226         __chown.
227         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
228         (lchown): Likewise.
229         (fchown): Likewise.
230         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
231         Likewise.
232         (lchown): Likewise.
233         (fchown): Likewise.
234         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
235         (lchown): Likewise.
236         (fchown): Likewise.
237         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
238         Likewise.
239         (lchown): Likewise.
240         (fchown): Likewise.
241
242 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
243
244         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
245         Simplify logic.
246
247 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
248
249         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
250         Cleanup logic.
251
252 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
253
254         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
255         Remove unused include.
256
257 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
258
259         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
260         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
261         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
262         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
263
264 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
265             Helge Deller <deller@gmx.de>
266
267         [BZ #17508]
268         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
269         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
270         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
271
272 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
273
274         [BZ #14132]
275         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
276         Remove macro definition.
277         (__ashrdi3_v_glibc20): Likewise.
278         (__lshrdi3_v_glibc20): Likewise.
279         (__cmpdi2_v_glibc20): Likewise.
280         (__ucmpdi2_v_glibc20): Likewise.
281         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
282         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
283         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
284         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
285         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
286         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
287
288 2014-10-22  Roland McGrath  <roland@hack.frob.com>
289
290         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
291         old GNU extension [0] syntax.
292         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
293         alloca rather than an array member with variable length.
294         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
295         * nscd/nscd.c (invalidate_db): New function, broken out of ...
296         (parse_opt): ... here.  Likewise use alloca there.
297         Validate the -i argument before checking for rootness.
298         (send_shutdown): New function, broken out of ...
299         (parse_opt): ... here.
300
301 2014-10-22  Roland McGrath  <roland@hack.frob.com>
302
303         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
304         macro to get at the _rt_local_ro field.
305         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
306         ([PIC] case) or _dl_hwcap ([!PIC] case).
307         * sysdeps/arm/setjmp.S: Likewise.
308
309         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
310         * sysdeps/arm/configure.ac: New check to define it.
311         * sysdeps/arm/configure: Regenerated.
312         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
313         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
314         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
315         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
316         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
317         Use move/movt pair instead of a load.
318         (LDST_GLOBAL): Macro removed.
319         (LDR_GLOBAL): New macro replaces it.
320         (LDR_HIDDEN): New macro.
321         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
322         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
323
324         * setjmp/tst-setjmp-static.c: New file.
325         * setjmp/Makefile (tests): Add it.
326         (tests-static): New variable.
327
328 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
329
330         [BZ #17485]
331         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
332
333 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
334
335         [BZ #14132]
336         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
337
338 2014-10-21  Roland McGrath  <roland@hack.frob.com>
339
340         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
341
342 2014-10-20  Roland McGrath  <roland@hack.frob.com>
343
344         * io/fts.c (dirent_not_directory): New function.
345         (fts_build): Call it.
346
347 2014-10-20  Roland McGrath  <roland@hack.frob.com>
348
349         * nptl/version.c (__nptl_main): Use normal __write rather than
350         INTERNAL_SYSCALL.
351         (banner): Update copyright years.
352
353         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
354         gettimeofday.
355         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
356         * nptl/pthread_cond_timedwait.c: Likewise.
357         * nptl/pthread_mutex_timedlock.c: Likewise.
358         * nptl/sem_timedwait.c: Likewise.
359
360         * sysdeps/nptl/bits/libc-lock.h
361         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
362         (__libc_lock_init_recursive): Return void, not 0.
363         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
364         (__libc_rwlock_init): Likewise.
365         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
366
367 2014-10-20  Torvald Riegel  <triegel@redhat.com>
368
369         [BZ #15215]
370         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
371         (__pthread_once_slow): ... here.
372         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
373         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
374
375 2014-10-20  Torvald Riegel  <triegel@redhat.com>
376
377         [BZ #15215]
378         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
379         __PTHREAD_ONCE_FORK_GEN_INCR): New.
380         * sysdeps/nptl/fork.c (__libc_fork): Use them.
381         * nptl/pthread_once.c (__pthread_once): Likewise.
382         Update comments.
383
384 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
385
386         [BZ #14138]
387         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
388         name.
389         (writev): Use __libc_writev as strong name.
390         * sysdeps/unix/sysv/linux/readv.c: Remove file.
391         * sysdeps/unix/sysv/linux/writev.c: Likewise.
392
393 2014-10-17  Roland McGrath  <roland@hack.frob.com>
394
395         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
396
397         * sysdeps/i386/nptl/tls.h
398         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
399         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
400         New macros.
401         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
402         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
403         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
404         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
405         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
406         Call CHECK_THREAD_SYSINFO instead of doing an assert.
407
408         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
409         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
410         on [__NR_futex].
411         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
412         broken out of ...
413         (__pthread_mutex_init): ... here.  Call it.
414         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
415         Conditionalize PI cases on [__NR_futex].
416         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
417         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
418         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
419
420         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
421         conditional on [SIGSETXID].
422         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
423         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
424         is defined.  Likewise for SIGSETXID.
425         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
426         Conditionalize definitions on [SIGSETXID].
427         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
428         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
429         unblocking on [SIGCANCEL].
430
431         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
432         [__NR_set_robust_list].
433
434 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
435
436         * string/strcoll_l.c (get_next_seq): Fix up formatting.
437         (do_compare): Likewise.
438
439 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
440
441         [BZ #15884]
442         * string/strcoll_l.c: Don't include stdio.h.
443         (coll_seq): Remove members idxarr and rulearr.
444         (get_next_seq_cached): Remove function.
445         (get_next_seq): Likewise.
446         (get_next_seq_nocache): Rename to get_next_seq.
447         (do_compare): Remove function.
448         (do_compare_nocache): Rename to do_compare.
449         (STRCOLL): Remove weight and rules cache.
450
451 2014-10-16  Roland McGrath  <roland@hack.frob.com>
452
453         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
454         * sysdeps/arm/sfp-machine.h: ... to here.
455         * sysdeps/arm/Implies: Remove arm/soft-fp.
456
457 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
458
459         * conform/data/sys/utsname.h-data (*_t): Allow.
460         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
461         [POSIX] (WEXITED): Do not expect constant.
462         [POSIX] (WSTOPPED): Likewise.
463         [POSIX] (WNOHANG): Likewise.
464         [POSIX] (WNOWAIT): Likewise.
465         [POSIX] (siginfo_t): Do not expect type or elements.
466         [POSIX] (pid_t): Do not expect type.
467         [POSIX] (signal.h): Do not allow header.
468         [POSIX] (sys/resource.h): Likewise.
469         [POSIX] (si_*): Do not allow pattern.
470         [POSIX] (W*): Likewise.
471         [POSIX] (P_*): Likewise.
472         [POSIX] (BUS_*): Likewise.
473         [POSIX] (CLD_*): Likewise.
474         [POSIX] (FPE_*): Likewise.
475         [POSIX] (ILL_*): Likewise.
476         [POSIX] (POLL_*): Likewise.
477         [POSIX] (SEGV_*): Likewise.
478         [POSIX] (SI_*): Likewise.
479         [POSIX] (TRAP_*): Likewise.
480         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
481         variable.
482
483 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
484
485         [BZ #12926]
486         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
487         infinite loop when __recvmsg returns 0.
488
489 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
490
491         * CANCEL-FCT-WAIVE: Remove file.
492         * CANCEL-FILE-WAIVE: Likewise.
493
494         [BZ #14132]
495         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
496         instead of INTVARDEF.
497         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
498         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
499         rtld_hidden_data_def instead of INTVARDEF.
500         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
501         * elf/dl-deps.c (expand_dst): Likewise.
502         * elf/dl-load.c (_dl_dst_count): Likewise.
503         (_dl_dst_substitute): Likewise.
504         (decompose_rpath): Likewise.
505         (_dl_init_paths): Likewise.
506         (open_path): Likewise.
507         (_dl_map_object): Likewise.
508         * elf/rtld.c (dl_main): Likewise.
509         (process_dl_audit): Likewise.
510         (process_envvars): Likewise.
511         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
512         Remove declaration.
513         (__libc_enable_secure): Use rtld_hidden_proto.
514
515 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
516
517         * elf/dl-load.c
518         (add_path): New function broken out of _dl_rtld_di_serinfo.
519         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
520
521 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
522
523         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
524         parentheses around macro arguments.
525         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
526         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
527         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
528         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
529         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
530         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
531         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
532         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
533         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
534         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
535         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
536         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
537         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
538         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
539         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
540         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
541         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
542         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
543         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
544         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
545         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
546         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
547         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
548         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
549         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
550         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
551         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
552         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
553         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
554         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
555         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
556         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
557         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
558         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
559         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
560         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
561         Likewise.
562         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
563         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
564         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
565         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
566         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
567         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
568         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
569         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
570         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
571         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
572         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
573         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
574         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
575         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
576         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
577         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
578         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
579         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
580         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
581         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
582         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
583         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
584         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
585         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
586         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
587         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
588         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
589         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
590         (_FP_FRAC_SRS_1): Likewise.
591         (_FP_FRAC_CLZ_1): Likewise.
592         (_FP_MUL_MEAT_1_imm): Likewise.
593         (_FP_MUL_MEAT_1_wide): Likewise.
594         (_FP_MUL_MEAT_1_hard): Likewise.
595         (_FP_SQRT_MEAT_1): Likewise.
596         (_FP_FRAC_ASSEMBLE_1): Likewise.
597         (_FP_FRAC_DISASSEMBLE_1): Likewise.
598         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
599         (__FP_CLZ_2): Likewise.
600         (_FP_MUL_MEAT_2_wide): Likewise.
601         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
602         (_FP_MUL_MEAT_2_gmp): Likewise.
603         (_FP_MUL_MEAT_2_120_240_double): Likewise.
604         (_FP_SQRT_MEAT_2): Likewise.
605         (_FP_FRAC_ASSEMBLE_2): Likewise.
606         (_FP_FRAC_DISASSEMBLE_2): Likewise.
607         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
608         (_FP_FRAC_CLZ_4): Likewise.
609         (_FP_MUL_MEAT_4_wide): Likewise.
610         (_FP_MUL_MEAT_4_gmp): Likewise.
611         (_FP_SQRT_MEAT_4): Likewise.
612         (_FP_FRAC_ASSEMBLE_4): Likewise.
613         (_FP_FRAC_DISASSEMBLE_4): Likewise.
614         * soft-fp/op-common.h (_FP_CMP): Likewise.
615         (_FP_CMP_EQ): Likewise.
616         (_FP_CMP_UNORD): Likewise.
617         (_FP_TO_INT): Likewise.
618         (_FP_FROM_INT): Likewise.
619         [!__FP_CLZ] (__FP_CLZ): Likewise.
620         (_FP_DIV_HELP_imm): Likewise.
621         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
622         Likewise.
623         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
624         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
625         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
626         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
627         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
628         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
629         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
630         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
631         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
632         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
633         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
634         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
635         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
636         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
637         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
638         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
639         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
640         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
641         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
642         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
643         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
644         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
645         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
646         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
647         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
648         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
649         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
650         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
651         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
652         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
653         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
654         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
655         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
656         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
657         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
658         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
659         (FP_UNPACK_RAW_SP): Likewise.
660         (FP_PACK_RAW_S): Likewise.
661         (FP_PACK_RAW_SP): Likewise.
662         (FP_UNPACK_S): Likewise.
663         (FP_UNPACK_SP): Likewise.
664         (FP_UNPACK_SEMIRAW_S): Likewise.
665         (FP_UNPACK_SEMIRAW_SP): Likewise.
666         (FP_PACK_S): Likewise.
667         (FP_PACK_SP): Likewise.
668         (FP_PACK_SEMIRAW_S): Likewise.
669         (FP_PACK_SEMIRAW_SP): Likewise.
670         (_FP_SQRT_MEAT_S): Likewise.
671         (FP_CMP_S): Likewise.
672         (FP_CMP_EQ_S): Likewise.
673         (FP_CMP_UNORD_S): Likewise.
674         (FP_TO_INT_S): Likewise.
675         (FP_FROM_INT_S): Likewise.
676
677         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
678
679         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
680         (FP_EX_INVALID_IMZ): Likewise.
681         (FP_EX_INVALID_IMZ_FMA): Likewise.
682         (FP_EX_INVALID_ISI): Likewise.
683         (FP_EX_INVALID_ZDZ): Likewise.
684         (FP_EX_INVALID_IDI): Likewise.
685         (FP_EX_INVALID_SQRT): Likewise.
686         (FP_EX_INVALID_CVI): Likewise.
687         (FP_EX_INVALID_VC): Likewise.
688         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
689         "invalid" exceptions.
690         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
691         (_FP_ADD_INTERNAL): Likewise.
692         (_FP_MUL): Likewise.
693         (_FP_FMA): Likewise.
694         (_FP_DIV): Likewise.
695         (_FP_CMP_CHECK_NAN): Likewise.
696         (_FP_SQRT): Likewise.
697         (_FP_TO_INT): Likewise.
698         (FP_EXTEND): Likewise.
699
700 2014-10-09  Allan McRae  <allan@archlinux.org>
701
702         * po/fr.po: Update French translation from translation project.
703
704 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
705
706         [BZ #14132]
707         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
708         of INTDEF.
709         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
710         (__cxa_atexit): Use libc_hidden_proto.
711         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
712
713         [BZ #14132]
714         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
715         declaration.
716         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
717         [!_ISOMAC] (__iswspace_l_internal): Likewise.
718         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
719         [!_ISOMAC] (__iswctype_internal): Likewise.
720         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
721         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
722         alias.
723         (fcntl): Remove __fcntl_internal alias.
724         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
725         __connect_internal alias.
726         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
727         Likewise.
728
729         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
730         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
731         FP_DENORM_ZERO.
732         (_FP_CHECK_FLUSH_ZERO): New macro.
733         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
734         (_FP_CMP): Likewise.
735         (_FP_CMP_EQ): Likewise.
736         (_FP_TO_INT): Do not set inexact for subnormal arguments if
737         FP_DENORM_ZERO.
738         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
739         (FP_TRUNC): Likewise.
740
741         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
742         treated as invalid conversion, not as normal exponent.
743
744         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
745         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
746         (_FP_CMP_EQ): Likewise.
747         (_FP_CMP_UNORD): Likewise.
748         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
749         (FP_CMP_EQ_D): Likewise.
750         (FP_CMP_UNORD_D): Likewise.
751         * soft-fp/extended.h (FP_CMP_E): Likewise.
752         (FP_CMP_EQ_E): Likewise.
753         (FP_CMP_UNORD_E): Likewise.
754         * soft-fp/quad.h (FP_CMP_Q): Likewise.
755         (FP_CMP_EQ_Q): Likewise.
756         (FP_CMP_UNORD_Q): Likewise.
757         * soft-fp/single.h (FP_CMP_S): Likewise.
758         (FP_CMP_EQ_S): Likewise.
759         (FP_CMP_UNORD_S): Likewise.
760         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
761         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
762         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
763         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
764         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
765         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
766         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
767         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
768         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
769         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
770         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
771         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
772         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
773         to FP_CMP_Q.
774         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
775         FP_CMP_Q.
776         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
777         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
778         FP_CMP_EQ_Q.
779         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
780         FP_CMP_Q.
781         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
782         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
783         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
784         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
785         FP_CMP_EQ_Q.
786         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
787         FP_CMP_Q.
788         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
789         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
790         FP_CMP_EQ_Q.
791         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
792         FP_CMP_Q.
793         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
794         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
795         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
796         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
797         FP_CMP_EQ_Q.
798
799         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
800         a subnormal result, set the underflow exception if trapping on
801         underflow is enabled.
802         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
803         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
804         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
805         redefine to 0.
806         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
807         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
808         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
809         * soft-fp/extendxftf2.c (__extendxftf2): Use
810         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
811
812         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
813         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
814         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
815         FP_HANDLE_EXCEPTIONS.
816         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
817         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
818         FP_HANDLE_EXCEPTIONS.
819         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
820         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
821         FP_HANDLE_EXCEPTIONS.
822         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
823         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
824         FP_HANDLE_EXCEPTIONS.
825
826 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
827
828         [BZ #14132]
829         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
830         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
831         use INTUSE.
832         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
833         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
834         Remove alias.
835         (__adjtimex): Define using libc_hidden_ver.
836         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
837         Remove declaration.
838         (ntp_gettime): Call __adjtimex directly.
839         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
840         Remove declaration.
841         (ntp_gettimex): Call __adjtimex directly.
842         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
843         __adjtimex_internal alias.
844
845 2014-10-08  Roland McGrath  <roland@hack.frob.com>
846
847         [BZ #17460]
848         * nscd/nscd.c (more_help): Rewrite list of tables collection
849         using xstrdup and asprintf.
850
851         * nscd/nscd_conf.c: Remove local xstrdup declaration.
852
853 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
854             Roland McGrath  <roland@hack.frob.com>
855
856         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
857         (do_lookup_unique): ... local function 'enter' here; update callers.
858
859 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
860
861         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
862         compat_symbol calls on [SHARED].
863         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
864         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
865         Remove.
866         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
867         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
868         (oldsetrlimit): Remove.
869         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
871         (lchown): New syscall entry.
872         (oldsetrlimit): Remove.
873         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
874         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
875         (oldsetrlimit): Remove.
876         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
877
878         [BZ #14138]
879         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
880         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
881         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
882         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
883         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
884         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
885         (fchown): Likewise.
886         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
887         (fchown): Likewise.
888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
889         Likewise.
890
891 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
892
893         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
894         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
895         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
896         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
897         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
898         Likewise.
899         (__old_sem_post): Likewise.
900
901 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
902
903         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
904         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
905         HAVE_CLOCK_GETTIME_VSYSCALL macros.
906         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
907         Use INLINE_VSYSCALL macro.
908         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
909         __vdso_clock_gettime.
910         * sysdeps/unix/sysv/linux/tile/init-first.c
911         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
912         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
913         __vdso_clock_gettime.
914
915         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
916         to set up frame more cleanly.
917
918         * sysdeps/tile/memcmp.c: New file.
919
920         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
921
922         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
923         * sysdeps/tile/tilegx/strcasestr.c: New file.
924         * sysdeps/tile/tilegx/strnlen.c: New file.
925         * sysdeps/tile/tilegx/strstr.c: New file.
926
927         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
928
929 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
930
931         * nptl/tst-setuid3.c: Write errors to stdout.
932
933 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
934
935         * elf/dl-deps.c
936         (preload): New functions broken out of _dl_map_object_deps.
937         (_dl_map_object_deps):  Remove a nested function. Update call sites.
938
939 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
940
941         [BZ #14138]
942         * sysdeps/unix/sysv/linux/execve.c: Remove file.
943         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
944
945 2014-10-01  Steve Ellcey  <sellcey@mips.com>
946
947         * sysdeps/mips/strcmp.S: New.
948
949 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
950
951         [BZ #14138]
952         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
953         (linkat): Likewise.
954         (mkdirat): Likewise.
955         (readlinkat): Likewise.
956         (renameat): Likewise.
957         (symlinkat): Likewise.
958         (unlinkat): Likewise.
959         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
960         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
961         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
962         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
963         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
964         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
965         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
966
967 2014-09-30  Will Newton  <will.newton@linaro.org>
968
969         * math/math.h: Define long double math functions if
970         _LIBC_TEST is defined.
971         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
972
973         * localedata/Makefile: Move assignment to tests-special
974         into an ifdef testing run-built-tests.
975         * timezone/Makefile: Likewise.
976
977 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
978
979         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
980         with $(BASH) not $(SHELL).
981
982 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
983             Matthew LeGendre  <legendre1@llnl.gov>
984
985         [BZ #17411]
986         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
987         l_reloc_result.
988
989 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
990
991         * stdio-common/printf_fp.c
992         (hack_digit): New function, broken out of ...
993         (__printf_fp): ... local function here.  Update call sites.
994         hack_digit now takes an additional parameter that is a pointer
995         to a struct of the referenced locals.  Those locals moved inside
996         the struct and references updated.
997
998 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
999
1000         * aclocal.m4: Require autoconf 2.69.
1001         * configure: Regenerated.
1002         * sysdeps/aarch64/configure: Likewise.
1003         * sysdeps/alpha/configure: Likewise.
1004         * sysdeps/arm/armv7/configure: Likewise.
1005         * sysdeps/arm/configure: Likewise.
1006         * sysdeps/ia64/configure: Likewise.
1007         * sysdeps/mach/configure: Likewise.
1008         * sysdeps/mips/configure: Likewise.
1009         * sysdeps/s390/configure: Likewise.
1010         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1012
1013         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1014         file.
1015         * sysdeps/ia64/configure.ac: Likewise.
1016
1017 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
1018
1019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1020         specify symbol version for ld.so.  Do not include entry for
1021         libpthread.
1022         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1023         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1024         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1025
1026         [BZ #14171]
1027         * Makeconfig [$(build-shared) = yes]
1028         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1029         makefiles.
1030         [$(build-shared) = yes && $(soversions.mk-done) = t]
1031         ($(common-objpfx)gnu/lib-names.h): Remove rule.
1032         [$(build-shared) = yes && $(soversions.mk-done) = t]
1033         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
1034         to Makerules.
1035         [$(build-shared) = yes && $(soversions.mk-done) = t]
1036         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1037         here.
1038         [$(build-shared) = yes && $(soversions.mk-done) = t]
1039         (common-generated): Don't append gnu/lib-names.h and
1040         gnu/lib-names.stmp here.
1041         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1042         (lib-names-h-abi): New variable.
1043         [$(build-shared) = yes && $(soversions.mk-done) = t]
1044         (lib-names-stmp-abi): Likewise.
1045         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1046         abi-variants] (before-compile): Append
1047         $(common-objpfx)$(lib-names-h-abi).
1048         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1049         abi-variants] (common-generated): Append gnu/lib-names.h.
1050         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1051         abi-variants] (install-others-nosubdir): Depend on
1052         $(inst_includedir)/$(lib-names-h-abi).
1053         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1054         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1055         [$(build-shared) = yes && $(soversions.mk-done) = t]
1056         ($(common-objpfx)$(lib-names-h-abi)): New rule.
1057         [$(build-shared) = yes && $(soversions.mk-done) = t]
1058         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1059         [$(build-shared) = yes && $(soversions.mk-done) = t]
1060         (common-generated): Append $(lib-names-h-abi) and
1061         $(lib-names-stmp-abi).
1062         * scripts/lib-names.awk: Do not handle multi being set.
1063         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1064         Remove variable.
1065         (abi-lp64_be-ld-soname): Likewise.
1066         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1067         Likewise.
1068         (abi-hard-ld-soname): Likewise.
1069         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1070         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1071         Remove variable.
1072         (abi-o32_hard-ld-soname): Likewise.
1073         (abi-o32_soft_2008-ld-soname): Likewise.
1074         (abi-o32_hard_2008-ld-soname): Likewise.
1075         (abi-n32_soft-ld-soname): Likewise.
1076         (abi-n32_hard-ld-soname): Likewise.
1077         (abi-n32_soft_2008-ld-soname): Likewise.
1078         (abi-n32_hard_2008-ld-soname): Likewise.
1079         (abi-n64_soft-ld-soname): Likewise.
1080         (abi-n64_hard-ld-soname): Likewise.
1081         (abi-n64_soft_2008-ld-soname): Likewise.
1082         (abi-n64_hard_2008-ld-soname): Likewise.
1083         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1084         Likewise.
1085         (abi-64-v2-ld-soname): Likewise.
1086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1087         ld.so entries.
1088         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1089         variable.
1090         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1091         entry.
1092         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1093         variable.
1094         (abi-64-ld-soname): Likewise.
1095         (abi-x32-ld-soname): Likewise.
1096         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1097         entry.
1098         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1099
1100 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
1101
1102         [BZ #14138]
1103         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1104         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1105         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1106         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1107         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1108         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1109         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1110         syscall entry for GLIBC_2.2 symbol version.
1111         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1112         Likewise.
1113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1114         (setrlimit): Likewise.
1115         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1116         Likewise.
1117
1118 2014-09-23  Will Newton  <will.newton@linaro.org>
1119
1120         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1121         _LINUX_ARM_SYSDEP_H include guard too.
1122         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1123         define.
1124
1125 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1126
1127         * sysdeps/unix/sysv/linux/eventfd.c:
1128         Make first argument unsigned.
1129         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1130         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1131
1132 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
1133
1134         * socket/recvmmsg.c (recvmmsg): Drop const argument.
1135         * socket/sys/socket.h: Likewise
1136         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1137
1138 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1139
1140         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1141
1142 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
1143
1144         * time/tst-ftime.c: New test.
1145         * time/Makefile (tests): Add tst-ftime.
1146
1147 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
1148
1149         * soft-fp/extended.h: Fix comment formatting.
1150         * soft-fp/op-1.h: Likewise.
1151         * soft-fp/op-2.h: Likewise.
1152         * soft-fp/op-4.h: Likewise.
1153         * soft-fp/op-8.h: Likewise.
1154         * soft-fp/op-common.h: Likewise.
1155         * soft-fp/soft-fp.h: Likewise.
1156
1157         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1158
1159 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
1160
1161         [BZ #6652]
1162         * Makeconfig (soversions-default-setname): Remove variable.
1163         ($(common-objpfx)soversions.i): Don't pass default_setname to
1164         soversions.awk.
1165         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1166         oldest_abi to abi-versions.awk.
1167         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1168         * config.make.in (oldest-abi): Remove variable.
1169         * configure.ac (--enable-oldest-abi): Remove configure option.
1170         * configure: Regenerated.
1171         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1172         text.
1173         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1174         * scripts/soversions.awk: Do not handle default_setname variable.
1175         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1176         variable.
1177         * sysdeps/mach/hurd/configure: Regenerated.
1178         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1179         variable.
1180         * sysdeps/unix/sysv/linux/configure: Regenerated.
1181
1182 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1183
1184         * elf/Makefile (CFLAGS-interp.c): Remove.
1185         ($(elf-objpfx)runtime-linker.h): Generate header with linker
1186         path string.
1187         * elf/interp.c: Include generated runtime-linker.h
1188
1189         * Makerules (lib%.so): Don't include $(+interp) in
1190         prerequisites.
1191         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1192         * dlfcn/eval.c: Remove file.
1193
1194         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1195         macros.
1196
1197         [BZ #17266]
1198         * misc/sys/cdefs.h: Define __extern_always_inline for clang
1199         4.2 and newer.
1200
1201         [BZ #17370]
1202         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1203
1204 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1205             Jakub Jelinek  <jakub@redhat.com>
1206
1207         [BZ #17266]
1208         * libio/stdio.h: Check definition of __fortify_function
1209         instead of __extern_always_inline to include bits/stdio2.h.
1210         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1211         check if __extern_always_inline is defined.
1212         [__USE_MISC || __USE_XOPEN]: Likewise.
1213         [__USE_ISOC99] Likewise.
1214         * misc/sys/cdefs.h (__fortify_function): Define only if
1215         __extern_always_inline is defined.
1216         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1217         __extern_always_inline and __extern_inline only for g++-4.3
1218         and newer or a compatible gcc.
1219
1220 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
1221
1222         [BZ #17371]
1223         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1224         last change to handle zero prefix length.
1225
1226 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1227
1228         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1229         _SC_REGEX_VERSION.
1230
1231         * posix/getconf.c (vars): Add _POSIX_IPV6 and
1232         _POSIX_RAW_SOCKETS.
1233
1234 2014-09-13  Allan McRae  <allan@archlinux.org>
1235
1236         * po/ru.po: Update Russian translation from translation project.
1237
1238 2014-09-12  Roland McGrath  <roland@hack.frob.com>
1239
1240         * locale/programs/locale.c (show_locale_vars): Inline local function
1241         into its sole call site.  Clean up some style nits.
1242         (print_item): New function, broken out of ...
1243         (show_info): ... local function here.  Clean up style nits.
1244
1245         * locale/programs/ld-ctype.c (set_one_default): New function, broken
1246         out of ...
1247         (set_class_defaults): ... local function set_default here.
1248         Define set_default as a macro locally to pass constant parameters.
1249         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1250         rather than a shared local.
1251
1252         * stdlib/rpmatch.c (try): New function, broken out of ...
1253         (rpmatch): ... local function here.  Also, prototypify definition.
1254
1255 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
1256
1257         * scripts/soversions.awk: Do not handle configuration names.
1258         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1259         vendor and os variables to soversions.awk.
1260         * configure.ac: Do not modify gnu-* host_os.
1261         * configure: Regenerated
1262         * shlib-versions: Remove first column with configuration names.
1263         * nptl/shlib-versions: Likewise.
1264         * nptl_db/shlib-versions: Likewise.
1265         * sysdeps/hppa/shlib-versions: Likewise.
1266         * sysdeps/m68k/shlib-versions: Likewise.
1267         * sysdeps/mach/hurd/shlib-versions: Likewise.
1268         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1269         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1270         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1271         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1272         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1273         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1274         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1275         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1277         Likewise.
1278         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1279         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1280         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1281         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1282         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1283         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1284         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1285         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1286
1287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1288         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1290         Regenerated.
1291         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1293         Condition symbol version definitions on [HAVE_ELFV2_ABI].
1294
1295         * shlib-versions: Remove OS-specific entries.  Moved to files in
1296         sysdeps.
1297         * sysdeps/mach/hurd/shlib-versions: New file.
1298         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1299
1300         * nptl/shlib-versions: Remove architecture-specific entries.
1301         Moved to files in sysdeps.
1302         * shlib-versions: Likewise.
1303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1304         file.
1305         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1306         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1307         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1308         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1309
1310         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1311         (UDP_NO_CHECK6_RX): Likewise.
1312
1313 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1314
1315         * sysdeps/posix/sysconf.c (__sysconf): Spell
1316         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1317
1318 2014-08-12  Florian Weimer  <fweimer@redhat.com>
1319
1320         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1321         loading.
1322         * iconv/Versions (__gconv_transliterate): Export for use from
1323         gconv modules.
1324         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1325         (struct __gconv_trans_data, __gconv_trans_fct,
1326         __gconv_trans_context_fct, __gconv_trans_query_fct,
1327         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1328         definitions.
1329         (struct __gconv_step_data): Remove __trans member.
1330         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
1331         longer hidden.  Remove unused trans_data argument.
1332         * iconv/gconv_int.h (struct trans_struct): Remove definition.
1333         (__gconv_translit_find): Remove declaration.
1334         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
1335         prototype.
1336         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1337         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1338         trans_data argument.  Add hidden definition.
1339         (__gconv_translit_find): Remove.
1340         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1341         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1342         * iconv/skeleton.c: Remove transliteration initialization.
1343         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1344         __gconv_step_data initialization.
1345         * libio/iofwide.c (__libio_translit_): Remove.
1346         (_IO_fwide): Adjust struct __gconv_step_data initialization.
1347         * wcsmbs/btowc.c (__btowc): Likewise.
1348         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1349         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1350         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1351         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1352         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1353         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1354         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1355         * wcsmbs/wctob.c (wctob): Likewise.
1356
1357 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1358
1359         [BZ #16194]
1360         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1361         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
1362         register usage.
1363         * sysdeps/x86/Makefile: Adjust.
1364
1365 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1366             Roland McGrath  <roland@hack.frob.com>
1367
1368         * locale/weight.h: Add include guard.
1369         (findidx): Make static rather than auto; take new parameters
1370         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1371         * locale/weightwc.h: Likewise.
1372         * posix/fnmatch_loop.c
1373         (FCT): Change type of EXTRA from int32_t to wint_t.
1374         Don't include either header inside the function.
1375         Call FINDIDX rather than findidx, and pass new arguments.
1376         #undef FINDIDX at the end of the file.
1377         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1378         FINDIDX before including fnmatch_loop.c for the non-wide version.
1379         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1380         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1381         for the wide version.
1382         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1383         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1384         Pass new arguments to findidx.
1385         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1386         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1387         Don't #include it inside the function.  Pass new arguments to findidx.
1388         * posix/regex_internal.h
1389         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1390         (re_string_elem_size_at): Don't #include it inside the function.
1391         Pass new arguments to findidx.
1392         * string/strcoll_l.c: #include WEIGHT_H at top level.
1393         (get_next_seq): Don't #include it inside the function.
1394         Pass new arguments to findidx.
1395         (get_next_seq_nocache): Likewise.
1396         * string/strxfrm_l.c: #include WEIGHT_H at top level.
1397         (STRXFRM): Don't #include it inside the function.
1398         Pass new arguments to findidx.
1399
1400 2014-09-11  Florian Weimer  <fweimer@redhat.com>
1401
1402         [BZ #17344]
1403         * malloc/malloc.c (unlink): Turn asserts into a call to
1404         malloc_printerr.
1405
1406 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
1407
1408         [BZ #17370]
1409         * libio/wfileops (do_ftell_wide): Free OUT.
1410
1411 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
1412
1413         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1414
1415 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1416
1417         [BZ #17363]
1418         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1419         group if the current group is empty.
1420
1421 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1422
1423         * benchtests/bench-memset.c (test_main): Add more test from size
1424         from 32 to 512 bytes.
1425         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1426         Add POWER8 memset object.
1427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1428         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1429         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1430         implementation.
1431         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1432         Likewise.
1433         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1434         multiarch POWER8 memset optimization.
1435         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1436         POWER8 memset optimization.
1437
1438         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1439         Remove bzero multiarch objects.
1440         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1441         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1442         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1443         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1444         Remove define.
1445         [__bzero]: Redefine to specific name.
1446         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1447         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1448         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1449         define.
1450         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1451         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1452
1453 2014-09-10  Florian Weimer  <fweimer@redhat.com>
1454
1455         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1456         warnings into errors.
1457
1458         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1459         __cxa_thread_atexit_impl prototype.
1460
1461 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1462
1463         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1464         Fix capitalization of error message.
1465
1466 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1467
1468         * sysdeps/mips/preconfigure: Modify ABI tests.
1469
1470 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
1471
1472         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1473
1474 2014-09-07  Roland McGrath  <roland@hack.frob.com>
1475             Carlos O'Donell  <carlos@systemhalted.org>
1476
1477         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1478         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1479         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1480         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1481         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1482         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1483         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1484         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1485         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1486         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1487         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1488         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1489         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1490         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1491         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1492         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1493         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1494         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1495         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1496         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1497         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1498         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1499         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1500         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1501         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1502         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1503         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1504         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1505         Deconditionalize the code that was previously under [RESET_PID].
1506         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1507         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1508         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1509         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1510         include sysdep.h.
1511
1512 2014-09-08  Allan McRae  <allan@archlinux.org>
1513
1514         * version.h (RELEASE): Set to "development".
1515         (VERSION): Set to "2.20.90"
1516
1517 2014-09-07  Allan McRae  <allan@archlinux.org
1518
1519         * version.h (RELEASE): Set to "stable".
1520         (VERSION): Set to "2.20"
1521         * include/features.h (__GLIBC_MINOR__): Set to 20.
1522
1523         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1524         Liebler.
1525
1526         * po/ko.po: Update Korean translation from translation project.
1527
1528 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
1529
1530         [BZ #17354]
1531         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1532         macro for handling signed relocations.
1533
1534 2014-09-03  Florian Weimer  <fweimer@redhat.com>
1535
1536         [BZ #17325]
1537         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1538         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1539         assert.
1540         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1541         * iconvdata/ibm935.c (BODY): Likewise.
1542         * iconvdata/ibm937.c (BODY): Likewise.
1543         * iconvdata/ibm939.c (BODY): Likewise.
1544         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1545         assert.
1546         * iconvdata/Makefile (iconv-test.out): Pass module list to test
1547         script.
1548         * iconvdata/run-iconv-test.sh: New test loop for checking for
1549         decoder crashers.
1550
1551 2014-09-02  Khem Raj  <raj.khem@gmail.com>
1552
1553         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1554         libm_hidden_ver.
1555
1556 2014-09-01  Allan McRae  <allan@archlinux.org>
1557
1558         * po/eo.po: Update Esperanto translation from translation project.
1559
1560         * po/ca.po: Update Catalan translation from translation project.
1561
1562 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1563
1564         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1565         __proc_dostop call.
1566
1567 2014-08-27  Mark Wielaard  <mjw@redhat.com>
1568
1569         [BZ #17319]
1570         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1571         to call set_thread_area instead of hand written asm.
1572         (__NR_set_thread_area): Removed define.
1573         (TLS_FLAG_WRITABLE): Likewise.
1574         (__ASSUME_SET_THREAD_AREA): Remove check.
1575         (TLS_EBX_ARG): Remove define.
1576         (TLS_LOAD_EBX): Likewise.
1577
1578 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1579
1580         Simplify atomicity of socket creation in bind.
1581
1582         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1583         looking up the name after linking the file.
1584
1585 2014-08-27  Allan McRae  <allan@archlinux.org>
1586
1587         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1588
1589 2014-08-26  Florian Weimer  <fweimer@redhat.com>
1590
1591         [BZ #17187]
1592         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1593         trans_compare, open_translit, __gconv_translit_find):
1594         Remove module loading code.
1595
1596 2014-08-26  Allan McRae  <allan@archlinux.org>
1597
1598         * po/vi.po: Update Vietnamese translation from translation project.
1599
1600         * po/uk.po: Update Ukrainian translation from translation project.
1601
1602         * po/fr.po: Update French translation from translation project.
1603
1604         * po/ru.po: Update Russian translation from translation project.
1605
1606         * po/pl.po: Update Polish translation from translation project.
1607
1608         * po/cs.po: Update Czech translation from translation project.
1609
1610         * po/de.po: Update German translation from translation project.
1611
1612         * po/bg.po: Update Bulgarian translation from translation project.
1613
1614         * po/sv.po: Update Sweedish translation from translation project.
1615
1616         * po/nl.po: Update Dutch translation from translation project.
1617
1618         * po/es.po: Update Spanish translation from translation project.
1619
1620 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1621
1622         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1623
1624         * catgets/Makefile (CPPFLAGS-gencat): Remove.
1625         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1626         (CPPFLAGS-iconvconfig): Likewise.
1627         * timezone/Makefile (CPPFLAGS-zic): Likewise.
1628
1629         * include/libc-symbols.h: Remove unnecessary check for
1630         NOT_IN_libc.
1631         * nptl/pthreadP.h: Likewise.
1632         * sysdeps/aarch64/setjmp.S: Likewise.
1633         * sysdeps/alpha/setjmp.S: Likewise.
1634         * sysdeps/arm/sysdep.h: Likewise.
1635         * sysdeps/i386/setjmp.S: Likewise.
1636         * sysdeps/m68k/setjmp.c: Likewise.
1637         * sysdeps/posix/getcwd.c: Likewise.
1638         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1639         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1640         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1641         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1642         * sysdeps/sh/sh3/setjmp.S: Likewise.
1643         * sysdeps/sh/sh4/setjmp.S: Likewise.
1644         * sysdeps/unix/alpha/sysdep.h: Likewise.
1645         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1646         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1647         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1648         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1652         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1653         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1654         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1655         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1656         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1657         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1658         * sysdeps/x86_64/setjmp.S: Likewise.
1659
1660 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
1661
1662         [BZ #17263]
1663         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1664         <stdint.h>.
1665         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1666         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1667
1668 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1669
1670         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1671
1672         [BZ #17262]
1673         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1674         and __x86_64__ when disabling x87 inline functions.
1675
1676 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1677
1678         [BZ #17259]
1679         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1680         asm statement with __cpuid_count.
1681
1682 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
1683
1684         * configure.ac: Change __ehdr_start code to dereference the struct.
1685         Run readelf on the output to look for relocations.
1686         * configure: Regenerated.
1687
1688 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
1689
1690         [BZ #17261]
1691         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1692         value to 0.
1693         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1694
1695 2014-08-12  Roland McGrath  <roland@hack.frob.com>
1696
1697         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1698
1699 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
1700
1701         [BZ #16892]
1702         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1703         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1704
1705 2014-08-12  Sean Anderson  <seanga2@gmail.com>
1706
1707         * malloc/malloc.c: Fix typo in comment.
1708
1709 2014-08-09  Allan McRae  <allan@archlinux.org>
1710
1711         * Regenerate libc.po.
1712
1713 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
1714
1715         * intl/tst-gettext2.sh: Check every lang file for creation.
1716
1717 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1718
1719         * sysdeps/aarch64/fpu/math_private.h
1720         (libc_feholdsetround_noex_aarch64_ctx): New function.
1721
1722 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1723
1724         * sysdeps/arm/armv6/strcpy.S (strcpy):
1725         Fix performance issue in misaligned cases.
1726
1727 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1728
1729         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1730         Move definition from termios.h.
1731         (struct termio): Likewise.
1732         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1733         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1734         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1735         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1736         Likewise.
1737         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1738         Move definition to ioctl-types.h
1739         (struct termio): Likewise.
1740         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1741         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1742         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1743         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1744         Likewise.
1745
1746 2014-08-05  Richard Henderson  <rth@redhat.com>
1747
1748         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1749         exceptions.
1750         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1751         Add fraiseexcpt.
1752         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1753         Use __feraiseexcept.
1754         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1755         Protect libm symbols with IS_IN_libm.
1756
1757         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1758
1759 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
1760
1761         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1762
1763 2014-08-04  Will Newton  <will.newton@linaro.org>
1764
1765         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1766         file.
1767
1768 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
1769
1770         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1771         variants for each function.
1772
1773 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1774
1775         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1776         appended ...
1777         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1778         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1779         appended ...
1780         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1781         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1782         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1783         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1784         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1785         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1786         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1787         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1788         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1789         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1790         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1791         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1792         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1793         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1794         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1795         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1796         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1797         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1798         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1799         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1800         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1801         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1802         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1803         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1804         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1805         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1806         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1807         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1808         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1809         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1810         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1811         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1812         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1813         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1814         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1815         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1816         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1817         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1818         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1819         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1820         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1821         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1822         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1823         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1824         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1825         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1826         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1827         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1828         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1829         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1830         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1831         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1832         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1833         Update #include.
1834         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1835         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1836
1837 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1838
1839         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1840         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1841         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1842         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1843         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1844         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1845
1846 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1847
1848         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1849         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1850         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1851         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1852
1853 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1854
1855         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1856         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1857         (__libc_vfork): Define function under this name.
1858         (__vfork): Define as an alias.
1859         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1860         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1861
1862 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1863
1864         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1865         that was previously under [RESET_PID].
1866         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1867
1868 2014-08-04  Andreas Schwab  <schwab@suse.de>
1869
1870         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1871
1872 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
1873
1874         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1875         (main): Likewise.
1876
1877 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1878
1879         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1880
1881 2014-08-01  Richard Henderon  <rth@redhat.com>
1882
1883         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1884         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1885         typo in exact zero test.
1886         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1887         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1888         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1889
1890 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1891
1892         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1893         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1894         * sysdeps/arm/sysdep.h: ... here.
1895         [!__ASSEMBLER__]: Include <stdint.h>.
1896
1897 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1898
1899         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1900         (HAVE_WCTYPE_H): Likewise.
1901         (HAVE_ISWCTYPE): Likewise.
1902         (ENABLE_NLS): Likewise.
1903         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1904         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1905
1906         * posix/regex_internal.c: Check if DEBUG is defined and is
1907         set.
1908
1909         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1910         (HAVE_MBSRTOWCS): Likewise.
1911         * posix/fnmatch.c: Include string.h unconditionally.
1912
1913 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1914
1915         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1916         reversal.
1917
1918 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1919
1920         * sysdeps/generic/safe-fatal.h: New file.
1921         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1922         * nptl/forward.c: Include it.
1923         (__pthread_unwind): Use __safe_fatal as default action, rather
1924         than a bogus use of INTERNAL_SYSCALL that could never work.
1925
1926         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1927         * configure.ac (libc_cv_builtin_trap): New test.
1928         * configure: Regenerated.
1929         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1930         (ABORT_INSTRUCTION): Define using __builtin_trap.
1931
1932         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1933         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1934         * sysdeps/nptl/nptl-signals.h: New file.
1935         * nptl/pthreadP.h: Include <nptl-signals.h>.
1936
1937 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1938
1939         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1940         (ONE_DIRECTION): Define.
1941         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1942         (ONE_DIRECTION): Define.
1943         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1944         (ONE_DIRECTION): Define.
1945
1946 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1947
1948         * sysdeps/s390/Makefile: Delete file.
1949         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1950         * sysdeps/s390/__longjmp.c: Delete file.
1951         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1952         Remove fields __flags and __reserved.
1953         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1954         and add versioning.
1955         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1956         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1957         * sysdeps/s390/rtld-setjmp.S: Likewise.
1958         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1959         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1960         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1961         * sysdeps/s390/s390-32/setjmp.S: ... here.
1962         Add versioning.
1963         (__sigsetjmp): Remove setting __flags field.
1964         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1965         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1966         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1967         * sysdeps/s390/s390-64/setjmp.S: ... here.
1968         Add versioning.
1969         (__sigsetjmp): Remove setting __flags field.
1970         * sysdeps/s390/setjmp.S: Delete file.
1971         * sysdeps/s390/sigjmp.c: Likewise.
1972         * sysdeps/s390/v1-longjmp.c: Likewise.
1973         * sysdeps/s390/v1-setjmp.h: Likewise.
1974         * sysdeps/s390/v1-sigjmp.c: Likewise.
1975         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1976         Remove v1-longjmp_chk.
1977         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1978         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1979         Include debug/longjmp_chk.c and add versioning.
1980         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1981         Include nptl/pt-longjmp.c and add versioning.
1982         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1983         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1984         Include __longjmp.c.
1985         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1986         Move to ...
1987         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1988         (__getcontext): Remove setting __flags field.
1989         Add versioning.
1990         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1991         Don't restore upper high grps.
1992         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1993         Likewise.
1994         (__swapcontext): Remove setting uc_flags field.
1995         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1996         Delete file.
1997         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1998         Include __longjmp.c.
1999         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2000         Move to ...
2001         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2002         (__getcontext): Remove setting __flags field.
2003         Add versioning.
2004         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2005         (__swapcontext): Remove setting uc_flags field.
2006         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2007         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2008         Remove fields uc_high_gprs and __reserved.
2009         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2010         New file with reverted content.
2011         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2012         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2013         Regenerated.
2014         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2015         Regenerated.
2016
2017 2014-07-31  Andreas Schwab  <schwab@suse.de>
2018
2019         * config.h.in (HAVE_IFUNC): Define to 0.
2020         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2021         definedness.
2022
2023 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
2024
2025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2026         memmove-avx-unaligned, memcpy-avx-unaligned and
2027         mempcpy-avx-unaligned.
2028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2029         Add tests for AVX memcpy functions.
2030         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2031         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2032         memcpy_chk.
2033         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2034         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2035         memmove_chk.
2036         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2037         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2038         mempcpy_chk.
2039         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2040         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2041         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2042
2043 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2044
2045         [BZ #17213]
2046         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2047         powerpc64le.
2048
2049 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
2050
2051         [BZ #16839]
2052         * manual/llio.texi: Add section about open file description locks.
2053         * manual/examples/ofdlocks.c: Example of open file description
2054         lock usage.
2055         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2056         F_OFD_SETLK, and F_OFD_SETLKW.
2057
2058 2014-07-23  Allan McRae  <allan@archlinux.org>
2059
2060         * po/es.po: Update Spanish translation from translation project.
2061
2062 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
2063
2064         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2065
2066 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
2067
2068         [BZ #17078]
2069         * sysdeps/arm/dl-machine.h (elf_machine_rela)
2070         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2071         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2072
2073 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
2074
2075         [BZ #17088]
2076         * math/fesetenv.c (__fesetenv)
2077         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2078         * math/feupdateenv.c (__feupdateenv)
2079         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2080
2081         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2082         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2083         (__ASSUME_SOCKETCALL): Do not define.
2084
2085         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2086         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2087         (__ASSUME_SOCKETCALL): Do not define.
2088         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2089         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2090         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2091         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2092         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2093         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2094         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2095         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2096
2097         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2098         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2099         (__ASSUME_SOCKETCALL): Do not define.
2100         (__ASSUME_IPC64): Define unconditionally.
2101         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2102         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2103         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2104         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2105         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2106         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2107         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2108         Likewise.
2109
2110         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2111         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2112         (__ASSUME_SOCKETCALL): Do not define.
2113         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2114         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2115         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2116         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2117         (__ASSUME_REQUEUE_PI): Define unconditionally.
2118         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2119         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2120         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2121         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2122         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2123         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2124
2125         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2126         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2127         (__ASSUME_SOCKETCALL): Do not define.
2128         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2129         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2130         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2131         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2132         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2133         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2134
2135         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2136         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2137         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2138         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2139         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2140         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2141         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2142         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2143         (__ASSUME_GETCPU_SYSCALL): Likewise.
2144
2145         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2146         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
2147         cases for individual architectures.
2148         * sysdeps/gnu/configure: Regenerated.
2149         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2150         LIBC_SLIBDIR_RTLDDIR.
2151         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2152         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2153         LIBC_SLIBDIR_RTLDDIR.
2154         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2156         LIBC_SLIBDIR_RTLDDIR.
2157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2158         Regenerated.
2159         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2160         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2161         file.
2162         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2163         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2164         file.
2165         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2166         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2167         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2168         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2169
2170         * sysdeps/aarch64/shlib-versions: Move to ...
2171         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2172         * sysdeps/alpha/shlib-versions: Move to ...
2173         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2174         * sysdeps/arm/shlib-versions: Move to ...
2175         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2176         * sysdeps/hppa/shlib-versions: Move all contents except for
2177         libgcc_s entry to ...
2178         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
2179         entry from ...
2180         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
2181         * sysdeps/ia64/shlib-versions: Move to ...
2182         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
2183         entry from ...
2184         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
2185         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2186         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2187         * sysdeps/microblaze/shlib-versions: Move to ...
2188         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2189         * sysdeps/mips/shlib-versions: Move to ...
2190         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
2191         entry from ...
2192         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
2193         * sysdeps/tile/shlib-versions: Move to ...
2194         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2195         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2196         from ...
2197         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
2198         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2199         entry from ...
2200         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
2201
2202 2014-07-17  Will Newton  <will.newton@linaro.org>
2203
2204         * sysdeps/arm/bits/atomic.h
2205         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2206         (__arch_compare_and_exchange_bool_16_int): Likewise.
2207         (__arch_compare_and_exchange_bool_64_int): Likewise.
2208
2209         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2210         into an #else block.
2211
2212 2014-07-16  Roland McGrath  <roland@hack.frob.com>
2213
2214         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2215         just Linux configurations.  Test empirically that the compiler sets
2216         __ARM_EABI__, rather than using the tuple to decide.
2217         * sysdeps/arm/preconfigure: Regenerated.
2218         * sysdeps/unix/sysv/linux/arm/configure: File removed.
2219         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2220         contents appended ...
2221         * sysdeps/arm/configure.ac: ... here.
2222         * sysdeps/arm/configure: Regenerated.
2223
2224 2014-07-15  Roland McGrath  <roland@hack.frob.com>
2225
2226         * nptl/pthread_kill.c: New file.
2227         * nptl/pthread_sigmask.c: New file.
2228         * nptl/pthread_sigqueue.c: New file.
2229
2230         * sysdeps/nptl/lowlevellock.h: New file.
2231         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2232         * sysdeps/nptl/lowlevellock-futex.h: New file.
2233
2234         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2235         Remove dead declarations.
2236
2237 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
2238
2239         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2240         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2241         config-cflags-avx2.
2242         * sysdeps/x86_64/configure.ac: Likewise.
2243         * sysdeps/i386/configure: Regenerated.
2244         * sysdeps/x86_64/configure: Likewise.
2245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2246         memset-avx2 only if config-cflags-avx2 is yes.
2247         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2248         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2249         defined.
2250         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2251         only if HAVE_AVX2_SUPPORT is defined.
2252         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2253
2254 2014-07-14  Alan Modra  <amodra@gmail.com>
2255
2256         [BZ #17153]
2257         * elf/elf.h (DT_PPC64_NUM): Correct value.
2258         * NEWS: Add to fixed bug list.
2259
2260 2014-07-13  Jim Meyering  <meyering@fb.com>
2261
2262         [BZ 17150]
2263         regex: don't deref NULL upon heap allocation failure
2264         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2265         failure in one more place.
2266         To trigger the segfault, configure grep -with-included-regex,
2267         build it, and run these commands:
2268         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2269
2270 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
2271
2272         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2273
2274 2014-07-11  Richard Henderson  <rth@redhat.com>
2275
2276         * sysdeps/aarch64/libm-test-ulps: Update.
2277
2278 2014-07-10  Florian Weimer  <fweimer@redhat.com>
2279
2280         [BZ #17135]
2281         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2282         * nptl/allocatestack.c (__nptl_setxid_error): New function.
2283         (__nptl_setxid): Initialize error member.  Call
2284         __nptl_setxid_error.
2285         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2286         * nptl/descr.h (struct xid_command): Add error member.
2287         * nptl/tst-setuid3.c: New file.
2288         * nptl/Makefile (tests): Add it.
2289
2290 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2291
2292         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2293         New define.
2294         (__lll_trylock): Use __lll_base_trylock.
2295         (__lll_cond_trylock): Likewise.
2296
2297 2014-07-10  Roland McGrath  <roland@hack.frob.com>
2298
2299         * nptl/pthread_create.c (start_thread): Use atomic_or and
2300         lll_futex_wake directly rather than lll_robust_dead.
2301         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2302         (lll_robust_dead): Macro removed.
2303         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2304         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2305         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2306         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2307         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2308         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2309         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2310         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2311         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2312         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2313         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2314         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2315         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2316         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2317         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2318
2319         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2320         Use atomic_compare_and_exchange_val_acq directly rather than
2321         lll_robust_trylock.
2322         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2323         (__lll_robust_trylock, lll_robust_trylock): Removed.
2324         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2325         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2326         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2327         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2328         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2329         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2330         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2331         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2332         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2333         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2334         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2335         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2336         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2337         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2338
2339 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2340
2341         * manual/locale.texi (Locale Names): New section documenting
2342         locale name syntax.  Adjust menu and node chaining accordingly.
2343         (Choosing Locale): Reference Locale Names, Locale Categories.
2344         Mention setting LC_ALL=C.  Reflect that name syntax is now
2345         documented.
2346         (Locale Categories): New section title.  Reference Locale Names.
2347         LC_ALL is an environment variable, but not a category.
2348         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2349         description, now in Locale Name.  Reference that section.  Locale
2350         name syntax is now documented.
2351
2352 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2353
2354         [BZ #17137]
2355         * locale/findlocale.c (name_present, valid_locale_name): New
2356         functions.
2357         (_nl_find_locale): Use the loc_name variable to store name
2358         candidates.  Call name_present and valid_locale_name to check and
2359         validate locale names.  Return an error if the locale is invalid.
2360
2361 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2362
2363         * locale/setlocale.c (setlocale): Use strdup for allocating
2364         composite name copy.
2365
2366 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2367
2368         Sync up with gnulib.
2369         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2370         [!_LIBC && ENABLE_NLS]: Include gettext.h.
2371         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2372         and _GL_ARG_NONNULL.
2373         [USE_UNLOCKED_IO]: Include unlocked-io.h.
2374         [!_LIBC]: Include code for Windows and Cygwin.
2375         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2376         Include prototype for int strerror_r.
2377         [!_LIBC] (is_open): New function.
2378         (flush_stdout): New function.
2379         (print_errno_message): Use it.
2380         (error): Likewise.
2381         (error_at_line): Likewise.
2382         (error_tail) Add function attribute macros.  Use
2383         __builtin_expect.
2384
2385         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2386
2387         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2388
2389         * io/ftw.c: Include sys/param.h unconditionally.
2390
2391         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2392
2393         [BZ #17125]
2394         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2395         libc_freeres_ptr.
2396         (freecache): New function to free CACHE on exit.
2397
2398         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2399         initialization.
2400
2401 2014-07-09  David S. Miller  <davem@davemloft.net>
2402
2403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2404
2405         * sysdeps/sparc/nptl/internaltypes.h: Delete.
2406         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2407         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2408         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2409         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2410         * sysdeps/sparc/nptl/sem_init.c: Likewise.
2411         * sysdeps/sparc/nptl/sem_post.c: Likewise.
2412         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2413         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2414         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2415         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2416         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2417         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2418
2419 2014-07-09  Andreas Schwab  <schwab@suse.de>
2420
2421         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2422         output.
2423         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2424         (do_test): Likewise.
2425
2426         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2427
2428 2014-07-09  Will Newton  <will.newton@linaro.org>
2429
2430         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2431         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2432         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2433         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2434         * sysdeps/hppa/start.S (_start): Likewise.
2435
2436 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
2437
2438         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2439
2440         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2441         defined.
2442
2443 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2444
2445         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2446         after checking that it is non-NULL.
2447
2448         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2449
2450 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2451
2452         * sysdeps/powerpc/memmove.c: Remove file.
2453         * sysdeps/powerpc/powerpc32/power4/memcopy.h
2454         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2455         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2456         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2457         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2458         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2459         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2460         string memmove instead of removed powerpc one.
2461
2462         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2463         [weak_alias]: Fix compiler warning due trailing data.
2464         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2465         [weak_alias]: Likewise.
2466         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2467         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2468
2469         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2470         (__libc_ifunc_impl_list): Add memmove functions.
2471
2472 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2473
2474         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2475         Remove code.
2476         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2477         Likewise
2478         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2479         Likewise
2480         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2481         Likewise
2482         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2483         Likewise
2484         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2485         Likewise
2486         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2487         Likewise
2488         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2489         Likewise
2490         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2491         Likewise
2492         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2493         Likewise
2494         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2495         Likewise
2496         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2497         Likewise
2498         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2499         Likewise
2500         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2501         Likewise
2502         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2503         Likewise
2504         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2505         Likewise
2506         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2507         Likewise
2508
2509 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2510
2511         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2512         to avoid alignment traps in non-cacheable memory.
2513         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2514
2515         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2516         multiarch objects.
2517         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2518         file: multiarch power7 memmove.
2519         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2520         multiarch default memmove.
2521         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2522         multiarch memove for powerpc32/power4.
2523
2524         * string/bcopy.c: Use full path to include memmove.c.
2525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2526         multiarch objects.
2527         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2528         bcopy for powerpc64.
2529         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2530         bcopy for powerpc64.
2531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2532         and memmove implementations.
2533         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2534         optimized multiarch memmove for POWER7/powerpc64.
2535         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2536         default multiarch memmove for powerpc64.
2537         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2538         multiarch for powerpc64.
2539         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2540         for POWER7/powerpc64.
2541         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2542         memmove for POWER7/powerpc64.
2543
2544         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2545         glibc default one.
2546
2547         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2548         __ELF_NATIVE_CLASS equal to 64.
2549
2550 2014-07-07  Roland McGrath  <roland@hack.frob.com>
2551
2552         * sysdeps/nptl/lowlevellock.h: File removed.
2553
2554         * NEWS: NPTL is no longer an add-on!
2555         * nptl/internaltypes.h: Moved ...
2556         * sysdeps/nptl/internaltypes.h: ... here.
2557         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2558         * sysdeps/nptl/fork.c: Likewise.
2559         * sysdeps/nptl/gai_misc.h: Likewise.
2560         * sysdeps/nptl/librt-cancellation.c: Likewise.
2561         * sysdeps/nptl/jmp-unwind.c: Likewise.
2562         * sysdeps/nptl/setxid.h: Likewise.
2563         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2564         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2565         * sysdeps/unix/sysv/linux/arm/Implies: New file.
2566         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2567         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2568         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2569         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2570         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2571         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2572         * sysdeps/unix/sysv/linux/mips/Implies: New file.
2573         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2574         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2575         * sysdeps/unix/sysv/linux/sh/Implies: New file.
2576         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2577         * sysdeps/unix/sysv/linux/tile/Implies: New file.
2578         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2579         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2580         * nptl/Makeconfig: Moved ...
2581         * sysdeps/nptl/Makeconfig: ... here.
2582         * nptl/configure: File removed.
2583         * nptl/ANNOUNCE: File removed.
2584         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2585         * sysdeps/unix/sysv/linux/configure: Regenerated.
2586
2587         * nptl/Makefile (routines): Add libc_pthread_init,
2588         libc_multiple_threads, register-atfork and unregister-atfork.
2589         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2590         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2591         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2592         pthread-pi-defines.sym, structsem.sym.
2593         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2594         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2595         [$(subdir) = nptl] (tests): Add tst-setgetname.
2596         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2597         * sysdeps/unix/sysv/linux/sigaction.c: Just include
2598         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2599         [!LIBC_SIGACTION]: Remove aliases.
2600         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2601         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2602         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2603         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2604         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2605         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2606         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2607         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2608         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2609         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2610         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2611         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2612         __libc_allocate_rtsig_private.
2613         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2614         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2615         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2616         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2617         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2618         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2619         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2620         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2621         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2622         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2623         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2624         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2625         * nptl/internaltypes.h: ... here.
2626         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2627         * sysdeps/nptl/jmp-unwind.c: ... here.
2628         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2629         * nptl/libc-lowlevellock.c: ... here.
2630         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2631         * nptl/libc_multiple_threads.c: ... here.
2632         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2633         * nptl/libc_pthread_init.c: ... here.
2634         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2635         * nptl/lowlevelbarrier.sym: ... here.
2636         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2637         * nptl/lowlevelcond.sym: ... here.
2638         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2639         * nptl/lowlevellock.c: ... here.
2640         * nptl/lowlevellock.h: Moved ...
2641         * sysdeps/nptl/lowlevellock.h: ... here.
2642         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2643         * nptl/lowlevelrobustlock.c: ... here.
2644         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2645         * nptl/lowlevelrobustlock.sym: ... here.
2646         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2647         * nptl/lowlevelrwlock.sym: ... here.
2648         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2649         * nptl/pt-fork.c: ... here.
2650         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2651         * nptl/pthread-pi-defines.sym: ... here.
2652         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2653         * nptl/pthread_attr_getaffinity.c: ... here.
2654         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2655         * nptl/pthread_attr_setaffinity.c: ... here.
2656         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2657         * nptl/pthread_mutex_cond_lock.c: ... here.
2658         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2659         Update #include.
2660         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2661         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2662         * nptl/pthread_once.c: ... here, replacing old file.
2663         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2664         * nptl/pthread_yield.c: ... here.
2665         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2666         * nptl/register-atfork.c: ... here.
2667         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2668         * nptl/sem_post.c: ... here.
2669         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2670         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2671         * nptl/sem_timedwait.c: ... here.
2672         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2673         * nptl/sem_trywait.c: ... here.
2674         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2675         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2676         * nptl/sem_wait.c: ... here.
2677         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2678         * nptl/structsem.sym: ... here.
2679         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2680         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2681         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2682         * nptl/unregister-atfork.c: ... here.
2683         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2684         * nptl/unwindbuf.sym: ... here.
2685         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2686         * sysdeps/nptl/fork.c: ... here.
2687         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2688         * sysdeps/nptl/fork.h: ... here.
2689         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2690         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2691         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2692         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2693         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2694         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2695         * sysdeps/unix/sysv/linux/getpid.c: ... here.
2696         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2697         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2698         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2699         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2700         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2701         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2702         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2703         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2704         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2705         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2706         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2707         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2708         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2709         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2710         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2711         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2712         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2713         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2714         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2715         * sysdeps/unix/sysv/linux/raise.c: ... here.
2716         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2717         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2718         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2719         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2720         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2721         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2722         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2723         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2724         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2725         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2726         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2727         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2728         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2729         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2730         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2731
2732 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2733
2734         * sysdeps/generic/memcopy.h: Add comment for
2735         MEMCPY_OK_FOR_FWD_MEMMOVE.
2736
2737 2014-07-04  Will Newton  <will.newton@linaro.org>
2738
2739         * string/memchr.c: Merge from gnulib.
2740         [_LIBC]: Remove conditionals.
2741         (__ptr_t): Remove define.
2742         (LONG_MAX_32_BITS): Likewise.
2743         (LONG_MAX): Likewise.
2744         (MEMCHR): Use ANSI prototype and optimize algorithm.
2745
2746         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2747
2748 2014-07-03  Roland McGrath  <roland@hack.frob.com>
2749
2750         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2751         (lll_futex_timed_wait_bitset): Fix syscall argument count.
2752
2753         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2754         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2755         in a bare environment with no <stdlib.h> installed.
2756         * sysdeps/nptl/configure: Regenerated.
2757
2758         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2759
2760         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2761         AC_EGREP_CPP for kernel header checks, so they only succeed if
2762         including <linux/version.h> actually works right.
2763         * sysdeps/unix/sysv/linux/configure: Regenerated.
2764
2765         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2766         value so it's not diagnosed as unused.
2767
2768         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2769         thing) with "ifeq ($(subdir),rt)".
2770
2771 2014-07-03  Richard Henderson  <rth@redhat.com>
2772
2773         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2774         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2775         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2776
2777         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2778         (math_force_eval): New.
2779
2780         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2781         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2782
2783         * sysdeps/alpha/fpu/s_round.c: Remove file.
2784         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2785
2786         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2787         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2788         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2789         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2790         (_dl_start, print_statistics): Likewise.
2791         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2792         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2793
2794         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2795         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2796         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2797         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2798         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2799         (HP_SMALL_TIMING_AVAIL): Define.
2800         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2801         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2802         (HP_SMALL_TIMING_AVAIL): Define.
2803         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2804         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2805
2806         * sysdeps/aarch64/hp-timing.h: New file.
2807
2808         * sysdeps/generic/hp-timing.h: Remove dead comment.
2809         * sysdeps/generic/hp-timing-common.h: New file.
2810         * sysdeps/alpha/hp-timing.h: Include it.
2811         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2812         * sysdeps/i386/i686/hp-timing.h: Likewise.
2813         * sysdeps/ia64/hp-timing.h: Likewise.
2814         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2815         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2816         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2817         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2818         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2819         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2820         (hp_timing_t): New.
2821
2822         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2823         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2824         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2825         * elf/rtld.c (_dl_start_final): Likewise.
2826         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2827         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2828         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2829         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2830         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2831         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2832         (HP_TIMING_DIFF_INIT): Remove.
2833         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2834         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2835         (HP_TIMING_DIFF_INIT): Remove.
2836         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2837         * sysdeps/i386/i686/hp-timing.c: Remove file.
2838         * sysdeps/x86_64/hp-timing.c: Remove file.
2839         * sysdeps/ia64/hp-timing.c: Remove file.
2840         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2841         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2842         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2843         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2844
2845         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2846         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2847         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2848         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2849         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2850         (HP_TIMING_ACCUM): Remove.
2851         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2852         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2853         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2854
2855         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2856         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2857         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2858         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2859         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2860         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2861         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2862         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2863
2864         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2865
2866 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
2867
2868         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2869
2870 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2871
2872         Sync up with gettext.
2873         * intl/loadmsgcat.c: Define O_BINARY if not defined.
2874         [_MSC_VER]: Include malloc.h
2875         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2876         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2877         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2878         TEMP_FAILURE_RETRY.  Cast return of alloca.
2879         [!_LIBC] Call gl_rwlock_init.
2880         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2881
2882 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2883
2884         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2885         before checking its value.
2886
2887 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2888
2889         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2890
2891         * debug/memcpy_chk.c: Don't include pagecopy.h.
2892         * debug/mempcpy_chk.c: Likewise.
2893         * string/memcpy.c: Likewise.
2894         * string/memmove.c: Likewise.
2895         * sysdeps/powerpc/memmove.c: Likewise.
2896         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2897         definition of PAGE_COPY_FWD_MAYBE here...
2898         * sysdeps/generic/pagecopy.h: ... from here.
2899         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2900
2901 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2902             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2903
2904         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2905         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2906         optimizations.
2907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2908         (__libc_ifunc_impl_list): Likewise.
2909         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2910         multiarch strcat for PPC64.
2911         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2912         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2913
2914 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2915
2916         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2917
2918 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2919
2920         * intl/loadmsgcat.c: Remove declaration of
2921         get_sysdep_segment_value.
2922         (get_sysdep_segment_value): Use ISO C style.
2923         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2924         semicolon.  Fix typo and formatting in comment.
2925         (_nl_unload_domain): Use ISO C style.
2926
2927         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2928
2929 2014-07-02  Will Newton  <will.newton@linaro.org>
2930
2931         * malloc/obstack.c: Merge from gnulib master.
2932         [HAVE_CONFIG_H]: Remove conditional code.
2933         [!_LIBC]: Include config.h.
2934         [!ELIDE_CODE]: Don't include inttypes.h, include
2935         stdint.h unconditionally.
2936         (print_and_abort): Mark as _Noreturn.
2937         (_obstack_allocated_p): Mark as __attribute_pure__.
2938         (obstack_free): Rename to __obstack_free.
2939         [!__attribute__]: Remove conditional code.
2940         * malloc/obstack.h: Merge from gnulib master.
2941         [__cplusplus]: Move conditional down.
2942         [!__attribute_pure__]: Define __attribute_pure__ here
2943         if it is not already defined.
2944         (_obstack_memory_used): Mark as __attribute_pure__.
2945         [!__obstack_free]: Define as obstack_free.
2946         [__GNUC__]: Remove check for ancient NeXT gcc.
2947
2948 2014-07-02  Will Newton  <will.newton@linaro.org>
2949             Paul Eggert  <eggert@cs.ucla.edu>
2950
2951         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2952
2953 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2954
2955         * resolv/gethnamaddr.c: Add comment warning that the file is
2956         not maintained.
2957
2958 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2959
2960         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2961         entries.
2962
2963         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2964         entry for aio_cancel and aio_cancel64.
2965         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2966         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2967         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2968         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2969         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2970         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2971         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2972         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2973         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2974         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2975         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2976         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2977         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2978
2979 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2980
2981         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2982         * nptl/pthread_mutex_lock.c: Likewise.
2983         * nptl/pthread_mutex_timedlock.c: Likewise.
2984         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2985
2986 2014-07-01  Richard henderson  <rth@redhat.com>
2987
2988         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2989         (__isnan, __isnanl): Remove.
2990         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2991
2992         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2993
2994 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2995
2996         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2997
2998 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2999
3000         * resolv/nss_dns/dns-host.c (getanswer_r)
3001         [MULTI_PTRS_ARE_ALIASES]: Remove code.
3002
3003 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
3004
3005         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3006         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3007         undefine.
3008         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3009         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3010
3011 2014-07-01  Roland McGrath <roland@hack.frob.com>
3012
3013         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3014         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3015
3016         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3017         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3018
3019         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3020         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3021         ... here.
3022         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3023         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3024
3025         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3026         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3027         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3028         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3029
3030         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3031         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3032         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3033         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3034         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3035         Moved ...
3036         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3037         ... here.
3038         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3039         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3040         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3041         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3042         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3043         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3044         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3045         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3046         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3047         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3048         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3049         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3050         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3051         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3052         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3053         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3054         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3055         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3056         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3057         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3058         ... here.
3059         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3060         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3061         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3062         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3063         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3064         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3065         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3066         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3067
3068 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
3069
3070         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3071         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3072         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3073         Add sysdep.
3074
3075 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3076
3077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3078
3079 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3080
3081         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3082         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3083
3084         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3085
3086         * sysdeps/arm/libm-test-ulps: Regenerated.
3087
3088 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3089             Roland McGrath <roland@hack.frob.com>
3090
3091         * test-skeleton.c (signal_handler): Kill the whole process group
3092         before killing the child individually.
3093         (main): Report any failure on `setpgid'.
3094
3095 2014-06-30  Roland McGrath  <roland@hack.frob.com>
3096
3097         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3098         from _TLS_H to _ARM_NPTL_TLS_H.
3099         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3100         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3101
3102 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3103
3104         [BZ #16539]
3105         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3106         (__expm1l): Return argument unchanged when small but not
3107         subnormal.
3108
3109         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3110         include macro name.
3111         (_FP_UNPACK_RAW_1_P): Likewise.
3112         (_FP_PACK_RAW_1): Likewise.
3113         (_FP_PACK_RAW_1_P): Likewise.
3114         (_FP_MUL_MEAT_1_wide): Likewise.
3115         (_FP_MUL_MEAT_DW_1_hard): Likewise.
3116         (_FP_MUL_MEAT_1_hard): Likewise.
3117         (_FP_DIV_MEAT_1_imm): Likewise.
3118         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3119         (_FP_DIV_MEAT_1_udiv): Likewise.
3120         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3121         (_FP_UNPACK_RAW_2): Likewise.
3122         (_FP_UNPACK_RAW_2_P): Likewise.
3123         (_FP_PACK_RAW_2): Likewise.
3124         (_FP_PACK_RAW_2_P): Likewise.
3125         (_FP_MUL_MEAT_DW_2_wide): Likewise.
3126         (_FP_MUL_MEAT_2_wide): Likewise.
3127         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3128         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3129         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3130         (_FP_MUL_MEAT_2_gmp): Likewise.
3131         (_FP_DIV_MEAT_2_udiv): Likewise.
3132         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3133         (_FP_FRAC_SRL_4): Likewise.
3134         (_FP_FRAC_SRST_4): Likewise.
3135         (_FP_FRAC_SRS_4): Likewise.
3136         (_FP_UNPACK_RAW_4): Likewise.
3137         (_FP_UNPACK_RAW_4_P): Likewise.
3138         (_FP_PACK_RAW_4): Likewise.
3139         (_FP_PACK_RAW_4_P): Likewise.
3140         (_FP_MUL_MEAT_DW_4_wide): Likewise.
3141         (_FP_MUL_MEAT_4_wide): Likewise.
3142         (_FP_MUL_MEAT_4_gmp): Likewise.
3143         (umul_ppppmnnn): Likewise.
3144         (_FP_DIV_MEAT_4_udiv): Likewise.
3145         (__FP_FRAC_ADD_4): Likewise.
3146         (__FP_FRAC_SUB_3): Likewise.
3147         (__FP_FRAC_SUB_4): Likewise.
3148         (__FP_FRAC_DEC_3): Likewise.
3149         (__FP_FRAC_DEC_4): Likewise.
3150         (__FP_FRAC_ADDI_4): Likewise.
3151         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3152         (_FP_FRAC_SRL_8): Likewise.
3153         (_FP_FRAC_SRS_8): Likewise.
3154
3155         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3156         include macro name.
3157         (FP_UNPACK_RAW_EP): Likewise.
3158         (FP_PACK_RAW_E): Likewise.
3159         (FP_PACK_RAW_EP): Likewise.
3160         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3161         (_FP_ISSIGNAN): Likewise.
3162         (_FP_ADD_INTERNAL): Likewise.
3163         (_FP_FMA): Likewise.
3164         (_FP_CMP): Likewise.
3165         (_FP_SQRT): Likewise.
3166         (_FP_TO_INT): Likewise.
3167         (_FP_FROM_INT): Likewise.
3168         (FP_EXTEND): Likewise.
3169         (_FP_DIV_MEAT_N_loop): Likewise.
3170
3171 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3172
3173         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3174         throughout.
3175
3176 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
3177
3178         [BZ #17097]
3179         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3180         result with correct sign in case of exponents that produce
3181         overflow except for X very close to 1.
3182
3183 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
3184
3185         mktime: merge #if/#ifdef usage from glibc
3186         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3187         as that works with both Glibc's and Gnulib's style.
3188         See thread starting at Siddhesh Poyarekar's bug report at:
3189         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3190
3191 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3192
3193         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3194         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3195         * sysdeps/tile/tilegx/memmove.c: Remove file.
3196
3197 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3198
3199         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3200         abi-name definition.
3201         * scripts/soversions.awk: Do not handle or generate ABI lines.
3202         * shlib-versions: Remove ABI entries.
3203         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3204         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3205
3206 2014-06-27  Roland McGrath  <roland@hack.frob.com>
3207
3208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3209         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3210         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3211         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3212         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3213         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3214         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3215         Moved ...
3216         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3217         ... here.
3218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3219         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3221         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3222         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3223         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3225         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3227         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3228         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3229         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3231         Moved ...
3232         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3234         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3235         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3236         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3237         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3238         Moved ...
3239         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3241         Moved ...
3242         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3243         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3244         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3245         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3246         Moved ...
3247         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3249         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3250         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3251         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3253         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3255         Moved ...
3256         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3258         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3259         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3260         Moved ...
3261         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3262         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3263         Moved ...
3264         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3265         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3266         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3268         Moved ...
3269         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3270         ... here.
3271         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3272         Identical file removed.
3273         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3274         Moved ...
3275         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3276         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3277         Identical file removed.
3278         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3279         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3280         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3281         Moved ...
3282         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3283         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3284         Identical file removed.
3285         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3286         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3287         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3288         Identical file removed.
3289         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3290         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3291         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3292         Identical file removed.
3293         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3294         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3295         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3296         Identical file removed.
3297         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3298         Moved ...
3299         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3300         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3301         Identical file removed.
3302         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3303         Moved ...
3304         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3305         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3306         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3307         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3308         Identical file removed.
3309         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3310         Moved ...
3311         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3312         ... here.
3313         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3314         Identical file removed.
3315         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3316         Moved ...
3317         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3318         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3319         Identical file removed.
3320         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3321         Moved ...
3322         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3324         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3325         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3326         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3327         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3328         Moved ...
3329         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3330         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3331         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3332
3333         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3334         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3335         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3336         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3337         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3338
3339 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
3340
3341         [BZ #17092]
3342         * nscd/nscd.c (monitor_child): Return exit status of child
3343         instead of return value from wait syscall.
3344
3345 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3346
3347         * configure.ac (libc_commonpagesize): Remove variable.
3348         (libc_relro_required): Likewise.
3349         (libc_cv_z_relro): Remove configure test.
3350         * configure: Regenerated.
3351         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3352         variable.
3353         (libc_relro_required): Likewise.
3354         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3355         (libc_relro_required): Likewise.
3356         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3357         (libc_relro_required): Likewise.
3358         * sysdeps/arm/preconfigure: Regenerated.
3359         * sysdeps/ia64/preconfigure: Remove file.
3360         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3361         variable.
3362         (libc_relro_required): Likewise.
3363
3364         [BZ #16561]
3365         [BZ #16562]
3366         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3367         (__ieee754_yn): Set FE_TONEAREST mode internally and then
3368         recompute overflowing results in original rounding mode.
3369         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3370         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3371         recompute overflowing results in original rounding mode.
3372         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3373         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3374         recompute overflowing results in original rounding mode.
3375         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3376         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3377         recompute overflowing results in original rounding mode.
3378         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3379         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3380         recompute overflowing results in original rounding mode.
3381         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3382         (libc_feholdsetround_ctx): New macro.
3383         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3384         * sysdeps/i386/fpu/libm-test-ulps: Update.
3385         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3386
3387 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3388
3389         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3390         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3391         corresponding .cpsetup call.
3392
3393 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3394
3395         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3396         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3397         * sysdeps/arm/Makefile [$(subdir) = csu]
3398         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3399         (static-only-routines): Add aeabi_read_tp here.
3400         (shared-only-routines): Add libc-aeabi_read_tp here.
3401         (CFLAGS-libc-start.c): Add -fexceptions here.
3402         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3403         (sysdep_routines, static-only-routines, shared-only-routines):
3404         Don't add to these here.
3405         (CFLAGS-libc-start.c): Likewise.
3406
3407         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3408         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3409         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3410         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3411         * sysdeps/arm/Makefile [$(subdir) = rt]
3412         (librt-sysdep_routines, librt-shared-only-routines):
3413         Append rt-aeabi_unwind_cpp_pr1 here.
3414         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3415         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3416         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3417         (libpthread-sysdep_routines, libpthread-shared-only-routines):
3418         Append nptl-aeabi_unwind_cpp_pr1 here.
3419         (tests): Filter out tst-cleanupx4 here.
3420         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3421         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3422         Don't do those here.
3423
3424 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3425
3426         * scripts/list-sources.sh: Do not handle ports specially.
3427
3428 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3429
3430         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3431         * sysdeps/arm/feupdateenv.c: Likewise.
3432
3433         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3434
3435 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3436
3437         * manual/texinfo.tex: Update to version 2014-05-05.10 with
3438         trailing whitespace removed.
3439         * scripts/config.guess: Update to version 2014-03-23.
3440         * scripts/config.sub: Update to version 2014-05-01
3441         * scripts/install-sh: Update to version 2013-12-25.23.
3442         * scripts/move-if-change: Update from gnulib.
3443
3444 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3445
3446         * debug/memmove_chk.c: Remove pagecopy.h include.
3447
3448 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
3449
3450         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
3451         identical to gnulib mktime.
3452
3453 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3454
3455         * configure.ac: Do not test for machine being rs6000.  Do not test
3456         for powerpc*-*soft.
3457         * configure: Regenerated.
3458
3459         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3460         test.
3461         * configure: Regenerated.
3462         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3463         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3464         Remove configure test.
3465         * sysdeps/arm/configure: Regenerated.
3466         * sysdeps/nptl/configure.ac: Do not check
3467         libc_cv_asm_cfi_directives.
3468         * sysdeps/nptl/configure: Regenerated.
3469         * sysdeps/x86_64/nptl/configure.ac: Remove file.
3470         * sysdeps/x86_64/nptl/configure: Remove generated file.
3471         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3472         unconditional.
3473         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3474
3475 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3476
3477         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3478         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3479         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3480         it is defined.
3481
3482         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3483         instead of whether it is defined.
3484         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3485         * sysdeps/hppa/dl-machine.h: Likewise.
3486         * sysdeps/ia64/dl-machine.h: Likewise.
3487         * sysdeps/m68k/dl-machine.h: Likewise.
3488         * sysdeps/microblaze/dl-machine.h: Likewise.
3489         * sysdeps/mips/dl-machine.: Likewise.
3490         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3491         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3492         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3493         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3494         * sysdeps/sh/dl-machine.h: Likewise.
3495         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3496         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3497         * sysdeps/tile/dl-machine.h: Likewise.
3498         * sysdeps/x86_64/dl-machine.h: Likewise.
3499
3500         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3501         code.
3502         (verify_persistent_db): Likewise.
3503
3504 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3505
3506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3507         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3509         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3511         Moved ...
3512         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3513         ... here.
3514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3515         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3517         Identical file removed.
3518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3519         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3521         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3523         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3525         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3527         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3529         Moved ...
3530         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3532         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3534         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3536         Moved ...
3537         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3539         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3541         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3543         Identical file removed.
3544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3545         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3547         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3549         Moved ...
3550         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3551         ... here.
3552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3553         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3555         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3557         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3559         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3561         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3563         Moved ...
3564         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3566         Moved ...
3567         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3569         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3571         Moved ...
3572         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3574         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3575
3576         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3577         folded into ...
3578         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3579         * sysdeps/unix/sysv/linux/s390/Versions
3580         (libpthread: GLIBC_2.19): New version set.
3581         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3582         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3583         (librt: GLIBC_2.3.3): New version set.
3584         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3585         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3586         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3587         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3588         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3589         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3590         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3591         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3592         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3593         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3594         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3595         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3596         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3597         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3598         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3599         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3600         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3601         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3602         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3603         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3604         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3605         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3606         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3607         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3608         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3609         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3610         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3611         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3612         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3613         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3614         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3615         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3616         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3617         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3618         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3619         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3620         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3621         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3622         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3623         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3624         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3625         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3626         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3627         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3628         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3629
3630         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3631         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3632         (__libc_vfork): Define the function under this name.
3633         [!NOT_IN_libc] (__vfork): Make this an alias.
3634         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3635         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3636         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3637         (__libc_vfork): Define the function under this name.
3638         [!NOT_IN_libc] (__vfork): Make this an alias.
3639         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3640         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3641         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3642         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3643         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3644         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3645
3646         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3647         code that was previously under [RESET_PID].
3648         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3649         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3650         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3651
3652         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3653         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3654         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3655         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3656         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3657         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3658         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3659         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3660         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3661         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3662         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3663         Moved ...
3664         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3665         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3666         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3667         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3668         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3669         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3670         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3671         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3672         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3673         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3674         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3675         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3676         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3677         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3678         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3679         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3680         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3681         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3682         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3683         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3684         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3685         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3686         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3687         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3688         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3689         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3690         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3691         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3692         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3693
3694 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3695
3696         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3697         that was previously under [RESET_PID].
3698         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3699
3700 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3701
3702         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3703         not undefine and redefine.
3704         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3705         [O_CLOEXEC]: Make code unconditional.
3706         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3707         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3708         <kernel-features.h>.
3709         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3710         conditional variable definition.
3711         (shm_open) [O_CLOEXEC]: Make code unconditional.
3712         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3713         code.
3714
3715         * configure.ac (USE_REGPARMS): Don't define here.
3716         * configure: Regenerated.
3717         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3718         * sysdeps/i386/configure: Regenerated.
3719
3720         * nptl/createthread.c: Don't include kernel-features.h.
3721         * nptl/pthread_cancel.c: Likewise.
3722         * nptl/pthread_condattr_setclock.c: Likewise.
3723         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3724         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3725         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3726         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3727         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3728         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3729         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3730         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3731         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3732         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3733         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3734         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3735         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3736         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3737         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3738         * nscd/gai.c: Likewise.
3739         * nss/nss_db/db-open.c: Likewise.
3740         * sysdeps/generic/ldsodefs.h: Likewise.
3741         * sysdeps/sh/nptl/tls.h: Likewise.
3742         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3743         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3744         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3745         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3746         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3747         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3748         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3749         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3750         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3751         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3752         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3753         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3754         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3755         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3756         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3757         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3758         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3759         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3760         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3761         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3762         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3763         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3764         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3765         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3766         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3767         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3768         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3769         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3770         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3771         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3772         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3773         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3774         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3775         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3776         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3777         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3778         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3779         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3780         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3781         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3782         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3783         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3784         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3785         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3786         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3787         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3788         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3789         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3790         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3791         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3792         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3793         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3794         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3795         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3796         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3797         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3798         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3799         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3822         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3823         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3824         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3825         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3826         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3827         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3828         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3829         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3830         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3831         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3832         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3833         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3834         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3835         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3836         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3837         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3838         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3839         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3840         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3841         * sysdeps/unix/sysv/linux/system.c: Likewise.
3842         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3843         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3844         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3845         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3846         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3847         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3848         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3849
3850         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3851         * configure: Regenerated.
3852         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3853
3854         * configure.ac (base_machine): Do not set specially for particular
3855         machines here.
3856         * configure: Regenerated.
3857         * sysdeps/powerpc/preconfigure: Move machine and base_machine
3858         settings from configure.ac.
3859         * sysdeps/i386/preconfigure: New file.
3860         * sysdeps/s390/preconfigure: Likewise.
3861         * sysdeps/sh/preconfigure: Likewise.
3862         * sysdeps/sparc/preconfigure: Likewise.
3863
3864 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3865
3866         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3867         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3868         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3869         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3870         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3871         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3872         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3873         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3874         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3875         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3876         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3877         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3878         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3879         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3880         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3881         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3882         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3883         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3884         * sysdeps/sparc/sparc64/Makefile: ... appended here.
3885
3886         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3887         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3888         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3889         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3890         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3891         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3892         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3893         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3894         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3895         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3896         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3897         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3898         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3899         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3900         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3901         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3902         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3903         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3904         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3905         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3906         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3907         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3908         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3909         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3910         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3911         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3912         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3913         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3914         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3915         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3916         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3917         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3918         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3919         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3920         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3921         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3922         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3923         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3924
3925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3926         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3928         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3930         Moved ...
3931         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3932         ... here.
3933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3934         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3936         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3938         Moved ...
3939         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3941         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3943         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3945         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3947         Moved ...
3948         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3950         Moved ...
3951         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3953         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3955         Moved ...
3956         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3958         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3960         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3962         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3964         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3966         Moved ...
3967         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3968         ... here.
3969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3970         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3972         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3974         Moved ...
3975         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3977         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3979         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3981         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3983         Moved ...
3984         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3986         Moved ...
3987         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3989         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3991         Moved ...
3992         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3994         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3996         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3997
3998 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3999
4000         * timezone/checktab.awk: Update from tzcode 2014e.
4001         * timezone/private.h: Likewise.
4002         * timezone/tzfile.h: Likewise.
4003         * timezone/zdump.c: Likewise.
4004         * timezone/zic.c: Likewise.
4005
4006         * sysdeps/unix/sysv/linux/kernel-features.h
4007         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4008         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4009         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4010         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4011         Remove conditional code.
4012
4013 2014-06-25  Will Newton  <will.newton@linaro.org>
4014
4015         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4016         (_dl_arm_cap_flags): Add HWCAP2 values.
4017         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4018         (_DL_HWCAP_COUNT): Increase to 37.
4019         (_DL_HWCAP_LAST): New define.
4020         (_DL_HWCAP2_LAST): New define.
4021         (_dl_procinfo): Add support for printing
4022         AT_HWCAP2 entries.
4023         (_dl_string_hwcap): Use _dl_hwcap_string.
4024
4025 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4026
4027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4028
4029 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4030
4031         * README: Do not mention ports directory.
4032
4033         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4034         Remove macro.
4035         * sysdeps/unix/sysv/linux/futimes.c: Do not include
4036         <kernel-features.h>.
4037         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4038         conditional variable definition.
4039         (__futimes): Update comment.
4040         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4041         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4042
4043         [BZ #16560]
4044         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4045         arguments close to 0.
4046         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4047         Likewise.
4048         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4049         Likewise.
4050         * math/auto-libm-test-in: Add more tests of exp10.
4051         * math/auto-libm-test-out: Regenerated.
4052         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4053
4054         * sysdeps/unix/sysv/linux/kernel-features.h
4055         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4056         * sysdeps/unix/sysv/linux/readv.c: Do not include
4057         <kernel-features.h>.
4058         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4059         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4060         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4061         unconditional.
4062         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4063         conditional code.
4064         * sysdeps/unix/sysv/linux/writev.c: Do not include
4065         <kernel-features.h>.
4066         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4067         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4068         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4069         unconditional.
4070         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4071         conditional code.
4072
4073 2014-06-25  Will Newton  <will.newton@linaro.org>
4074
4075         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4076         comment changes throughout the file.  Remove checks
4077         for HAVE_*_H definitions that are not required.
4078         (__gen_tempname): Call abort if an unknown kind value is
4079         passed.
4080
4081 2014-06-25  Andreas Schwab  <schwab@suse.de>
4082
4083         [BZ #17086]
4084         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4085         scalbln, scalblnf, scalblnl in libc.
4086
4087 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4088
4089         [BZ #17086]
4090         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4091         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4092         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4093
4094 2014-06-24  Roland McGrath  <roland@hack.frob.com>
4095
4096         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4097         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4098         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4099         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4100         Update #include.
4101         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4102         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4103         Update #include.
4104         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4105         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4106         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4107         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4108         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4109         * sysdeps/x86/bits/pthreadtypes.h: ... here.
4110         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4111         * sysdeps/x86/bits/semaphore.h: ... here.
4112         * sysdeps/x86/nptl/elide.h: Moved ...
4113         * sysdeps/x86/elide.h: ... here.
4114         * sysdeps/x86_64/nptl/Implies: File removed.
4115         * sysdeps/i386/nptl/Implies: File removed.
4116
4117 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
4118
4119         [BZ #16539]
4120         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4121         return the argument for normal arguments with exponent below -64.
4122         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4123         Likewise.
4124         * math/auto-libm-test-in: Add another test of expm1.
4125         * math/auto-libm-test-out: Regenerated.
4126
4127         [BZ #16287]
4128         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4129         calling __erfcl for arguments at least 16.
4130         * math/auto-libm-test-in: Add more tests of erf.
4131         * math/auto-libm-test-out: Regenerated.
4132
4133         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4134         individual architectures.
4135         * sysdeps/unix/sysv/linux/configure: Regenerated.
4136         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4137         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4138         * sysdeps/unix/sysv/linux/powerpc/configure.ac
4139         (ldd_rewrite_script): Define variable.
4140         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4142         file.
4143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4144         generated file.
4145         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4146         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4147         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4148         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4149         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4150         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4151         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4152         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4153
4154 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4155
4156         [BZ #17084]
4157         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4158         Rename member __data.d to __data.__elision_data.
4159
4160 2014-06-24  Wilco  <wdijkstr@arm.com>
4161
4162         * NEWS: Add 16918 to fixed bug list.
4163
4164 2014-06-24  Wilco  <wdijkstr@arm.com>
4165
4166         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4167
4168 2014-06-24  Wilco  <wdijkstr@arm.com>
4169
4170         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4171         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4172         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4173         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4174         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4175         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4176         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4177         Use _FPU_MASK_RM.
4178
4179 2014-06-24  Wilco  <wdijkstr@arm.com>
4180
4181         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4182
4183 2014-06-24  Wilco  <wdijkstr@arm.com>
4184
4185         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4186         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4187         * sysdeps/arm/fesetround.c (fesetround): Remove space.
4188         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4189
4190 2014-06-24  Wilco  <wdijkstr@arm.com>
4191
4192         [BZ #16918]
4193         * sysdeps/arm/feupdateenv.c (feupdateenv):
4194         Rewrite to reduce FPSCR accesses and fix return value.
4195
4196 2014-06-24  Wilco  <wdijkstr@arm.com>
4197
4198         * sysdeps/arm/fclrexcpt.c (feclearexcept):
4199         Optimize to avoid unnecessary FPSCR writes.
4200         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4201         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4202         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4203         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4204
4205 2014-06-24  Wilco  <wdijkstr@arm.com>
4206
4207         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4208         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4209         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4210         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4211         Call libc_fetestexcept_vfp.
4212         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4213         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4214         __SOFTFP__ ifdef so that they can be built for softfp.
4215
4216 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4217
4218         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4219         argument type signed char.
4220
4221         * Makerules (check-abi): Dump diff of symlist if the test
4222         fails.
4223
4224 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4225
4226         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4227         using abort.
4228
4229         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4230         Remove unused variable ST.
4231
4232 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
4233
4234         [BZ #16354]
4235         [BZ #17061]
4236         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4237         small arguments before calling __expm1.
4238         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4239         small arguments before calling __expm1f.
4240         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4241         small arguments before calling __expm1l.
4242         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4243         Likewise.
4244         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4245         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
4246         spurious underflow for some cosh tests.
4247         * math/auto-libm-test-out: Regenerated.
4248         * sysdeps/i386/fpu/libm-test-ulps: Update.
4249
4250         [BZ #17050]
4251         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4252         (__ieee754_y1): Set errno if return value overflows.
4253         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4254         (__ieee754_y1f): Set errno if return value overflows.
4255         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4256         (__ieee754_y1l): Set errno if return value overflows.
4257         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4258         (__ieee754_y1l): Set errno if return value overflows.
4259         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4260         * math/auto-libm-test-out: Regenerated.
4261
4262         * math/gen-auto-libm-tests.c: Document use of
4263         ignore-zero-inf-sign.
4264         (input_flag_type): Add value flag_ignore_zero_inf_sign.
4265         (input_flags): Add ignore-zero-inf-sign.
4266         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4267         * math/gen-libm-test.pl (generate_testfile): Handle
4268         ignore-zero-inf-sign.
4269         * math/auto-libm-test-in: Mark some cpow tests with
4270         ignore-zero-inf-sign and some with xfail-rounding.
4271         * math/auto-libm-test-out: Regenerated.
4272         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4273         * sysdeps/i386/fpu/libm-test-ulps: Update.
4274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4275
4276         [BZ #16315]
4277         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4278         overflowing or underflowing operations take place with sign of
4279         result.
4280         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4281         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4282         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4283         (__ieee754_pow): Recompute overflowing and underflowing results in
4284         original rounding mode.
4285         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4286         (__powl_helper): Allow negative argument X and scale negated value
4287         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
4288         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4289         overflowing or underflowing operations take place with sign of
4290         result.
4291         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4292         Include <math.h>.
4293         * math/auto-libm-test-in: Add more tests of pow.
4294         * math/auto-libm-test-out: Regenerated.
4295         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4296         (pow_tonearest_test_data): Remove.
4297         (pow_test_tonearest): Likewise.
4298         (pow_towardzero_test_data): Likewise.
4299         (pow_test_towardzero): Likewise.
4300         (pow_downward_test_data): Likewise.
4301         (pow_test_downward): Likewise.
4302         (pow_upward_test_data): Likewise.
4303         (pow_test_upward): Likewise.
4304         (main): Don't call removed functions.
4305         * sysdeps/i386/fpu/libm-test-ulps: Update.
4306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4307
4308 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4309
4310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4311         Moved ...
4312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4314         Moved ...
4315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4317         Moved ...
4318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4320         Moved ...
4321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4323         File removed.
4324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4325         File removed.
4326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4327         File removed.
4328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4329         File removed.
4330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4331         File removed.
4332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4333         File removed.
4334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4335         File removed.
4336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4337         File removed.
4338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4339         File removed.
4340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4341         File removed.
4342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4343         File removed.
4344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4345         File removed.
4346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4347         Moved ...
4348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4350         Moved ...
4351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4352         ... here.
4353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4354         Moved ...
4355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4357         Moved ...
4358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4360         Moved ...
4361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4363         Moved ...
4364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4366         Moved ...
4367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4369         Moved ...
4370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4372         Moved ...
4373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4376         ... here.
4377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4378         Moved ...
4379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4381         Moved ...
4382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4383         ... here.
4384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4385         Moved ...
4386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4387         ... here.
4388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4389         Moved ...
4390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4391         ... here.
4392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4393         Moved ...
4394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4396         Moved ...
4397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4401         Moved ...
4402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4403         ... here.
4404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4405         Moved ...
4406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4407         ... here.
4408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4409         Moved ...
4410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4412         Moved ...
4413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4415         Moved ...
4416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4418         Moved ...
4419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4421         Moved ...
4422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4423         ... here.
4424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4425         Moved ...
4426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4428         Moved ...
4429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4431         Moved ...
4432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4434         Moved ...
4435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4439         Moved ...
4440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4442         Moved ...
4443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4445         Moved ...
4446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4447         ... here.
4448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4449         Moved ...
4450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4451         ... here.
4452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4453         Moved ...
4454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4455         ... here.
4456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4457         Moved ...
4458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4460         Moved ...
4461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4463         Moved ...
4464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4466         Moved ...
4467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4468         ... here.
4469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4470         Moved ...
4471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4472         ... here.
4473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4474         Moved ...
4475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4476         ... here.
4477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4478         Moved ...
4479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4481         Moved ...
4482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4483
4484 2014-06-23  Will Newton  <will.newton@linaro.org>
4485             Wilco  <wdijkstr@arm.com>
4486
4487         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4488         implementation.  Include get-rounding-mode.h.
4489         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4490         [!libc_feholdsetround_noex_ctx]: Define
4491         libc_feholdsetround_noex_ctx.
4492         [!libc_feholdsetround_noexf_ctx]: Define
4493         libc_feholdsetround_noexf_ctx.
4494         [!libc_feholdsetround_noexl_ctx]: Define
4495         libc_feholdsetround_noexl_ctx.
4496         (libc_feholdsetround_ctx): New function.
4497         (libc_feresetround_ctx): New function.
4498         (libc_feholdsetround_noex_ctx): New function.
4499         (libc_feresetround_noex_ctx): New function.
4500
4501 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4502
4503         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4504         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4505         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4506         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4507         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4508         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4509
4510         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4511         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4512         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4513         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4514         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4515         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4516         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4517         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4518         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4519         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4520         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4521         Moved ...
4522         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4523         ... here.
4524         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4525         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4526         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4527         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4528         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4529         Moved ...
4530         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4532         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4533         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4534         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4535         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4536         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4537         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4538         Moved ...
4539         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4540         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4541         Moved ...
4542         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4543         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4544         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4545         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4546         Moved ...
4547         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4548         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4549         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4550         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4551         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4552         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4553         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4554         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4555         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4556         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4557         Moved ...
4558         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4559         ... here.
4560         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4561         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4562         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4563         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4564         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4565         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4566         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4567         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4568         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4569         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4570         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4571         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4572         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4573         Moved ...
4574         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4575         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4576         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4577         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4578         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4579         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4580         Moved ...
4581         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4582         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4583         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4584         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4585         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4586
4587         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4588         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4589         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4590         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4591         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4592         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4593         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4594         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4595         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4596         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4597         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4598         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4599         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4600         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4601         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4602         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4603         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4604         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4605         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4606         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4607         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4608         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4609         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4610         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4611         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4612         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4613         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4614         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4615
4616 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
4617
4618         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4619         (FALLOC_FL_COLLAPSE_RANGE): New macro.
4620         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4621         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4622         (IPV6_PMTUDISC_INTERFACE): Likewise.
4623         (IPV6_PMTUDISC_OMIT): Likewise.
4624
4625 2014-06-23  Andreas Schwab  <schwab@suse.de>
4626
4627         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4628         Remove unused errout label.
4629
4630 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4631
4632         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4633         macro: hardware supports Vector Crypto instructions.
4634
4635 2014-06-23  Will Newton  <will.newton@linaro.org>
4636
4637         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4638         rather than __builtin_expect.
4639
4640         * elf/dl-lookup.c (undefined_msg): Remove variable.
4641         (_dl_lookup_symbol_x): Replace undefined_msg with string
4642         literal.
4643
4644         * elf/dl-lookup.c (do_lookup_unique): New function.
4645         (do_lookup_x): Move STB_GNU_UNIQUE handling code
4646         to a separate function.
4647
4648 2014-06-23  Andreas Schwab  <schwab@suse.de>
4649
4650         [BZ #17079]
4651         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4652         before reading the next line.
4653
4654 2014-06-23  Will Newton  <will.newton@linaro.org>
4655
4656         * test-skeleton.c (signal_handler): Use printf and %m
4657         rather than perror.  Use printf rather than fprintf to
4658         stderr.  Use puts rather than fputs to stderr.
4659         (main): Likewise.
4660
4661 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
4662
4663         * nscd/nscd.c (thread_info_t): Remove typedef.
4664         (thread_info): Remove variable.
4665
4666 2014-06-21  Allan McRae  <allan@archlinux.org>
4667
4668         * NEWS: Mention CVE-2014-4043.
4669
4670 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4671
4672         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4673         * nptl/smp.h: ... here.
4674
4675         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4676
4677         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4678         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4679         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4680         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4681
4682         * nptl/allocatestack.c: Include <stack-aliasing.h>.
4683         * nptl/stack-aliasing.h: New file.
4684         * sysdeps/i386/i686/stack-aliasing.h: New file.
4685         * sysdeps/i386/i686/nptl/Makefile: File removed.
4686         * sysdeps/x86_64/stack-aliasing.h: New file.
4687         * sysdeps/x86_64/nptl/Makefile
4688         (CFLAGS-pthread_create.c): Variable removed.
4689
4690         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4691         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4692         old file.
4693         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4694         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4695         old file.
4696
4697 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
4698
4699         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4700         (__ASSUME_SIGFRAME_V2): Remove macro.
4701         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4702         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4703         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4704         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4705         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4706         Declare as function.  Remove conditional macro definitions.
4707         (__default_rt_sa_restorer): Likewise.
4708         (__default_sa_restorer_v1): Remove declaration.
4709         (__default_sa_restorer_v2): Likewise.
4710         (__default_rt_sa_restorer_v1): Likewise.
4711         (__default_rt_sa_restorer_v2): Likewise.
4712         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4713         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4714         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4715
4716 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4717
4718         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4719         (libpthread-routines): Add sysdep.
4720         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4721         * sysdeps/unix/sysv/linux/sparc/Versions
4722         (libpthread: GLIBC_2.3.3): New version set.
4723         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4724         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4725         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4726         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4727         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
4728         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4729         Moved ...
4730         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4731         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4732         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4733         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4734         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4735         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4736         * sysdeps/sparc/nptl/sem_init.c: ... here.
4737         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4738         * sysdeps/sparc/nptl/sem_post.c: ... here.
4739         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4740         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4741         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4742         * sysdeps/sparc/nptl/sem_wait.c: ... here.
4743         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4744         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4745         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4746         (libpthread-routines): Add cpu_relax.
4747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4748         File removed.
4749         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4750         (librt: GLIBC_2.3.3): New version set.
4751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4752         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4753         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4754         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4756         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4757         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4759         Moved ...
4760         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4762         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4764         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4766         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4768         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4770         Moved ...
4771         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4772         Update #include.
4773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4774         Moved ...
4775         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4776         Update #include.
4777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4778         Moved ...
4779         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4780         Update #include.
4781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4782         Moved ...
4783         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4784         Update #include.
4785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4786         Moved ...
4787         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4788         Update #include.
4789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4790         Moved ...
4791         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4792         Update #include.
4793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4794         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4796         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4798         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4800         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4802         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4804         Moved ...
4805         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4807         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4809         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4810
4811 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4812
4813         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4814         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4815         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4816         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4817         * nscd/nscd.c: Likewise.
4818         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4819         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4820         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4821         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4822
4823         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4824         <kernel-features.h>.
4825         (init_mq_netlink): Remove conditional have_sock_cloexec
4826         definitions.  Remove code conditional on have_sock_cloexec < 0.
4827         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4828         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4829         * sysdeps/unix/sysv/linux/opensock.c: Do not include
4830         <kernel-features.h>.
4831         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4832         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4833
4834 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4835
4836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4837         Add tests for memset_chk and memset.
4838
4839         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4840         with AVX2_Usable.
4841
4842 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4843
4844         [BZ #16046]
4845         * elf/tst-dl-iter-static.c: New file.
4846         * elf/Makefile (tests-static): Add tst-dl-iter-static.
4847
4848         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4849         error.
4850
4851 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4852
4853         * sysdeps/unix/sysv/linux/kernel-features.h
4854         (__ASSUME_F_GETOWN_EX): Remove macro.
4855         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4856         <kernel-features.h>.
4857         (miss_F_GETOWN_EX): Remove variable or macro.
4858         (do_fcntl): Do not check miss_F_GETOWN_EX.
4859         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4860
4861         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4862         Remove macro.
4863         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4864         [!__ASSUME_AT_RANDOM]: Remove conditional code.
4865         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4866
4867         * sysdeps/unix/sysv/linux/kernel-features.h
4868         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4869         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4870         [ADJ_OFFSET_SS_READ]: Make code unconditional.
4871         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4872
4873 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4874
4875         [BZ #17075]
4876         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4877         Fix calculation of the symbol's value.
4878         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4879         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4880         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4881         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4882         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4883         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4884         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4885         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4886         (modules-names): Add `tst-armtlsdescmod',
4887         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4888         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4889         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4890         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4891         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4892         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4893         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4894         ($(objpfx)tst-armtlsdescloc): New dependency.
4895         ($(objpfx)tst-armtlsdescextnow): Likewise.
4896         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4897         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4898         TLS scheme support.
4899         * sysdeps/arm/configure: Regenerate.
4900
4901 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4902
4903         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4904         (__atfct_seterrno_2): Likewise.
4905         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4906         <kernel-features.h>.
4907         (__ASSUME_ATFCTS): Do not undefine and redefine.
4908         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4909         (__have_atfcts): Remove conditional definition.
4910         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4911         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4912         unreachable if [__ASSUME_ATFCTS].
4913         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4914         not undefine and redefine.
4915         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4916         <kernel-features.h>.
4917         (faccessat) [__NR_faccessat]: Make code unconditional.
4918         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4919         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4920         <kernel-features.h>.
4921         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4922         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4923         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4924         <kernel-features.h>.
4925         (fchownat) [__NR_fchownat]: Make code unconditional.
4926         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4927         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4928         <kernel-features.h>.
4929         (futimesat) [__NR_futimesat]: Make code unconditional.
4930         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4931         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4932         <kernel-features.h>.
4933         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4934         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4935         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4936         <kernel-features.h>.
4937         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4938         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4939         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4940         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4941         <kernel-features.h>.
4942         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4943         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4944         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4945         <kernel-features.h>.
4946         (linkat) [__NR_linkat]: Make code unconditional.
4947         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4948         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4949         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4950         <kernel-features.h>.
4951         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4952         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4953         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4954         <kernel-features.h>.
4955         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4956         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4957         * sysdeps/unix/sysv/linux/openat.c: Do not include
4958         <kernel-features.h>.
4959         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4960         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4961         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4962         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4963         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4964         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4965         <kernel-features.h>.
4966         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4967         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4968         result of INLINE_SYSCALL directly, not via int variable.
4969         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4970         <kernel-features.h>.
4971         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4972         (renameat) [__NR_renameat]: Make code unconditional.
4973         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4974         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4975         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4976         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4977         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4978         (__ASSUME_ATFCTS): Do not undefine and redefine.
4979         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4980         <kernel-features.h>.
4981         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4982         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4983         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4984         <kernel-features.h>.
4985         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4986         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4987         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4988         (__ASSUME_ATFCTS): Do not undefine and redefine.
4989         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4990         <kernel-features.h>.
4991         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4992         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4993         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4994         <kernel-features.h>.
4995         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4996         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4997
4998 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4999
5000         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5001
5002 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
5003
5004         [BZ #17069]
5005         * posix/regcomp.c (parse_reg_exp): Deallocate partially
5006         constructed tree before returning error.
5007         * posix/bug-regexp36.c: Expand test case.
5008
5009 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5010
5011         [BZ #6803]
5012         * math/libm-test.inc (scalbln_test_date):
5013         Add errno expectations.
5014         * math/w_scalblnf.c: New File.
5015         Add wrapper which checks for setting errno to ERANGE.
5016         Add weak_alias for corresponding scalbln function.
5017         * math/w_scalbln.c: Likewise.
5018         * math/w_scalblnl.c: Likewise.
5019         * math/Makefile (libm-calls): Add w_scalbln.
5020         * sysdeps/ieee754/flt-32/s_scalblnf.c:
5021         Remove weak_alias for corresponding scalbln function.
5022         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5023         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5024         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5025         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5026         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5027         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5028         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5029         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5030         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5031         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5032         Remove long_double_symbol for scalblnl function in libm, libc.
5033         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5034         Add wrapper which checks for setting errno to ERANGE.
5035         Add long_double_symbol for scalblnl function in libm, libc.
5036         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5037         Remove long_double_symbol for scalblnl in libm.
5038         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5039         Add wrapper which checks for setting errno to ERANGE.
5040         Add long_double_symbol for scalblnl function in libm.
5041         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5042         Do not use wrapper because of own implementation.
5043
5044 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
5045
5046         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5047         3 bytes for __pad1 for x32.
5048         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5049
5050 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
5051             H.J. Lu  <hongjiu.lu@intel.com>
5052
5053         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5054         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5055         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5056         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5057         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5058
5059 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
5060
5061         [BZ #17069]
5062         * posix/regcomp.c (parse_expression): Deallocate partially
5063         constructed tree before returning error.
5064         * posix/Makefile.c (tests): Add bug-regex36.
5065         (generated): Add bug-regex36.mtrace.
5066         (tests-special): Add $(objpfx)bug-regex36-mem.out
5067         (bug-regex36-ENV): New variable.
5068         ($(objpfx)bug-regex36-mem.out): New rule.
5069         * posix/bug-regex36.c: New file.
5070
5071 2014-06-19  Will Newton  <will.newton@linaro.org>
5072
5073         * malloc/malloc.c (systrim): If extra is zero then return
5074         early.
5075
5076 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5077
5078         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5079
5080 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
5081
5082         * sysdeps/aarch64/strchr.S: New file.
5083
5084 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5085
5086         [BZ #17022]
5087         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5088         from arguments -2 or below.
5089         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5090         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5091
5092 2014-06-18  Andreas Schwab  <schwab@suse.de>
5093
5094         [BZ #17062]
5095         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5096         of a bracket expr not to run off the end of the string.
5097         * posix/Makefile (tests): Add tst-fnmatch3.
5098         * posix/tst-fnmatch3.c: New file.
5099
5100 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5101
5102         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5103         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5104         [$(cross-compiling) = no]: Likewise.
5105         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5106         [$(cross-compiling) = no]: Likewise.
5107
5108 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5109
5110         [BZ #17031]
5111         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5112         double, adjusted for any remainder from the high double.
5113         * math/libm-test.inc (nearbyint): Add tests.
5114         (rint): Likewise.
5115
5116 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5117
5118         * nptl/sysdeps/powerpc/Makefile: Moved ...
5119         * sysdeps/powerpc/nptl/Makefile: ... here.
5120         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5121         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5122         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5123         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5124         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5125         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5126         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5127         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5128         * nptl/sysdeps/powerpc/tls.h: Moved ...
5129         * sysdeps/powerpc/nptl/tls.h: ... here.
5130
5131 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
5132
5133         [BZ #16681]
5134         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5135         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5136         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5137         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5138         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5139         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5140         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5141         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5142         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5143
5144 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
5145
5146         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5147
5148 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
5149
5150         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5151         defined operator.
5152
5153         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5154         $TIMEOUTFACTOR.
5155
5156 2014-06-16  Florian Weimer  <fweimer@redhat.com>
5157
5158         [BZ #17058]
5159         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5160         non-executed part of the test.
5161
5162 2014-06-16  Andreas Schwab  <schwab@suse.de>
5163
5164         * string/bits/string2.h (strdup, strndup): Update feature guard.
5165
5166 2014-06-14  David S. Miller  <davem@davemloft.net>
5167
5168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5169
5170 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
5171
5172         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5173         that was previously under [RESET_PID].
5174         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5175
5176         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5177         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5178         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5179         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5180         (__libc_vfork): New strong alias.
5181         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5182
5183 2014-06-14 Andi Kleen  <ak@linux.intel.com>
5184
5185         * sysdeps/generic/elide.h: New file.
5186
5187 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5188
5189         * Makefile (installed-headers): Adjust path of pthread.h header.
5190
5191 2014-06-13  Roland McGrath  <roland@hack.frob.com>
5192
5193         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5194         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5195         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5196         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5197
5198         * nptl/sysdeps/s390/Makefile: Moved ...
5199         * sysdeps/s390/nptl/Makefile: ... here.
5200         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5201         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5202         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5203         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5204         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5205         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5206         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5207         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5208         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5209         * sysdeps/s390/nptl/pthreaddef.h: ... here.
5210         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5211         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5212         * nptl/sysdeps/s390/tls.h: Moved ...
5213         * sysdeps/s390/nptl/tls.h: ... here.
5214
5215         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5216         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5217
5218 2014-06-13  David S. Miller  <davem@davemloft.net>
5219
5220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5221         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5223         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5227         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5228         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5229         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5230         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5231         Remove RESET_PID cpp guards.
5232         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5233         Remove RESET_PID cpp guards.
5234         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5235
5236 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
5237
5238         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5239         __sp to uintptr_t.
5240
5241 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5242
5243         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5244         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5245         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5246         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5247         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5248         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5249         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5250         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5251         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5252         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5253         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5254         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5255         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5256         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5257         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5258         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5259         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5260         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5261         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5262         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5263
5264         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5265         (pthread_rwlock_rdlock): Add elision.
5266         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5267         (pthread_rwlock_wrlock): Add elision.
5268         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5269         (pthread_rwlock_trywrlock): Add elision.
5270         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5271         (pthread_rwlock_tryrdlock): Add elision.
5272         * nptl/pthread_rwlock_unlock.c: Include elide.h.
5273         (pthread_rwlock_tryrdlock): Add elision unlock.
5274         * nptl/sysdeps/pthread/pthread.h:
5275         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5276         (PTHREAD_RWLOCK_INITIALIZER,
5277         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5278         Handle new elision field.
5279         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5280         * sysdeps/arm/nptl/bits/pthreadtypes.h
5281         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5282         * sysdeps/sh/nptl/bits/pthreadtypes.h
5283         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5284         * sysdeps/tile/nptl/bits/pthreadtypes.h
5285         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5286         * sysdeps/a/nptl/bits/pthreadtypes.h
5287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5288         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5289         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5290         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5291         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5292         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5293         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5294         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5295         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5296         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5297         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5298         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5299         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5300         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5301         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5302         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5303         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5304         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5305         (elision_init): Set try_xbegin to zero when no RTM.
5306         * sysdeps/x86/nptl/bits/pthreadtypes.h
5307         (pthread_rwlock_t): Change __pad1 to __rwelision.
5308         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5309
5310 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5311
5312         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5313         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5314         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5315         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5316
5317 2014-06-13  Meador Inge  <meadori@codesourcery.com>
5318
5319         [BZ #16996]
5320         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5321         that the cached result has been set before returning it.
5322
5323 2014-06-12  Roland McGrath  <roland@hack.frob.com>
5324
5325         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5326         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5327         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5328         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5329         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5330         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5331
5332         * nptl/sysdeps/sparc/Makefile: Moved ...
5333         * sysdeps/sparc/nptl/Makefile: ... here.
5334         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5335         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5336         * nptl/sysdeps/sparc/tls.h: Moved ...
5337         * sysdeps/sparc/nptl/tls.h: ... here.
5338         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5339         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5340         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5341         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5342         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5343         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5344         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5345         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5346         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5347         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5348         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5349         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5350         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5351         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5352         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5353         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5354         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5355         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5356         Update #include.
5357         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5358         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5359         Update #include.
5360         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5361         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5362         Update #include.
5363         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5364         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5365         Update #include.
5366
5367         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5368
5369         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5370         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5371
5372         * sysdeps/pthread/posix-timer.h: Include <list.h>.
5373         (struct list_links): Type removed.
5374         (struct thread_node, struct timer_node): Replace struct list_links
5375         with struct list_head.
5376         (list_unlink_ip): Likewise.
5377         * sysdeps/pthread/timer_routines.c
5378         (timer_free_list, thread_free_list, thread_active_list): Likewise.
5379         (list_append, list_insbefore): Likewise.
5380         (list_init): Function removed.
5381         (thread_init, init_module): Use INIT_LIST_HEAD instead.
5382         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5383         * sysdeps/pthread/Makefile: ... here, new file.
5384
5385         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5386         * sysdeps/nptl/Implies: ... here.
5387         * sysdeps/unix/sysv/linux/Implies: Add nptl.
5388         * nptl/sysdeps/pthread/list.h: Moved ...
5389         * include/list.h: ... here.
5390         * nptl/sysdeps/pthread/createthread.c: Moved ...
5391         * nptl/createthread.c: ... here.
5392         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5393         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5394         * nptl/pt-longjmp.c: ... here.
5395         * nptl/sysdeps/pthread/Makefile: Moved ...
5396         * sysdeps/nptl/Makefile: ... here.
5397         * nptl/sysdeps/pthread/Subdirs: Moved ...
5398         * sysdeps/nptl/Subdirs: ... here.
5399         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5400         * sysdeps/nptl/aio_misc.h: ... here.
5401         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5402         * sysdeps/nptl/bits/libc-lock.h: ... here.
5403         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5404         * sysdeps/nptl/bits/libc-lockP.h: ... here.
5405         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5406         * sysdeps/nptl/bits/stdio-lock.h: ... here.
5407         * nptl/sysdeps/pthread/configure: Moved ...
5408         * sysdeps/nptl/configure: ... here.
5409         * nptl/sysdeps/pthread/configure.ac: Moved ...
5410         * sysdeps/nptl/configure.ac: ... here.
5411         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5412         * sysdeps/nptl/gai_misc.h: ... here.
5413         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5414         * sysdeps/nptl/librt-cancellation.c: ... here.
5415         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5416         * sysdeps/nptl/malloc-machine.h: ... here.
5417         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5418         * sysdeps/nptl/pthread-functions.h: ... here.
5419         * nptl/sysdeps/pthread/pthread.h: Moved ...
5420         * sysdeps/nptl/pthread.h: ... here.
5421         * nptl/sysdeps/pthread/setxid.h: Moved ...
5422         * sysdeps/nptl/setxid.h: ... here.
5423         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5424         * sysdeps/nptl/sigfillset.c: ... here.
5425         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5426         * sysdeps/nptl/tcb-offsets.h: ... here.
5427         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5428         * sysdeps/nptl/tst-mqueue8x.c: ... here.
5429         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5430         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5431         * nptl/sysdeps/pthread/allocalim.h: Moved ...
5432         * sysdeps/pthread/allocalim.h: ... here.
5433         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5434         * sysdeps/pthread/bits/sigthread.h: ... here.
5435         * nptl/sysdeps/pthread/flockfile.c: Moved ...
5436         * sysdeps/pthread/flockfile.c: ... here.
5437         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5438         * sysdeps/pthread/ftrylockfile.c: ... here.
5439         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5440         * sysdeps/pthread/funlockfile.c: ... here.
5441         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5442         * sysdeps/pthread/posix-timer.h: ... here.
5443         * nptl/sysdeps/pthread/timer_create.c: Moved ...
5444         * sysdeps/pthread/timer_create.c: ... here.
5445         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5446         * sysdeps/pthread/timer_delete.c: ... here.
5447         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5448         * sysdeps/pthread/timer_getoverr.c: ... here.
5449         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5450         * sysdeps/pthread/timer_gettime.c: ... here.
5451         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5452         * sysdeps/pthread/timer_routines.c: ... here.
5453         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5454         * sysdeps/pthread/timer_settime.c: ... here.
5455         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5456         * sysdeps/pthread/tst-timer.c: ... here.
5457         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5458         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5459
5460         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5461         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5462
5463         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5464         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5465         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5466         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5467         Update #include target.
5468         * nptl/sysdeps/i386/i686/Makefile: Moved ...
5469         * sysdeps/i386/i686/nptl/Makefile: ... here.
5470         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5471         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5472         Update #include target.
5473         * nptl/sysdeps/i386/i686/tls.h: Moved ...
5474         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
5475         * nptl/sysdeps/i386/Makefile: Moved ...
5476         * sysdeps/i386/nptl/Makefile: ... here.
5477         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5478         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5479         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5480         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5481         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5482         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5483         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5484         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5485         * sysdeps/i386/nptl/pthreaddef.h: ... here.
5486         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5487         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5488         * nptl/sysdeps/i386/tls.h: Moved ...
5489         * sysdeps/i386/nptl/tls.h: ... here.
5490
5491         * sysdeps/sh/Makefile [$(subdir) = csu]
5492         (gen-as-const-headers): Add tcb-offsets.sym.
5493         * nptl/sysdeps/sh/Makefile: File removed.
5494         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5495         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5496         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5497         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5498         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5499         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5500         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5501         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5502         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5503         * sysdeps/sh/nptl/pthreaddef.h: ... here.
5504         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5505         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5506         * nptl/sysdeps/sh/tls.h: Moved ...
5507         * sysdeps/sh/nptl/tls.h: ... here.
5508         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5509         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5510         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5511         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5512         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5513         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5514         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5515         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5516         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5517         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5518         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5519         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5520         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5521         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5522         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5523         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5524         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5525         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5526         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5527         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5528         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5529         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5530         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5531         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5532         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5533         Moved ...
5534         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5535         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5536         Moved ...
5537         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5538         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5539         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5540         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5541         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5542         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5543         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5544         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5545         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5546         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5547         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5548         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5549         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5550         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5551         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5552         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5553         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5554         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5555         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5556
5557 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5558
5559         * posix/spawn_faction_addopen.c: Include string.h.
5560
5561 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5562
5563         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5564         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5565         * nptl/sysdeps/x86_64/Makefile: Moved ...
5566         * sysdeps/x86_64/nptl/Makefile: ... here.
5567         * nptl/sysdeps/x86_64/configure: Moved ...
5568         * sysdeps/x86_64/nptl/configure: ... here.
5569         * nptl/sysdeps/x86_64/configure.ac: Moved ...
5570         * sysdeps/x86_64/nptl/configure.ac: ... here.
5571         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5572         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5573         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5574         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5575         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5576         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5577         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5578         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5579         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5580         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5581         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5582         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5583         * nptl/sysdeps/x86_64/tls.h: Moved ...
5584         * sysdeps/x86_64/nptl/tls.h: ... here.
5585         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5586         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5587         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5588         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5589
5590         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5591
5592 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5593
5594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5595
5596 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
5597
5598         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5599         type.
5600         [POSIX] (off_t): Likewise.
5601         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5602         [POSIX] (S_ISBLK): Require macro.
5603         [POSIX] (S_ISCHR): Likewise.
5604         [POSIX] (S_ISDIR): Likewise.
5605         [POSIX] (S_ISFIFO): Likewise.
5606         [POSIX] (S_ISREG): Likewise.
5607         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5608         optional-macro.
5609         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5610         type.
5611         [POSIX] (time_t): Likewise.
5612         [POSIX] (timer_t): Likewise.
5613
5614 2014-06-11  Florian Weimer  <fweimer@redhat.com>
5615
5616         [BZ #17048]
5617         * posix/spawn_int.h (struct __spawn_action): Make the path string
5618         non-const to support deallocation.
5619         * posix/spawn_faction_addopen.c
5620         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5621         * posix/spawn_faction_destroy.c
5622         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
5623         path in all spawn_do_open actions.
5624         * posix/tst-spawn.c (do_test): Exercise the copy operation in
5625         posix_spawn_file_actions_addopen.
5626
5627 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
5628
5629         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5630         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5631         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5632         conditional code always true.
5633         (__libc_vfork): New alias.
5634
5635 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5636
5637         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5638         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5639
5640         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5641
5642         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5643         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5644
5645         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5646         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5647
5648         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5649         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5650
5651 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5652
5653         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5654         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5655         multiarch strcmp for PPC64.
5656         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5657         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5659         multiarch optimizations.
5660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5661         (__libc_ifunc_impl_list): Likewise.
5662
5663 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5664
5665         * benchtests/scripts/validate_benchout.py: New script.
5666         * benchtests/Makefile (bench-func): Call it.
5667         * benchtests/scripts/benchout.schema.json: New file.
5668
5669 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
5670
5671         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5672         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5673         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5674         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5675         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5676         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5677         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5678         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5679         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5680         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5681         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5682         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5683         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5684         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5685         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5686         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
5688         Moved ...
5689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
5690         ... here.
5691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
5692         Moved ...
5693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
5695         Moved ...
5696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
5697         ... here.
5698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5699         Moved ...
5700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5701         ... here.
5702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5703         Moved ...
5704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5706         Moved ...
5707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5708         ... here.
5709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5710         Moved ...
5711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5712         ... here.
5713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5714         Moved ...
5715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5717         Moved ...
5718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5719         ... here.
5720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5721         Moved ...
5722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5723         ... here.
5724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5725         Moved ...
5726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5727         ... here.
5728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5729         Moved ...
5730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5732         Moved ...
5733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5734         ... here.
5735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5736         Moved ...
5737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5738         ... here.
5739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5740         Moved ...
5741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5742         ... here.
5743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5744         Moved ...
5745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5747         Moved ...
5748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5749         ... here.
5750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5751         Moved ...
5752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5753         ... here.
5754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5755         Moved ...
5756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5758         Moved ...
5759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5760         ... here.
5761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5762         Moved ...
5763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5765         Moved ...
5766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5768         Moved ...
5769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5770         ... here.
5771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5772         Moved ...
5773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5774         ... here.
5775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5776         Moved ...
5777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5778         ... here.
5779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5780         Moved ...
5781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5783         Moved ...
5784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5785         ... here.
5786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5787         Moved ...
5788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5789         ... here.
5790         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5791         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5792         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5793         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5794         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5795         Moved ...
5796         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5797         ... here.
5798         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5799         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5800         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5801         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5802         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5803         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5804         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5805         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5806         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5807         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5808         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5809         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5810         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5811         Moved ...
5812         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5814         Moved ...
5815         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5816         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5817         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5818         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5819         Moved ...
5820         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5821         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5822         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5823         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5824         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5825         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5826         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5827
5828 2014-06-10  Wilco  <wdijkstr@arm.com>
5829
5830         * math/test-fenv-return.c: New file.
5831         * math/Makefile: Add new test test-fenv-return.
5832
5833 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
5834
5835         [BZ #17042]
5836         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5837         when x - 1 is zero.
5838         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5839         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5840         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5841         0.0L for an argument of 1.0L.
5842         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5843         Likewise.
5844         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5845         value when x - 1 is zero.
5846         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5847         * sysdeps/i386/fpu/libm-test-ulps: Update.
5848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5849
5850 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
5851
5852         [BZ #15119]
5853         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5854
5855 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5856
5857         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5858         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5859
5860 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5861
5862         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5863         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5864
5865         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5866         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5867
5868         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5869         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5870
5871         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5872         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5873
5874         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5875         if not already defined.
5876         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5877         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5878         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5879         (TLS_INIT_TP): Use it.
5880         (TLS_DEFINE_INIT_TP): New macro.
5881         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5882
5883 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
5884
5885         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5886         constant.
5887         [POSIX] (IXANY): Likewise.
5888         [POSIX] (OLCUC): Likewise.
5889         [POSIX || POSIX2008] (CBAUD): Do not allow.
5890         [POSIX || POSIX2008] (DEFECHO): Likewise.
5891         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5892         [POSIX || POSIX2008] (ECHOKE): Likewise.
5893         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5894         [POSIX || POSIX2008] (EXTA): Likewise.
5895         [POSIX || POSIX2008] (EXTB): Likewise.
5896         [POSIX || POSIX2008] (FLUSHO): Likewise.
5897         [POSIX || POSIX2008] (LOBLK): Likewise.
5898         [POSIX || POSIX2008] (PENDIN): Likewise.
5899         [POSIX || POSIX2008] (SWTCH): Likewise.
5900         [POSIX || POSIX2008] (VDISCARD): Likewise.
5901         [POSIX || POSIX2008] (VDSUSP): Likewise.
5902         [POSIX || POSIX2008] (VLNEXT): Likewise.
5903         [POSIX || POSIX2008] (VREPRINT): Likewise.
5904         [POSIX || POSIX2008] (VSTATUS): Likewise.
5905         [POSIX || POSIX2008] (VWERASE): Likewise.
5906         (B*): Change to B[0123456789]*.
5907         * conform/data/time.h-data [POSIX || UNIX98]
5908         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5909         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5910         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5911         [POSIX] (tm_*): Do not allow.
5912
5913 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5914
5915         * Makefile (install): Don't set LANGUAGE.
5916         * Makefile.in (install): Likewise.
5917         * assert/Makefile (test-assert-ENV): Remove variable.
5918         (test-assert-perr-ENV): Likewise.
5919         * elf/Makefile (neededtest4-ENV): Likewise.
5920         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5921         [$(cross-compiling) = no]: Don't set LANGUAGE.
5922         * io/ftwtest-sh (LANG): Remove variable.
5923         * libio/Makefile (tst-widetext-ENV): Likewise.
5924         * manual/install.texi (Running make install): Don't refer to
5925         environment settings for make install.
5926         * INSTALL: Regenerated.
5927         * nptl/tst-tls6.sh: Don't set LANG.
5928         * posix/globtest.sh (LANG): Remove variable.
5929         * string/Makefile (tester-ENV): Likewise.
5930         (inl-tester-ENV): Likewise.
5931         (noinl-tester-ENV): Likewise.
5932         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5933         [$(cross-compiling) = no]: Don't set LANGUAGE.
5934         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5935         without explicit environment settings.
5936
5937 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5938
5939         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5940         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5941         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5942         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5943
5944 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5945
5946         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5947         other files in the crypt directory.
5948         * crypt/crypt.c: Remove duplicate includes.
5949         * crypt/crypt-entry.c: Likewise.
5950         * crypt/crypt_util.c: Likewise.
5951
5952 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5953
5954         * Makeconfig (run-program-env): New variable.
5955         (run-program-prefix-before-env): Likewise.
5956         (run-program-prefix-after-env): Likewise.
5957         (run-program-prefix): Define in terms of new variables.
5958         (built-program-cmd-before-env): New variable.
5959         (built-program-cmd-after-env): Likewise.
5960         (built-program-cmd): Define in terms of new variables.
5961         (test-program-prefix-before-env): New variable.
5962         (test-program-prefix-after-env): Likewise.
5963         (test-program-prefix): Define in terms of new variables.
5964         (test-program-cmd-before-env): New variable.
5965         (test-program-cmd-after-env): Likewise.
5966         (test-program-cmd): Define in terms of new variables.
5967         * Rules (make-test-out): Use $(run-program-env).
5968         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5969         (help): Do not mention environment variables.  Mention
5970         --timeoutfactor option.
5971         (timeoutfactor): New variable.
5972         (blacklist_exports): Remove function.
5973         (exports): Remove variable.
5974         (command): Do not include ${exports}.
5975         * manual/install.texi (Configuring and compiling): Do not mention
5976         test wrappers preserving environment variables.  Mention that last
5977         assignment to a variable must take precedence.
5978         * INSTALL: Regenerated.
5979         * benchtests/Makefile (run-bench): Use $(run-program-env).
5980         * catgets/Makefile ($(objpfx)test1.cat): Use
5981         $(built-program-cmd-before-env), $(run-program-env) and
5982         $(built-program-cmd-after-env).
5983         ($(objpfx)test2.cat): Do not specify environment variables
5984         explicitly.
5985         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5986         $(run-program-env) and $(built-program-cmd-after-env).
5987         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5988         $(run-program-env) and $(test-program-cmd-after-env).
5989         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5990         explicitly.
5991         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5992         run_program_env and test_program_cmd_after_env arguments.
5993         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5994         * elf/tst-pathopt.sh: Use run_program_env argument.
5995         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5996         $(test-wrapper-env) and $(run-program-env).
5997         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5998         run_program_env arguments.
5999         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6000         * intl/Makefile ($(objpfx)tst-gettext.out): Use
6001         $(test-program-prefix-before-env), $(run-program-env) and
6002         $(test-program-prefix-after-env).
6003         ($(objpfx)tst-gettext2.out): Likewise.
6004         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6005         run_program_env and test_program_prefix_after_env arguments.
6006         * intl/tst-gettext2.sh: Likewise.
6007         * intl/tst-gettext4.sh: Do not set environment variables
6008         explicitly.
6009         * intl/tst-gettext6.sh: Likewise.
6010         * intl/tst-translit.sh: Likewise.
6011         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6012         $(test-program-prefix-before-env), $(run-program-env) and
6013         $(test-program-prefix-after-env).
6014         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6015         run_program_env and test_program_prefix_after_env arguments.
6016         * math/Makefile (run-regen-ulps): Use $(run-program-env).
6017         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6018         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
6019         explicitly with each use of ${test_wrapper_env}.
6020         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6021         $(test-program-prefix-before-env), $(run-program-env) and
6022         $(test-program-prefix-after-env).
6023         * posix/tst-getconf.sh: Do not set environment variables
6024         explicitly.
6025         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6026         run_program_env and test_program_prefix_after_env arguments.
6027         * stdio-common/tst-printf.sh: Do not set environment variables
6028         explicitly.
6029         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6030         $(test-program-prefix-before-env), $(run-program-env) and
6031         $(test-program-prefix-after-env).
6032         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6033         run_program_env and test_program_prefix_after_env arguments.
6034         Split $test calls into $test_pre and $test.
6035         * timezone/Makefile (build-testdata): Use
6036         $(built-program-cmd-before-env), $(run-program-env) and
6037         $(built-program-cmd-after-env).
6038
6039 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6040
6041         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6042         strlen for non SHARED builds.
6043
6044 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6045
6046         * nptl/allocatestack.c (check_list): Inlined function...
6047         (__reclaim_stacks): ... here.
6048
6049 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6050
6051         [BZ #15698]
6052         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6053         memory overrun.
6054
6055 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
6056
6057         * Rules (make-test-out): Include
6058         LOCPATH=$(common-objpfx)localedata in default environment.
6059         * debug/Makefile (tst-chk1-ENV): Remove variable.
6060         (tst-chk2-ENV): Likewise.
6061         (tst-chk3-ENV): Likewise.
6062         (tst-chk4-ENV): Likewise.
6063         (tst-chk5-ENV): Likewise.
6064         (tst-chk6-ENV): Likewise.
6065         (tst-lfschk1-ENV): Likewise.
6066         (tst-lfschk2-ENV): Likewise.
6067         (tst-lfschk3-ENV): Likewise.
6068         (tst-lfschk4-ENV): Likewise.
6069         (tst-lfschk5-ENV): Likewise.
6070         (tst-lfschk6-ENV): Likewise.
6071         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6072         (tst-iconv7-ENV): Likewise.
6073         * intl/Makefile (LOCPATH-ENV): Likewise.
6074         (tst-codeset-ENV): Likewise.
6075         (tst-gettext3-ENV): Likewise.
6076         (tst-gettext5-ENV): Likewise.
6077         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6078         (tst-fopenloc-ENV): Likewise.
6079         (tst-fgetws-ENV): Remove variable.
6080         (tst-ungetwc1-ENV): Likewise.
6081         (tst-ungetwc2-ENV): Likewise.
6082         (bug-ungetwc2-ENV): Likewise.
6083         (tst-swscanf-ENV): Likewise.
6084         (bug-ftell-ENV): Likewise.
6085         (tst-fgetwc-ENV): Likewise.
6086         (tst-fseek-ENV): Likewise.
6087         (tst-ftell-partial-wide-ENV): Likewise.
6088         (tst-ftell-active-handler-ENV): Likewise.
6089         (tst-ftell-append-ENV): Likewise.
6090         * posix/Makefile (tst-fnmatch-ENV): Likewise.
6091         (tst-regexloc-ENV): Likewise.
6092         (bug-regex1-ENV): Likewise.
6093         (tst-regex-ENV): Likewise.
6094         (tst-regex2-ENV): Likewise.
6095         (bug-regex5-ENV): Likewise.
6096         (bug-regex6-ENV): Likewise.
6097         (bug-regex17-ENV): Likewise.
6098         (bug-regex18-ENV): Likewise.
6099         (bug-regex19-ENV): Likewise.
6100         (bug-regex20-ENV): Likewise.
6101         (bug-regex22-ENV): Likewise.
6102         (bug-regex23-ENV): Likewise.
6103         (bug-regex25-ENV): Likewise.
6104         (bug-regex26-ENV): Likewise.
6105         (bug-regex30-ENV): Likewise.
6106         (bug-regex32-ENV): Likewise.
6107         (bug-regex33-ENV): Likewise.
6108         (bug-regex34-ENV): Likewise.
6109         (bug-regex35-ENV): Likewise.
6110         (tst-rxspencer-ENV): Likewise.
6111         (tst-rxspencer-no-utf8-ENV): Likewise.
6112         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6113         (tst-sscanf-ENV): Likewise.
6114         (tst-swprintf-ENV): Likewise.
6115         (tst-swscanf-ENV): Likewise.
6116         (test-vfprintf-ENV): Likewise.
6117         (scanf13-ENV): Likewise.
6118         (bug14-ENV): Likewise.
6119         (tst-grouping-ENV): Likewise.
6120         * stdlib/Makefile (tst-strtod-ENV): Likewise.
6121         (tst-strtod3-ENV): Likewise.
6122         (tst-strtod4-ENV): Likewise.
6123         (tst-strtod5-ENV): Likewise.
6124         (testmb2-ENV): Likewise./
6125         * string/Makefile (tst-strxfrm-ENV): Likewise.
6126         (tst-strxfrm2-ENV): Likewise.
6127         (bug-strcoll1-ENV): Likewise.
6128         (test-strcasecmp-ENV): Likewise.
6129         (test-strncasecmp-ENV): Likewise.
6130         * time/Makefile (tst-strptime-ENV): Likewise.
6131         (tst-ftime_l-ENV): Likewise.
6132         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6133         (tst-mbrtowc-ENV): Likewise.
6134         (tst-wcrtomb-ENV): Likewise.
6135         (tst-mbrtowc2-ENV): Likewise.
6136         (tst-c16c32-1-ENV): Likewise.
6137         (tst-mbsnrtowcs-ENV): Likewise.
6138
6139 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6140
6141         * manual/resource.texi (How to get information about the memory
6142         subsystem?): Fix typo.
6143         Reported by Peon de la Parra Ivan <peon@keba.com>
6144
6145 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
6146
6147         [BZ #16882]
6148         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6149         (pthread_spin_lock): Branch out of spin loop to proper location.
6150         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6151         (pthread_spin_lock): Likewise.
6152
6153         * nptl/tst-spin4.c: New test.
6154         * nptl/Makefile (tests): Add tst-spin4.
6155
6156 2014-06-03  Andreas Schwab  <schwab@suse.de>
6157
6158         [BZ #15946]
6159         * resolv/res_send.c (send_dg): Reload file descriptor after
6160         calling reopen.
6161
6162 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
6163
6164         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6165
6166 2014-06-03  Richard Henderson  <rth@redhat.com>
6167
6168         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6169         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6170         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6171         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
6172         in the SAVE_PID block.
6173         (__libc_vfork): New alias.
6174         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6175
6176         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6177         child in registers, not on the stack.  Remove RESET_PID conditionals.
6178         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6179
6180 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6181
6182         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6183
6184 2014-06-03  Wilco  <wdijkstr@arm.com>
6185
6186         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6187         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6188         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6189         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6190         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6191         Likewise.
6192
6193 2014-06-03  Wilco  <wdijkstr@arm.com>
6194
6195         * sysdeps/aarch64/fpu/math_private.h
6196         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6197         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6198         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6199         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6200         Fix declarations.
6201
6202 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6203
6204         * crypt/crypt-private.h: Include ufc-crypt.h.
6205         (__b64_from_24bit): Declare extern.
6206         * crypt/crypt_util.c(__b64_from_24bit): New function.
6207         (b64t): New static const variable.
6208         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6209         (b64t): Remove variable.
6210         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6211         * crypt/sha256-crypt.c: Include crypt-private.h.
6212         (b64t): Remove variable.
6213         (__sha256_crypt_r): Remove b64_from_24bit and replace
6214         with __b64_from_24bit.
6215         * crypt/sha512-crypt.c: Likewise.
6216
6217 2014-06-02  Roland McGrath  <roland@hack.frob.com>
6218
6219         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6220         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6221         Label the code __libc_vfork rather than __vfork.
6222         [!NOT_IN_libc] (vfork): Define as weak alias.
6223         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6224         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6225         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6226
6227 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6228
6229         * malloc/malloc.c (malloc_info): Fix format specifier for
6230         n_mmaps.
6231
6232 2014-06-02  Wilco  <wdijkstr@arm.com>
6233
6234         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6235         FPCR write.
6236
6237 2014-06-02  Wilco  <wdijkstr@arm.com>
6238
6239         [BZ #17009]
6240         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6241         Rewrite to reduce FPCR/FPSR accesses.
6242
6243 2014-06-01  David S. Miller  <davem@davemloft.net>
6244
6245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6246
6247 2014-05-31  David S. Miller  <davem@davemloft.net>
6248
6249         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6250         to occur in round to nearest mode when |x| >= 2.0
6251
6252 2014-05-30  Richard Henderson  <rth@twiddle.net>
6253
6254         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6255         (PSEUDO_RET_NOERRNO): Remove.
6256         (ret): Don't redefine.
6257         (ret_NOERRNO): Define in terms of ret.
6258         (ret_ERRVAL): Likewise.
6259
6260         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6261         use of PSEUDO_RET; perform the error check directly.
6262
6263 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
6264
6265         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6266         with __int128_t.
6267
6268 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6269
6270         * malloc/malloc (malloc_info): Fix formatting.
6271
6272 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6273             Roland McGrath  <roland@hack.frob.com>
6274
6275         * malloc/malloc (malloc_info): Also print mmapped statistics.
6276
6277 2014-05-30  Roland McGrath  <roland@hack.frob.com>
6278
6279         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6280         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6281
6282 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
6283
6284         * malloc/malloc.c (malloc_info): Inline mi_arena.
6285
6286 2014-05-29  Richard Henderson  <rth@twiddle.net>
6287
6288         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6289         Remove comma before expanding ASM_ARGS_##nr.
6290         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6291         Make _x0 a strict output; make _x8 a strict input; adjust expansion
6292         of ASM_ARGS_##nr.
6293         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6294         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6295         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6296         (ASM_ARGS_1): Add leading comma.
6297
6298         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6299         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6300         to __errno_location.
6301         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6302         Remove the expected plt for __errno_location.
6303
6304         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6305         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6306         call to __read_tp.
6307
6308         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6309         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
6310         it and break it down.
6311         (DOCARGS_0, DOCARGS_1): Do nothing.
6312         (DOCARGS_2): Update to store into the new stack frame.
6313         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6314         (UNDOCARGS_1): Update to restore from the new stack frame.
6315         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6316         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6317
6318         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6319         (SINGLE_THREAD_P): New parameter for result regno.
6320         (PSEUDO): Update to match; use cbz instead of beq.
6321
6322         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6323         Use ENTRY to define the _nocancel entry point.  Share the syscall
6324         and syscall error check paths with the cancel path.
6325         (PSEUDO_END): New.
6326
6327         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6328         whitespace; tabs before and after asm mnemonics.
6329
6330 2014-05-29  Eric Wong  <normalperson@yhbt.net>
6331
6332         [BZ #15132]
6333         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6334         Call fstat64 or stat64 internally, depending on arguments passed.
6335         Replace stat buffer argument with file descriptor argument.
6336         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6337         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6338         Pass fd to __internal_statvfs instead of calling fstat64.
6339         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6340         Pass fd to __internal_statvfs64 instead of calling fstat64.
6341         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6342         Pass -1 to __internal_statvfs instead of calling stat64.
6343         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6344         Pass -1 to __internal_statvfs64 instead of calling stat64.
6345
6346 2014-05-28  Roland McGrath  <roland@hack.frob.com>
6347
6348         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6349         that was previously under [RESET_PID].
6350         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6351
6352         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6353         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6354
6355 2014-05-27  Roland McGrath  <roland@hack.frob.com>
6356
6357         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6358
6359         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6360         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6361
6362 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
6363
6364         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6365
6366 2014-05-27  Andreas Schwab  <schwab@suse.de>
6367
6368         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6369         TLS_INIT_TP macro.
6370         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6371         * elf/rtld.c (init_tls, dl_main): Likewise.
6372         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6373         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6374         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6375         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6376         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6377         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6378         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6379         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6380         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6381         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6382         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6383         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6384         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6385         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6386         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6387         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6388         * sysdeps/generic/tls.h: Update description.
6389
6390 2014-05-27  Will Newton  <will.newton@linaro.org>
6391
6392         [BZ #16990]
6393         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6394         and restore r2 rather than just restoring.
6395
6396 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6397
6398         [BZ #16724]
6399         * libio/tst-ftell-append.c: New test case.
6400         * libio/Makefile (tests): Add test case.
6401         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6402         append mode.
6403         * libio/wfileops.c (do_ftell_wide): Likewise.
6404
6405 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6406
6407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6408
6409         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6410         ...
6411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6413         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6414         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6415         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6416         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6417         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6418         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6420         Moved ...
6421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6423         Moved ...
6424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6425         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6426         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6427         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6428         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6429         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6430         ...
6431         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6432         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6433         Moved ...
6434         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6435         here.
6436         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6437         ...
6438         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6439         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6440         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6441
6442         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6443         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6444         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6445         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6446
6447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6448         merge into ...
6449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6451         ...
6452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6454         ...
6455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6456         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6457         Moved ...
6458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6459         here.
6460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6461         Moved ...
6462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6464         Moved ...
6465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6466
6467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6468         conditional [RESET_PID].
6469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6471         removed.
6472         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6473         removed.
6474
6475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6476         <tcb-offsets.h>.
6477         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6478         (__libc_vfork): New strong alias.
6479         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6480         removed.
6481         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6482         Removed.
6483
6484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6485         <tcb-offsets.h>.
6486         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6487         (__libc_vfork): New strong alias.
6488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6489         removed.
6490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6491         removed.
6492
6493 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
6494
6495         * malloc/malloc.c (mi_arena): New function.
6496         (malloc_info): Remove nested function mi_arena. Call non-nosted
6497         function mi_arena.
6498
6499 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6500
6501         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6502         by insrwi.
6503         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6504         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6505         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6506         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6507         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6508         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6509         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6510
6511 2014-05-26  Andreas Schwab  <schwab@suse.de>
6512
6513         [BZ #16984]
6514         * locale/programs/repertoire.c (repertoire_read): Add slash
6515         between I18NPATH element and file name.
6516         * locale/programs/locfile.c (locfile_read): Likewise.
6517
6518 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6519
6520         * nptl/pthread_mutexattr_settype.c
6521         (__pthread_mutexattr_settype):
6522         Disable lock elision for PTHREAD_MUTEX_NORMAL.
6523
6524 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6525
6526         * nptl/tst-mutex5 (do_test):
6527         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6528
6529 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6530
6531         * benchtests/README: Document 'init' directive.
6532         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6533         BENCH_INIT.
6534         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6535         (parse_file): Recognize 'init' directive.
6536
6537 2014-05-26  Kyle McMartin  <kyle@redhat.com>
6538
6539         [BZ #16796]
6540         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6541         alignment of struct pthread.
6542
6543 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6544
6545         [BZ #16878]
6546         * nscd/netgroupcache.c (addgetnetgrentX): Look for
6547         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6548         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6549         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6550
6551 2014-05-25  Richard Henderson  <rth@twiddle.net>
6552
6553         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6554         (SINGLE_THREAD_P_PIC): Remove.
6555         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6556         (SINGLE_THREAD_P_PIC): Remove.
6557
6558         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6559         branch to syscall error ...
6560         (PSEUDO): ... here.
6561         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6562         from __local_syscall_error to .Lsyscall_error.
6563         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6564         (SYSCALL_ERROR): Update label name.
6565
6566         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6567         Do not use DOARGS/UNDOARGS.
6568         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6569         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6570         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6571         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6572         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6573
6574         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6575         block comment.
6576
6577         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6578         define if !NOT_IN_libc.
6579         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6580         define with non-default symbol versions.
6581
6582 2014-05-23  Richard Henderson  <rth@twiddle.net>
6583
6584         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6585         (vfork, __vfork): Define via compat_symbol.
6586
6587         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6588         [!HAVE_IFUNC] (vfork_compat): Remove.
6589         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6590
6591 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
6592
6593         [BZ #16978]
6594         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6595         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6596         variable.
6597
6598 2014-05-23  Richard Henderson  <rth@twiddle.net>
6599
6600         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6601         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6602         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6603         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6604
6605         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6606         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6607         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6608         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6609         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6610         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6611         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6612         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6613         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6614         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6615         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6616         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6617         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6618         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6619         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6620         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6621         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6622         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6623         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6624         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6625         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6626         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6627         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6628         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6629         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6630         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6631         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6632         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6633         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6634         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6635         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6636         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6637         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6638         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6639         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6640         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6641         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6642         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6643         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6644         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6645         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6646         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6647         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6648         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6649         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6650         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6651         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6652         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6653         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6654         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6655         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6656         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6657         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6658         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6659         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6660         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6661
6662         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6663         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6664         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
6665         before exiting on error.
6666         (__libc_vfork): New strong alias.
6667         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6668         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6669
6670         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6671         that was previously under [RESET_PID].
6672         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6673
6674         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6675
6676 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
6677
6678         [BZ #16977]
6679         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6680         value when x - 1 is zero.
6681         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6682         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6683         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6684         0.0L for an argument of 1.0L.
6685         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6686         Likewise.
6687         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6688         value when x - 1 is zero.
6689         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6690         * sysdeps/i386/fpu/libm-test-ulps: Update.
6691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6692
6693 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6694
6695         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6696         alphasort and versionsort.
6697
6698 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6699
6700         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6701         macro.
6702         [copysignf]: Likewise.
6703
6704 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6705
6706         * crypt/md5-crypt.c: Fix formatting.
6707
6708 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6709
6710         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6711         (b64_from_24bit): New function.
6712
6713 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6714
6715         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6716         libc_hidden_builtin_def to ifunc.
6717         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6718         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6719
6720 2014-05-21  Roland McGrath  <roland@hack.frob.com>
6721
6722         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6723         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6724
6725 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
6726
6727         * nscd/Depend (linuxthreads): Remove.
6728         (nptl): Add.
6729         * resolv/Depend (linuxthreads): Remove.
6730         * rt/Depend (linuxthreads): Remove.
6731
6732         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6733         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6734         $(common-objpfx)elf/.
6735         (link-libc-before-gnulib): Likewise.
6736         (elfobjdir): Remove variable.
6737         * Makefile (install): Use $(elf-objpfx) instead of
6738         $(common-objpfx)elf/.
6739         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6740         $(elfobjdir)/.
6741         (link-libc-deps): Likewise.
6742         ($(common-objpfx)libc.so): Likewise.
6743         ($(common-objpfx)linkobj/libc.so): Likewise.
6744         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6745         instead of $(common-objpfx)elf/.
6746         (symbolic-link-list): Likewise.
6747         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6748         [$(cross-compiling) = no]: Likewise.
6749         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6750         $(elfobjdir)/.
6751         (static-gnulib-arch): Likewise.
6752         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6753         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6754         $(common-objpfx)elf/.
6755
6756 2014-05-21  Richard Henderson  <rth@redhat.com>
6757
6758         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6759         (SINGLE_THREAD_P): Use the correct width load.  Fold
6760         into the ldr offset.
6761
6762         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6763         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6764
6765 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
6766
6767         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6768         (libgcc_s_resume): Use __attribute_used__.
6769         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6770         Likewise.
6771
6772 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6773
6774         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6775         optimization when used with float constants.
6776
6777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6778
6779 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
6780
6781         [BZ #16915]
6782         * locale/nl_langinfo_l.c: Make direct reference to every
6783         _nl_current_CATEGORY symbol.
6784         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6785         (tests-static): Add tst-langinfo-static.
6786         (tests-special): Add tst-langinfo-static.out.
6787         ($(objpfx)tst-langinfo.out): Redirect output.
6788         ($(objpfx)tst-langinfo-static.out): New.
6789         * localedata/tst-langinfo.sh: Send output to stdout.
6790         * localedata/tst-langinfo-static.c: New file.
6791
6792         [BZ #16965]
6793         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6794         when the shift amount is modulo the limb size.
6795
6796 2014-05-20  Richard Henderson  <rth@redhat.com>
6797
6798         [BZ #16967]
6799         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6800         Change type of sa_flags from unsigned int to int.
6801
6802         [BZ #16966]
6803         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6804
6805         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6806
6807 2014-05-20  Will Newton  <will.newton@linaro.org>
6808
6809         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6810         Test the return value of the system call in the nocancel case.
6811
6812 2014-05-20  Will Newton  <will.newton@linaro.org>
6813             Yvan Roux  <yvan.roux@linaro.org>
6814
6815         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6816         #include of asm/ptrace.h.
6817         (PTRACE_GET_THREAD_AREA): Remove #undef.
6818         (PTRACE_GETHBPREGS): Likewise.
6819         (PTRACE_SETHBPREGS): Likewise.
6820         (struct user_regs_struct): New structure.
6821         (struct user_fpsimd_struct): New structure.
6822         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6823         #include of asm/ptrace.h and second #include of sys/user.h.
6824         (PTRACE_GET_THREAD_AREA): Remove #undef.
6825         (PTRACE_GETHBPREGS): Likewise.
6826         (PTRACE_SETHBPREGS): Likewise.
6827         (ELF_NGREG): Use new struct user_regs_struct.
6828         (elf_fpregset_t): Use new struct user_fpsimd_struct.
6829
6830 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6831
6832         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6833         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6834
6835 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
6836
6837         [BZ #16958]
6838         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6839         membar to avoid block loads/stores to overlap previous stores.
6840
6841 2014-05-17  Richard Henderson  <rth@redhat.com>
6842
6843         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6844         Create the __##syscall_name##_nocancel entry point.
6845         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6846         Remove; let the sysdep-cancel.h code create it.
6847
6848 2014-05-17  David S. Miller  <davem@davemloft.net>
6849
6850         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6851         Protect with __USE_GNU.
6852         (TIOCSET_TEMPT): Likewise.
6853         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6854         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6855         these are already provided in bits/ioctl-types.h
6856
6857 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6858
6859         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6860         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6861
6862         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6863         Use wait4 regardless of [__NR_waitpid].
6864
6865 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6866
6867         PR libgcc/60166
6868         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6869         (_FP_NANSIGN_Q): Set the quiet bit.
6870
6871 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
6872
6873         * benchtests/Makefile
6874         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6875         not $(common-objpfx)math/libm.so.
6876         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6877         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6878         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6879         $(common-objpfx)dlfcn/libdl.so.
6880         ($(objpfx)tst-audit8): Depend on $(libm), not
6881         $(common-objpfx)math/libm.so.
6882         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6883         not $(common-objpfx)dlfcn/libdl.so.
6884         * math/Makefile
6885         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6886         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
6887         [$(build-shared) = yes].
6888         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6889         $(common-objpfx)nptl/libpthread.so.
6890         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6891         $(common-objpfx)math/libm.so$(libm.so-version) or
6892         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6893         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6894         $(common-objpfx)dlfcn/libdl.so.
6895         * setjmp/Makefile (link-libm): Remove variable.
6896         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6897         * stdio-common/Makefile (link-libm): Remove variable.
6898         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6899         * stdlib/Makefile (link-libm): Remove variable.
6900         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6901         ($(objpfx)tst-strtod-round): Likewise.
6902         ($(objpfx)tst-tininess): Likewise.
6903         ($(objpfx)tst-strtod-underflow): Likewise.
6904         ($(objpfx)tst-strtod6): Likewise.
6905         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6906         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6907         $(common-objpfx)dlfcn/libdl.so.
6908
6909 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6910
6911         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6912         BSD terminal modes definitions.
6913
6914 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6915
6916         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6917         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6918
6919         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6920         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6921         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6922         Don't do #include_next.
6923         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6924         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6925         Don't do #include_next.
6926         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6927         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6928         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6929         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6930
6931 2014-05-16  Allan McRae  <allan@archlinux.org>
6932
6933         * po/sv.po: Update Swedish translation from translation project.
6934
6935         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6936         in sed expression.
6937
6938 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6939
6940         [BZ #16917]
6941         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6942         errno if the TIOCGPTN ioctl fails with an error different than
6943         EINVAL.
6944         * login/tst-ptsname.c: New file.
6945         * login/Makefile (tests): Add tst-ptsname.
6946
6947         [BZ #16943]
6948         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6949         and prlimit64.
6950
6951 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6952
6953         [BZ #16849]
6954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6955         herrno to return EAI_AGAIN.
6956
6957 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6958
6959         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6960         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6961         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6962         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6963         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6964         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6965         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6966         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6967         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6968         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6969         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6970         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6971         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6972         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6973         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6974         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6975         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6976         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6977         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6978         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6979         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6980         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6981         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6982         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6983         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6984         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6985         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6986         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6987         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6988         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6990         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6992         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6994         Moved ...
6995         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6997         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6999         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7001         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7003         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7005         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7007         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7009         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7011         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7013         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7015         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7017         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7019         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7021         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7023         Moved ...
7024         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7026         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7028         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7030         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7032         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7034         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7036         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7038         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7040         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7042         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7044         Moved ...
7045         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7047         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7048
7049         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7050         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7051         (libpthread-sysdep_routines): Add elision-related stuff here instead.
7052         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7053         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7054         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7055         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7056         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7057         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7058         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7059         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7060         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7061         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7062         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7063         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7064         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7065         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7066         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7067         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7068         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7069         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7070         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7071         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7072         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7073         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7074         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7075         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7076         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7077         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7078         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7079         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7080
7081         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7082         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7083
7084         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7085         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7086         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7087         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7088         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7089         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7090         Moved ...
7091         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7092         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7093         Moved ...
7094         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7095         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7096         Moved ...
7097         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7098         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7099         Moved ...
7100         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7101         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7102         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7103         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7104         Moved ...
7105         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7106         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7107         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7108         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7109         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7110         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7111         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7112         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7113         Moved ...
7114         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7115         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7116         Moved ...
7117         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7118         ... here.
7119         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7120         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7121         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7122         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7123         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7124         Moved ...
7125         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7126         ... here.
7127         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7128         Moved ...
7129         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7130         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7131         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7132         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7133         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7134         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7135         Moved ...
7136         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7137         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7138         Moved ...
7139         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7140         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7141         Moved ...
7142         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7143         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7144         Moved ...
7145         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7146         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7147         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7148         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7149         Moved ...
7150         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7151         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7152         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7153         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7154         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7155         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7156         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7157         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7158         Moved ...
7159         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7160         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7161         Moved ...
7162         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7163         ... here.
7164         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7165         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7166         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7167         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7168         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7169         Moved ...
7170         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7171         ... here.
7172         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7173         Moved ...
7174         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7175         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7176         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7177         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7178         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7179         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7180         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7181         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7182         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7183         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7184         Moved ...
7185         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7186         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7187         Moved ...
7188         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7189         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7190         Moved ...
7191         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7192         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7193         Moved ...
7194         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7195         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7196         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7197         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7198         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7199         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7200         Moved ...
7201         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7202         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7203         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7204         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7205         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7206         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7207         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7208         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7209         Moved ...
7210         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7211         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7212         Moved ...
7213         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7214         ... here.
7215         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7216         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7217         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7218         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7219         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7220         Moved ...
7221         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7222         ... here.
7223         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7224         Moved ...
7225         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7226         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7227         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7228         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7229         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7230         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7231         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7232         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7233         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7234         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7235         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7236
7237         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7238         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7239
7240         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7241         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7242
7243         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7244         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7245         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7246         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7247         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7248         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7249         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7250         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7251         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7252         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7253         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7254         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7255         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7256         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7257         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7258         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7259         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7260         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7261         Moved ...
7262         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7263         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7264         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7265         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7266         Moved ...
7267         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7268         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7269         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7270         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7271         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7272         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7273         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7275         Moved ...
7276         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7277         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7278         Moved ...
7279         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7280         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7281         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7282         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7283         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7284         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7285         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7286         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7287         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7288         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7289         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7290         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7291         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7292         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7293         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7294         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7295         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7296
7297         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7298         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7299         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7300         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7301         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7302
7303         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7304         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7305         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7306         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7307         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7308         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7309         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7310         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7311         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7312         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7313
7314         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7315         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7316
7317         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7318         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7319         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7320         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7321         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7322         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7323         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7324         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7325         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7326         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7327         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7328         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7329         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7330         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7331         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7332         Update #include.
7333         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7334         Likewise.
7335         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7336         Likewise.
7337         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7338         Likewise.
7339         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7340         Likewise.
7341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7342         Likewise.
7343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7344         Likewise.
7345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7346         Likewise.
7347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7348         Likewise.
7349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7350         Likewise.
7351         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7352         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7353         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7354         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7355         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7356         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7357         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7358         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7359         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7360         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7361         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7362         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7363         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7364         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
7365         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
7366
7367         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7368         that was previously under [RESET_PID].
7369         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7370         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7371         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7372
7373         * sysdeps/i386/nptl/Implies: New file.
7374         * sysdeps/x86_64/nptl/Implies: New file.
7375         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7376         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7377         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7378         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7379
7380         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7381         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7382         (__libc_vfork): New strong alias.
7383         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7384         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7385
7386         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7387         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7388         (__libc_vfork): New strong alias.
7389         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7390         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7391
7392         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7393         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7394         (__libc_vfork): New strong alias.
7395         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7396         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7397         * nptl/pt-vfork.c: New file.
7398         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7399         (libpthread: GLIBC_2.20): New version set (empty).
7400
7401 2014-05-14  Will Newton  <will.newton@linaro.org>
7402
7403         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7404         rather than #if.
7405
7406 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7407
7408         [BZ #16564]
7409         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7410         arguments with exponent 65 or above.
7411         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7412         arguments 0x1p113L or above.
7413         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7414         to arguments 0x1p107L or above.
7415         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7416         positive arguments with exponent 65 or above.
7417         * math/auto-libm-test-in: Add more tests of log1p.
7418         * math/auto-libm-test-out: Regenerated.
7419
7420         [BZ #16928]
7421         * math/s_cacos.c (__cacos): Ensure zero real part of result from
7422         non-finite arguments is +0.
7423         * math/s_cacosf.c (__cacosf): Likewise.
7424         * math/s_cacosl.c (__cacosl): Likewise.
7425         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7426         * sysdeps/i386/fpu/libm-test-ulps: Update.
7427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7428
7429         [BZ #16927]
7430         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7431         value.
7432         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7433         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7434         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7435         for explicit high bit of mantissa when testing for argument equal
7436         to 1.
7437         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7438         * sysdeps/i386/fpu/libm-test-ulps: Update.
7439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7440
7441         [BZ #16516]
7442         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7443         (__erf): Scale by 16 instead of 8 in potentially underflowing
7444         case.  Ensure exception if result actually underflows.
7445         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7446         (__erff): Scale by 16 instead of 8 in potentially underflowing
7447         case.  Ensure exception if result actually underflows.
7448         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7449         (efx8): Remove variable.
7450         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7451         case.  Ensure exception if result actually underflows.
7452         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7453         (efx8): Remove variable.
7454         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7455         case.  Ensure exception if result actually underflows.
7456         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7457         (efx8): Remove variable.
7458         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7459         case.  Ensure exception if result actually underflows.
7460         * math/auto-libm-test-in: Add more tests of erf.
7461         * math/auto-libm-test-out: Regenerated.
7462
7463 2014-05-14  Andreas Schwab  <schwab@suse.de>
7464
7465         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7466         Remove code conditionalized on USE___THREAD.
7467
7468         * config.h.in (HAVE_PT_CHOWN): Define as 0.
7469         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7470         not definedness.
7471
7472 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7473
7474         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7475         Define unconditionally.
7476         (__ASSUME_O_CLOEXEC): Likewise.
7477         (__ASSUME_SOCK_CLOEXEC): Likewise.
7478         (__ASSUME_IN_NONBLOCK): Likewise.
7479         (__ASSUME_PIPE2): Likewise.
7480         (__ASSUME_EVENTFD2): Likewise.
7481         (__ASSUME_SIGNALFD4): Likewise.
7482         (__ASSUME_DUP3): Likewise.
7483         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7484         (__ASSUME_DUP3): Do not define.
7485         (__ASSUME_EVENTFD2): Likewise.
7486         (__ASSUME_IN_NONBLOCK): Likewise.
7487         (__ASSUME_O_CLOEXEC): Likewise.
7488         (__ASSUME_PIPE2): Likewise.
7489         (__ASSUME_SIGNALFD4): Likewise.
7490         (__ASSUME_SOCK_CLOEXEC): Likewise.
7491         (__ASSUME_UTIMES): Undefine.
7492         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7493         (__ASSUME_UTIMES): Do not define.
7494         (__ASSUME_O_CLOEXEC): Likewise.
7495         (__ASSUME_SOCK_CLOEXEC): Likewise.
7496         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7497         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7498         0x020621].
7499         (__ASSUME_PIPE2): Likewise.
7500         (__ASSUME_EVENTFD2): Likewise.
7501         (__ASSUME_SIGNALFD4): Likewise.
7502         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7503         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7504         Do not define.
7505         (__ASSUME_EVENTFD2): Likewise.
7506         (__ASSUME_SIGNALFD4): Likewise.
7507         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7508         (__ASSUME_32BITUIDS): Likewise.
7509         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7510         (__ASSUME_IPC64): Likewise.
7511         (__ASSUME_ST_INO_64_BIT): Likewise.
7512         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7513         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7514         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7515         (__ASSUME_UTIMES): Do not define.
7516         (__ASSUME_PSELECT): Likewise.
7517         (__ASSUME_PPOLL): Likewise.
7518         (__ASSUME_O_CLOEXEC): Likewise.
7519         (__ASSUME_SOCK_CLOEXEC): Likewise.
7520         (__ASSUME_IN_NONBLOCK): Likewise.
7521         (__ASSUME_PIPE2): Likewise.
7522         (__ASSUME_EVENTFD2): Likewise.
7523         (__ASSUME_SIGNALFD4): Likewise.
7524         (__ASSUME_DUP3): Likewise.
7525         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7526         (__ASSUME_UTIMES): Likewise.
7527         (__ASSUME_O_CLOEXEC): Likewise.
7528         (__ASSUME_SOCK_CLOEXEC): Likewise.
7529         (__ASSUME_IN_NONBLOCK): Likewise.
7530         (__ASSUME_PIPE2): Likewise.
7531         (__ASSUME_EVENTFD2): Likewise.
7532         (__ASSUME_SIGNALFD4): Likewise.
7533         (__ASSUME_DUP3): Likewise.
7534         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7535         (__ASSUME_UTIMES): Likewise.
7536         (__ASSUME_O_CLOEXEC): Likewise.
7537         (__ASSUME_SOCK_CLOEXEC): Likewise.
7538         (__ASSUME_IN_NONBLOCK): Likewise.
7539         (__ASSUME_PIPE2): Likewise.
7540         (__ASSUME_EVENTFD2): Likewise.
7541         (__ASSUME_SIGNALFD4): Likewise.
7542         (__ASSUME_DUP3): Likewise.
7543         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7544         Likewise.
7545         (__ASSUME_UTIMES): Likewise.
7546         (__ASSUME_EVENTFD2): Likewise.
7547         (__ASSUME_SIGNALFD4): Likewise.
7548         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7549         (__ASSUME_O_CLOEXEC): Likewise.
7550         (__ASSUME_SOCK_CLOEXEC): Likewise.
7551         (__ASSUME_IN_NONBLOCK): Likewise.
7552         (__ASSUME_PIPE2): Likewise.
7553         (__ASSUME_EVENTFD2): Likewise.
7554         (__ASSUME_SIGNALFD4): Likewise.
7555         (__ASSUME_DUP3): Likewise.
7556         (__ASSUME_UTIMES): Undefine.
7557
7558         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7559         feclearexcept.  Remove symbol versioning code.
7560         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
7561         symbol versioning code.
7562         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
7563         symbol versioning code.
7564         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7565         feupdateenv.  Remove symbol versioning code.
7566         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7567         fegetexceptflag.  Remove symbol versioning code.
7568         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7569         fesetexceptflag.  Remove symbol versioning code.
7570         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7571         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
7572         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7573         (__posix_fadvise64_l32): Remove prototype.
7574         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7575         code.
7576
7577 2014-05-13  Roland McGrath  <roland@hack.frob.com>
7578
7579         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7580         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7581         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7582         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7583
7584 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
7585
7586         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7587         current working directory
7588
7589 2014-05-13  Roland McGrath  <roland@hack.frob.com>
7590
7591         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7592         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7593         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7594         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7595         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7596         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7597         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7598         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7599         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7600         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7601         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7602         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7603         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7604         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7605         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7606         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7607         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7608         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7609         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7610         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7611         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7612         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7613         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7614         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7615         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7616         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7617         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7618         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7619         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7620         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7621         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7622         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7623         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7624         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7625         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7626         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7627         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7628         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7629         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7630         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7631         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7632         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7633
7634         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7635         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7636
7637         * sysdeps/unix/sysv/linux/arm/Makefile
7638         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7639         Add rt-aeabi_unwind_cpp_pr1.
7640         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7641         Add nptl-aeabi_unwind_cpp_pr1.
7642         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7643         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7644         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7645         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7646         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7647         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7648
7649         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7650         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7651         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7652         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7653
7654         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7655         Deconditionalize the code that was previously under [RESET_PID].
7656         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7657
7658         * sysdeps/generic/exit-thread.h: New file.
7659         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7660         * include/unistd.h (__exit_thread): Remove declaration.
7661         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7662         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7663         * csu/libc-start.c: Include <exit-thread.h>.
7664         (LIBC_START_MAIN): Pass no argument to __exit_thread.
7665         * nptl/pthread_create.c: Include <exit-thread.h>.
7666         (start_thread): Call __exit_thread in place of __exit_thread_inline.
7667         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7668         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7669         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7670         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7671         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7672         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7673         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7674         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7675         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7676         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7677         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7678         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7679         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7680         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7681         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7682         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7683
7684 2014-05-13  Andreas Schwab  <schwab@suse.de>
7685
7686         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7687
7688 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
7689
7690         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7691         (__ASSUME_UTIMES): Do not condition on kernel version.
7692         (__ASSUME_PSELECT): Define unconditionally.
7693         (__ASSUME_PPOLL): Likewise.
7694         (__ASSUME_ATFCTS): Likewise.
7695         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7696         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7697         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7698         (__ASSUME_UTIMENSAT): Define unconditionally.
7699         (__ASSUME_PRIVATE_FUTEX): Likewise.
7700         (__ASSUME_FALLOCATE): Likewise.
7701         (__ASSUME_O_CLOEXEC): Likewise.
7702         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7703         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7704         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7705         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7706         (__ASSUME_IN_NONBLOCK): Likewise.
7707         (__ASSUME_PIPE2): Likewise.
7708         (__ASSUME_EVENTFD2): Likewise.
7709         (__ASSUME_SIGNALFD4): Likewise.
7710         (__ASSUME_DUP3): Likewise.
7711         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7712         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7713         (__ASSUME_AT_RANDOM): Likewise.
7714         (__ASSUME_PREADV): Likewise.
7715         (__ASSUME_PWRITEV): Likewise.
7716         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7717         (__ASSUME_F_GETOWN_EX): Define unconditionally.
7718         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7719         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7720         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7721         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7722         (__ASSUME_O_CLOEXEC): Define unconditionally.
7723         (__ASSUME_PSELECT): Do not undefine conditionally.
7724         (__ASSUME_PPOLL): Likewise.
7725         (__ASSUME_ATFCTS): Likewise.
7726         (__ASSUME_SET_ROBUST_LIST): Likewise.
7727         (__ASSUME_UTIMENSAT): Likewise.
7728         (__ASSUME_FDATASYNC): Define unconditionally.
7729         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7730         (__ASSUME_SIGFRAME_V2): Likewise.
7731         )__ASSUME_EVENTFD2): Likewise.
7732         (__ASSUME_SIGNALFD4): Likewise.
7733         (__ASSUME_PSELECT): Do not undefine conditionally.
7734         (__ASSUME_PPOLL): Likewise.
7735         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7736         (__ASSUME_PSELECT): Define unconditionally.
7737         (__ASSUME_PPOLL): Likewise.
7738         (__ASSUME_O_CLOEXEC): Likewise.
7739         (__ASSUME_SOCK_CLOEXEC): Likewise.
7740         (__ASSUME_IN_NONBLOCK): Likewise.
7741         (__ASSUME_PIPE2): Likewise.
7742         (__ASSUME_EVENTFD2): Likewise.
7743         (__ASSUME_SIGNALFD4): Likewise.
7744         (__ASSUME_DUP3): Likewise.
7745         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7746         (__ASSUME_O_CLOEXEC): Likewise.
7747         (__ASSUME_SOCK_CLOEXEC): Likewise.
7748         (__ASSUME_IN_NONBLOCK): Likewise.
7749         (__ASSUME_PIPE2): Likewise.
7750         (__ASSUME_EVENTFD2): Likewise.
7751         (__ASSUME_SIGNALFD4): Likewise.
7752         (__ASSUME_DUP3): Likewise.
7753         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7754         (__ASSUME_EVENTFD2): Likewise.
7755         (__ASSUME_SIGNALFD4): Likewise.
7756         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7757
7758 2014-05-12  Andreas Schwab  <schwab@suse.de>
7759
7760         [BZ #16932]
7761         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7762         (_nss_nis_gethostbyname4_r): Return error if item length is larger
7763         than maximum RPC packet size.
7764         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7765         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7766         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7767         (_nss_nis_getservbyport_r): Likewise.
7768
7769 2014-05-12  Will Newton  <will.newton@linaro.org>
7770
7771         * malloc/Makefile (tests): Add tst-mallopt.
7772         * malloc/tst-mallopt.c: New file.
7773
7774 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7775
7776         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7777         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7778
7779 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7780
7781         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7782         (tst-tlsmod6.so): Likewise.
7783
7784 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7785
7786         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7787
7788 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
7789
7790         [BZ #16064]
7791         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7792         and <dl-procinfo.h>.
7793         (__fegetenv): Save SSE state in envp->__eip if supported.
7794         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7795         envp->__eip if supported.
7796         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7797         and <dl-procinfo.h>.
7798         (__fesetenv): Always set __eip, __cs_selector, __opcode,
7799         __data_offset and __data_selector in environment to 0.  Set SSE
7800         state if supported.
7801         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7802         test-fenv-sse.
7803         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7804         -mfpmath=sse.
7805         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7806
7807 2014-05-09  Will Newton  <will.newton@linaro.org>
7808
7809         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7810         and libc_relro_required for ARM.
7811         * sysdeps/arm/preconfigure: Regenerate.
7812
7813 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7814             Stefan Liebler  <stli@linux.vnet.ibm.com>
7815
7816         * config.make.in (enable-lock-elision): New Makefile variable.
7817         * configure.ac: Likewise.
7818         * configure: Regenerate.
7819         * sysdeps/s390/configure.ac:
7820         Add check for gcc transactions support.
7821         * sysdeps/s390/configure: Regenerate.
7822         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7823         Build elision files if enabled.
7824         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7825         Add lock elision support for s390.
7826         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7827         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7828         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7829         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7830         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7831         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7832         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7833         Likewise.
7834         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7835         Likewise.
7836         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7837         Likewise.
7838         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7839         Likewise.
7840         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7841         (__lll_timedlock_elision, __lll_lock_elision)
7842         (__lll_unlock_elision, __lll_trylock_elision)
7843         (lll_timedlock_elision, lll_lock_elision)
7844         (lll_unlock_elision, lll_trylock_elision): Add.
7845         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7846         (pthread_mutex_t): Add lock elision support for s390.
7847
7848 2014-05-14  Wilco  <wdijkstr@arm.com>
7849
7850         * sysdeps/arm/fclrexcpt.c: Cleanup.
7851         * sysdeps/arm/fedisblxcpt.c: Cleanup.
7852         * sysdeps/arm/feenablxcpt.c: Cleanup.
7853         * sysdeps/arm/fegetenv.c: Cleanup.
7854         * sysdeps/arm/fegetexcept.c: Cleanup.
7855         * sysdeps/arm/fegetround.c: Cleanup.
7856         * sysdeps/arm/feholdexcpt.c: Cleanup.
7857         * sysdeps/arm/fesetenv.c: Cleanup.
7858         * sysdeps/arm/fesetround.c: Cleanup.
7859         * sysdeps/arm/feupdateenv.c: Cleanup.
7860         * sysdeps/arm/fgetexcptflg.c: Cleanup.
7861         * sysdeps/arm/fraiseexcpt.c: Cleanup.
7862         * sysdeps/arm/fsetexcptflg.c: Cleanup.
7863         * sysdeps/arm/ftestexcept.c: Cleanup.
7864         * sysdeps/arm/get-rounding-mode.h: Cleanup.
7865         * sysdeps/arm/setfpucw.c: Cleanup.
7866
7867 2014-05-09  Will Newton  <will.newton@linaro.org>
7868
7869         * sysdeps/arm/armv7/strcmp.S: New file.
7870         * NEWS: Mention addition of ARMv7 optimized strcmp.
7871
7872 2014-05-08  Roland McGrath  <roland@hack.frob.com>
7873
7874         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7875         look for %.ac rather than %.in.
7876
7877         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7878         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7879         * sysdeps/mach/hurd/configure: Regenerated.
7880         * sysdeps/unix/sysv/linux/configure: Regenerated.
7881
7882         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7883
7884 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7885
7886         [BZ# 16922]
7887         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7888         (LONG_SUB): Ditto.
7889         (PTR_SUB): Ditto.
7890
7891 2014-05-07  Andreas Schwab  <schwab@suse.de>
7892
7893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7894         when skipping over non-matching result from nscd.
7895
7896 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7897
7898         [BZ #16876]
7899         * nptl/sockperf.c (client): Check socket return value.
7900
7901         [BZ #16877]
7902         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7903         nscd security class.
7904
7905 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7906
7907         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7908         * sysdeps/arm/unwind.h: ... here.
7909
7910 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7911
7912         [BZ# 16916]
7913         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7914         Define.
7915
7916 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7917
7918         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7919         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7920         multiarch strncpy for PPC64.
7921         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7922         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7923         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7924         multiarch optimizations.
7925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7926         (__libc_ifunc_impl_list): Likewise.
7927         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7928         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7929         multiarch stpncpy for PPC64.
7930         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7931         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7932
7933 2014-05-06  Andreas Schwab  <schwab@suse.de>
7934
7935         [BZ #16912]
7936         * gmon/mcount.c (_MCOUNT_DECL): Use
7937         atomic_compare_and_exchange_bool_acq instead of
7938         catomic_compare_and_exchange_bool_acq.
7939
7940 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7941
7942         * elf/Makefile (others, install-bin): Remove pldd.
7943         (pldd-modules): Variable removed.
7944         ($(objpfx)pldd): Target removed.
7945         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7946         (others, install-bin): Append pldd here.
7947         ($(objpfx)pldd): New target.
7948
7949         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7950         to 0, so the first #if test emitted later doesn't see it undefined.
7951         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7952         * sysdeps/gnu/errlist.c: Regenerated.
7953
7954 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7955
7956         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7957         [libc_hidden_builtin_def]: Define to empty value.
7958         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7959         [libc_hidden_builtin_def]: Likewise.
7960         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7961         [libc_hidden_builtin_def]: Likewise.
7962         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7963         [libc_hidden_builtin_def]: Likewise.
7964         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7965         __redirect_memcpy and define ifunc as default hidden symbol.
7966         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7967         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7968
7969 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7970
7971         * locale/iso-4217.def: Reintroduce XDR currency.
7972
7973 2014-05-04  Allan McRae  <allan@archlinux.org>
7974
7975         * po/eo.po: Update Esperanto translation from translation project.
7976
7977 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7978
7979         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7980         and FEATURE_INDEX_MAX to 1.
7981         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7982
7983 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7984
7985         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7986         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7987         * iconvdata/big5.c (ONE_DIRECTION): Define.
7988         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7989         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7990         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7991         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7992         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7993         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7994         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7995         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7996         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7997         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7998         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7999         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8000         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8001         * iconvdata/gbk.c (ONE_DIRECTION): Define.
8002         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8003         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8004         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8005         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8006         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8007         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8008         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8009         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8010         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8011         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8012         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8013         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8014         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8015         * iconvdata/iso646.c (ONE_DIRECTION): Define.
8016         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8017         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8018         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8019         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8020         * iconvdata/johab.c (ONE_DIRECTION): Define.
8021         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8022         * iconvdata/sjis.c (ONE_DIRECTION): Define.
8023         * iconvdata/t.61.c (ONE_DIRECTION): Define.
8024         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8025         * iconvdata/tscii.c (ONE_DIRECTION): Define.
8026         * iconvdata/uhc.c (ONE_DIRECTION): Define.
8027         * iconvdata/unicode.c (ONE_DIRECTION): Define.
8028         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8029         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8030         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8031
8032 2014-05-01  Roland McGrath  <roland@hack.frob.com>
8033
8034         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8035         (_IO_JUMPS_OFFSET): Define to 0.
8036
8037         * nptl/sysdeps/pthread/bits/libc-lock.h
8038         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8039         (__libc_lock_define_initialized_recursive): Always define using
8040         initializer.  Modern compilers treat uninitialized (implicit zero) and
8041         explicit zero initializers the same (i.e. put the datum in bss).
8042
8043 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8044
8045         * nscd/nscd-client.h: Include <string.h>.
8046
8047 2014-05-01  David S. Miller  <davem@davemloft.net>
8048
8049         [BZ #16885]
8050         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8051         multiple zero bytes exist at the end of a string.
8052         Reported by Aurelien Jarno <aurelien@aurel32.net>
8053
8054         * string/test-strcmp.c (check): Add explicit test for situations where
8055         there are multiple zero bytes after the first.
8056
8057 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8058
8059         [BZ #16890]
8060         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8061         when compiling wprintf.
8062         * stdio-common/tstdiomisc.c (t3): New function.
8063         (main): Call it.
8064
8065 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8066
8067         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8068         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8069         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8070         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8071
8072 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8073
8074         * stdlib/longlong.h: Updated from GCC.
8075
8076 2014-05-01  Will Newton  <will.newton@linaro.org>
8077             Bernard Ogden  <bernie.ogden@linaro.org>
8078
8079         * NEWS: Update fixed bug list.
8080
8081         [BZ #15119]
8082         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8083
8084 2014-04-30  David S. Miller  <davem@davemloft.net>
8085
8086         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8087         (libc_feholdexcept_setround_sparc_ctx): New function.
8088         (libc_fesetenv_sparc_ctx): Likewise.
8089         (libc_feupdateenv_sparc_ctx): Likewise.
8090         (libc_feholdsetround_sparc_ctx): Likewise.
8091         (libc_feholdexcept_setround_ctx): Define.
8092         (libc_feholdexcept_setroundf_ctx): Likewise.
8093         (libc_feholdexcept_setroundl_ctx): Likewise.
8094         (libc_fesetenv_ctx): Likewise.
8095         (libc_fesetenvf_ctx): Likewise.
8096         (libc_fesetenvl_ctx): Likewise.
8097         (libc_feupdateenv_ctx): Likewise.
8098         (libc_feupdateenvf_ctx): Likewise.
8099         (libc_feupdateenvl_ctx): Likewise.
8100         (libc_feresetround_ctx): Likewise.
8101         (libc_feresetroundf_ctx): Likewise.
8102         (libc_feresetroundl_ctx): Likewise.
8103         (libc_feholdsetround_ctx): Likewise.
8104         (libc_feholdsetroundf_ctx): Likewise.
8105         (libc_feholdsetroundl_ctx): Likewise.
8106
8107         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8108         with __USE_GNU instead of XOPEN cpp guards.
8109
8110         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8111         0.
8112
8113         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8114         with XOPEN cpp guards.
8115
8116 2014-04-30  Julian Brown  <julian@codesourcery.com>
8117
8118         [BZ #16888]
8119         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8120         handling.
8121
8122 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
8123
8124         [BZ #9894]
8125         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8126         Change to 2.6.32.
8127         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8128         * sysdeps/unix/sysv/linux/configure: Regenerated.
8129         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8130         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8131         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8132         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8133         * README: Update reference to required Linux kernel version.
8134         * manual/install.texi (Linux): Update reference to required Linux
8135         kernel headers version.
8136         * INSTALL: Regenerated.
8137
8138         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8139         header inclusion.
8140         [POSIX] (limits.h): Likewise.
8141         [POSIX] (math.h): Likewise.
8142         [POSIX] (sys/wait.h): Likewise.
8143         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8144         function.
8145         [POSIX] (stddef.h): Do not allow header inclusion.
8146
8147 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8148
8149         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8150
8151 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
8152
8153         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8154         Return immediately after lll_futex_wake.
8155
8156 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8157
8158         [BZ #16791]
8159         * nscd/nscd-client.h (datahead_init_common): Initialize entire
8160         structure.
8161         (datahead_init_pos): Call datahead_init_common early.
8162         (datahead_init_neg): Likewise.
8163
8164         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8165         datahead_init_neg): New functions.
8166         * nscd/aicache.c (addhstaiX): Use them.
8167         * nscd/grpcache.c (cache_addgr): Likewise.
8168         * nscd/hstcache.c (cache_addhst): Likewise.
8169         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8170         * nscd/netgroupcache.c (do_notfound): Likewise.
8171         (addgetnetgrentX): Likewise.
8172         (addinnetgrX): Likewise.
8173         * nscd/pwdcache.c (cache_addpw): Likewise.
8174         * nscd/servicescache.c (cache_addserv): Likewise.
8175
8176 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8177             Atsushi Onoe  <atsushi@onoe.org>
8178
8179         [BZ #14308]
8180         [BZ #12994]
8181         [BZ #13651]
8182         * resolv/res_query.c (__libc_res_nsearch): Return if at least
8183         one response is valid.
8184         * resolv/res_send.c (send_dg): Check for validity of other
8185         response if the current response is a referral.
8186
8187 2014-04-29  Steve Ellcey  <sellcey@mips.com>
8188
8189         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8190
8191 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
8192
8193         [BZ #16823]
8194         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8195         Always divide by positive zero when computing -Inf result.
8196         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8197         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8198
8199 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8200
8201         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8202         FPSCR if value do not change.
8203         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8204         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8205         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8206         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8207         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8208         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8209         function.
8210
8211 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
8212
8213         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8214         * sysdeps/unix/sysv/linux/hppa: Move directory from
8215         ports/systeps/unix/sysv/linux/hppa.
8216         * README: Update listing for hppa-*-linux-gnu.
8217
8218 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
8219
8220         [BZ #16754]
8221         * manual/stdio.texi (Hook functions): Fix types of stream hook
8222         functions.
8223         [BZ #16854]
8224         * socket/sys/socket.h: Fix typo in comment.
8225
8226 2014-04-28  Wilco  <wdijkstr@arm.com>
8227
8228         * sysdeps/arm/fenv_private.h: New file.
8229         * sysdeps/arm/math_private.h: New file.
8230         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8231
8232 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
8233
8234         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8235         with __int128_t.
8236         (La_x86_64_retval): Likewise.
8237
8238 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
8239
8240         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8241         fpsr if value didn't change.
8242         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8243         to fpcr if value didn't change.
8244         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8245         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8246         fpsr or fpcr if value didn't change.
8247         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8248         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8249         fpcr if value didn't change.
8250         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8251         to fpsr if value didn't change.
8252
8253 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8254
8255         * nptl/tst-sem3.c: Use test-skeleton.c
8256         (main): Rename to do_test.  Use return instead of
8257         exit.
8258         * nptl/tst-sem4.c: Use test-skeleton.c
8259         (main): Rename to do_test.
8260
8261 2014-04-22  David S. Miller  <davem@davemloft.net>
8262
8263         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8264         (struct sigaction): New struct member __glibc_reserved0, change
8265         type of sa_flags to int.
8266
8267 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
8268
8269         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8270         (COUNT_LEADING_ZEROS_0): Define for AArch64.
8271
8272 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8273
8274         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8275         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8276
8277 2014-04-22  Will Newton  <will.newton@linaro.org>
8278             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
8279
8280         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8281         (__longjmp): Add longjmp and longjmp_target SystemTap
8282         probes.
8283         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8284         (__sigsetjmp): Add setjmp SystemTap probe.
8285
8286 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
8287
8288         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8289         match manual order.
8290
8291 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8292
8293         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8294
8295         * sysdeps/powerpc/fpu/fenv_private.h
8296         (libc_feholdexcept_setroundl_ctx): Define to
8297         libc_feholdexcept_setround_ppc_ctx.
8298         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8299         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8300         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8301         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8302
8303 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8304
8305         * sysdeps/aarch64/math-tests.h: New file.
8306
8307 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
8308
8309         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8310         New.
8311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8312         Check and set bit_AVX2_Usable.
8313         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8314         macro.
8315         (bit_AVX2): Likewise.
8316         (index_AVX2_Usable): Likewise.
8317         (CPUID_AVX2): Likewise.
8318         (HAS_AVX2): Likewise.
8319
8320 2014-04-17  Will Newton  <will.newton@linaro.org>
8321
8322         * manual/setjmp.texi (System V contexts): Add note that
8323         calling setcontext on a context created by a call to a
8324         signal handler is undefined.  Update text to note that
8325         setcontext from a signal handler is possible but not
8326         recommended.
8327
8328         [BZ #16629]
8329         * stdlib/tst-setcontext.c: Include signal.h.
8330         (main): Check that the signal stack before and
8331         after swapcontext is the same.
8332
8333         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8334         Re-implement to restore registers in user code and avoid
8335         rt_sigreturn system call.
8336
8337 2014-04-17  Wilco  <wdijkstr@arm.com>
8338
8339         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8340         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8341         * math/test-fenv.c: Skip exception trap tests on targets which only
8342         support non-stop mode.
8343
8344 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8345             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8346
8347         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8348         (libc_feholdsetround_aarch64_ctx)
8349         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8350         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8351         (libc_feresetround_ctx, libc_feresetroundf_ctx)
8352         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8353         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8354         (libc_feresetround_noexl_ctx): Define.
8355
8356 2014-04-16  Richard Henderson  <rth@redhat.com>
8357
8358         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8359
8360         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8361         unwind tables.
8362
8363         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8364         const from the non-libc, non-ldso copy.
8365
8366         * sysdeps/alpha/libm-test-ulps: Regenerate.
8367
8368 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
8369             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8370
8371         * sysdeps/aarch64/fpu/math_private.h: New file.
8372
8373 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8374
8375         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8376
8377 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
8378
8379         [BZ #16275]
8380         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8381         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8382         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8383         Intel MPX bound registers before _dl_profile_fixup.
8384         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8385         registers after _dl_profile_fixup.  Save and restore bound
8386         registers bnd0/bnd1 when calling _dl_call_pltexit.
8387         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8388         (LR_BND_OFFSET): Likewise.
8389         (LRV_BND0_OFFSET): Likewise.
8390         (LRV_BND1_OFFSET): Likewise.
8391
8392 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8393
8394         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8395         to...
8396         * sysdeps/mach/hurd/i386/tls.h: ... here.
8397         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8398         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8399         fields.
8400
8401 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8402
8403         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8404
8405 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8406
8407         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8408
8409 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8410
8411         [BZ #14770]
8412         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8413         * sysdeps/s390/configure: Regenerate.
8414
8415         [BZ #16824]
8416         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8417         Set round-to-nearest internally to reduce error accumulation.
8418
8419 2014-04-16  Alan Modra  <amodra@gmail.com>
8420
8421         [BZ #16740]
8422         [BZ #16619]
8423         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8424         * math/libm-test.inc (frexp_test_data): Add tests.
8425         * NEWS: Update fixed bug list.
8426
8427 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8428
8429         * benchtests/Makefile: Depend on libraries in build directory.
8430         (bench-math): Separate out math tests.
8431         (bench-pthread): Separate out pthread tests.
8432         (bench): Include math and pthread tests.
8433
8434 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
8435
8436         [BZ #16831]
8437         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8438         _dl_debug_initialize.
8439
8440         * configure.ac: Remove SELinux header check.
8441         * configure: Regenerate.
8442         * nscd/selinux.c (perms): Array of const char* to permission names.
8443         (nscd_request_avc_has_perm): Call security_deny_unknown to find
8444         default policy. Call string_to_security_class and string_to_av_perm to
8445         translate strings. Enforce default policy and call avs_has_perm with
8446         results of translated strings.
8447
8448 2014-04-13  David S. Miller  <davem@davemloft.net>
8449
8450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8451
8452 2014-04-12  Allan McRae  <allan@archlinux.org>
8453
8454         [BZ #16838]
8455         * manual/string.texi (Collation Functions): Fix qsort argument
8456         order in example.
8457         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8458
8459 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
8460
8461         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8462         Make the test a no-op if there are no exceptions defined.
8463
8464 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8465
8466         * elf/Makefile (tests): make tst-dlopen-aout conditional on
8467         enable-hardcoded-path-in-tests
8468
8469 2014-04-11  Will Newton  <will.newton@linaro.org>
8470
8471         * benchtests/Makefile (extra-objs): Add json-lib.o.
8472         (bench-func): Tidy up JSON output.
8473         * benchtests/bench-skeleton.c: Include json-lib.h.
8474         (main): Use JSON library functions to do output of
8475         benchmark results.
8476         * benchtests/bench-timing-type.c (main): Output the
8477         timing type simply, leaving formatting to the user.
8478         * benchtests/json-lib.c: New file.
8479         * benchtests/json-lib.h: Likewise.
8480
8481 2014-04-11  Torvald Riegel  <triegel@redhat.com>
8482
8483         [BZ #15215]
8484         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8485         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
8486         memory barriers.  Add comments.
8487         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8488         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8489         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8490         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8491         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8492         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8493
8494 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8495
8496         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8497         * sysdeps/s390/s390-64/configure.ac: ... this ...
8498         * sysdeps/s390/configure.ac: ... to here.
8499         * sysdeps/s390/s390-32/configure: Delete file.
8500         * sysdeps/s390/s390-64/configure: Delete file.
8501         * sysdeps/s390/configure: Regenerate.
8502
8503 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
8504
8505         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8506
8507 2014-04-11  Will Newton  <will.newton@linaro.org>
8508
8509         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8510         to zero if it is not defined elsewhere.  (mtrim): Test
8511         the value of MALLOC_DEBUG with #if rather than #ifdef.
8512
8513 2014-04-10 Torvald Riegel  <triegel@redhat.com>
8514
8515         * benchtests/pthread_once-inputs: New file.
8516         * benchtests/pthread_once-source.c: New file.
8517         * benchtests/README: Update documentation.
8518
8519 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8520             H.J. Lu  <hongjiu.lu@intel.com>
8521
8522         [BZ #16275]
8523         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8524         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8525         * sysdeps/x86_64/configure: Regenerated.
8526         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8527         macro.
8528         (REGISTER_SAVE_RAX): Likewise.
8529         (REGISTER_SAVE_RCX): Likewise.
8530         (REGISTER_SAVE_RDX): Likewise.
8531         (REGISTER_SAVE_RSI): Likewise.
8532         (REGISTER_SAVE_RDI): Likewise.
8533         (REGISTER_SAVE_R8): Likewise.
8534         (REGISTER_SAVE_R9): Likewise.
8535         (REGISTER_SAVE_BND0): Likewise.
8536         (REGISTER_SAVE_BND1): Likewise.
8537         (REGISTER_SAVE_BND2): Likewise.
8538         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
8539         bound registers when calling _dl_fixup.
8540
8541 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8542
8543         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8544         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8545         of its definition.
8546         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8547         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8548         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8549         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8550         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8551         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8552         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8553
8554 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
8555
8556         [BZ #15514]
8557         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8558         pathconf(_PC_NAME_MAX).
8559
8560 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8561
8562         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8563         Remove macro usage.
8564         (__PTHREAD_SPINS): Move definition to ...
8565         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8566         (__PTHREAD_SPINS): ... here.
8567         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8568         (__PTHREAD_SPIN): Likewise.
8569         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8570         (__PTHREAD_SPIN): Likewise.
8571         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8572         (__PTHREAD_SPIN): Likewise.
8573         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8574         (__PTHREAD_SPIN): Likewise.
8575         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8576         (__PTHREAD_SPIN): Likewise.
8577         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8578         (__PTHREAD_SPIN): Likewise.
8579         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8580         (__PTHREAD_SPIN): Likewise.
8581         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8582         (__PTHREAD_SPIN): Likewise.
8583         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8584         (__PTHREAD_SPIN): Likewise.
8585         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8586         (__PTHREAD_SPIN): Likewise.
8587         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8588         (__PTHREAD_SPIN): Likewise.
8589         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8590         (__PTHREAD_SPIN): Likewise.
8591
8592         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8593         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8594         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8595         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8596         imply folder.
8597         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8598         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8599         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8600         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8601         correct imply path.
8602         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8603         strlen symbol for non multi-arch builds.
8604         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8605         missing hidden_def and weak_alias.
8606
8607 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
8608
8609         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8610
8611 2014-04-07  Will Newton  <will.newton@linaro.org>
8612
8613         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8614         and contents.  [!_LIBC] Remove #ifndef and contents.
8615         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
8616         * string/memccpy.c (__memccpy): Use ANSI prototype.
8617         * string/memfrob.c (memfrob): Likewise.
8618         * string/strcoll.c (STRCOLL): Likewise.
8619         * string/strlen.c (strlen): Likewise.
8620         * string/strtok.c (STRTOK): Likewise.
8621         * string/strcat.c: Remove unused #include of memcopy.h.
8622         (strcat): Use ANSI prototype.
8623         * string/strchr.c: Remove unused #include of memcopy.h.
8624         (strchr): Use ANSI prototype.
8625         * string/strcmp.c: Remove unused #include of memcopy.h.
8626         (strcmp): Use ANSI prototype.
8627         * string/strcpy.c: Remove unused #include of memcopy.h.
8628         (strcpy): Use ANSI prototype.
8629
8630 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8631
8632         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8633         * config.make.in (config-extra-cppflags): Set it from
8634         libc_extra_cppflags.
8635         * configure.ac (libc_extra_cflags): Make it accumulate over
8636         configure fragments.
8637         (libc_extra_cppflags): New flag.
8638         * configure. Regenerate.
8639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8640         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8641         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
8642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8643
8644         [BZ #16815]
8645         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8646         result for FE_DOWNWARD rounding mode.
8647         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8648         Likewise.
8649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8650
8651 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
8652
8653         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8654         in function argument name.
8655
8656 2014-04-03  David Svoboda  <svoboda@cert.org>
8657
8658         [BZ #5666]
8659         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8660         explicitly.
8661
8662 2014-04-03  Roland McGrath  <roland@hack.frob.com>
8663
8664         * elf/dl-unmap-segments.h: New file.
8665         * sysdeps/generic/ldsodefs.h
8666         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8667         * elf/dl-close.c: Include <dl-unmap-segments.h>.
8668         * elf/dl-fptr.c: Likewise.
8669         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8670         * sysdeps/aarch64/tlsdesc.c: Likewise.
8671         * sysdeps/arm/tlsdesc.c: Likewise.
8672         * sysdeps/i386/tlsdesc.c: Likewise.
8673         * sysdeps/tile/dl-runtime.c: Likewise.
8674         * sysdeps/x86_64/tlsdesc.c: Likewise.
8675         * elf/dl-load.h: New file.
8676         * elf/dl-load.c: Include it.
8677         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8678         Macros moved to dl-load.h.
8679         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8680         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8681         Use _dl_unmap_segments in place of __munmap.
8682         Break out segment-mapping loop into ...
8683         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8684
8685 2014-04-03  Will Newton  <will.newton@linaro.org>
8686
8687         * elf/dl-lookup.c (do_lookup_x): Remove comment
8688         referring to nested function and move variable
8689         declarations down to before first use.
8690
8691 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
8692
8693         [BZ #16799]
8694         [BZ #16800]
8695         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8696         with 0 numerator.
8697         * math/s_catanf.c (__catanf): Likewise.
8698         * math/s_catanh.c (__catanh): Likewise.
8699         * math/s_catanhf.c (__catanhf): Likewise.
8700         * math/s_catanhl.c (__catanhl): Likewise.
8701         * math/s_catanl.c (__catanl): Likewise.
8702         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8703         by positive zero when computing -Inf result.
8704         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8705         (catanh_test): Likewise.
8706         * sysdeps/i386/fpu/libm-test-ulps: Update.
8707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8708
8709         [BZ #16789]
8710         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8711         instead of using underflowing value in computing result.
8712         * math/s_clog10.c (__clog10): Likewise.
8713         * math/s_clog10f.c (__clog10f): Likewise.
8714         * math/s_clog10l.c (__clog10l): Likewise.
8715         * math/s_clogf.c (__clogf): Likewise.
8716         * math/s_clogl.c (__clogl): Likewise.
8717         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8718         (clog10_test): Likewise.
8719         * sysdeps/i386/fpu/libm-test-ulps: Update.
8720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8721
8722 2014-04-02  Alan Modra  <amodra@gmail.com>
8723
8724         [BZ #16739]
8725         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8726         output when value is near a power of two.  Use int64_t for lx and
8727         remove casts.  Use decimal rather than hex exponent constants.
8728         Don't use long double multiplication when double will suffice.
8729         * math/libm-test.inc (nextafter_test_data): Add tests.
8730         * NEWS: Add 16739 and 16786 to bug list.
8731
8732         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8733
8734         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8735
8736 2014-04-01  Will Newton  <will.newton@linaro.org>
8737
8738         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8739         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
8740
8741 2014-04-01  Florian Weimer  <fweimer@redhat.com>
8742
8743         [BZ #13347]
8744         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8745         * nptl/tst-setuid2.c: New file.
8746         * nptl/Makefile (xtests): Add tst-setuid2.
8747
8748 2014-04-01  Alan Modra  <amodra@gmail.com>
8749
8750         [BZ #16786]
8751         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8752
8753 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8754
8755         [BZ #6803]
8756         [BZ #6804]
8757         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8758         set errno as appropriate.
8759         * math/w_scalbf.c (__scalbf): Likewise.
8760         * math/w_scalbl.c (__scalbl): Likewise.
8761         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8762         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8763         * math/libm-test.inc (scalb_test_data): Add errno expectations.
8764         Add more NaN tests.
8765
8766         [BZ #16349]
8767         * math/w_atan2.c: Include <errno.h>.
8768         (__atan2): Set errno for result underflowing to zero.
8769         * math/w_atan2f.c: Include <errno.h>.
8770         (__atan2f): Set errno for result underflowing to zero.
8771         * math/w_atan2l.c: Include <errno.h>.
8772         (__atan2l): Set errno for result underflowing to zero.
8773         * math/auto-libm-test-in: Don't allow missing errno for some atan2
8774         tests.
8775         * math/auto-libm-test-out: Regenerated.
8776
8777 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8778
8779         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8780         Encode instruction correctly in little endian.
8781         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8782         Likewise.
8783         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8784         Likewise.
8785         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8786         Likewise.
8787         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8788         Likewise.
8789
8790 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8791
8792         [BZ #9894]
8793         * sysdeps/unix/sysv/linux/kernel-features.h
8794         [__sparc__ && !__arch64__ && !__sparc_v9__]
8795         (__ASSUME_SET_ROBUST_LIST): Do not define.
8796         [__sparc__ && !__arch64__ && !__sparc_v9__]
8797         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8798         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8799         Likewise.
8800         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8801         (__ASSUME_FUTEX_LOCK_PI): Undefine.
8802         (__ASSUME_REQUEUE_PI): Likewise.
8803         (__ASSUME_SET_ROBUST_LIST): Likewise.
8804         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8805         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8806         Undefine.
8807         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8808         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8809         Likewise.
8810         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8811         Likewise.
8812         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8813         Likewise.
8814         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8815         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8816         Undefine.
8817         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8818         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8819         Likewise.
8820
8821         [BZ #16648]
8822         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8823         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8824         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8825
8826 2014-03-31  Will Newton  <will.newton@linaro.org>
8827
8828         * benchtests/Makefile (bench): Add ffs and ffsll to list
8829         of tests.
8830         * benchtests/ffs-inputs: New file.
8831         * benchtests/ffsll-inputs: Likewise.
8832
8833 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
8834
8835         [BZ #16770]
8836         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8837         too large before casting to int.
8838         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8839         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8840         * math/libm-test.inc (scalb_test_data): Add more tests.
8841
8842 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8843
8844         * benchtests/Makefile (DETAILED_OPT): New make option.
8845         (bench-func): Run benchmark program with -d if DETAILED_OPT is
8846         set.
8847         * benchtests/bench-skeleton.c: Include stdbool.h.
8848         (main): Store and print timings per input.
8849         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8850         member to each argument value.
8851         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8852         (_print_arg_data): Initialize per-input timing to 0.
8853
8854         * benchtests/Makefile (timing-type): New binary.
8855         (bench-clean): Also remove bench-timing-type.
8856         (bench): New target for timing-type.
8857         (bench-func): Print output in JSON format.
8858         * benchtests/bench-skeleton.c (main): Print output in JSON
8859         format.
8860         * benchtests/bench-timing-type.c: New file.
8861         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8862         (TIMING_PRINT_STATS): Remove.
8863         * benchtests/scripts/bench.py (_print_arg_data): Store variant
8864         name separately.
8865
8866         * benchtests/bench-modf.c: Remove.
8867         * benchtests/modf-inputs: New inputs file.
8868
8869 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
8870
8871         [BZ #16362]
8872         * math/s_clog10.c (M_PI_LOG10E): New macro.
8873         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8874         imaginary parts are 0.
8875         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8876         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8877         imaginary parts are 0.
8878         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8879         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8880         imaginary parts are 0.
8881         * math/libm-test.inc (clog10_test_data): Update expected results
8882         for when real and imaginary parts are 0.
8883
8884 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
8885
8886         * elf/dl-load.c: Finish conversion of __builtin_expect into
8887         __glibc_{un}likely.
8888
8889 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8890
8891         [BZ #16348]
8892         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8893         1+x for argument with exponent below -67.
8894         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8895         Likewise.
8896         * math/auto-libm-test-in: Add more tests of exp.
8897         * math/auto-libm-test-out: Regenerated.
8898
8899 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8900
8901         [BZ #16759]
8902         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8903         (nscd_getnetgrent): Use it.
8904
8905         [BZ #16760]
8906         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8907         of stpcpy.
8908
8909 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8910
8911         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8912         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8913         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8914         (lll_robust_unlock): Remove out of line section. Use cfi
8915         intrinsics.
8916         (LLL_STUB_UNWIND_INFO*): Remove.
8917         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8918         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8919         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8920         (lll_robust_unlock): Remove out of line section. Use cfi
8921         intrinsics.
8922         (LLL_STUB_UNWIND_INFO*): Remove.
8923
8924 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8925
8926         [BZ #16758]
8927         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8928         blank values.
8929
8930 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8931
8932         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8933
8934 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8935
8936         [BZ #16198]
8937         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8938         fnstenv.
8939         * math/test-fenv-preserve.c: New file.
8940         * math/Makefile (tests): Add test-fenv-preserve.
8941
8942 2014-03-26  Will Newton <will.newton@linaro.org>
8943
8944         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8945
8946 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8947
8948         * scripts/versionlist.awk: Partition the version sets and emit all
8949         GLIBC_* (sorted) before all others (sorted).
8950
8951 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8952
8953         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8954         GLIBC_2.2.5 version.
8955
8956 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8957
8958         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8959         calls.
8960
8961         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8962         previous change.
8963
8964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8965
8966 2014-03-25  Andreas Schwab  <schwab@suse.de>
8967
8968         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8969         label to be used after in6ailist is initialized.
8970
8971 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8972
8973         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8974         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8975
8976 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8977
8978         [BZ #16357]
8979         [BZ #16599]
8980         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8981         min_plus_half.
8982         (fp_formats): Update initializers.
8983         (init_fp_formats): Initialize new field.
8984         (output_for_one_input_case): Allow underflow for results up to
8985         min_plus_half.
8986         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8987         * math/auto-libm-test-in: Don't mark some underflows from asin and
8988         atanh as spurious.
8989         * math/auto-libm-test-out: Regenerated.
8990         * sysdeps/i386/fpu/libm-test-ulps: Update.
8991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8992
8993 2014-03-25  Andreas Schwab  <schwab@suse.de>
8994
8995         * libio/Makefile (tst-ftell-partial-wide-ENV)
8996         (tst-ftell-active-handler-ENV): Define.
8997
8998 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8999
9000         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9001
9002 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9003
9004         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9005
9006 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9007
9008         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9009         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9010         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9011
9012 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9013
9014         [BZ #16634]
9015         * elf/dl-load.c (open_verify): Add mode parameter.
9016         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9017         (open_path): Change from boolean 'secure' to complete flag 'mode'
9018         (_dl_map_object): Adjust.
9019         * elf/Makefile (tests): Add tst-dlopen-aout.
9020         * elf/tst-dlopen-aout.c: New test.
9021
9022 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
9023
9024         [BZ #16714]
9025         * sysdeps/unix/sysv/linux/s390/bits/stat.h
9026         (struct stat): Rename member pad0 to __glibc_reserved0.
9027
9028         [BZ #16712]
9029         * sysdeps/s390/s390-32/bits/wordsize.h
9030         (__WORDSIZE32_SIZE_ULONG): New define.
9031         * sysdeps/s390/s390-64/bits/wordsize.h
9032         (__WORDSIZE32_SIZE_ULONG): Likewise.
9033         * sysdeps/generic/stdint.h (SIZE_MAX):
9034         Define as UL if __WORDSIZE32_SIZE_ULONG.
9035
9036         [BZ #16713]
9037         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9038         (__glibc_reserved0): New variable.
9039         (sa_flags): Change type to int.
9040
9041         * posix/Makefile (before-compile): Use += before-compile instead
9042         of a :=.
9043
9044         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9045         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9046
9047 2014-03-20  Andreas Schwab  <schwab@suse.de>
9048
9049         [BZ #16743]
9050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9051         non-matching result from nscd.
9052
9053 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9054
9055         * scripts/bench.py: Moved to ...
9056         * benchtests/scripts/bench.py: ... here.
9057         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9058
9059 2014-03-24  Andreas Schwab  <schwab@suse.de>
9060
9061         [BZ #16002]
9062         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9063         alloca_account and account alloca use for struct in6ailist.
9064
9065 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9066
9067         [BZ #16284]
9068         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9069         rounding mode to recompute results that overflow to infinity or
9070         underflow to zero.
9071         * math/auto-libm-test-in: Don't mark tests as expected to fail for
9072         bug 16284.
9073         * math/auto-libm-test-out: Regenerated.
9074         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9075         (ccosh_test): Likewise.
9076         (csin_test_data): Use plus_oflow.
9077         (csin_test): Use ALL_RM_TEST.
9078         (csinh_test_data): Use plus_oflow.
9079         (csinh_test): Use ALL_RM_TEST.
9080         * sysdeps/i386/fpu/libm-test-ulps: Update.
9081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9082
9083 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
9084
9085         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9086         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9087         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9088
9089         [BZ #16731]
9090         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9091         when x - 1 is zero.
9092         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9093         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9094         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9095         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9096         argument is 1.
9097         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9098         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9099         zero.
9100         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9101         * sysdeps/i386/fpu/libm-test-ulps: Update.
9102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9103
9104 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9105
9106         * scripts/bench.pl: Remove file.
9107         * scripts/bench.py: New benchmark script.
9108         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9109         * benchtests/README: Mention python dependency.
9110         * scripts/pylintrc: New file.
9111         * scripts/pylint: New file.
9112
9113         * bits/mathdef.h: Use #ifdef instead of #if.
9114         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9115         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9116         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9117         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9118         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9119         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9120
9121 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9122             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9123
9124         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9126         and strpbrk-ppc64 objects.
9127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9128         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9129         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9130         multiarch strpbrk for POWER7.
9131         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9132         multiarch strpbrk for PPC64.
9133         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9134         ifunc selector.
9135         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9136         strpbrk for POWER7.
9137
9138 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9139
9140         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9141         (atan_test): Likewise.
9142         (atanh_test_data): Use NO_TEST_INLINE for two tests.
9143         (atanh_test): Use ALL_RM_TEST.
9144         (atan2_test_data): Likewise.
9145         (cabs_test): Likewise.
9146         (cacosh_test): Likewise.
9147         (carg_test): Likewise.
9148         (casin_test): Likewise.
9149         (casinh_test): Likewise.
9150         (cbrt_test): Likewise.
9151         (csqrt_test): Likewise.
9152         (erf_test): Likewise.
9153         (erfc_test): Likewise.
9154         (pow10_test): Likewise.
9155         (exp2_test): Likewise.
9156         (hypot_test): Likewise.
9157         (j0_test): Likewise.
9158         (j1_test): Likewise.
9159         (lgamma_test): Likewise.
9160         (gamma_test): Likewise.
9161         (sincos_test): Likewise.
9162         (tanh_test): Likewise.
9163         (y0_test): Likewise.
9164         (y1_test): Likewise.
9165         * sysdeps/i386/fpu/libm-test-ulps: Update.
9166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9167
9168 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9169
9170         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9172         and strcspn-ppc64 objects.
9173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9174         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9175         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9176         multiarch strcspn for POWER7.
9177         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9178         multiarch strcspn for PPC64.
9179         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9180         ifunc selector.
9181         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9182         strcspn for POWER7.
9183
9184 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9185
9186         * math/gen-libm-test.pl (generate_testfile): Expect only function
9187         name as argument to AUTO_TESTS_* and pass results for all rounding
9188         modes to parse_args.
9189         (parse_auto_input): Separate inputs of automatic tests from
9190         outputs before storing in %auto_tests.
9191         * math/libm-test.inc (acos_test_data): Update call to
9192         AUTO_TESTS_f_f.
9193         (acos_test): Use ALL_RM_TEST.
9194         (acos_tonearest_test_data): Remove.
9195         (acos_test_tonearest): Likewise.
9196         (acos_towardzero_test_data): Likewise.
9197         (acos_test_towardzero): Likewise.
9198         (acos_downward_test_data): Likewise.
9199         (acos_test_downward): Likewise.
9200         (acos_upward_test_data): Likewise.
9201         (acos_test_upward): Likewise.
9202         (acosh_test_data): Update call to AUTO_TESTS_f_f.
9203         (asin_test_data): Likewise.
9204         (asin_test): Use ALL_RM_TEST.
9205         (asin_tonearest_test_data): Remove.
9206         (asin_test_tonearest): Likewise.
9207         (asin_towardzero_test_data): Likewise.
9208         (asin_test_towardzero): Likewise.
9209         (asin_downward_test_data): Likewise.
9210         (asin_test_downward): Likewise.
9211         (asin_upward_test_data): Likewise.
9212         (asin_test_upward): Likewise.
9213         (asinh_test_data): Update call to AUTO_TESTS_f_f.
9214         (atan_test_data): Likewise.
9215         (atanh_test_data): Likewise.
9216         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9217         (cabs_test_data): Update call to AUTO_TESTS_c_f.
9218         (carg_test_data): Likewise.
9219         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9220         (ccos_test_data): Update call to AUTO_TESTS_c_c.
9221         (ccosh_test_data): Likewise.
9222         (cexp_test_data): Likewise.
9223         (clog_test_data): Likewise.
9224         (clog10_test_data): Likewise.
9225         (cos_test_data): Update call to AUTO_TESTS_f_f.
9226         (cos_test): Use ALL_RM_TEST.
9227         (cos_tonearest_test_data): Remove.
9228         (cos_test_tonearest): Likewise.
9229         (cos_towardzero_test_data): Likewise.
9230         (cos_test_towardzero): Likewise.
9231         (cos_downward_test_data): Likewise.
9232         (cos_test_downward): Likewise.
9233         (cos_upward_test_data): Likewise.
9234         (cos_test_upward): Likewise.
9235         (cosh_test_data): Update call to AUTO_TESTS_f_f.
9236         (cosh_test): Use ALL_RM_TEST.
9237         (cosh_tonearest_test_data): Remove.
9238         (cosh_test_tonearest): Likewise.
9239         (cosh_towardzero_test_data): Likewise.
9240         (cosh_test_towardzero): Likewise.
9241         (cosh_downward_test_data): Likewise.
9242         (cosh_test_downward): Likewise.
9243         (cosh_upward_test_data): Likewise.
9244         (cosh_test_upward): Likewise.
9245         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9246         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9247         (ctan_test_data): Likewise.
9248         (ctan_test): Use ALL_RM_TEST.
9249         (ctan_tonearest_test_data): Remove.
9250         (ctan_test_tonearest): Likewise.
9251         (ctan_towardzero_test_data): Likewise.
9252         (ctan_test_towardzero): Likewise.
9253         (ctan_downward_test_data): Likewise.
9254         (ctan_test_downward): Likewise.
9255         (ctan_upward_test_data): Likewise.
9256         (ctan_test_upward): Likewise.
9257         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9258         (ctanh_test): Use ALL_RM_TEST.
9259         (ctanh_tonearest_test_data): Remove.
9260         (ctanh_test_tonearest): Likewise.
9261         (ctanh_towardzero_test_data): Likewise.
9262         (ctanh_test_towardzero): Likewise.
9263         (ctanh_downward_test_data): Likewise.
9264         (ctanh_test_downward): Likewise.
9265         (ctanh_upward_test_data): Likewise.
9266         (ctanh_test_upward): Likewise.
9267         (erf_test_data): Update call to AUTO_TESTS_f_f.
9268         (erfc_test_data): Likewise.
9269         (exp_test_data): Likewise.
9270         (exp_test): Use ALL_RM_TEST.
9271         (exp_tonearest_test_data): Remove.
9272         (exp_test_tonearest): Likewise.
9273         (exp_towardzero_test_data): Likewise.
9274         (exp_test_towardzero): Likewise.
9275         (exp_downward_test_data): Likewise.
9276         (exp_test_downward): Likewise.
9277         (exp_upward_test_data): Likewise.
9278         (exp_test_upward): Likewise.
9279         (exp10_test_data): Update call to AUTO_TESTS_f_f.
9280         (exp10_test): Use ALL_RM_TEST.
9281         (exp10_tonearest_test_data): Remove.
9282         (exp10_test_tonearest): Likewise.
9283         (exp10_towardzero_test_data): Likewise.
9284         (exp10_test_towardzero): Likewise.
9285         (exp10_downward_test_data): Likewise.
9286         (exp10_test_downward): Likewise.
9287         (exp10_upward_test_data): Likewise.
9288         (exp10_test_upward): Likewise.
9289         (exp2_test_data): Update call to AUTO_TESTS_f_f.
9290         (expm1_test_data): Likewise.
9291         (expm1_test): Use ALL_RM_TEST.
9292         (expm1_tonearest_test_data): Remove.
9293         (expm1_test_tonearest): Likewise.
9294         (expm1_towardzero_test_data): Likewise.
9295         (expm1_test_towardzero): Likewise.
9296         (expm1_downward_test_data): Likewise.
9297         (expm1_test_downward): Likewise.
9298         (expm1_upward_test_data): Likewise.
9299         (expm1_test_upward): Likewise.
9300         (fma_test_data): Update call to AUTO_TESTS_fff_f.
9301         (fma_test): Use ALL_RM_TEST.
9302         (fma_towardzero_test_data): Remove.
9303         (fma_test_towardzero): Likewise.
9304         (fma_downward_test_data): Likewise.
9305         (fma_test_downward): Likewise.
9306         (fma_upward_test_data): Likewise.
9307         (fma_test_upward): Likewise.
9308         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9309         (j0_test_data): Update call to AUTO_TESTS_f_f.
9310         (j1_test_data): Likewise.
9311         (jn_test_data): Update call to AUTO_TESTS_if_f.
9312         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9313         (log_test_data): Update call to AUTO_TESTS_f_f.
9314         (log10_test_data): Likewise.
9315         (log1p_test_data): Likewise.
9316         (log2_test_data): Likewise.
9317         (pow_test_data): Update call to AUTO_TESTS_ff_f.
9318         (pow_tonearest_test_data): Likewise.
9319         (sin_test_data): Update call to AUTO_TESTS_f_f.
9320         (sin_test): Use ALL_RM_TEST.
9321         (sin_tonearest_test_data): Remove.
9322         (sin_test_tonearest): Likewise.
9323         (sin_towardzero_test_data): Likewise.
9324         (sin_test_towardzero): Likewise.
9325         (sin_downward_test_data): Likewise.
9326         (sin_test_downward): Likewise.
9327         (sin_upward_test_data): Likewise.
9328         (sin_test_upward): Likewise.
9329         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9330         (sinh_test_data): Update call to AUTO_TESTS_f_f.
9331         (sinh_test): Use ALL_RM_TEST.
9332         (sinh_tonearest_test_data): Remove.
9333         (sinh_test_tonearest): Likewise.
9334         (sinh_towardzero_test_data): Likewise.
9335         (sinh_test_towardzero): Likewise.
9336         (sinh_downward_test_data): Likewise.
9337         (sinh_test_downward): Likewise.
9338         (sinh_upward_test_data): Likewise.
9339         (sinh_test_upward): Likewise.
9340         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9341         (sqrt_test): Use ALL_RM_TEST.
9342         (sqrt_tonearest_test_data): Remove.
9343         (sqrt_test_tonearest): Likewise.
9344         (sqrt_towardzero_test_data): Likewise.
9345         (sqrt_test_towardzero): Likewise.
9346         (sqrt_downward_test_data): Likewise.
9347         (sqrt_test_downward): Likewise.
9348         (sqrt_upward_test_data): Likewise.
9349         (sqrt_test_upward): Likewise.
9350         (tan_test_data): Update call to AUTO_TESTS_f_f.
9351         (tan_test): Use ALL_RM_TEST.
9352         (tan_tonearest_test_data): Remove.
9353         (tan_test_tonearest): Likewise.
9354         (tan_towardzero_test_data): Likewise.
9355         (tan_test_towardzero): Likewise.
9356         (tan_downward_test_data): Likewise.
9357         (tan_test_downward): Likewise.
9358         (tan_upward_test_data): Likewise.
9359         (tan_test_upward): Likewise.
9360         (tanh_test_data): Update call to AUTO_TESTS_f_f.
9361         (tgamma_test_data): Likewise.
9362         (y0_test_data): Likewise.
9363         (y1_test_data): Likewise.
9364         (yn_test_data): Update call to AUTO_TESTS_if_f.
9365         (main): Do not call removed functions.
9366
9367 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9368
9369         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9370         (ldexp_test_data): Remove.
9371         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
9372         scalbn_test_data.
9373         (scalb_test): Use ALL_RM_TEST.
9374
9375 2014-03-19  Andreas Schwab  <schwab@suse.de>
9376
9377         * nscd/nscd.service: Also invalidate netgroup cache on reload.
9378
9379 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9380
9381         [BZ #16649]
9382         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9383         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9384         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9385         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9386         (__ASSUME_PREADV): Undefine.
9387         (__ASSUME_PWRITEV): Likewise.
9388
9389 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9390
9391         * bits/mman-linux.h: Add comment about non-Linux use.
9392         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9393         bits/mman-linux.h resting place.
9394
9395         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9396         * bits/mman-linux.h: ... here.
9397
9398 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9399
9400         * conform/conformtest.pl: Add standard definition when calling C
9401         preprocessor on data files.
9402         (checknamespace): Remove unused variable.
9403
9404 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9405
9406         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9407         minus_oflow, plus_uflow and minus_uflow in expected results.
9408         * math/libm-test.inc (scalbn_test_data): Add more tests of
9409         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
9410         minus_uflow.
9411         (scalbn_test): Use ALL_RM_TEST.
9412         (scalbln_test_data): Add more tests of negative arguments.  Use
9413         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9414         (scalbln_test): Use ALL_RM_TEST.
9415
9416 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9417
9418         * scripts/abilist.awk: Ignore symbols marked with .hidden.
9419
9420 2014-03-18  Will Newton  <will.newton@linaro.org>
9421
9422         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9423         inaccurate comment.
9424
9425 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9426
9427         * Makerules [!subdir] (check-abi): Exit with error status if a
9428         test failed.
9429
9430 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9431
9432         * math/libm-test.inc (nearbyint_test_data): Include all tests used
9433         for rint.  Include results for all rounding modes.
9434         (nearbyint_test): Use ALL_RM_TEST.
9435         (rint_test_data): Include all tests used for nearbyint.
9436
9437 2014-03-17  Will Newton  <will.newton@linaro.org>
9438
9439         * nptl/sysdeps/pthread/pthread.h: Revert previous
9440         change.
9441
9442         * sysdeps/generic/ldsodefs.h: Revert previous
9443         change.
9444
9445         * libio/genops.c: Revert previous change.
9446         * libio/libioP.h: Likewise.
9447         * stdio-common/vfprintf.c: Likewise.
9448
9449         * sysdeps/generic/math_private.h: Revert previous
9450         change.
9451
9452         * sysdeps/generic/math_private.h: Check whether
9453         HAVE_RM_CTX is defined with #ifdef rather
9454         than #if.
9455
9456         * argp/argp-fmtstream.h: Check whether
9457         __STRICT_ANSI__ is defined with #ifdef rather
9458         than #if.
9459         * argp/argp.h: Likewise.
9460
9461         * libio/genops.c: Check whether
9462         _IO_JUMPS_OFFSET is defined with #ifdef rather
9463         than #if.
9464         * libio/libioP.h: Likewise.
9465         * stdio-common/vfprintf.c: Likewise.
9466
9467         * sysdeps/generic/ldsodefs.h: Check whether
9468         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9469         than #if.
9470
9471         * nptl/sysdeps/pthread/pthread.h: Check
9472         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9473         its value.
9474
9475 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9476
9477         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9478         setting O_APPEND.
9479         * libio/tst-ftell-active-handler.c (do_append_test): Add a
9480         test case.
9481
9482         [BZ #16680]
9483         * libio/fileops.c (_IO_file_open): Seek to end of file but
9484         don't cache the offset.
9485         (get_file_offset): Remove function.
9486         (do_ftell): Use cached offset when available.
9487         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9488         don't cache the offset.
9489         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9490         case.
9491         (do_one_test): Call it.
9492         (do_ftell_test): Fix up expected old offset for a+ mode.
9493         * libio/wfileops.c (do_ftell_wide): Used cached offset when
9494         available.
9495
9496         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9497         up test status with function return status.
9498         (do_write_test): Likewise.
9499         (do_append_test): Likewise.
9500
9501         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9502         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9503         Remove.
9504
9505 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9506
9507         * math/gen-libm-test.pl (parse_args): Handle results specified for
9508         each rounding mode separately.
9509         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9510         tests and results from lrint_tonearest_test_data,
9511         lrint_towardzero_test_data, lrint_downward_test_data and
9512         lrint_upward_test_data.
9513         (lrint_test): Use ALL_RM_TEST.
9514         (lrint_tonearest_test_data): Remove.
9515         (lrint_test_tonearest): Likewise.
9516         (lrint_towardzero_test_data): Likewise.
9517         (lrint_test_towardzero): Likewise.
9518         (lrint_downward_test_data): Likewise.
9519         (lrint_test_downward): Likewise.
9520         (lrint_upward_test_data): Likewise.
9521         (lrint_test_upward): Likewise.
9522         (llrint_test_data): Merge in per-rounding-mode tests and results
9523         from llrint_tonearest_test_data, llrint_towardzero_test_data,
9524         llrint_downward_test_data and llrint_upward_test_data.
9525         (llrint_test): Use ALL_RM_TEST.
9526         (llrint_tonearest_test_data): Remove.
9527         (llrint_test_tonearest): Likewise.
9528         (llrint_towardzero_test_data): Likewise.
9529         (llrint_test_towardzero): Likewise.
9530         (llrint_downward_test_data): Likewise.
9531         (llrint_test_downward): Likewise.
9532         (llrint_upward_test_data): Likewise.
9533         (llrint_test_upward): Likewise.
9534         (rint_test_data): Merge in per-rounding-mode tests and results
9535         from rint_tonearest_test_data, rint_towardzero_test_data,
9536         rint_downward_test_data and rint_upward_test_data.  Add
9537         per-rounding-mode results for tests not in those arrays.
9538         (rint_test): Use ALL_RM_TEST.
9539         (rint_tonearest_test_data): Remove.
9540         (rint_test_tonearest): Likewise.
9541         (rint_towardzero_test_data): Likewise.
9542         (rint_test_towardzero): Likewise.
9543         (rint_downward_test_data): Likewise.
9544         (rint_test_downward): Likewise.
9545         (rint_upward_test_data): Likewise.
9546         (rint_test_upward): Likewise.
9547         (main): Don't call removed functions.
9548
9549 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9550
9551         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9552         "Compiled on ..." crapola.  It is anti-useful.
9553
9554 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
9555
9556         * scripts/evaluate-test.sh: Handle fourth argument to determine
9557         whether test run should stop on failure.
9558         * Makeconfig (stop-on-test-failure): New variable.
9559         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9560         $(stop-on-test-failure).
9561         * Makefile (tests): Give a summary of results from testing and
9562         exit with failure status if they include an ERROR or FAIL.
9563         (xtests): Likewise.
9564         * manual/install.texi (Configuring and compiling): Mention
9565         stop-on-test-failure=y.
9566         * INSTALL: Regenerated.
9567
9568 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9569
9570         * scripts/versionlist.awk: New file.
9571         * Makerules [$(build-shared) = yes]
9572         (postclean-generated): Add Versions.def, not Versions.def.v and
9573         Versions.def.v.i.
9574         ($(common-objpfx)Versions.def.v.i): Target removed.
9575         ($(common-objpfx)Versions.def): New target.
9576         ($(common-objpfx)Versions.all): Depend on that rather that
9577         $(common-objpfx)Versions.def.v.
9578         * Versions.def: File removed.
9579
9580         * Makeconfig (+gccwarn): Add -Wundef.
9581         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9582         a dl-sysdep.h breaking its contract.
9583         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9584         * include/stackinfo.h: New file.
9585         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9586         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9587         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9588         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9589         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9590         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9591         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9592         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9593         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9594         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9595         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9596         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9597         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9598         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9599         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9600
9601 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9602
9603         [BZ #16707]
9604         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9605         implementation.
9606         * math/libm-test.inc (round_test_data): Add more tests.
9607
9608         [BZ #16706]
9609         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9610         implementation.
9611         * math/libm-test.inc (nearbyint_test_data): Add more tests.
9612
9613         [BZ #16701]
9614         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9615         implementation.
9616         * math/libm-test.inc (ceil_test_data): Add more tests.
9617
9618         * math/libm-test.inc (trunc_test_data): Add more tests related to
9619         BZ#16414.
9620
9621 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9622
9623         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9624         with #if rather than #ifdef.
9625         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9626
9627 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
9628
9629         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9630         first.  Disable AVX-512 GCC support if assembler doesn't support
9631         it.
9632         * sysdeps/x86_64/configure: Regenerated.
9633
9634 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
9635
9636         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9637         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9638         (__old_pthread_attr_setstack): Likewise.
9639         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9640         [!_STACK_GROWS_DOWN]: Likewise.
9641
9642 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
9643
9644         * config.make.in (have-bash2): Delete.
9645         * configure.ac (libc_cv_have_bash2): Delete.
9646         * configure: Regenerate.
9647         * elf/Makefile (common-ldd-rewrite): Rename to ...
9648         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
9649         (sh-ldd-rewrite): Delete.
9650         (bash-ldd-rewrite): Delete.
9651         (have-bash2): Delete checks.
9652         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9653         ldd-rewrite.
9654
9655         * config.make.in (have-ksh): Delete.
9656         (KSH): Delete.
9657         * configure.ac (libc_cv_have_ksh): Delete.
9658         * configure: Regenerate.
9659
9660         * elf/Makefile: Delete $(have-ksh) check.
9661         ($(objpfx)sotruss): Change KSH to BASH.
9662         * elf/sotruss.ksh: Rename to ...
9663         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
9664         function style to match POSIX.  Drop ksh vim mode setting.
9665
9666         * manual/time.texi (Specifying the Time Zone with TZ): Change
9667         Tuesday to Thursday.
9668
9669         * debug/tst-longjmp_chk2.c: Update header comment.
9670         (stackoverflow_handler): Add comment.  Call assert on pass value.
9671
9672 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
9673
9674         [BZ #16194]
9675         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9676         (HAVE_AVX512_ASM_SUPPORT): Likewise.
9677         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9678         (La_x86_64_vector): Add zmm.
9679         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9680         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9681         ($(objpfx)tst-audit10): New target.
9682         ($(objpfx)tst-audit10.out): Likewise.
9683         (tst-audit10-ENV): New.
9684         (AVX512-CFLAGS): Likewise.
9685         (CFLAGS-tst-audit10.c): Likewise.
9686         (CFLAGS-tst-auditmod10a.c): Likewise.
9687         (CFLAGS-tst-auditmod10b.c): Likewise.
9688         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9689         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9690         * sysdeps/x86_64/configure: Regenerated.
9691         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9692         AVX-512 zmm register support.
9693         (_dl_x86_64_save_sse): Likewise.
9694         (_dl_x86_64_restore_sse): Likewise.
9695         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9696         size vector registers.
9697         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9698         (ZMM_SIZE): Likewise.
9699         * sysdeps/x86_64/tst-audit10.c: New file.
9700         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9701         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9702
9703 2014-03-13  Roland McGrath  <roland@hack.frob.com>
9704
9705         * configure.ac (HAVE_EHDR_START): New check.
9706         * configure: Regenerated.
9707         * config.h.in (HAVE_EHDR_START): New #undef.
9708         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9709         assuming the lowest-addressed segment maps the start of the file.
9710
9711 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
9712
9713         * INSTALL: Regenerated.
9714
9715 2014-03-13  Will Newton  <will.newton@linaro.org>
9716
9717         * manual/setjmp.texi (System V contexts): Improve
9718         clarity and grammar of documentation.
9719
9720 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9721
9722         [BZ #16381]
9723         * elf/Makefile (tests): Add tst-pie2.
9724         (tests-pie): Add tst-pie2.
9725         * elf/tst-pie2.c: New file.
9726         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9727         for ET_EXEC.
9728         * elf/rtld.c (map_doit): Load executable as lt_executable.
9729         (dl_main): Likewise.
9730
9731 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
9732
9733         [BZ #16642]
9734         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9735         (__ASSUME_PSELECT): Undefine.
9736
9737 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9738
9739         [BZ #16689]
9740         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9741         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9742         static build.
9743         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9744         selector for static builds.
9745
9746 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9747
9748         [BZ #16695]
9749         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9750         key in the buffer.
9751
9752 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9753
9754         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9755         IFUNC selector for static builds.
9756
9757 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
9758
9759         * sysdeps/mips/math_private.h [__mips_hard_float]
9760         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9761         libc_feresetround_mips_ctx.
9762         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9763         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9764         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9765
9766         [BZ #16677]
9767         * math/s_nextafter.c (__nextafter): Do not return value from
9768         overflowing computation.
9769         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9770         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9771         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9772         Likewise.
9773         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9774         Likewise.
9775         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9776         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9777
9778 2014-03-11  Roland McGrath  <roland@hack.frob.com>
9779
9780         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9781         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9782         Move sfi_sp use from the load-multiple (that no longer sets sp) to
9783         the new mov targetting sp.
9784
9785 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9786
9787         [BZ #16683]
9788         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9789         Define it for static builds as well.
9790         (NO_BZERO_IMPL): Likewise.
9791
9792 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9793
9794         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9795         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9796         multiarch strspn for PPC64.
9797         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9798         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9800         (__libc_ifunc_impl_list): Likewise.
9801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9802         multiarch optimizations
9803         * string/strspn.c (strspn): Using macro to redefine symbol name.
9804
9805 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9806             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9807
9808         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9809         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9810         multiarch strncat for PPC64.
9811         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9812         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9814         (__libc_ifunc_impl_list): Likewise.
9815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9816         multiarch optimizations
9817
9818 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9819
9820         [BZ #16639]
9821         * nscd/nscd.service: Make service type forking.
9822
9823 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9824
9825         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9826         sign in non default rounding modes.
9827         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9828
9829 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
9830
9831         * math/libm-test.inc (ALL_RM_TEST): New macro.
9832         (ceil_test): Use ALL_RM_TEST.
9833         (cimag_test): Likewise.
9834         (conj_test): Likewise.
9835         (copysign_test): Likewise.
9836         (cproj_test): Likewise.
9837         (creal_test): Likewise.
9838         (fabs_test): Likewise.
9839         (floor_test): Likewise.
9840         (fmax_test): Likewise.
9841         (fmin_test): Likewise.
9842         (fmod_test): Likewise.
9843         (fpclassify_test): Likewise.
9844         (frexp_test): Likewise.
9845         (ilogb_test): Likewise.
9846         (isfinite_test): Likewise.
9847         (finite_test): Likewise.
9848         (isgreater_test): Likewise.
9849         (isgreaterequal_test): Likewise.
9850         (isinf_test): Likewise.
9851         (isless_test): Likewise.
9852         (islessequal_test): Likewise.
9853         (islessgreater_test): Likewise.
9854         (isnan_test): Likewise.
9855         (isnormal_test): Likewise.
9856         (issignaling_test): Likewise.
9857         (isunordered_test): Likewise.
9858         (logb_test): Likewise.
9859         (logb_downward_test_data): Remove.
9860         (logb_test_downward): Likewise.
9861         (lround_test): Use ALL_RM_TEST.
9862         (llround_test): Likewise.
9863         (modf_test): Likewise.
9864         (nexttoward_test): Likewise.
9865         (remainder_test): Likewise.
9866         (drem_test): Likewise.
9867         (remainder_tonearest_test_data): Likewise.
9868         (remainder_test_tonearest): Likewise.
9869         (drem_test_tonearest): Likewise.
9870         (remainder_towardzero_test_data): Likewise.
9871         (remainder_test_towardzero): Likewise.
9872         (drem_test_towardzero): Likewise.
9873         (remainder_downward_test_data): Likewise.
9874         (remainder_test_downward): Likewise.
9875         (drem_test_downward): Likewise.
9876         (remainder_upward_test_data): Likewise.
9877         (remainder_test_upward): Likewise.
9878         (drem_test_upward): Likewise.
9879         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9880         (round_test): Use ALL_RM_TEST.
9881         (signbit_test): Likewise.
9882         (trunc_test): Likewise.
9883         (significand_test): Likewise.
9884         (main): Don't call removed functions.
9885
9886 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9887
9888         [BZ #16674]
9889         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9890         || __USE_XOPEN2K8].
9891         (ILL_ILLOPN): Likewise.
9892         (ILL_ILLADR): Likewise.
9893         (ILL_ILLTRP): Likewise.
9894         (ILL_PRVOPC): Likewise.
9895         (ILL_PRVREG): Likewise.
9896         (ILL_COPROC): Likewise.
9897         (ILL_BADSTK): Likewise.
9898         (FPE_INTDIV): Likewise.
9899         (FPE_INTOVF): Likewise.
9900         (FPE_FLTDIV): Likewise.
9901         (FPE_FLTOVF): Likewise.
9902         (FPE_FLTUND): Likewise.
9903         (FPE_FLTRES): Likewise.
9904         (FPE_FLTINV): Likewise.
9905         (FPE_FLTSUB): Likewise.
9906         (SEGV_MAPERR): Likewise.
9907         (SEGV_ACCERR): Likewise.
9908         (BUS_ADRALN): Likewise.
9909         (BUS_ADRERR): Likewise.
9910         (BUS_OBJERR): Likewise.
9911         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9912         (TRAP_TRACE): Likewise.
9913         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9914         __USE_XOPEN2K8].
9915         (CLD_KILLED): Likewise.
9916         (CLD_DUMPED): Likewise.
9917         (CLD_TRAPPED): Likewise.
9918         (CLD_STOPPED): Likewise.
9919         (CLD_CONTINUED): Likewise.
9920         (POLL_IN): Likewise.
9921         (POLL_OUT): Likewise.
9922         (POLL_MSG): Likewise.
9923         (POLL_ERR): Likewise.
9924         (POLL_PRI): Likewise.
9925         (POLL_HUP): Likewise.
9926         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9927         Likewise.
9928         (ILL_ILLOPN): Likewise.
9929         (ILL_ILLADR): Likewise.
9930         (ILL_ILLTRP): Likewise.
9931         (ILL_PRVOPC): Likewise.
9932         (ILL_PRVREG): Likewise.
9933         (ILL_COPROC): Likewise.
9934         (ILL_BADSTK): Likewise.
9935         (FPE_INTDIV): Likewise.
9936         (FPE_INTOVF): Likewise.
9937         (FPE_FLTDIV): Likewise.
9938         (FPE_FLTOVF): Likewise.
9939         (FPE_FLTUND): Likewise.
9940         (FPE_FLTRES): Likewise.
9941         (FPE_FLTINV): Likewise.
9942         (FPE_FLTSUB): Likewise.
9943         (SEGV_MAPERR): Likewise.
9944         (SEGV_ACCERR): Likewise.
9945         (BUS_ADRALN): Likewise.
9946         (BUS_ADRERR): Likewise.
9947         (BUS_OBJERR): Likewise.
9948         (BUS_MCEERR_AR): Likewise.
9949         (BUS_MCEERR_AO): Likewise.
9950         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9951         (TRAP_TRACE): Likewise.
9952         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9953         __USE_XOPEN2K8].
9954         (CLD_KILLED): Likewise.
9955         (CLD_DUMPED): Likewise.
9956         (CLD_TRAPPED): Likewise.
9957         (CLD_STOPPED): Likewise.
9958         (CLD_CONTINUED): Likewise.
9959         (POLL_IN): Likewise.
9960         (POLL_OUT): Likewise.
9961         (POLL_MSG): Likewise.
9962         (POLL_ERR): Likewise.
9963         (POLL_PRI): Likewise.
9964         (POLL_HUP): Likewise.
9965         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9966         (ILL_ILLOPN): Likewise.
9967         (ILL_ILLADR): Likewise.
9968         (ILL_ILLTRP): Likewise.
9969         (ILL_PRVOPC): Likewise.
9970         (ILL_PRVREG): Likewise.
9971         (ILL_COPROC): Likewise.
9972         (ILL_BADSTK): Likewise.
9973         (FPE_INTDIV): Likewise.
9974         (FPE_INTOVF): Likewise.
9975         (FPE_FLTDIV): Likewise.
9976         (FPE_FLTOVF): Likewise.
9977         (FPE_FLTUND): Likewise.
9978         (FPE_FLTRES): Likewise.
9979         (FPE_FLTINV): Likewise.
9980         (FPE_FLTSUB): Likewise.
9981         (SEGV_MAPERR): Likewise.
9982         (SEGV_ACCERR): Likewise.
9983         (BUS_ADRALN): Likewise.
9984         (BUS_ADRERR): Likewise.
9985         (BUS_OBJERR): Likewise.
9986         (BUS_MCEERR_AR): Likewise.
9987         (BUS_MCEERR_AO): Likewise.
9988         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9989         (TRAP_TRACE): Likewise.
9990         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9991         __USE_XOPEN2K8].
9992         (CLD_KILLED): Likewise.
9993         (CLD_DUMPED): Likewise.
9994         (CLD_TRAPPED): Likewise.
9995         (CLD_STOPPED): Likewise.
9996         (CLD_CONTINUED): Likewise.
9997         (POLL_IN): Likewise.
9998         (POLL_OUT): Likewise.
9999         (POLL_MSG): Likewise.
10000         (POLL_ERR): Likewise.
10001         (POLL_PRI): Likewise.
10002         (POLL_HUP): Likewise.
10003         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10004         Likewise.
10005         (ILL_ILLOPN): Likewise.
10006         (ILL_ILLADR): Likewise.
10007         (ILL_ILLTRP): Likewise.
10008         (ILL_PRVOPC): Likewise.
10009         (ILL_PRVREG): Likewise.
10010         (ILL_COPROC): Likewise.
10011         (ILL_BADSTK): Likewise.
10012         (ILL_BADIADDR): Likewise.
10013         (ILL_BREAK): 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         (FPE_DECOVF): Likewise.
10023         (FPE_DECDIV): Likewise.
10024         (FPE_DECERR): Likewise.
10025         (FPE_INVASC): Likewise.
10026         (FPE_INVDEC): Likewise.
10027         (SEGV_MAPERR): Likewise.
10028         (SEGV_ACCERR): Likewise.
10029         (SEGV_PSTKOVF): Likewise.
10030         (BUS_ADRALN): Likewise.
10031         (BUS_ADRERR): Likewise.
10032         (BUS_OBJERR): Likewise.
10033         (BUS_MCEERR_AR): Likewise.
10034         (BUS_MCEERR_AO): Likewise.
10035         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10036         (TRAP_TRACE): Likewise.
10037         (TRAP_BRANCH): Likewise.
10038         (TRAP_HWBKPT): Likewise.
10039         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10040         __USE_XOPEN2K8].
10041         (CLD_KILLED): Likewise.
10042         (CLD_DUMPED): Likewise.
10043         (CLD_TRAPPED): Likewise.
10044         (CLD_STOPPED): Likewise.
10045         (CLD_CONTINUED): Likewise.
10046         (POLL_IN): Likewise.
10047         (POLL_OUT): Likewise.
10048         (POLL_MSG): Likewise.
10049         (POLL_ERR): Likewise.
10050         (POLL_PRI): Likewise.
10051         (POLL_HUP): Likewise.
10052         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10053         (ILL_ILLOPN): Likewise.
10054         (ILL_ILLADR): Likewise.
10055         (ILL_ILLTRP): Likewise.
10056         (ILL_PRVOPC): Likewise.
10057         (ILL_PRVREG): Likewise.
10058         (ILL_COPROC): Likewise.
10059         (ILL_BADSTK): Likewise.
10060         (FPE_INTDIV): Likewise.
10061         (FPE_INTOVF): Likewise.
10062         (FPE_FLTDIV): Likewise.
10063         (FPE_FLTOVF): Likewise.
10064         (FPE_FLTUND): Likewise.
10065         (FPE_FLTRES): Likewise.
10066         (FPE_FLTINV): Likewise.
10067         (FPE_FLTSUB): Likewise.
10068         (SEGV_MAPERR): Likewise.
10069         (SEGV_ACCERR): Likewise.
10070         (BUS_ADRALN): Likewise.
10071         (BUS_ADRERR): Likewise.
10072         (BUS_OBJERR): Likewise.
10073         (BUS_MCEERR_AR): Likewise.
10074         (BUS_MCEERR_AO): Likewise.
10075         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10076         (TRAP_TRACE): Likewise.
10077         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10078         __USE_XOPEN2K8].
10079         (CLD_KILLED): Likewise.
10080         (CLD_DUMPED): Likewise.
10081         (CLD_TRAPPED): Likewise.
10082         (CLD_STOPPED): Likewise.
10083         (CLD_CONTINUED): Likewise.
10084         (POLL_IN): Likewise.
10085         (POLL_OUT): Likewise.
10086         (POLL_MSG): Likewise.
10087         (POLL_ERR): Likewise.
10088         (POLL_PRI): Likewise.
10089         (POLL_HUP): Likewise.
10090         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10091         (ILL_ILLOPN): Likewise.
10092         (ILL_ILLADR): Likewise.
10093         (ILL_ILLTRP): Likewise.
10094         (ILL_PRVOPC): Likewise.
10095         (ILL_PRVREG): Likewise.
10096         (ILL_COPROC): Likewise.
10097         (ILL_BADSTK): Likewise.
10098         (FPE_INTDIV): Likewise.
10099         (FPE_INTOVF): Likewise.
10100         (FPE_FLTDIV): Likewise.
10101         (FPE_FLTOVF): Likewise.
10102         (FPE_FLTUND): Likewise.
10103         (FPE_FLTRES): Likewise.
10104         (FPE_FLTINV): Likewise.
10105         (FPE_FLTSUB): Likewise.
10106         (SEGV_MAPERR): Likewise.
10107         (SEGV_ACCERR): Likewise.
10108         (BUS_ADRALN): Likewise.
10109         (BUS_ADRERR): Likewise.
10110         (BUS_OBJERR): Likewise.
10111         (BUS_MCEERR_AR): Likewise.
10112         (BUS_MCEERR_AO): Likewise.
10113         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10114         (TRAP_TRACE): Likewise.
10115         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10116         __USE_XOPEN2K8].
10117         (CLD_KILLED): Likewise.
10118         (CLD_DUMPED): Likewise.
10119         (CLD_TRAPPED): Likewise.
10120         (CLD_STOPPED): Likewise.
10121         (CLD_CONTINUED): Likewise.
10122         (POLL_IN): Likewise.
10123         (POLL_OUT): Likewise.
10124         (POLL_MSG): Likewise.
10125         (POLL_ERR): Likewise.
10126         (POLL_PRI): Likewise.
10127         (POLL_HUP): Likewise.
10128         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10129         (ILL_ILLOPN): Likewise.
10130         (ILL_ILLADR): Likewise.
10131         (ILL_ILLTRP): Likewise.
10132         (ILL_PRVOPC): Likewise.
10133         (ILL_PRVREG): Likewise.
10134         (ILL_COPROC): Likewise.
10135         (ILL_BADSTK): Likewise.
10136         (FPE_INTDIV): Likewise.
10137         (FPE_INTOVF): Likewise.
10138         (FPE_FLTDIV): Likewise.
10139         (FPE_FLTOVF): Likewise.
10140         (FPE_FLTUND): Likewise.
10141         (FPE_FLTRES): Likewise.
10142         (FPE_FLTINV): Likewise.
10143         (FPE_FLTSUB): Likewise.
10144         (SEGV_MAPERR): Likewise.
10145         (SEGV_ACCERR): 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         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10154         __USE_XOPEN2K8].
10155         (CLD_KILLED): Likewise.
10156         (CLD_DUMPED): Likewise.
10157         (CLD_TRAPPED): Likewise.
10158         (CLD_STOPPED): Likewise.
10159         (CLD_CONTINUED): Likewise.
10160         (POLL_IN): Likewise.
10161         (POLL_OUT): Likewise.
10162         (POLL_MSG): Likewise.
10163         (POLL_ERR): Likewise.
10164         (POLL_PRI): Likewise.
10165         (POLL_HUP): Likewise.
10166         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10167         (ILL_ILLOPN): Likewise.
10168         (ILL_ILLADR): Likewise.
10169         (ILL_ILLTRP): Likewise.
10170         (ILL_PRVOPC): Likewise.
10171         (ILL_PRVREG): Likewise.
10172         (ILL_COPROC): Likewise.
10173         (ILL_BADSTK): Likewise.
10174         (ILL_DBLFLT): Likewise.
10175         (ILL_HARDWALL): 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/x86/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         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10245         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10246
10247         [BZ #16670]
10248         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10249         before #include of <time.h>.
10250         [!__USE_XOPEN2K] (__need_timespec): Likewise.
10251         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10252         (test-xfail-UNIX98/sched.h/conform): Likewise.
10253
10254 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10255
10256         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10257         error absence of trapping exception support.
10258         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10259
10260 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10261
10262         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10263         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10264         * timezone/Makefile (testdata): Move definition above include of
10265         Rules.
10266         (test-zones): New variable.
10267         (tests-special): Add zone files.
10268         (build-testdata): Use $(evaluate-test).
10269
10270         * elf/Makefile (tests-special): Rename tests to end with .out.
10271         ($(objpfx)noload-mem): Likewise.
10272         ($(objpfx)tst-leaks1-mem): Likewise.
10273         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10274         * iconv/Makefile (xtests-special): Change test-iconvconfig to
10275         $(objpfx)test-iconvconfig.out.
10276         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
10277         set -e inside subshell and redirect output to file.
10278         * iconvdata/Makefile (generated): Rename tests to end with .out.
10279         Correct type.
10280         (tests-special): Rename tests to end with .out.
10281         ($(objpfx)mtrace-tst-loading): Likewise.
10282         * intl/Makefile (generated): Likewise.
10283         (tests-special): Likewise.
10284         ($(objpfx)mtrace-tst-gettext): Likewise.
10285         * misc/Makefile (generated): Likewise.
10286         (tests-special): Likewise.
10287         ($(objpfx)tst-error1-mem): Likewise.
10288         * nptl/Makefile (tests-special): Likewise.
10289         ($(objpfx)tst-stack3-mem): Likewise.
10290         (generated): Likewise.
10291         * posix/Makefile (generated): Likewise.
10292         (tests-special): Likewise.
10293         (xtests-special): Likewise.
10294         ($(objpfx)tst-fnmatch-mem): Likewise.
10295         ($(objpfx)bug-regex2-mem): Likewise.
10296         ($(objpfx)bug-regex14-mem): Likewise.
10297         ($(objpfx)bug-regex21-mem): Likewise.
10298         ($(objpfx)bug-regex31-mem): Likewise.
10299         ($(objpfx)tst-vfork3-mem): Likewise.
10300         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10301         ($(objpfx)tst-pcre-mem): Likewise.
10302         ($(objpfx)tst-boost-mem): Likewise.
10303         ($(objpfx)bug-ga2-mem): Likewise.
10304         ($(objpfx)bug-glob2-mem): Likewise.
10305         * resolv/Makefile (generate): Likewise.
10306         (tests-special): Likewise.
10307         (xtests-special): Likewise.
10308         (generated): Likewise.
10309         ($(objpfx)mtrace-tst-leaks): Likewise.
10310         ($(objpfx)mtrace-tst-leaks2): Likewise.
10311
10312         * scripts/merge-test-results.sh: New file.
10313         * Makefile (tests-special-notdir): New variable.
10314         (tests): Run merge-test-results.sh.
10315         (xtests): Likewise.
10316         * Rules (tests-special-notdir): New variable.
10317         (xtests-special-notdir): Likewise.
10318         (tests): Run merge-test-results.sh
10319         (xtests): Likewise.
10320
10321         * Makeconfig (test-xfail-name): New variable.
10322         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10323         compute variable name for expected failures.
10324         * conform/Makefile (conformtest-headers-data): New variable.
10325         (conformtest-standards): Likewise.
10326         (conformtest-headers-ISO): Likewise.
10327         (conformtest-headers-ISO99): Likewise.
10328         (conformtest-headers-ISO11): Likewise.
10329         (conformtest-headers-POSIX): Likewise.
10330         (conformtest-headers-XPG3): Likewise.
10331         (conformtest-headers-XPG4): Likewise.
10332         (conformtest-headers-UNIX98): Likewise.
10333         (conformtest-headers-XOPEN2K): Likewise.
10334         (conformtest-headers-POSIX2008): Likewise.
10335         (conformtest-headers-XOPEN2K8): Likewise.
10336         (conformtest-header-list-base): Likewise.
10337         (conformtest-header-list-tests): Likewise.
10338         (conformtest-header-base): Likewise.
10339         (conformtest-header-tests): Likewise.
10340         (tests-special): Add $(conformtest-header-list-tests).  If
10341         [$(fast-check) && !$(cross-compiling)], add
10342         $(conformtest-header-tests) instead of
10343         $(objpfx)run-conformtest.out.
10344         (generated): Add $(conformtest-header-list-base).  If
10345         [$(fast-check) && !$(cross-compiling)], add
10346         $(conformtest-header-base).  Remove previous setting.
10347         ($(conformtest-header-list-tests)): New target.
10348         (test-xfail-run-conformtest): Remove variable.
10349         ($(objpfx)run-conformtest.out): Remove target.
10350         (test-xfail-ISO11/complex.h/conform): New variable.
10351         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10352         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10353         (test-xfail-XPG3/varargs.h/conform): Likewise.
10354         (test-xfail-XPG4/varargs.h/conform): Likewise.
10355         (test-xfail-UNIX98/varargs.h/conform): Likewise.
10356         (test-xfail-XPG4/ndbm.h/conform): Likewise.
10357         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10358         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10359         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10360         (test-xfail-XPG3/fcntl.h/conform): Likewise.
10361         (test-xfail-XPG3/ftw.h/conform): Likewise.
10362         (test-xfail-XPG3/grp.h/conform): Likewise.
10363         (test-xfail-XPG3/langinfo.h/conform): Likewise.
10364         (test-xfail-XPG3/limits.h/conform): Likewise.
10365         (test-xfail-XPG3/pwd.h/conform): Likewise.
10366         (test-xfail-XPG3/search.h/conform): Likewise.
10367         (test-xfail-XPG3/signal.h/conform): Likewise.
10368         (test-xfail-XPG3/stdio.h/conform): Likewise.
10369         (test-xfail-XPG3/stdlib.h/conform): Likewise.
10370         (test-xfail-XPG3/string.h/conform): Likewise.
10371         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10372         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10373         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10374         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10375         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10376         (test-xfail-XPG3/sys/types.h/conform): Likewise.
10377         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10378         (test-xfail-XPG3/termios.h/conform): Likewise.
10379         (test-xfail-XPG3/time.h/conform): Likewise.
10380         (test-xfail-XPG3/unistd.h/conform): Likewise.
10381         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10382         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10383         (test-xfail-XPG4/langinfo.h/conform): Likewise.
10384         (test-xfail-XPG4/netdb.h/conform): Likewise.
10385         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10386         (test-xfail-XPG4/signal.h/conform): Likewise.
10387         (test-xfail-XPG4/stdio.h/conform): Likewise.
10388         (test-xfail-XPG4/stdlib.h/conform): Likewise.
10389         (test-xfail-XPG4/stropts.h/conform): Likewise.
10390         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10391         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10392         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10393         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10394         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10395         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10396         (test-xfail-XPG4/sys/time.h/conform): Likewise.
10397         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10398         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10399         (test-xfail-XPG4/termios.h/conform): Likewise.
10400         (test-xfail-XPG4/ucontext.h/conform): Likewise.
10401         (test-xfail-XPG4/unistd.h/conform): Likewise.
10402         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10403         (test-xfail-POSIX/sched.h/conform): Likewise.
10404         (test-xfail-POSIX/signal.h/conform): Likewise.
10405         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10406         (test-xfail-POSIX/tar.h/conform): Likewise.
10407         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10408         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10409         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10410         (test-xfail-UNIX98/netdb.h/conform): Likewise.
10411         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10412         (test-xfail-UNIX98/sched.h/conform): Likewise.
10413         (test-xfail-UNIX98/signal.h/conform): Likewise.
10414         (test-xfail-UNIX98/stdio.h/conform): Likewise.
10415         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10416         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10417         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10418         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10419         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10420         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10421         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10422         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10423         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10424         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10425         (test-xfail-UNIX98/unistd.h/conform): Likewise.
10426         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10427         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10428         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10429         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10430         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10431         (test-xfail-XOPEN2K/math.h/conform): Likewise.
10432         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10433         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10434         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10435         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10436         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10437         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10438         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10439         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10440         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10441         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10442         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10443         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10444         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10445         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10446         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10447         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10448         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10449         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10450         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10451         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10452         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10453         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10454         (test-xfail-POSIX2008/signal.h/conform): Likewise.
10455         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10456         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10457         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10458         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10459         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10460         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10461         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10462         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10463         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10464         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10465         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10466         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10467         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10468         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10469         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10470         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10471         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10472         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10473         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10474         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10475         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10476         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10477         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10478         (conformtest-cc-flags): Likewise.
10479         ($(conformtest-header-tests): New target.
10480         * conform/check-header-lists.sh: New file.
10481         * conform/run-conformtest.sh: Remove.
10482
10483         * conform/conformtest.pl: Allow ' and \ in values given for
10484         constants.
10485         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10486         inclusion.
10487         [POSIX] (sys/types.h): Likewise.
10488         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10489         inclusion.
10490         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10491         inclusion.
10492         * conform/data/signal.h-data (SIGIO): Remove expectation.
10493         [XPG3] (SIGBUS): Do not expect.
10494         [POSIX || XPG3] (SIGPOLL): Likewise.
10495         [POSIX || XPG3] (SIGPROF): Likewise.
10496         [POSIX || XPG3] (SIGSYS): Likewise.
10497         [XPG3] (SIGTRAP): Likewise.
10498         [POSIX || XPG3] (SIGURG): Likewise.
10499         [POSIX || XPG3] (SIGVTALRM): Likewise.
10500         [POSIX || XPG3] (SIGXCPU): Likewise.
10501         [POSIX || XPG3] (SIGXFSZ): Likewise.
10502         [POSIX] (SA_SIGINFO): Expect.
10503         [XPG3] (siginfo_t): Do not expect type or contents.
10504         [POSIX] (si_pid): Do not expect element.
10505         [POSIX] (si_uid): Likewise.
10506         [POSIX] (si_addr): Likewise.
10507         [POSIX] (si_status): Likewise.
10508         [POSIX] (si_band): Likewise.
10509         [XPG4] (si_value): Likewise.
10510         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10511         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10512         [POSIX || XPG3] (ILL_ILLADR): Likewise.
10513         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10514         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10515         [POSIX || XPG3] (ILL_PRVREG): Likewise.
10516         [POSIX || XPG3] (ILL_COPROC): Likewise.
10517         [POSIX || XPG3] (ILL_BADSTK): Likewise.
10518         [POSIX || XPG3] (FPE_INTDIV): Likewise.
10519         [POSIX || XPG3] (FPE_INTOVF): Likewise.
10520         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10521         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10522         [POSIX || XPG3] (FPE_FLTUND): Likewise.
10523         [POSIX || XPG3] (FPE_FLTRES): Likewise.
10524         [POSIX || XPG3] (FPE_FLTINV): Likewise.
10525         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10526         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10527         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10528         [POSIX || XPG3] (BUS_ADRALN): Likewise.
10529         [POSIX || XPG3] (BUS_ADRERR): Likewise.
10530         [POSIX || XPG3] (BUS_OBJERR): Likewise.
10531         [POSIX || XPG3] (CLD_EXITED): Likewise.
10532         [POSIX || XPG3] (CLD_KILLED): Likewise.
10533         [POSIX || XPG3] (CLD_DUMPED): Likewise.
10534         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10535         [POSIX || XPG3] (CLD_STOPPED): Likewise.
10536         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10537         [POSIX || XPG3] (POLL_IN): Likewise.
10538         [POSIX || XPG3] (POLL_OUT): Likewise.
10539         [POSIX || XPG3] (POLL_MSG): Likewise.
10540         [POSIX || XPG3] (POLL_ERR): Likewise.
10541         [POSIX || XPG3] (POLL_PRI): Likewise.
10542         [POSIX || XPG3] (POLL_HUP): Likewise.
10543         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10544         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10545         (SIG*): Do not allow.
10546         [XPG3] (si_*): Likewise.
10547         [XPG3] (SI_*): Likewise.
10548         [XPG3 || XPG4] (sigev_*): Likewise.
10549         [XPG3 || XPG4] (SIGEV_*): Likewise.
10550         [XPG3 || XPG4] (sival_*): Likewise.
10551         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10552         [POSIX || XPG3] (BUS_*): Likewise.
10553         [POSIX || XPG3] (CLD_*): Likewise.
10554         [POSIX || XPG3] (FPE_*): Likewise.
10555         [POSIX || XPG3] (ILL_*): Likewise.
10556         [POSIX || XPG3] (POLL_*): Likewise.
10557         [POSIX || XPG3] (SEGV_*): Likewise.
10558         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10559         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10560         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10561         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10562         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10563         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10564         Specify type and value.
10565         (TVERSLEN): Likewise.
10566         (REGTYPE): Likewise.
10567         (AREGTYPE): Likewise.
10568         (LNKTYPE): Likewise.
10569         (SYMTYPE): Likewise.
10570         (CHRTYPE): Likewise.
10571         (BLKTYPE): Likewise.
10572         (DIRTYPE): Likewise.
10573         (FIFOTYPE): Likewise.
10574         (CONTTYPE): Likewise.
10575         (TSUID): Likewise.
10576         (TSGID): Likewise.
10577         (TSVTX): Likewise.
10578         (TUREAD): Likewise.
10579         (TUWRITE): Likewise.
10580         (TUEXEC): Likewise.
10581         (TGREAD): Likewise.
10582         (TGWRITE): Likewise.
10583         (TGEXEC): Likewise.
10584         (TOREAD): Likewise.
10585         (TOWRITE): Likewise.
10586         (TOEXEC): Likewise.
10587         [POSIX] (TSVTX): Expect constant.
10588
10589 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
10590
10591         * Makefile (tests): Change dependencies to ....
10592         (tests-special): ... additions to this variable.
10593         (tests): Depend on $(tests-special).
10594         * Makerules (check-abi-list): New variable.
10595         (check-abi): Depend on $(check-abi-list).
10596         [$(subdir) = elf] (tests-special): Add
10597         $(objpfx)check-abi-libc.out.
10598         [$(build-shared) = yes && subdir] (tests-special): Add
10599         $(check-abi-list).
10600         [$(build-shared) = yes && subdir] (tests): Do not depend on
10601         check-abi.
10602         * Rules (tests): Depend on $(tests-special).
10603         (xtests): Depend on $(xtests-special).
10604         * catgets/Makefile (tests): Change dependencies to ....
10605         (tests-special): ... additions to this variable.
10606         * conform/Makefile (tests): Change dependencies to ....
10607         (tests-special): ... additions to this variable.
10608         * elf/Makefile (tests): Change dependencies to ....
10609         (tests-special): ... additions to this variable.
10610         * grp/Makefile (tests): Change dependencies to ....
10611         (tests-special): ... additions to this variable.
10612         * iconv/Makefile (xtests): Change dependencies to ....
10613         (xtests-special): ... additions to this variable.
10614         * iconvdata/Makefile (tests): Change dependencies to ....
10615         (tests-special): ... additions to this variable.
10616         * intl/Makefile (tests): Change dependencies to ....
10617         (tests-special): ... additions to this variable.  Also add
10618         $(objpfx)tst-gettext.out.
10619         * io/Makefile (tests): Change dependencies to ....
10620         (tests-special): ... additions to this variable.
10621         * libio/Makefile (tests): Change dependencies to ....
10622         (tests-special): ... additions to this variable.
10623         * malloc/Makefile (tests): Change dependencies to ....
10624         (tests-special): ... additions to this variable.
10625         * misc/Makefile (tests): Change dependencies to ....
10626         (tests-special): ... additions to this variable.
10627         * nptl/Makefile (tests): Change dependencies to ....
10628         (tests-special): ... additions to this variable.
10629         * nptl_db/Makefile (tests): Change dependencies to ....
10630         (tests-special): ... additions to this variable.
10631         * posix/Makefile (tests): Change dependencies to ....
10632         (tests-special): ... additions to this variable.
10633         (xtests): Change dependencies to ....
10634         (xtests-special): ... additions to this variable.
10635         * resolv/Makefile (tests): Change dependencies to ....
10636         (tests-special): ... additions to this variable.
10637         (xtests): Change dependencies to ....
10638         (xtests-special): ... additions to this variable.
10639         * stdio-common/Makefile (tests): Change dependencies to ....
10640         (tests-special): ... additions to this variable.
10641         (do-tst-unbputc): Remove target.
10642         (do-tst-printf): Likewise.
10643         * stdlib/Makefile (tests): Change dependencies to ....
10644         (tests-special): ... additions to this variable.
10645         * string/Makefile (tests): Change dependencies to ....
10646         (tests-special): ... additions to this variable.
10647         * sysdeps/x86/Makefile (tests): Change dependencies to ....
10648         (tests-special): ... additions to this variable.
10649
10650         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10651         whole file.
10652         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10653         whole file.
10654         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10655         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10656
10657         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10658         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10659         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10660         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10661         * conform/data/libgen.h-data [XPG3]: Likewise.
10662         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10663         * conform/data/ndbm.h-data [XPG3]: Likewise.
10664         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10665         * conform/data/netdb.h-data [XPG3]: Likewise.
10666         * conform/data/netinet/in.h-data [XPG3]: Likewise.
10667         * conform/data/poll.h-data [XPG3]: Likewise.
10668         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10669         * conform/data/strings.h-data [XPG3]: Likewise.
10670         * conform/data/stropts.h-data [XPG3]: Likewise.
10671         * conform/data/sys/mman.h-data [XPG3]: Likewise.
10672         * conform/data/sys/resource.h-data [XPG3]: Likewise.
10673         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10674         Likewise.
10675         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10676         * conform/data/sys/time.h-data [XPG3]: Likewise.
10677         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10678         * conform/data/sys/uio.h-data [XPG3]: Likewise.
10679         * conform/data/sys/un.h-data [XPG3]: Likewise.
10680         * conform/data/syslog.h-data [XPG3]: Likewise.
10681         * conform/data/ucontext.h-data [XPG3]: Likewise.
10682         * conform/data/utmpx.h-data [XPG3]: Likewise.
10683         * conform/data/varargs.h-data [UNIX98]: Enable file.
10684
10685         * manual/Makefile (INSTALL_INFO): Remove variable setting.
10686
10687         * math/libm-test.inc (struct test_f_f_data): Move expected results
10688         into structure for each rounding mode.
10689         (struct test_ff_f_data): Likewise.
10690         (struct test_ff_f_data_nexttoward): Likewise.
10691         (struct test_fi_f_data): Likewise.
10692         (struct test_fl_f_data): Likewise.
10693         (struct test_if_f_data): Likewise.
10694         (struct test_fff_f_data): Likewise.
10695         (struct test_c_f_data): Likewise.
10696         (struct test_f_f1_data): Likewise.
10697         (struct test_fF_f1_data): Likewise.
10698         (struct test_ffI_f1_data): Likewise.
10699         (struct test_c_c_data): Likewise.
10700         (struct test_cc_c_data): Likewise.
10701         (struct test_f_i_data): Likewise.
10702         (struct test_ff_i_data): Likewise.
10703         (struct test_f_l_data): Likewise.
10704         (struct test_f_L_data): Likewise.
10705         (struct test_fFF_11_data): Likewise.
10706         (RM_): New macro.
10707         (RM_FE_DOWNWARD): Likewise.
10708         (RM_FE_TONEAREST): Likewise.
10709         (RM_FE_TOWARDZERO): Likewise.
10710         (RM_FE_UPWARD): Likewise.
10711         (RUN_TEST_LOOP_f_f): Update references to expected results.
10712         (RUN_TEST_LOOP_2_f): Likewise.
10713         (RUN_TEST_LOOP_fff_f): Likewise.
10714         (RUN_TEST_LOOP_c_f): Likewise.
10715         (RUN_TEST_LOOP_f_f1): Likewise.
10716         (RUN_TEST_LOOP_fF_f1): Likewise.
10717         (RUN_TEST_LOOP_fI_f1): Likewise.
10718         (RUN_TEST_LOOP_ffI_f1): Likewise.
10719         (RUN_TEST_LOOP_c_c): Likewise.
10720         (RUN_TEST_LOOP_cc_c): Likewise.
10721         (RUN_TEST_LOOP_f_i): Likewise.
10722         (RUN_TEST_LOOP_f_i_tg): Likewise.
10723         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10724         (RUN_TEST_LOOP_f_b): Likewise.
10725         (RUN_TEST_LOOP_f_b_tg): Likewise.
10726         (RUN_TEST_LOOP_f_l): Likewise.
10727         (RUN_TEST_LOOP_f_L): Likewise.
10728         (RUN_TEST_LOOP_fFF_11): Likewise.
10729         * math/gen-libm-test.pl (parse_args): Output four copies of
10730         expected results for each test.
10731
10732         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10733         (__ASSUME_UTIMES): Remove.
10734         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10735         (__ASSUME_UTIMES): Likewise.
10736
10737         * math/gen-auto-libm-tests.c: Update comment on output format.
10738         (output_for_one_input_case): Generate before-rounding and
10739         after-rounding information as conditions on output flags not
10740         floating-point format.
10741         * math/auto-libm-test-out: Regenerated.
10742         * math/gen-libm-test.pl (cond_value): New function.
10743         (or_cond_value): Use cond_value.
10744         (generate_testfile): Handle conditional exceptions.
10745
10746 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
10747
10748         * math/libm-test.inc (max_valid_error): New variable.
10749         (init_max_error): Take new argument specifying whether function
10750         results are exactly determined.  Set max_valid_error and bound
10751         other variables for errors based on this argument.
10752         (set_max_error): Do not record results above max_valid_error.
10753         (check_float_internal): Only accept errors of up to 0.5ulps if
10754         also at most max_valid_error.
10755         (START): Take new argument EXACT and pass it to init_max_error.
10756         (acos_test): Update call to START.
10757         (acos_test_tonearest): Likewise.
10758         (acos_test_towardzero): Likewise.
10759         (acos_test_downward): Likewise.
10760         (acos_test_upward): Likewise.
10761         (acosh_test): Likewise.
10762         (asin_test): Likewise.
10763         (asin_test_tonearest): Likewise.
10764         (asin_test_towardzero): Likewise.
10765         (asin_test_downward): Likewise.
10766         (asin_test_upward): Likewise.
10767         (asinh_test): Likewise.
10768         (atan_test): Likewise.
10769         (atanh_test): Likewise.
10770         (atan2_test): Likewise.
10771         (cabs_test): Likewise.
10772         (cacos_test): Likewise.
10773         (cacosh_test): Likewise.
10774         (carg_test): Likewise.
10775         (casin_test): Likewise.
10776         (casinh_test): Likewise.
10777         (catan_test): Likewise.
10778         (catanh_test): Likewise.
10779         (cbrt_test): Likewise.
10780         (ccos_test): Likewise.
10781         (ccosh_test): Likewise.
10782         (ceil_test): Likewise.
10783         (cexp_test): Likewise.
10784         (cimag_test): Likewise.
10785         (clog_test): Likewise.
10786         (clog10_test): Likewise.
10787         (conj_test): Likewise.
10788         (copysign_test): Likewise.
10789         (cos_test): Likewise.
10790         (cos_test_tonearest): Likewise.
10791         (cos_test_towardzero): Likewise.
10792         (cos_test_downward): Likewise.
10793         (cos_test_upward): Likewise.
10794         (cosh_test): Likewise.
10795         (cosh_test_tonearest): Likewise.
10796         (cosh_test_towardzero): Likewise.
10797         (cosh_test_downward): Likewise.
10798         (cosh_test_upward): Likewise.
10799         (cpow_test): Likewise.
10800         (cproj_test): Likewise.
10801         (creal_test): Likewise.
10802         (csin_test): Likewise.
10803         (csinh_test): Likewise.
10804         (csqrt_test): Likewise.
10805         (ctan_test): Likewise.
10806         (ctan_test_tonearest): Likewise.
10807         (ctan_test_towardzero): Likewise.
10808         (ctan_test_downward): Likewise.
10809         (ctan_test_upward): Likewise.
10810         (ctanh_test): Likewise.
10811         (ctanh_test_tonearest): Likewise.
10812         (ctanh_test_towardzero): Likewise.
10813         (ctanh_test_downward): Likewise.
10814         (ctanh_test_upward): Likewise.
10815         (erf_test): Likewise.
10816         (erfc_test): Likewise.
10817         (exp_test): Likewise.
10818         (exp_test_tonearest): Likewise.
10819         (exp_test_towardzero): Likewise.
10820         (exp_test_downward): Likewise.
10821         (exp_test_upward): Likewise.
10822         (exp10_test): Likewise.
10823         (exp10_test_tonearest): Likewise.
10824         (exp10_test_towardzero): Likewise.
10825         (exp10_test_downward): Likewise.
10826         (exp10_test_upward): Likewise.
10827         (pow10_test): Likewise.
10828         (exp2_test): Likewise.
10829         (expm1_test): Likewise.
10830         (expm1_test_tonearest): Likewise.
10831         (expm1_test_towardzero): Likewise.
10832         (expm1_test_downward): Likewise.
10833         (expm1_test_upward): Likewise.
10834         (fabs_test): Likewise.
10835         (fdim_test): Likewise.
10836         (floor_test): Likewise.
10837         (fma_test): Likewise.
10838         (fma_test_towardzero): Likewise.
10839         (fma_test_downward): Likewise.
10840         (fma_test_upward): Likewise.
10841         (fmax_test): Likewise.
10842         (fmin_test): Likewise.
10843         (fmod_test): Likewise.
10844         (fpclassify_test): Likewise.
10845         (frexp_test): Likewise.
10846         (hypot_test): Likewise.
10847         (ilogb_test): Likewise.
10848         (isfinite_test): Likewise.
10849         (finite_test): Likewise.
10850         (isgreater_test): Likewise.
10851         (isgreaterequal_test): Likewise.
10852         (isinf_test): Likewise.
10853         (isless_test): Likewise.
10854         (islessequal_test): Likewise.
10855         (islessgreater_test): Likewise.
10856         (isnan_test): Likewise.
10857         (isnormal_test): Likewise.
10858         (issignaling_test): Likewise.
10859         (isunordered_test): Likewise.
10860         (j0_test): Likewise.
10861         (j1_test): Likewise.
10862         (jn_test): Likewise.
10863         (ldexp_test): Likewise.
10864         (lgamma_test): Likewise.
10865         (gamma_test): Likewise.
10866         (lrint_test): Likewise.
10867         (lrint_test_tonearest): Likewise.
10868         (lrint_test_towardzero): Likewise.
10869         (lrint_test_downward): Likewise.
10870         (lrint_test_upward): Likewise.
10871         (llrint_test): Likewise.
10872         (llrint_test_tonearest): Likewise.
10873         (llrint_test_towardzero): Likewise.
10874         (llrint_test_downward): Likewise.
10875         (llrint_test_upward): Likewise.
10876         (log_test): Likewise.
10877         (log10_test): Likewise.
10878         (log1p_test): Likewise.
10879         (log2_test): Likewise.
10880         (logb_test): Likewise.
10881         (logb_test_downward): Likewise.
10882         (lround_test): Likewise.
10883         (llround_test): Likewise.
10884         (modf_test): Likewise.
10885         (nearbyint_test): Likewise.
10886         (nextafter_test): Likewise.
10887         (nexttoward_test): Likewise.
10888         (pow_test): Likewise.
10889         (pow_test_tonearest): Likewise.
10890         (pow_test_towardzero): Likewise.
10891         (pow_test_downward): Likewise.
10892         (pow_test_upward): Likewise.
10893         (remainder_test): Likewise.
10894         (drem_test): Likewise.
10895         (remainder_test_tonearest): Likewise.
10896         (drem_test_tonearest): Likewise.
10897         (remainder_test_towardzero): Likewise.
10898         (drem_test_towardzero): Likewise.
10899         (remainder_test_downward): Likewise.
10900         (drem_test_downward): Likewise.
10901         (remainder_test_upward): Likewise.
10902         (drem_test_upward): Likewise.
10903         (remquo_test): Likewise.
10904         (rint_test): Likewise.
10905         (rint_test_tonearest): Likewise.
10906         (rint_test_towardzero): Likewise.
10907         (rint_test_downward): Likewise.
10908         (rint_test_upward): Likewise.
10909         (round_test): Likewise.
10910         (scalb_test): Likewise.
10911         (scalbn_test): Likewise.
10912         (scalbln_test): Likewise.
10913         (signbit_test): Likewise.
10914         (sin_test): Likewise.
10915         (sin_test_tonearest): Likewise.
10916         (sin_test_towardzero): Likewise.
10917         (sin_test_downward): Likewise.
10918         (sin_test_upward): Likewise.
10919         (sincos_test): Likewise.
10920         (sinh_test): Likewise.
10921         (sinh_test_tonearest): Likewise.
10922         (sinh_test_towardzero): Likewise.
10923         (sinh_test_downward): Likewise.
10924         (sinh_test_upward): Likewise.
10925         (sqrt_test): Likewise.
10926         (sqrt_test_tonearest): Likewise.
10927         (sqrt_test_towardzero): Likewise.
10928         (sqrt_test_downward): Likewise.
10929         (sqrt_test_upward): Likewise.
10930         (tan_test): Likewise.
10931         (tan_test_tonearest): Likewise.
10932         (tan_test_towardzero): Likewise.
10933         (tan_test_downward): Likewise.
10934         (tan_test_upward): Likewise.
10935         (tanh_test): Likewise.
10936         (tgamma_test): Likewise.
10937         (trunc_test): Likewise.
10938         (y0_test): Likewise.
10939         (y1_test): Likewise.
10940         (yn_test): Likewise.
10941         (significand_test): Likewise.
10942
10943         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10944         individual tests in comment.
10945         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10946         (prev_max_error): New variable.
10947         (prev_real_max_error): Likewise.
10948         (prev_imag_max_error): Likewise.
10949         (compare_ulp_data): Don't refer to test names in comment.
10950         (find_test_ulps): Remove function.
10951         (find_function_ulps): Likewise.
10952         (find_complex_function_ulps): Likewise.
10953         (init_max_error): Take function name as argument.  Look up ulps
10954         for that function.
10955         (print_ulps): Remove function.
10956         (print_max_error): Use prev_max_error instead of calling
10957         find_function_ulps.
10958         (print_complex_max_error): Use prev_real_max_error and
10959         prev_imag_max_error instead of calling find_complex_function_ulps.
10960         (check_float_internal): Take max_ulp parameter instead of calling
10961         find_test_ulps.  Don't call print_ulps.
10962         (check_float): Update call to check_float_internal.
10963         (check_complex): Update calls to check_float_internal.
10964         (START): Pass argument to init_max_error.
10965         * math/gen-libm-test.pl (%results): Don't include "kind"
10966         information.
10967         (parse_ulps): Don't handle ulps of individual tests.
10968         (print_ulps_file): Likewise.
10969         (output_ulps): Likewise.
10970         * math/README.libm-test: Update.
10971         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10972         individual tests.
10973         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10974         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10975         * sysdeps/arm/libm-test-ulps: Likewise.
10976         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10977         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10978         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10979         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10980         * sysdeps/microblaze/libm-test-ulps: Likewise.
10981         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10982         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10983         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10984         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10985         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10986         * sysdeps/sh/libm-test-ulps: Likewise.
10987         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10988         * sysdeps/tile/libm-test-ulps: Likewise.
10989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10990
10991 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10992
10993         * math/libm-test.inc (print_complex_max_error): Check separately
10994         whether real and imaginary errors are within allowed range and
10995         pass 0 to print_complex_function_ulps instead of value within
10996         allowed range.
10997
10998 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10999
11000         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11001         formatting.
11002         (get_handles_fopen): Likewise.
11003         (do_write_test): Likewise.
11004
11005         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11006
11007         * libio/fileops.c (do_ftell): Use cached offset when
11008         available.
11009         * libio/iofwide.c (do_ftell_wide): Likewise.
11010         * libio/iofdopen.c (_IO_new_fdopen): Don't use
11011         _IO_file_attach.
11012         * libio/wfileops.c (_IO_fwide): Don't cache offset.
11013
11014         [BZ #16532]
11015         * libio/libioP.h (get_file_offset): New function.
11016         * libio/fileops.c (get_file_offset): Likewise.
11017         (do_ftell): Likewise.
11018         (_IO_new_file_seekoff): Split out ftell logic.
11019         * libio/wfileops.c (do_ftell_wide): Likewise.
11020         (_IO_wfile_seekoff): Split out ftell logic.
11021         * libio/tst-ftell-active-handler.c: New test case.
11022         * libio/Makefile (tests): Add it.
11023
11024 2014-03-03  Roland McGrath  <roland@hack.frob.com>
11025
11026         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11027         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11028
11029 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11030
11031         [BZ #16639]
11032         * nscd/connections.c (nscd_init): Call do_exit.
11033         (start_threads): Call do_exit and notify_parent.
11034         (begin_drop_privileges): Call do_exit.
11035         (finish_drop_privileges): Likewise.
11036         * nscd/selinux.c (preserve_capabilities): Likewise.
11037         (install_real_capabilities): Likewise.
11038         (nscd_selinux_enabled): Likewise.
11039         (avc_create_thread): Likewise.
11040         (avc_alloc_lock): Likewise.
11041         (nscd_avc_init): Likewise.
11042         * nscd/nscd.c (parent_fd): New static variable.
11043         (main): Create a pipe between parent and child processes.
11044         Skip closing parent_fd.
11045         (monitor_child): New function.
11046         (do_exit): Likewise.
11047         (notify_parent): Likewise.
11048         * nscd/nscd.h (notify_parent): Likewise.
11049         (do_exit): Likewise.
11050
11051 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
11052
11053         * malloc/malloc.c (__libc_calloc): Revert last change.
11054
11055 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11056
11057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11058
11059 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11060
11061         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11063         implementation.
11064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11065         (__libc_ifunc_impl_list): Likewise.
11066         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11067         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11068         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11069         * string/strrchr.c: Define STRRCHR.
11070
11071 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
11072
11073         * benchtest/bench-strtok.c (simple_strtok): Delete.
11074         (strtok_string): Use as benchmark.
11075         * string/strtok (STRTOK): New macro.
11076
11077 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
11078
11079         * manual/threads.texi: Add header and standard comments to all
11080         functions.
11081
11082         * elf/dl-lookup.c (check_match): New function.
11083         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11084         (do_lookup_x): Remove nested function check_match. Use non-nested
11085         function check_match.
11086
11087 2014-02-28  Roland McGrath  <roland@hack.frob.com>
11088
11089         * csu/Makefile (generated, before-compile): Use += rather than =.
11090         * catgets/Makefile (generated, generated-dirs): Likewise.
11091         * debug/Makefile (generated): Likewise.
11092         * dlfcn/Makefile (generated): Likewise.
11093         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11094         * iconvdata/Makefile (before-compile, generated): Likewise.
11095         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11096         * libio/Makefile (generated): Likewise.
11097         * malloc/Makefile (generated): Likewise.
11098         * manual/Makefile (generated, generated-dirs): Likewise.
11099         * misc/Makefile (generated): Likewise.
11100         * posix/Makefile (generated): Likewise.
11101         * resolv/Makefile (generated): Likewise.
11102         * sunrpc/Makefile (generated, generated-dirs): Likewise.
11103         * timezone/Makefile (generated, generated-dirs): Likewise.
11104
11105         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11106
11107 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11108
11109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11110         power8 implementation.
11111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11112         file: POWER8 llround ifunc implementation.
11113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11114         (__lllround): Add POWER8 implementation.
11115         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11116         POWER8 llround implementation.
11117
11118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11119         power8 implementation.
11120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11121         file: POWER8 llrint ifunc implementation.
11122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11123         Add POWER8 implementation.
11124         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11125         POWER8 llrint implementation.
11126
11127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11128         power8 implementation.
11129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11130         file: POWER8 finite ifunc implementation.
11131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11132         Add POWER8 implementation.
11133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11134         Likewise.
11135         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11136         POWER8 finite implementation.
11137         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11138
11139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11140         power8 implementation.
11141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11142         file: POWER8 isinf ifunc implementation.
11143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11144         POWER8 implementation.
11145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11146         Likewise.
11147         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11148         isinf implementation.
11149         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11150
11151         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11152         (INIT_ARCH): Add hwcap2 initialization.
11153         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11154         power8 implementation.
11155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11156         file: POWER8 isnan ifunc implementation.
11157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11158         POWER8 implementation.
11159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11160         Likewise.
11161         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11162         isnan implementation.
11163         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11164
11165 2014-02-27  Joey Ye  <joey.ye@arm.com>
11166
11167         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11168         (_FP_NANFRAC_Q): Set to zero.
11169
11170 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11171
11172         [BZ #16623]
11173         * math/auto-libm-test-in: New test inputs.
11174         * math/auto-libm-test-out: Regenerate.
11175         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11176         and DA.
11177         (__cos): Likewise.
11178         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11179
11180 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
11181
11182         * scripts/evaluate-test.sh: Take new argument indicating whether
11183         failure is expected.
11184         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11185         indicating whether failure is expected.
11186         * conform/Makefile (test-xfail-run-conformtest): New variable.
11187         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11188         level.
11189         * posix/Makefile (test-xfail-annexc): New variable.
11190         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11191
11192 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
11193
11194         * argp/Makefile: Include Makeconfig immediately after defining
11195         subdir.
11196         * assert/Makefile: Likewise.
11197         * benchtests/Makefile: Likewise.
11198         * catgets/Makefile: Likewise.
11199         * conform/Makefile: Likewise.
11200         * crypt/Makefile: Likewise.
11201         * csu/Makefile: Likewise.
11202         (all): Remove target.
11203         * ctype/Makefile: Include Makeconfig immediately after defining
11204         subdir.
11205         * debug/Makefile: Likewise.
11206         * dirent/Makefile: Likewise.
11207         * dlfcn/Makefile: Likewise.
11208         * gmon/Makefile: Likewise.
11209         * gnulib/Makefile: Likewise.
11210         * grp/Makefile: Likewise.
11211         * gshadow/Makefile: Likewise.
11212         * hesiod/Makefile: Likewise.
11213         * hurd/Makefile: Likewise.
11214         (all): Remove target.
11215         * iconvdata/Makefile: Include Makeconfig immediately after
11216         defining subdir.
11217         * inet/Makefile: Likewise.
11218         * intl/Makefile: Likewise.
11219         * io/Makefile: Likewise.
11220         * libio/Makefile: Likewise.
11221         (all): Remove target.
11222         * locale/Makefile: Include Makeconfig immediately after defining
11223         subdir.
11224         * login/Makefile: Likewise.
11225         * mach/Makefile: Likewise.
11226         (all): Remove target.
11227         * malloc/Makefile: Include Makeconfig immediately after defining
11228         subdir.
11229         (all): Remove target.
11230         * manual/Makefile: Include Makeconfig immediately after defining
11231         subdir.
11232         * math/Makefile: Likewise.
11233         * misc/Makefile: Likewise.
11234         * nis/Makefile: Likewise.
11235         * nss/Makefile: Likewise.
11236         * po/Makefile: Likewise.
11237         (all): Remove target.
11238         * posix/Makefile: Include Makeconfig immediately after defining
11239         subdir.
11240         * pwd/Makefile: Likewise.
11241         * resolv/Makefile: Likewise.
11242         * resource/Makefile: Likewise.
11243         * rt/Makefile: Likewise.
11244         * setjmp/Makefile: Likewise.
11245         * shadow/Makefile: Likewise.
11246         * signal/Makefile: Likewise.
11247         * socket/Makefile: Likewise.
11248         * soft-fp/Makefile: Likewise.
11249         * stdio-common/Makefile: Likewise.
11250         * stdlib/Makefile: Likewise.
11251         * streams/Makefile: Likewise.
11252         * string/Makefile: Likewise.
11253         * sunrpc/Makefile: Likewise.
11254         (all): Remove target.
11255         * sysvipc/Makefile: Include Makeconfig immediately after defining
11256         subdir.
11257         * termios/Makefile: Likewise.
11258         * time/Makefile: Likewise.
11259         * timezone/Makefile: Likewise.
11260         (all): Remove target.
11261         * wcsmbs/Makefile: Include Makeconfig immediately after defining
11262         subdir.
11263         * wctype/Makefile: Likewise.
11264
11265 2014-02-26  Steve Ellcey  <sellcey@mips.com>
11266
11267         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11268         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11269         (libc_feholdexcept_setround_mips): Ditto.
11270         (libc_feholdsetround): New.
11271         (libc_feholdsetroundf): New.
11272         (libc_feholdsetroundl): New.
11273         (libc_feupdateenv_test_mips): New.
11274         (libc_feupdateenv_test): New.
11275         (libc_feupdateenv_testf): New.
11276         (libc_feupdateenv_testl): New.
11277         (libc_feresetround): New.
11278         (libc_feresetroundf): New.
11279         (libc_feresetroundl): New.
11280         (libc_fetestexcept_mips): New.
11281         (libc_fetestexcept): New.
11282         (libc_fetestexceptf): New.
11283         (libc_fetestexceptl): New.
11284         (HAVE_RM_CTX): New.
11285         (libc_feholdexcept_setround_mips_ctx): New.
11286         (libc_feholdexcept_setround_ctx): New.
11287         (libc_feholdexcept_setroundf_ctx): New.
11288         (libc_feholdexcept_setroundl_ctx): New.
11289         (libc_fesetenv_mips_ctx): New.
11290         (libc_fesetenv_ctx): New.
11291         (libc_fesetenv_ctxf): New.
11292         (libc_fesetenv_ctxl): New.
11293         (libc_feupdateenv_mips_ctx): New.
11294         (libc_feupdateenv_ctx): New.
11295         (libc_feupdateenvf_ctx): New.
11296         (libc_feupdateenvl_ctx): New.
11297         (libc_feholdsetround_mips_ctx): New.
11298         (libc_feholdsetround_ctx): New.
11299         (libc_feholdsetroundf_ctx): New.
11300         (libc_feholdsetroundl_ctx): New.
11301         (libc_feresetround_mips_ctx): New.
11302         (libc_feresetround_ctx): New.
11303         (libc_feresetroundf_ctx): New.
11304         (libc_feresetroundl_ctx): New.
11305
11306 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
11307
11308         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11309
11310         * manual/ipc.texi: New file.
11311         * manual/Makefile (chapters): Add ipc.
11312         * manual/job.texi: Add "Inter-Process Communication" to next.
11313         * manual/process.texi: Add "Inter-Process Communication" to prev.
11314
11315 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11316
11317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11318
11319 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
11320
11321         * malloc/malloc.c (__libc_calloc): Simplify implementation.
11322
11323         * manual/arith.texi: Fix spaces after sentences.
11324         * manual/charset.texi: Likewise.
11325         * manual/errno.texi: Likewise.
11326         * manual/install.texi: Likewise.
11327         * manual/llio.texi: Likewise.
11328         * manual/locale.texi: Likewise.
11329         * manual/maint.texi: Likewise.
11330         * manual/math.texi: Likewise.
11331         * manual/memory.texi: Likewise.
11332         * manual/message.texi: Likewise.
11333         * manual/probes.texi: Likewise.
11334         * manual/resource.texi: Likewise.
11335         * manual/signal.texi: Likewise.
11336         * manual/socket.texi: Likewise.
11337         * manual/stdio.texi: Likewise.
11338         * manual/string.texi: Likewise.
11339         * manual/time.texi: Likewise.
11340         * manual/users.texi: Likewise.
11341
11342 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
11343
11344         [BZ #16632]
11345         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11346         _DEFAULT_SOURCE is defined.
11347
11348 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
11349             Carlos O'Donell  <carlos@redhat.com>
11350
11351         [BZ #16613]
11352         * elf/dl-tls.c (_dl_count_modids): New function.
11353         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11354         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11355         audit library and increment generation counter.
11356         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11357         * elf/tst-audit9.c: New file.
11358         * elf/tst-auditmod9a.c: New file.
11359         * elf/tst-auditmod9b.c: New file.
11360         * elf/Makefile: Add rules to build and run tst-audit9.
11361
11362 2014-02-25  Florian Weimer  <fweimer@redhat.com>
11363
11364         [BZ #15347]
11365         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11366
11367 2014-02-25  Will Newton  <will.newton@linaro.org>
11368
11369         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11370         (__longjmp): Restore sp and lr before restoring callee
11371         saved registers.  Add longjmp and longjmp_target
11372         SystemTap probe point.
11373         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11374         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11375         Define to zero to match jmpbuf layout.
11376         * sysdeps/arm/setjmp.S: Include stap-probe.h.
11377         (__sigsetjmp): Save sp and lr before saving callee
11378         saved registers.  Add setjmp SystemTap probe point.
11379
11380 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11381
11382         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11383
11384 2014-02-24  Andreas Schwab  <schwab@suse.de>
11385
11386         [BZ #15804]
11387         * elf/pldd.c (wait_for_ptrace_stop): New function.
11388         (main): Call it after attaching.
11389
11390 2014-02-22  Roland McGrath  <roland@hack.frob.com>
11391
11392         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11393         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11394         Versions files is now verboten.
11395         * hurd/Versions (libc: GLIBC_2.0):
11396         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11397         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11398         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11399         * mach/Versions: Likewise.
11400
11401         * csu/Versions: Remove unused %include.
11402         * resolv/Versions: Likewise.
11403
11404 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
11405
11406         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11407         ($(objpfx)check-local-headers.out): Likewise.
11408         ($(objpfx)begin-end-check.out): Likewise.
11409         * Makerules (check-abi-%.out): Likewise.
11410         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11411         ($(objpfx)test2.cat): Likewise.
11412         ($(objpfx)de/libc.cat): Likewise.
11413         ($(objpfx)test-gencat.out): Likewise.
11414         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11415         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11416         ($(objpfx)noload-mem): Likewise.
11417         ($(objpfx)tst-pathopt.out): Likewise.
11418         ($(objpfx)tst-rtld-load-self.out): Likewise.
11419         ($(objpfx)tst-array1-cmp.out): Likewise.
11420         ($(objpfx)tst-array1-static-cmp.out): Likewise.
11421         ($(objpfx)tst-array2-cmp.out): Likewise.
11422         ($(objpfx)tst-array3-cmp.out): Likewise.
11423         ($(objpfx)tst-array4-cmp.out): Likewise.
11424         ($(objpfx)tst-array5-cmp.out): Likewise.
11425         ($(objpfx)tst-array5-static-cmp.out): Likewise.
11426         ($(objpfx)check-textrel.out): Likewise.
11427         ($(objpfx)check-execstack.out): Likewise.
11428         ($(objpfx)check-localplt.out): Likewise.
11429         ($(objpfx)order2-cmp.out): Likewise.
11430         ($(objpfx)tst-leaks1-mem): Likewise.
11431         ($(objpfx)tst-leaks1-static-mem): Likewise.
11432         ($(objpfx)tst-initorder-cmp.out): Likewise.
11433         ($(objpfx)tst-initorder2-cmp.out): Likewise.
11434         ($(objpfx)tst-unused-dep.out): Likewise.
11435         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11436         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11437         * iconv/Makefile (test-iconvconfig): Likewise.
11438         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11439         ($(objpfx)iconv-test.out): Likewise.
11440         ($(objpfx)tst-tables.out): Likewise.
11441         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11442         ($(objpfx)tst-gettext.out): Likewise.
11443         ($(objpfx)tst-translit.out): Likewise.
11444         ($(objpfx)tst-gettext2.out): Likewise.
11445         ($(objpfx)tst-gettext4.out): Likewise.
11446         ($(objpfx)tst-gettext6.out): Likewise.
11447         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11448         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11449         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11450         ($(objpfx)tst-fopenloc-mem.out): Likewise.
11451         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11452         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11453         * posix/Makefile ($(objpfx)globtest.out): Likewise.
11454         ($(objpfx)wordexp-tst.out): Likewise.
11455         ($(objpfx)annexc.out): Likewise.
11456         ($(objpfx)tst-fnmatch-mem): Likewise.
11457         ($(objpfx)bug-regex2-mem): Likewise.
11458         ($(objpfx)bug-regex14-mem): Likewise.
11459         ($(objpfx)bug-regex21-mem): Likewise.
11460         ($(objpfx)bug-regex31-mem): Likewise.
11461         ($(objpfx)tst-vfork3-mem): Likewise.
11462         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11463         ($(objpfx)tst-pcre-mem): Likewise.
11464         ($(objpfx)tst-boost-mem): Likewise.
11465         ($(objpfx)tst-getconf.out): Likewise.
11466         ($(objpfx)bug-ga2-mem): Likewise.
11467         ($(objpfx)bug-glob2-mem): Likewise.
11468         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11469         ($(objpfx)mtrace-tst-leaks2): Likewise.
11470         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11471         ($(objpfx)tst-printf.out): Likewise.
11472         ($(objpfx)tst-setvbuf1.out): Likewise.
11473         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11474         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11475         ($(objpfx)tst-fmtmsg.out): Likewise.
11476         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11477         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11478
11479         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11480         * bits/sigaction.h [__USE_MISC]: Likewise.
11481         * bits/waitstatus.h: Update #endif comments.
11482         * ctype/ctype.h: Likewise.
11483         * dirent/dirent.h: Likewise.
11484         [__USE_MISC]: Remove redundant conditionals.
11485         * grp/grp.h: Update #endif comments.
11486         [__USE_GNU]: Remove redundant conditionals.
11487         [__USE_MISC]: Likewise.
11488         * inet/netinet/in.h [__USE_GNU]: Likewise.
11489         * io/sys/stat.h [__USE_MISC]: Likewise.
11490         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11491         * libio/bits/stdio.h: Update #endif comments.
11492         [__USE_MISC]: Remove redundant conditionals.
11493         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11494         * libio/stdio.h: Update #endif comments.
11495         [__USE_MISC]: Remove redundant conditionals.
11496         * math/bits/math-finite.h [__USE_MISC]: Likewise.
11497         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11498         * math/math.h: Update #else and #endif comments.
11499         [__USE_MISC]: Remove redundant conditionals.
11500         * misc/sys/uio.h: Update #endif comments.
11501         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11502         * posix/glob.h [__USE_MISC]: Likewise.
11503         * posix/sys/types.h: Update #endif comments.
11504         [__USE_MISC]: Remove redundant conditionals.
11505         * posix/sys/wait.h: Update #endif comments.
11506         [__USE_MISC]: Remove redundant conditionals.
11507         * posix/unistd.h: Update #endif comments.
11508         [__USE_MISC]: Remove redundant conditionals.
11509         * pwd/pwd.h [__USE_GNU]: Likewise.
11510         [__USE_MISC]: Likewise.
11511         * resolv/netdb.h [__USE_GNU]: Likewise.
11512         * signal/signal.h: Update #endif comments.
11513         [__USE_MISC]: Remove redundant conditionals.
11514         * stdlib/stdlib.h: Update #else and #endif comments.
11515         [__USE_MISC]: Remove redundant conditionals.
11516         [__USE_GNU]: Likewise.
11517         * string/bits/string2.h [__USE_MISC]: Likewise.
11518         * string/string.h: Update #endif comments.
11519         [__USE_MISC]: Remove redundant conditionals.
11520         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11521         Likewise.
11522         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11523         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11524         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11525         Likewise.
11526         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11527         Likewise.
11528         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11529         comments.
11530         [__USE_MISC]: Remove redundant conditionals.
11531         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11532         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11533         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11534         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11535         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11536         Likewise.
11537         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11538         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11539         Likewise.
11540         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11541         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11542         Likewise.
11543         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11544         Likewise.
11545         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11546         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11547         Likewise.
11548         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11549         Likewise.
11550         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11551         * sysdeps/x86/bits/string.h: Update #endif comments.
11552         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11553         conditionals.
11554         * time/sys/time.h: Update #endif comments.
11555         * time/time.h: Likewise.
11556         [__USE_MISC]: Remove redundant conditionals.
11557
11558 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
11559
11560         [BZ #16600]
11561         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11562
11563 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
11564
11565         * Versions.def (librt): Add GLIBC_2.17.
11566
11567 2014-02-21  Adam Conrad  <adconrad@0c3.net>
11568
11569         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11570         synonym for _SYS_AUXV_H to allow direct inclusion.
11571         * sysdeps/sparc/bits/hwcap.h: Likewise.
11572         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11573         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11574         * sysdeps/sparc/sysdep.h: Likewise.
11575
11576 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11577
11578         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11579
11580 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11581
11582         * benchtests/bench-strrchr.c: Print length instead of position.
11583
11584 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
11585
11586         [BZ #16611]
11587         * sysdeps/unix/sysv/linux/kernel-features.h
11588         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11589         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11590         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11591         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11592         Likewise.
11593         [__i386__ || __powerpc__ || __sh__ || __sparc__]
11594         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11595         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11596         (__ASSUME_SENDMMSG): Define instead of using previous
11597         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11598         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11599         (__ASSUME_SENDMMSG_SYSCALL): Define.
11600         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11601         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11602         Likewise.
11603         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11604         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11605         Likewise.
11606         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11607         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11608         Likewise.
11609         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11610         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11611         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11612         [__ASSUME_SENDMMSG]: Change conditionals to
11613         [__ASSUME_SENDMMSG_SOCKETCALL].
11614         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11615         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11616         Define.
11617         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11618         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11619         Likewise.
11620         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11621         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11622         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11623         [!__ASSUME_SENDMMSG]: Change conditional to
11624         [!__ASSUME_SENDMMSG_SOCKETCALL].
11625         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11626         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11627         Define.
11628
11629         [BZ #16610]
11630         * sysdeps/unix/sysv/linux/kernel-features.h
11631         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11632         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11633         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11634         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11635         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11636         [__i386__ || __sparc__]
11637         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11638         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11639         (__ASSUME_RECVMMSG): Define instead of using previous
11640         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11641         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11642         (__ASSUME_RECVMMSG_SYSCALL): Define.
11643         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11644         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11645         Likewise.
11646         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11647         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11648         Likewise.
11649         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11650         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11651         Likewise.
11652         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11653         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11654         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11655         [__ASSUME_RECVMMSG]: Change condition to
11656         [__ASSUME_RECVMMSG_SOCKETCALL].
11657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11658         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11659         Define.
11660         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11661         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11662         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11663         Likewise.
11664         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11665         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11666         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11667         [!__ASSUME_RECVMMSG]: Change condition to
11668         [!__ASSUME_RECVMMSG_SOCKETCALL].
11669         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11670         (__ASSUME_RECVMMSG_SYSCALL): Define.
11671
11672         [BZ #16609]
11673         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11674         __powerpc__ || __s390__ || __sh__ || __sparc__]
11675         (__ASSUME_SOCKETCALL): Define.
11676         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11677         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11678         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11679         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11680         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11681         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11682         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11683         (__ASSUME_ACCEPT4): Define instead of using previous
11684         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11685         __powerpc__ || __sparc__ || __s390__)] condition.
11686         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11687         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11688         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11689         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11690         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11691         [!__ASSUME_ACCEPT4]: Change condition to
11692         [!__ASSUME_ACCEPT4_SOCKETCALL].
11693         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11694         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
11695         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11696         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11697         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11698         __ASSUME_ACCEPT4_SYSCALL.
11699         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11700         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11701         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11702         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11703         __ASSUME_ACCEPT4_SYSCALL.
11704         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11705         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11706         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11707         [__ASSUME_ACCEPT4]: Change condition to
11708         [__ASSUME_ACCEPT4_SOCKETCALL].
11709         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11710         (__ASSUME_SOCKETCALL): Define.
11711         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11712         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11713         (__ASSUME_SOCKETCALL): Define.
11714         (__ASSUME_ACCEPT4): Remove.
11715         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11716         Define.
11717         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11718         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11719         Likewise.
11720         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11721         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11722
11723         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11724         macro.
11725         (HWCAP_ARM_LPAE): Likewise.
11726         (HWCAP_ARM_EVTSTRM): Likewise.
11727         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11728         Add vpfd32, lpae and evtstrm.
11729         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11730         Increase to 22.
11731
11732 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
11733
11734         * math/auto-libm-test-in: Add tests of clog10.
11735         * math/auto-libm-test-out: Regenerated.
11736         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11737         * sysdeps/i386/fpu/libm-test-ulps: Update.
11738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11739
11740 2014-02-18  Andreas Schwab  <schwab@suse.de>
11741
11742         [BZ #16574]
11743         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11744         Store non-zero if the second buffer was newly allocated.
11745         (send_dg): Likewise.
11746         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11747         to send_vc and send_dg.
11748         (res_nsend): Pass NULL for ansp2_malloced.
11749         * resolv/res_query.c (__libc_res_nquery): Add parameter
11750         answerp2_malloced and pass it down to __libc_res_nsend.
11751         (res_nquery): Pass additional NULL to __libc_res_nquery.
11752         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11753         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
11754         second answer buffer if answerp2_malloced was set.
11755         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11756         (__libc_res_nquerydomain): Add parameter
11757         answerp2_malloced and pass it down to __libc_res_nquery.
11758         (res_nquerydomain): Pass additional NULL to
11759         __libc_res_nquerydomain.
11760         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11761         additional NULL to __libc_res_nsend and __libc_res_nquery.
11762         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11763         additional NULL to __libc_res_nsearch.
11764         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
11765         parameter of __libc_res_nsearch to check for separately allocated
11766         second buffer.
11767         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11768         __libc_res_nquery.
11769         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11770         additional NULL to __libc_res_nquery.
11771         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11772         __libc_res_nsearch.
11773         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11774         * include/resolv.h: Update prototypes of __libc_res_nquery,
11775         __libc_res_nsearch, __libc_res_nsend.
11776
11777 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
11778
11779         * math/auto-libm-test-in: Add tests of fma.
11780         * math/auto-libm-test-out: Regenerated.
11781         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11782         (fma_towardzero_test_data): Likewise.
11783         (fma_downward_test_data): Likewise.
11784         (fma_upward_test_data): Likewise.
11785         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11786         mpc_mode.
11787         (rounding_modes): Add values for new field.
11788         (func_calc_method): Add value mpfr_fff_f.
11789         (func_calc_desc): Add mpfr_fff_f union field.
11790         (test_function): Add field exact_args.
11791         (FUNC): Add macro argument EXACT_ARGS.
11792         (FUNC_mpfr_f_f): Update call to FUNC.
11793         (FUNC_mpfr_f_f): Likewise.
11794         (FUNC_mpfr_ff_f): Likewise.
11795         (FUNC_mpfr_if_f): Likewise.
11796         (FUNC_mpc_c_f): Likewise.
11797         (FUNC_mpc_c_c): Likewise.
11798         (test_functions): Add fma.  Update calls to FUNC.
11799         (handle_input_arg): Add argument exact_args.
11800         (add_test): Update call to handle_input_arg.
11801         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
11802         (output_for_one_input_case): Update call to calc_generic_results.
11803         Recalculate exact zero results in each rounding mode.
11804
11805         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11806         non-negative before setting low bit.
11807         * math/auto-libm-test-in: Mark one asin test possibly having
11808         spurious underflow.
11809         * math/auto-libm-test-out: Regenerated.
11810         * sysdeps/i386/fpu/libm-test-ulps: Update.
11811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11812
11813 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
11814
11815         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11816         * sysdeps/unix/sysv/linux/microblaze: Move directory from
11817         ports/sysdeps/unix/sysv/linux/microblaze.
11818         * README: Add missing listing for microblaze*-*-linux-gnu.
11819
11820 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
11821
11822         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11823         duplicate code
11824
11825 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
11826
11827         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11828         * sysdeps/unix/sysv/linux/ia64: Move directory from
11829         ports/sysdeps/unix/sysv/linux/ia64.
11830         * README: Update listing for ia64-*-linux-gnu.
11831
11832 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
11833             Joseph Myers  <joseph@codesourcery.com>
11834
11835         * Makeconfig (test-name): New variable.
11836         (evaluate-test): Likewise.
11837         * Makerules (do-test-clean): Remove .test-result files.
11838         (common-mostlyclean): Likewise.
11839         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11840         * scripts/evaluate-test.sh: New file.
11841
11842 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
11843
11844         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11845         separate $(objpfx)tst-fopenloc-cmp.out and
11846         $(objpfx)tst-fopenloc-mem.out targets.
11847         (tests): Update dependencies.
11848         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11849         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11850         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11851         (tst-rxspencer-no-utf8-ARGS): New variable.
11852         (tst-rxspencer-no-utf8-ENV): Likewise.
11853         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11854         instead of $(objpfx)tst-rxspencer-mem.
11855         ($(objpfx)tst-rxspencer-mem): Change target to
11856         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
11857         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11858         * posix/tst-rxspencer-no-utf8.c: New file.
11859
11860         * elf/Makefile ($(objpfx)order.out): Remove rule.
11861         [$(run-built-tests) = yes] (tests): Depend on
11862         $(objpfx)order-cmp.out.
11863         ($(objpfx)order-cmp.out): New rule.
11864         [$(run-built-tests) = yes] (tests): Depend on
11865         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11866         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11867         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11868         $(objpfx)tst-array5-static-cmp.out.
11869         ($(objpfx)tst-array1.out): Remove rule.
11870         ($(objpfx)tst-array1-cmp.out): New rule.
11871         ($(objpfx)tst-array1-static.out): Remove rule.
11872         ($(objpfx)tst-array1-static-cmp.out): New rule.
11873         ($(objpfx)tst-array2.out): Remove rule.
11874         ($(objpfx)tst-array2-cmp.out): New rule.
11875         ($(objpfx)tst-array3.out): Remove rule.
11876         ($(objpfx)tst-array3-cmp.out): New rule.
11877         ($(objpfx)tst-array4.out): Remove rule.
11878         ($(objpfx)tst-array4-cmp.out): New rule.
11879         ($(objpfx)tst-array5.out): Remove rule.
11880         ($(objpfx)tst-array5-cmp.out): New rule.
11881         ($(objpfx)tst-array5-static.out): Remove rule.
11882         ($(objpfx)tst-array5-static-cmp.out): New rule.
11883         [$(run-built-tests) = yes] (tests): Depend on
11884         $(objpfx)order2-cmp.out.
11885         ($(objpfx)order2.out): Remove rule.
11886         ($(objpfx)order2-cmp.out): New rule.
11887         ($(objpfx)tst-initorder.out): Remove rule.
11888         [$(run-built-tests) = yes] (tests): Depend on
11889         $(objpfx)tst-initorder-cmp.out.
11890         ($(objpfx)tst-initorder-cmp.out): New rule.
11891         ($(objpfx)tst-initorder2.out): Remove rule.
11892         [$(run-built-tests) = yes] (tests): Depend on
11893         $(objpfx)tst-initorder2-cmp.out.
11894         ($(objpfx)tst-initorder2-cmp.out): New rule.
11895         [$(run-built-tests) = yes] (tests): Depend on
11896         $(objpfx)tst-unused-dep-cmp.out.
11897         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11898         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11899         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11900         on $(objpfx)tst-setvbuf1-cmp.out.
11901         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11902         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11903         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11904         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11905         ($(objpfx)tst-svc.out): Remove rule.
11906         ($(objpfx)tst-svc-cmp.out): New rule.
11907
11908 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11909
11910         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11911         * ctype/ctype.h [__USE_MISC]: Likewise.
11912         * dirent/dirent.h [__USE_MISC]: Likewise.
11913         * grp/grp.h [__USE_MISC]: Likewise.
11914         * io/fcntl.h [__USE_MISC]: Likewise.
11915         * io/sys/stat.h [__USE_MISC]: Likewise.
11916         * libio/stdio.h [__USE_MISC]: Likewise.
11917         * posix/unistd.h [__USE_MISC]: Likewise.
11918         * pwd/pwd.h [__USE_MISC]: Likewise.
11919         * stdlib.h [__USE_MISC]: Likewise.
11920         * string/bits/string2.h [__USE_MISC]: Likewise.
11921         * string/string.h [__USE_MISC]: Likewise.
11922         * time/time.h [__USE_MISC]: Likewise.
11923
11924 2014-02-13  Andreas Schwab  <schwab@suse.de>
11925
11926         [BZ #16574]
11927         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11928         second answer buffer if it was separately allocated.
11929
11930 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11931
11932         * sysdeps/mips/math-tests.h: Include <features.h>.
11933         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11934         (ROUNDING_TESTS_long_double): Do not define.
11935         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11936         (EXCEPTION_TESTS_long_double): Likewise.
11937         * sysdeps/mips/mips64/libm-test-ulps: Update.
11938
11939         * include/features.h (__USE_BSD): Remove macro definitions.
11940         (__USE_SVID): Likewise.
11941         (_BSD_SOURCE): Likewise.
11942         (_SVID_SOURCE): Likewise.
11943         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11944         from definition of _DEFAULT_SOURCE.
11945         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11946         [_DEFAULT_SOURCE].
11947         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11948         * bits/mman.h [__USE_BSD]: Likewise.
11949         * bits/termios.h [__USE_BSD]: Likewise.
11950         * bits/waitstatus.h [__USE_BSD]: Likewise.
11951         * ctype/ctype.h [__USE_SVID]: Likewise.
11952         * dirent/dirent.h [__USE_BSD]: Likewise.
11953         * grp/grp.h [__USE_SVID]: Likewise.
11954         [__USE_BSD]: Likewise.
11955         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11956         * io/fcntl.h [__USE_BSD]: Likewise.
11957         * io/ftw.h [__USE_BSD]: Likewise.
11958         * io/sys/stat.h [__USE_BSD]: Likewise.
11959         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11960         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11961         * libio/stdio.h [__USE_SVID]: Likewise.
11962         [__USE_BSD]: Likewise.
11963         * math/math.h [__USE_SVID]: Likewise.
11964         [__USE_BSD]: Likewise.
11965         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11966         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11967         * misc/search.h [__USE_SVID]: Likewise.
11968         * misc/sys/mman.h [__USE_BSD]: Likewise.
11969         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11970         * misc/sys/uio.h [__USE_BSD]: Likewise.
11971         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11972         * posix/glob.h [__USE_BSD]: Likewise.
11973         * posix/regex.h [__USE_BSD]: Likewise.
11974         * posix/sys/types.h [__USE_BSD]: Likewise.
11975         [__USE_SVID]: Likewise.
11976         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11977         * posix/sys/wait.h [__USE_BSD]: Likewise.
11978         [__USE_SVID]: Likewise.
11979         * posix/unistd.h [__USE_BSD]: Likewise.
11980         [__USE_SVID]: Likewise.
11981         * pwd/pwd.h [__USE_SVID]: Likewise.
11982         * resolv/netdb.h [__USE_BSD]: Likewise.
11983         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11984         * signal/signal.h [__USE_BSD]: Likewise.
11985         [__USE_SVID]: Likewise.
11986         * socket/sys/socket.h [__USE_BSD]: Likewise.
11987         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11988         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11989         [__USE_SVID]: Likewise.
11990         * string/bits/string2.h [__USE_BSD]: Likewise.
11991         [__USE_SVID]: Likewise.
11992         * string/bits/string3.h [__USE_BSD]: Likewise.
11993         * string/endian.h [__USE_BSD]: Likewise.
11994         * string/string.h [__USE_SVID]: Likewise.
11995         [__USE_BSD]: Likewise.
11996         * string/strings.h [__USE_BSD]: Likewise.
11997         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11998         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11999         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12000         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12001         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12002         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12003         Likewise.
12004         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12005         Likewise.
12006         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12007         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12008         Likewise.
12009         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12010         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12011         Likewise.
12012         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12013         Likewise.
12014         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12015         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12016         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12017         Likewise.
12018         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12019         Likewise.
12020         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12021         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12022         * termios/termios.h [__USE_BSD]: Likewise.
12023         * time/sys/time.h [__USE_BSD]: Likewise.
12024         * time/time.h [__USE_BSD]: Likewise.
12025         [__USE_SVID]: Likewise.
12026
12027         * Makefile (subdir_targets): Remove subdir_lint.out.
12028
12029         * stdio-common/Makefile (do-tst-unbputc): Remove target.
12030         (do-tst-printf): Likewise.
12031         (tests): Depend directly on $(objpfx)tst-unbputc.out and
12032         $(objpfx)tst-printf.out.
12033
12034         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12035
12036         * Makerules (check-abi-%): Change target to
12037         $(objpfx)check-abi-%.out.
12038         (check-abi target): Update dependencies.
12039         (check-abi-pattern variable): Redirect output of diff to $@.
12040         (check-abi variable): Likewise.
12041         * elf/Makefile (check-abi): Update dependencies.
12042
12043         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12044         unused.
12045         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12046         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12047         subnormal range.
12048         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12049         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12050         value has largest subnormal exponent.
12051         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12052         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12053         * sysdeps/aarch64/soft-fp/sfp-machine.h
12054         (_FP_TININESS_AFTER_ROUNDING): New macro.
12055         * sysdeps/alpha/soft-fp/sfp-machine.h
12056         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12057         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12058         Likewise.
12059         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12060         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12061         * sysdeps/mips/soft-fp/sfp-machine.h
12062         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12063         * sysdeps/powerpc/soft-fp/sfp-machine.h
12064         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12065         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12066         Likewise.
12067         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12068         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12069         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12070         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12071         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12072         Likewise.
12073
12074 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
12075
12076         [BZ #16545]
12077         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12078         model 1.
12079
12080 2014-02-12  Richard Henderson  <rth@redhat.com>
12081
12082         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12083         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12084         * sysdeps/unix/sysv/linux/alpha: Move directory from
12085         ports/sysdeps/unix/sysv/linux/alpha.
12086         * README: Update listing for alpha-*-linux-gnu.
12087
12088 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
12089
12090         * include/features.h: Update comment documenting feature test
12091         macros.
12092         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
12093         _DEFAULT_SOURCE.
12094         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12095         (_SVID_SOURCE): Likewise.
12096         (_DEFAULT_SOURCE): Update description of default features.
12097         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12098         with _GNU_SOURCE.
12099         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12100         (S_ISVTX): Likewise.
12101         * manual/math.texi (Mathematical Constants): Likewise.
12102         * manual/signal.texi (Interrupted Primitives): Likewise.
12103         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12104         * math/test-matherr.c (_SVID_SOURCE): Do not define.
12105         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12106         Don't refer to _SVID_SOURCE in warning text.
12107
12108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12109
12110         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12111         already defined.
12112         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12113         * sysdeps/mips/dl-lookup.c: Remove.
12114         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12115
12116 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12117
12118         [BZ #16447]
12119         * math/auto-libm-test-in: Add testcase for expl.
12120         * math/auto-libm-test-out: Regenerate.
12121         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12122         calculation of unsafe.
12123         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12124
12125 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12126
12127         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12128         * sysdeps/unix/sysv/linux/aarch64: Move directory from
12129         ports/sysdeps/unix/sysv/linux/aarch64.
12130         * README: Update listing for aarch64*-*-linux-gnu.
12131
12132 2014-02-11  Will Newton  <will.newton@linaro.org>
12133
12134         * manual/probes.texi (Mathematical Function Probes): Use
12135         "triggered" instead of "hit".
12136
12137         * manual/probes.texi (Internal Probes): Add documentation
12138         of setjmp, longjmp and longjmp_target probes.
12139
12140         * include/stap-probe.h: Add comment about probe argument
12141         format.
12142
12143         * malloc/mtrace.c (attribute_hidden): Remove unused macro
12144         definition.  (tr_where, tr_freehook, tr_mallochook,
12145         tr_reallochook, tr_memalignhook): Use ANSI protoype.
12146
12147 2014-02-11  David S. Miller  <davem@davemloft.net>
12148
12149         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12150         processing int_tests.
12151
12152 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
12153
12154         * sysdeps/mips: Move directory from ports/sysdeps/mips.
12155         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12156         * sysdeps/unix/sysv/linux/mips: Move directory from
12157         ports/sysdeps/unix/sysv/linux/mips.
12158         * README: Update listing for mips-*-linux-gnu and
12159         mips64-*-linux-gnu.
12160
12161 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
12162
12163         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12164         * sysdeps/unix/sysv/linux/m68k: Move directory from
12165         ports/sysdeps/unix/sysv/linux/m68k.
12166         * README: Update listing for m68k-*-linux-gnu.
12167
12168 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
12169
12170         * sysdeps/tile: Move directory from ports/sysdeps/tile.
12171         * sysdeps/unix/sysv/linux/generic: Move directory from
12172         ports/sysdeps/unix/sysv/linux/generic.
12173         * sysdeps/unix/sysv/linux/tile: Move directory from
12174         ports/sysdeps/unix/sysv/linux/tile.
12175         * README: Update listing for tile*-*-linux-gnu.
12176
12177 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
12178
12179         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12180         __builtin_expect.
12181         * benchtests/bench-memmem.c (simple_memmem): Likewise.
12182         * catgets/open_catalog.c (__open_catalog): Likewise.
12183         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12184         * debug/confstr_chk.c: Likewise.
12185         * debug/fread_chk.c (__fread_chk): Likewise.
12186         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12187         * debug/getgroups_chk.c: Likewise.
12188         * debug/mbsnrtowcs_chk.c: Likewise.
12189         * debug/mbsrtowcs_chk.c: Likewise.
12190         * debug/mbstowcs_chk.c: Likewise.
12191         * debug/memcpy_chk.c: Likewise.
12192         * debug/memmove_chk.c: Likewise.
12193         * debug/mempcpy_chk.c: Likewise.
12194         * debug/memset_chk.c: Likewise.
12195         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12196         * debug/strcat_chk.c (__strcat_chk): Likewise.
12197         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12198         * debug/strncat_chk.c (__strncat_chk): Likewise.
12199         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12200         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12201         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12202         * debug/wcpncpy_chk.c: Likewise.
12203         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12204         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12205         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12206         * debug/wcsncpy_chk.c: Likewise.
12207         * debug/wcsnrtombs_chk.c: Likewise.
12208         * debug/wcsrtombs_chk.c: Likewise.
12209         * debug/wcstombs_chk.c: Likewise.
12210         * debug/wmemcpy_chk.c: Likewise.
12211         * debug/wmemmove_chk.c: Likewise.
12212         * debug/wmempcpy_chk.c: Likewise.
12213         * debug/wmemset_chk.c: Likewise.
12214         * dirent/scandirat.c (SCANDIRAT): Likewise.
12215         * dlfcn/dladdr1.c (dladdr1): Likewise.
12216         * dlfcn/dladdr.c (dladdr): Likewise.
12217         * dlfcn/dlclose.c (dlclose_doit): Likewise.
12218         * dlfcn/dlerror.c (__dlerror): Likewise.
12219         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12220         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12221         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12222         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12223         * dlfcn/dlsym.c (dlsym_doit): Likewise.
12224         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12225         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12226         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12227         Likewise.
12228         * elf/dl-conflict.c: Likewise.
12229         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12230         * elf/dl-dst.h: Likewise.
12231         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12232         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12233         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12234         * elf/dl-init.c (call_init, _dl_init): Likewise.
12235         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12236         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12237         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12238         Likewise.
12239         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12240         Likewise.
12241         * elf/dl-minimal.c (__libc_memalign): Likewise.
12242         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12243         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12244         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12245         * elf/dl-sym.c (do_sym): Likewise.
12246         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12247         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12248         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12249         * elf/dl-writev.h (_dl_writev): Likewise.
12250         * elf/ldconfig.c (search_dir): Likewise.
12251         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12252         (dl_main): Likewise.
12253         * elf/setup-vdso.h (setup_vdso): Likewise.
12254         * grp/compat-initgroups.c (compat_call): Likewise.
12255         * grp/fgetgrent.c (fgetgrent): Likewise.
12256         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12257         * grp/putgrent.c (putgrent): Likewise.
12258         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12259         Likewise.
12260         * hurd/hurdinit.c: Likewise.
12261         * iconvdata/8bit-gap.c (struct): Likewise.
12262         * iconvdata/ansi_x3.110.c : Likewise.
12263         * iconvdata/big5.c : Likewise.
12264         * iconvdata/big5hkscs.c : Likewise.
12265         * iconvdata/cp1255.c: Likewise.
12266         * iconvdata/cp1258.c : Likewise.
12267         * iconvdata/cp932.c : Likewise.
12268         * iconvdata/euc-cn.c: Likewise.
12269         * iconvdata/euc-jisx0213.c : Likewise.
12270         * iconvdata/euc-jp.c: Likewise.
12271         * iconvdata/euc-jp-ms.c : Likewise.
12272         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12273         * iconvdata/gb18030.c : Likewise.
12274         * iconvdata/gbbig5.c (const): Likewise.
12275         * iconvdata/gbgbk.c: Likewise.
12276         * iconvdata/gbk.c : Likewise.
12277         * iconvdata/ibm1364.c : Likewise.
12278         * iconvdata/ibm930.c : Likewise.
12279         * iconvdata/ibm932.c: Likewise.
12280         * iconvdata/ibm933.c : Likewise.
12281         * iconvdata/ibm935.c : Likewise.
12282         * iconvdata/ibm937.c : Likewise.
12283         * iconvdata/ibm939.c : Likewise.
12284         * iconvdata/ibm943.c: Likewise.
12285         * iconvdata/iso_11548-1.c: Likewise.
12286         * iconvdata/iso-2022-cn.c : Likewise.
12287         * iconvdata/iso-2022-cn-ext.c : Likewise.
12288         * iconvdata/iso-2022-jp-3.c: Likewise.
12289         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12290         * iconvdata/iso-2022-kr.c : Likewise.
12291         * iconvdata/iso646.c (gconv_end): Likewise.
12292         * iconvdata/iso_6937-2.c : Likewise.
12293         * iconvdata/iso_6937.c : Likewise.
12294         * iconvdata/iso8859-1.c: Likewise.
12295         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12296         * iconvdata/shift_jisx0213.c : Likewise.
12297         * iconvdata/sjis.c : Likewise.
12298         * iconvdata/t.61.c : Likewise.
12299         * iconvdata/tcvn5712-1.c : Likewise.
12300         * iconvdata/tscii.c: Likewise.
12301         * iconvdata/uhc.c : Likewise.
12302         * iconvdata/unicode.c (gconv_end): Likewise.
12303         * iconvdata/utf-16.c (gconv_end): Likewise.
12304         * iconvdata/utf-32.c (gconv_end): Likewise.
12305         * iconvdata/utf-7.c (base64): Likewise.
12306         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12307         * iconv/gconv_close.c (__gconv_close): Likewise.
12308         * iconv/gconv_open.c (__gconv_open): Likewise.
12309         * iconv/gconv_simple.c (internal_ucs4_loop_single)
12310         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12311         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12312         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12313         (ucs4le_internal_loop_single): Likewise.
12314         * iconv/iconv.c (iconv): Likewise.
12315         * iconv/iconv_close.c: Likewise.
12316         * iconv/loop.c (SINGLE): Likewise.
12317         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12318         * include/atomic.h: Likewise.
12319         * inet/inet6_option.c (option_alloc): Likewise.
12320         * intl/bindtextdom.c (set_binding_values): Likewise.
12321         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12322         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12323         * intl/localealias.c (read_alias_file): Likewise.
12324         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12325         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12326         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12327         * libio/fmemopen.c (fmemopen): Likewise.
12328         * libio/iofgets.c (_IO_fgets): Likewise.
12329         * libio/iofgets_u.c (fgets_unlocked): Likewise.
12330         * libio/iofgetws.c (fgetws): Likewise.
12331         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12332         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12333         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12334         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12335         * locale/findlocale.c (_nl_find_locale): Likewise.
12336         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12337         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12338         Likewise.
12339         * locale/setlocale.c (setlocale): Likewise.
12340         * login/programs/pt_chown.c (main): Likewise.
12341         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12342         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12343         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12344         (mmap, mmap64, mremap, munmap): Likewise.
12345         * math/e_exp2l.c: Likewise.
12346         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12347         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12348         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12349         * math/s_catan.c (__catan): Likewise.
12350         * math/s_catanf.c (__catanf): Likewise.
12351         * math/s_catanh.c (__catanh): Likewise.
12352         * math/s_catanhf.c (__catanhf): Likewise.
12353         * math/s_catanhl.c (__catanhl): Likewise.
12354         * math/s_catanl.c (__catanl): Likewise.
12355         * math/s_ccosh.c (__ccosh): Likewise.
12356         * math/s_ccoshf.c (__ccoshf): Likewise.
12357         * math/s_ccoshl.c (__ccoshl): Likewise.
12358         * math/s_cexp.c (__cexp): Likewise.
12359         * math/s_cexpf.c (__cexpf): Likewise.
12360         * math/s_cexpl.c (__cexpl): Likewise.
12361         * math/s_clog10.c (__clog10): Likewise.
12362         * math/s_clog10f.c (__clog10f): Likewise.
12363         * math/s_clog10l.c (__clog10l): Likewise.
12364         * math/s_clog.c (__clog): Likewise.
12365         * math/s_clogf.c (__clogf): Likewise.
12366         * math/s_clogl.c (__clogl): Likewise.
12367         * math/s_csin.c (__csin): Likewise.
12368         * math/s_csinf.c (__csinf): Likewise.
12369         * math/s_csinh.c (__csinh): Likewise.
12370         * math/s_csinhf.c (__csinhf): Likewise.
12371         * math/s_csinhl.c (__csinhl): Likewise.
12372         * math/s_csinl.c (__csinl): Likewise.
12373         * math/s_csqrt.c (__csqrt): Likewise.
12374         * math/s_csqrtf.c (__csqrtf): Likewise.
12375         * math/s_csqrtl.c (__csqrtl): Likewise.
12376         * math/s_ctan.c (__ctan): Likewise.
12377         * math/s_ctanf.c (__ctanf): Likewise.
12378         * math/s_ctanh.c (__ctanh): Likewise.
12379         * math/s_ctanhf.c (__ctanhf): Likewise.
12380         * math/s_ctanhl.c (__ctanhl): Likewise.
12381         * math/s_ctanl.c (__ctanl): Likewise.
12382         * math/w_pow.c: Likewise.
12383         * math/w_powf.c: Likewise.
12384         * math/w_powl.c: Likewise.
12385         * math/w_scalb.c (sysv_scalb): Likewise.
12386         * math/w_scalbf.c (sysv_scalbf): Likewise.
12387         * math/w_scalbl.c (sysv_scalbl): Likewise.
12388         * misc/error.c (error_tail): Likewise.
12389         * misc/pselect.c (__pselect): Likewise.
12390         * nis/nis_callback.c (__nis_create_callback): Likewise.
12391         * nis/nis_call.c (__nisfind_server): Likewise.
12392         * nis/nis_creategroup.c (nis_creategroup): Likewise.
12393         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12394         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12395         * nis/nis_getservlist.c (nis_getservlist): Likewise.
12396         * nis/nis_lookup.c (nis_lookup): Likewise.
12397         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12398         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12399         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12400         * nis/nis_xdr.c (xdr_endpoint): Likewise.
12401         * nis/nss_compat/compat-grp.c (getgrent_next_file)
12402         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12403         * nis/nss_compat/compat-initgroups.c (add_group)
12404         (internal_getgrent_r): Likewise.
12405         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12406         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12407         * nis/nss_compat/compat-spwd.c (getspent_next_file)
12408         (internal_getspnam_r): Likewise.
12409         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12410         (_nss_nis_getaliasbyname_r): Likewise.
12411         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12412         (_nss_nis_getntohost_r): Likewise.
12413         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12414         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12415         (_nss_nis_getgrgid_r): Likewise.
12416         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12417         (internal_nis_gethostent_r, internal_gethostbyname2_r)
12418         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12419         (_nss_nis_gethostbyname4_r): Likewise.
12420         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12421         (initgroups_netid): Likewise.
12422         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12423         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12424         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12425         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12426         (_nss_nis_getprotobynumber_r): Likewise.
12427         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12428         (_nss_nis_getsecretkey): Likewise.
12429         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12430         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12431         (_nss_nis_getpwuid_r): Likewise.
12432         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12433         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12434         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12435         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12436         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12437         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12438         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12439         Likewise.
12440         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12441         (_nss_nisplus_getntohost_r): Likewise.
12442         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12443         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12444         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12445         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12446         Likewise.
12447         * nis/nss_nisplus/nisplus-initgroups.c
12448         (_nss_nisplus_initgroups_dyn): Likewise.
12449         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12450         (_nss_nisplus_getnetbyaddr_r): Likewise.
12451         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12452         (_nss_nisplus_getprotobynumber_r): Likewise.
12453         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12454         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12455         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12456         Likewise.
12457         * nis/nss_nisplus/nisplus-service.c
12458         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12459         (_nss_nisplus_getservbyport_r): Likewise.
12460         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12461         (_nss_nisplus_getspnam_r): Likewise.
12462         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12463         Likewise.
12464         * nscd/aicache.c (addhstaiX): Likewise.
12465         * nscd/cache.c (cache_search, prune_cache): Likewise.
12466         * nscd/connections.c (register_traced_file, send_ro_fd)
12467         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12468         (main_loop_epoll): Likewise.
12469         * nscd/grpcache.c (addgrbyX): Likewise.
12470         * nscd/hstcache.c (addhstbyX): Likewise.
12471         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12472         * nscd/mem.c (gc, mempool_alloc): Likewise.
12473         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12474         (addinnetgrX): Likewise.
12475         * nscd/nscd-client.h (__nscd_acquire_maplock)
12476         (__nscd_drop_map_ref): Likewise.
12477         * nscd/nscd_getai.c (__nscd_getai): Likewise.
12478         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12479         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12480         Likewise.
12481         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12482         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12483         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12484         (__nscd_get_map_ref): Likewise.
12485         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12486         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12487         Likewise.
12488         * nscd/pwdcache.c (addpwbyX): Likewise.
12489         * nscd/selinux.c (preserve_capabilities): Likewise.
12490         * nscd/servicescache.c (addservbyX): Likewise.
12491         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12492         * posix/fnmatch.c (fnmatch): Likewise.
12493         * posix/getopt.c (_getopt_internal_r): Likewise.
12494         * posix/glob.c (glob, glob_in_dir): Likewise.
12495         * posix/wordexp.c (exec_comm_child): Likewise.
12496         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12497         (getanswer_r, gaih_getanswer_slice): Likewise.
12498         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12499         * resolv/res_init.c: Likewise.
12500         * resolv/res_mkquery.c (res_nmkquery): Likewise.
12501         * resolv/res_query.c (__libc_res_nquery): Likewise.
12502         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12503         Likewise.
12504         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12505         * stdio-common/perror.c (perror): Likewise.
12506         * stdio-common/printf_fp.c (___printf_fp): Likewise.
12507         * stdio-common/tmpnam.c (tmpnam): Likewise.
12508         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12509         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12510         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12511         Likewise.
12512         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12513         * stdlib/putenv.c (putenv): Likewise.
12514         * stdlib/setenv.c (__add_to_environ): Likewise.
12515         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12516         * stdlib/strtol_l.c (INTERNAL): Likewise.
12517         * string/memmem.c (memmem): Likewise.
12518         * string/strerror.c (strerror): Likewise.
12519         * string/strnlen.c (__strnlen): Likewise.
12520         * string/test-memmem.c (simple_memmem): Likewise.
12521         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12522         * sunrpc/pm_getport.c (__get_socket): Likewise.
12523         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12524         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12525         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12526         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12527         Likewise.
12528         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12529         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12530         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12531         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12532         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12533         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12534         Likewise.
12535         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12536         Likewise.
12537         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12538         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12539         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12540         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12541         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12542         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12543         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12544         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12545         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12546         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12547         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12548         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12549         Likewise.
12550         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12551         Likewise.
12552         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12553         Likewise.
12554         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12555         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12556         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12557         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12558         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12559         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12560         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12561         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12562         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12563         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12564         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12565         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12566         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12567         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12568         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12569         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12570         Likewise.
12571         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12572         Likewise.
12573         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12574         Likewise.
12575         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12576         Likewise.
12577         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12578         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12579         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12580         Likewise.
12581         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12582         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12583         * sysdeps/posix/opendir.c (__opendirat): Likewise.
12584         * sysdeps/posix/sleep.c: Likewise.
12585         * sysdeps/posix/tempname.c: Likewise.
12586         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12587         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12588         Likewise.
12589         * sysdeps/powerpc/powerpc32/dl-machine.h
12590         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12591         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12592         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12593         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12594         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12595         Likewise.
12596         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
12597         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12598         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12599         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12600         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12601         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12602         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12603         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12604         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12605         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
12606         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12607         (elf_machine_lazy_rel): Likewise.
12608         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12609         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12610         (elf_machine_lazy_rel): Likewise.
12611         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12612         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12613         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12614         * sysdeps/unix/grantpt.c (grantpt): Likewise.
12615         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12616         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12617         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12618         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12619         Likewise.
12620         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12621         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12622         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12623         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12624         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12625         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12626         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12627         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12628         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12629         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12630         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12631         Likewise.
12632         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12633         (__posix_fallocate64_l64): Likewise.
12634         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12635         (posix_fallocate): Likewise.
12636         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12637         Likewise.
12638         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12639         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12640         (getifaddrs_internal): Likewise.
12641         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12642         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12643         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12644         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12645         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12646         (__posix_fallocate64_l64): Likewise.
12647         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12648         Likewise.
12649         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
12650         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12651         (__get_clockfreq): Likewise.
12652         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12653         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12654         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12656         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12657         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12658         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12659         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12660         Likewise.
12661         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12662         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12663         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12664         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12665         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12666         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12667         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12668         Likewise.
12669         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12670         (posix_fallocate): Likewise.
12671         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12672         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12673         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
12674         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12675         (elf_machine_rela, elf_machine_rela_relative)
12676         (elf_machine_lazy_rel): Likewise.
12677         * time/asctime.c (asctime_internal): Likewise.
12678         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12679         * time/tzset.c (__tzset_parse_tz): Likewise.
12680         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12681         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12682         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12683         * wcsmbs/wcsmbsload.h: Likewise.
12684
12685         [BZ #15894]
12686         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12687
12688         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12689         (arena_get2): Remove THREAD_STATS conditionals.
12690         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12691         (__malloc_stats, int): Likewise.
12692
12693 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
12694
12695         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12696         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
12697
12698         * manual/setjmp.texi: Fix typos/grammar errors.
12699
12700         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12701         Only return early when n is <= 0.  Delete unused return statement.
12702
12703         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12704         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12705         * debug/tst-longjmp_chk3.c: New file.
12706
12707         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12708         (test_main): Replace code with set_fortify_handler call.
12709         * debug/test-strcpy_chk.c: Likewise.
12710         * debug/tst-chk1.c: Likewise.
12711         * debug/tst-longjmp_chk.c: Likewise.
12712         * test-skeleton.c: Include fcntl.h & paths.h
12713         (set_fortify_handler): Define.
12714
12715         * debug/tst-longjmp_chk.c: Add header comment and include
12716         ../test-skeleton.c.
12717         (do_test): Mark static.
12718         (TEST_FUNCTION): Define.
12719
12720         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12721         (IP_PMTUDISC_INTERFACE): Likewise.
12722         (IP_MULTICAST_IF): Likewise.
12723         (IP_MULTICAST_TTL): Likewise.
12724         (IP_MULTICAST_LOOP): Likewise.
12725         (IP_ADD_MEMBERSHIP): Likewise.
12726         (IP_DROP_MEMBERSHIP): Likewise.
12727         (IP_UNBLOCK_SOURCE): Likewise.
12728         (IP_BLOCK_SOURCE): Likewise.
12729         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12730         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12731         (IP_MSFILTER): Likewise.
12732         (MCAST_JOIN_GROUP): Likewise.
12733         (MCAST_BLOCK_SOURCE): Likewise.
12734         (MCAST_UNBLOCK_SOURCE): Likewise.
12735         (MCAST_LEAVE_GROUP): Likewise.
12736         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12737         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12738         (MCAST_MSFILTER): Likewise.
12739         (IP_MULTICAST_ALL): Likewise.
12740         (IP_UNICAST_IF): Likewise.
12741
12742         * timezone/Makefile: Delete $(have-ksh) check.
12743         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12744         * timezone/tzselect.ksh: Add +x mode bits.
12745
12746         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12747         (ANON_INODE_FS_MAGIC): Likewise.
12748         (BDEVFS_MAGIC): Likewise.
12749         (BINFMTFS_MAGIC): Likewise.
12750         (BTRFS_TEST_MAGIC): Likewise.
12751         (CRAMFS_MAGIC_WEND): Likewise.
12752         (DEBUGFS_MAGIC): Likewise.
12753         (ECRYPTFS_SUPER_MAGIC): Likewise.
12754         (EXT3_SUPER_MAGIC): Likewise.
12755         (EXT4_SUPER_MAGIC): Likewise.
12756         (FUTEXFS_SUPER_MAGIC): Likewise.
12757         (HOSTFS_SUPER_MAGIC): Likewise.
12758         (HUGETLBFS_MAGIC): Likewise.
12759         (MINIX3_SUPER_MAGIC): Likewise.
12760         (MTD_INODE_FS_MAGIC): Likewise.
12761         (NILFS_SUPER_MAGIC): Likewise.
12762         (OPENPROM_SUPER_MAGIC): Likewise.
12763         (PIPEFS_MAGIC): Likewise.
12764         (PSTOREFS_MAGIC): Likewise.
12765         (QNX6_SUPER_MAGIC): Likewise.
12766         (RAMFS_MAGIC): Likewise.
12767         (REISERFS_SUPER_MAGIC_STRING): Likewise.
12768         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12769         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12770         (SECURITYFS_MAGIC): Likewise.
12771         (SELINUX_MAGIC): Likewise.
12772         (SMACK_MAGIC): Likewise.
12773         (SOCKFS_MAGIC): Likewise.
12774         (SQUASHFS_MAGIC): Likewise.
12775         (STACK_END_MAGIC): Likewise.
12776         (TMPFS_MAGIC): Likewise.
12777         (USBDEVICE_SUPER_MAGIC): Likewise.
12778         (V9FS_MAGIC): Likewise.
12779         (XENFS_SUPER_MAGIC): Likewise.
12780         (CRAMFS_MAGIC): Fix typo in comment.
12781         (EXT2_SUPER_MAGIC): Update comment.
12782         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12783
12784 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
12785
12786         * sysdeps/arm: Move directory from ports/sysdeps/arm.
12787         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12788         * sysdeps/unix/sysv/linux/arm: Move directory from
12789         ports/sysdeps/unix/sysv/linux/arm.
12790         * README: Update listing for arm-*-linux-gnueabi.
12791
12792         * README: Remove mention of am33.
12793
12794 2014-02-07  Roland McGrath  <roland@hack.frob.com>
12795
12796         * bits/sigset.h (__sigemptyset): Use a statement expression rather
12797         than the comma operator, to avoid "rhs of comma has no effect"
12798         compiler warnings.
12799         (__sigfillset, __sigandset, __sigorset): Likewise.
12800         * include/signal.h (__sigemptyset): Likewise.
12801         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12802
12803 2014-02-07  Allan McRae  <allan@archlinux.org>
12804
12805         * version.h (RELEASE): Set to "development".
12806         (VERSION): Set to "2.19.90"
12807         * NEWS: Add 2.20 section.
12808
12809 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
12810
12811         [BZ #16529]
12812         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12813
12814 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12815
12816         * manual/contrib.texi: Update entry for Carlos O'Donell,
12817         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12818
12819 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
12820
12821         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12822
12823         * sysdeps/unix/sysv/linux/kernel-features.h
12824         [__LINUX_KERNEL_VERSION >= 0x020621]
12825         (__ASSUME_PROC_PID_TASK_COMM): Define.
12826
12827 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12828
12829         [BZ #16398]
12830         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12831         conversion when destination buffer does not have enough space.
12832         * libio/tst-ftell-partial-wide.c: New test case.
12833         * libio/Makefile (tests): Add tst-ftell-partial-wide.
12834
12835         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12836         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
12837         Leonard and Allan McRae.
12838
12839 2014-02-04  David S. Miller  <davem@davemloft.net>
12840
12841         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12842         32-bit.
12843
12844 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12845
12846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12847         New file
12848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12849         New file
12850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12851         New file.
12852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12853         New file.
12854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12855         New file.
12856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12857         New file.
12858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12859         New file.
12860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12861         New file.
12862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12863         New file.
12864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12865         New file.
12866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12867         New file.
12868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12869         New file.
12870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12871         New file.
12872
12873 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12874
12875         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12876         * shlib-versions: Likewise.
12877
12878 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12879             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12880
12881         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12882         (abilist-pattern): New variable, set to %-le.abilist.
12883
12884         * Makerules (abilist-pattern): New variable.
12885         (vpath): Use $(abilist-pattern) in place of %.abilist.
12886         (check-abi-% pattern rule): Likewise.
12887         (check-abi, update-abi): Likewise.
12888
12889 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12890
12891         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12892
12893 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12894
12895         * manual/startup.texi: Add next, previous, and top entries for
12896         the `Program Arguments' and `Environment Variables' nodes.
12897
12898 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12899
12900         * manual/macros.texi: Add comments before MTASC-safety macros.
12901
12902         * manual/users.texi: Document MTASC-safety properties.
12903
12904         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12905         (pthread_getspecific, pthread_setspecific): Format with
12906         @deftypefun, and add @safety note.
12907         * manual/signal.texi: Move comments that analyze the above
12908         functions to their home place.
12909
12910 2014-02-03  Allan McRae  <allan@archlinux.org>
12911
12912         * po/sl.po: Update Slovenian translation from translation project.
12913
12914 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12915
12916         * manual/time.texi (timegm): Add missing blank after @c.
12917         Reported by Joseph Myers <joseph@codesourcery.com>.
12918
12919 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12920
12921         * manual/check-safety.sh: New.
12922         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12923
12924         * manual/terminal.texi: Document MTASC-safety properties.
12925
12926         * manual/filesys.texi: Document MTASC-safety properties.
12927
12928         * manual/errno.texi: Document MTASC-safety properties.
12929
12930         * manual/intro.texi: Document safety identifiers and
12931         conditionals.
12932
12933         * manual/string.texi (wcstok): Fix prototype.
12934         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12935
12936         * manual/time.texi: Document MTASC-safety properties.
12937
12938         * manual/string.texi: Document MTASC-safety properties.
12939
12940         * manual/threads.texi: Document MTASC-safety properties.
12941
12942         * manual/stdio.texi: Document MTASC-safety properties.
12943
12944         * manual/syslog.texi: Document MTASC-safety properties.
12945
12946         * manual/sysinfo.texi: Document MTASC-safety properties.
12947
12948         * manual/startup.texi: Document MTASC-safety properties.
12949
12950         * manual/socket.texi: Document MTASC-safety properties.
12951
12952         * manual/signal.texi: Document MTASC-safety properties.
12953
12954 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12955
12956         * manual/setjmp.texi: Document MTASC-safety properties.
12957
12958         * manual/search.texi: Document MTASC-safety properties.
12959
12960         * manual/resource.texi: Document MTASC-safety properties.
12961
12962         * manual/process.texi: Document MTASC-safety properties.
12963
12964         * manual/platform.texi: Document MTASC-safety properties.
12965
12966         * manual/pipe.texi: Document MTASC-safety properties.
12967
12968         * manual/pattern.texi: Document MTASC-safety properties.
12969
12970         * manual/message.texi: Document MTASC-safety properties.
12971
12972         [BZ #12751]
12973         * manual/memory.texi: Document MTASC-safety properties.
12974
12975         * manual/math.texi: Document MTASC-safety properties.
12976
12977         * manual/locale.texi: Document MTASC-safety properties.
12978
12979         * manual/llio.texi: Document MTASC-safety properties.
12980
12981         * manual/libdl.texi: New.
12982
12983         * manual/lang.texi: Document MTASC-safety properties.
12984
12985         * manual/job.texi: Document MTASC-safety properties.
12986
12987         * manual/getopt.texi: Document MTASC-safety properties.
12988
12989         * manual/ctype.texi: Document MTASC-safety properties.
12990
12991 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12992
12993         [BZ #16046]
12994         * csu/libc-tls.c (static_map): Remove variable.
12995         (__libc_setup_tls): Use main executable's link map for TLS data.
12996         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12997         casing for LM_ID_BASE and GL(dl_nns).
12998         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12999         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
13000         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13001         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13002         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13003         member.
13004         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13005         l_phnum members.
13006
13007 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
13008
13009         * manual/debug.texi: Document MTASC-safety properties.
13010
13011 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
13012
13013         [BZ #16510]
13014         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13015         of __x86_64__ when disabling x87 inline functions.
13016
13017 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
13018
13019         * manual/charset.texi: Document MTASC-safety properties.
13020
13021         * manual/crypt.texi: Document MTASC-safety properties.
13022
13023         * manual/conf.texi: Document MTASC-safety properties.
13024
13025         * manual/arith.texi: Document MTASC-safety properties.
13026
13027         * manual/argp.texi: Document MTASC-safety properties.
13028
13029         * manual/macros.texi: Introduce macros to document multi
13030         thread, asynchronous signal and asynchronous cancellation
13031         safety properties.
13032         * manual/intro.texi: Introduce the properties themselves.
13033
13034 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13035
13036         * sysdeps/sh/sh4/Makefile: New file.
13037
13038 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
13039
13040         * math/gen-libm-test.pl ($srcdir): New variable.
13041         ($auto_input): Use it.
13042
13043 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13044
13045         [BZ #16506]
13046         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13047         access beyond array bounds when parsing netgroups file.
13048
13049         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13050         the old buffer before realloc.
13051
13052 2014-01-27  Allan McRae  <allan@archlinux.org>
13053
13054         * po/fr.po: Update French translation from translation project.
13055
13056 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13057
13058         * sysdeps/sh/libm-test-ulps: Regenerate.
13059
13060 2014-01-24  David S. Miller  <davem@davemloft.net>
13061
13062         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13063
13064 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13065
13066         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13067         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13068
13069 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13070
13071         [BZ #16474]
13072         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13073         string pointers after reallocation.
13074
13075 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13076
13077         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13078         __SH4A__ instead of __SH_FPU_ANY__.
13079
13080 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13081
13082         * sysdeps/sh/fpu_control.h: New file.
13083         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13084         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13085         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13086         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13087         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13088         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13089         * sysdeps/sh/sys/ucontext.h: Remove.
13090         * sysdeps/sh/sys: Remove directory.
13091
13092 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13093
13094         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13095         s390/sys/ucontext.h.
13096         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13097         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13098
13099 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
13100
13101         [BZ #15605]
13102         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13103
13104 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13105
13106         [BZ#16431]
13107         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13108         Adjust the vDSO correctly for internal calls.
13109         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13110
13111 2014-01-20  Allan McRae  <allan@archlinux.org>
13112
13113         * po/ca.po: Update Catalan translation from translation project.
13114
13115 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
13116
13117         * sysdeps/s390/sotruss-lib.c: New file.
13118
13119 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13120
13121         [BZ#16430]
13122         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13123         (__GI___gettimeofday): Alias for a different internal symbol to avoid
13124         local calls issues by not having a PLT stub required for IFUNC calls.
13125         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13126
13127 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
13128
13129         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13130         * math/test-fpucw-static.c: Likewise.
13131
13132 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13133
13134         [BZ #16453]
13135         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13136
13137 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13138
13139         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13140         implementation for powerpc.
13141
13142 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
13143
13144         [BZ #14782]
13145         * sysdeps/posix/system.c (__libc_system): Do not enable
13146         asynchronous cancellation.
13147
13148 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13149
13150         [BZ #16427]
13151         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13152         handling only for numbers special also in the IEEE case.
13153
13154 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13155
13156         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13157
13158 2014-01-11  Allan McRae  <allan@archlinux.org>
13159
13160         * po/bg.po: Update Bulgarian translation from translation project.
13161
13162         * po/de.po: Update German translation from translation project.
13163
13164 2014-01-10  Roland McGrath  <roland@hack.frob.com>
13165
13166         * sysdeps/generic/gcc-compat.h: New file.
13167
13168 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13169
13170         * benchtests/asin-inputs: Correct slow inputs.
13171         * benchtests/acos-inputs: Likewise.
13172
13173 2014-01-10  Allan McRae  <allan@archlinux.org>
13174
13175         * po:sv.po: Update Swedish translation from translation project.
13176
13177         * po/vi.po: Update Vietnamese translation from translation project.
13178
13179         * po/eo.po: Update Esperanto translation from translation project.
13180
13181         * po/cs.po: Update Czech translation from translation project.
13182
13183         * po/nl.po: Update Dutch translation from translation project.
13184
13185         * po/pl.po: Update Polish translation from translation project.
13186
13187         * po/ru.po: Update Russian translation from translation project.
13188
13189         * po/uk.po: Update Ukrainian translation from translation project.
13190
13191 2014-01-08  Brooks Moses  <bmoses@google.com>
13192
13193         * elf/dl-load.c: Fix comment typo.
13194
13195 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
13196
13197         * po/header.pot: Rename to...
13198         * po/pot.header: ... this.
13199         * po/Makefile: Use pot.header.
13200
13201 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
13202             Maxim Kuvyrkov  <maxim@kugelworks.com>
13203
13204         [BZ #16394]
13205         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13206         SRC and DEST against LEN.
13207
13208 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13209
13210         [BZ #16414]
13211         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13212         implementation.
13213         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13214
13215 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13216
13217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13218
13219 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
13220
13221         [BZ #16408]
13222         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13223         for large positive arguments.
13224
13225 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
13226
13227         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13228
13229         * math/auto-libm-test-in: Mark various tests with
13230         xfail-rounding:ldbl-128ibm.
13231         * math/auto-libm-test-out: Regenerated.
13232
13233         [BZ #16407]
13234         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13235         Increase overflow threshold.
13236
13237 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
13238
13239         [BZ #14286]
13240         * stdio-common/vfprintf.c: Check for integer overflow.
13241
13242 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13243
13244         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13245         the first argument and return value of __tls_get_addr_internal.
13246
13247 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13248
13249         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13250         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13251
13252 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13253
13254         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13255         * sysdeps/s390/rtld-global-offsets.sym: New file.
13256         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13257         GLIBC_2.19 symbol.
13258         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13259         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13260         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13261         ... this.
13262         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13263         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13264         ... this.
13265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13266         Regenerate.
13267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13268         Regenerate.
13269         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13270         halfs of GPRs for high_gprs contexts.
13271         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13272         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
13273         field.
13274         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13275         uc_flags field.
13276         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13277         64 bit versions:
13278         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13279         for high GPRs (uc_high_gprs) and for future extensions
13280         (__reserved).
13281         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13282         for future extensions (__reserved).
13283         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13284         64 bit versions:
13285         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13286         SC_HIGHGPRS offset definition.
13287         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13288         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13289
13290         * Versions.def: Add GLIBC_2.19 for libpthread.
13291         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13292         siglongjmp for libpthread with GLIBC_2.19 symver.
13293         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13294         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13295         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13296         * sysdeps/s390/__longjmp.c: New file.
13297         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13298         * sysdeps/s390/longjmp.c: New file.
13299         * sysdeps/s390/setjmp.S: New file.
13300         * sysdeps/s390/sigjmp.S: New file.
13301         * sysdeps/s390/v1-longjmp.c: New file.
13302         * sysdeps/s390/v1-setjmp.h: New file.
13303         * sysdeps/s390/v1-sigjmp.c: New file.
13304         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13305         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13306         GLIBC_2.19 version.
13307         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13308         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13309         versioned symbols for ____longjmp_chk.
13310         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13311         Likewise.
13312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13313         Regenerate.
13314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13315         Regenerate.
13316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13317         Regenerate.
13318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13319         Regenerate.
13320         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13321         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13322         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13323         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13324         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13325         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13326         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13327         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13328         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13329         * sysdeps/s390/rtld-__longjmp.c: New file.
13330         * sysdeps/s390/rtld-setjmp.S: New file.
13331
13332 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
13333
13334         [BZ #16400]
13335         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13336         Return -__logl (x) for small positive arguments without evaluating
13337         a polynomial.
13338
13339 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
13340
13341         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13342         Rename to ...
13343         (__ptrace_peeksiginfo_args): ... this.
13344         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13345         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13346         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13347
13348 2014-01-06  Allan McRae  <allan@archlinux.org>
13349
13350         * inet/netinet/in.h: Fix typo in comment.
13351
13352 2014-01-05  Andreas Jaeger  <aj@suse.de>
13353
13354         * sysdeps/i386/fpu/libm-test-ulps: Update.
13355
13356 2014-01-05  Allan McRae  <allan@archlinux.org>
13357
13358         * po/libc.pot: Regenerated.
13359
13360         * malloc/memusagestat.c: Fix gettext call formatting.
13361
13362 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
13363
13364         * nscd/nscd.c: Improve usage() output.
13365
13366 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
13367
13368         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13369         * sysdeps/unix/sysv/linux/configure: Regenerated.
13370         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13371         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13372
13373 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13374
13375         [BZ #16390]
13376         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13377         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13378
13379 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13380
13381         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13382         extra tokens at end of #undef directive.
13383         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13384         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13385         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13386
13387 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13388
13389         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13390
13391         * math/auto-libm-test-in: Mark various tests with
13392         xfail-rounding:ldbl-128ibm.
13393         * math/auto-libm-test-out: Regenerated.
13394
13395 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
13396
13397         [BZ #16386]
13398         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13399         numbers with subnormal high part when calculating exponent.
13400
13401         [BZ #16385]
13402         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13403         fabs.
13404
13405         [BZ #16384]
13406         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13407         M_LN2l.
13408         (__ieee754_acoshl): Use __log1pl not __log1p.
13409
13410 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
13411
13412         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13413         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13414         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13415         (grow_heap, heap_trim, _int_new_arena, get_free_list)
13416         (reused_arena, arena_get2): Convert to GNU style.
13417         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13418         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13419         (memalign_check, __malloc_set_state): Likewise.
13420         * malloc/mallocbug.c (main): Likewise.
13421         * malloc/malloc.c (__malloc_assert, malloc_init_state)
13422         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13423         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13424         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13425         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13426         (__posix_memalign, malloc_info): Likewise.
13427         * malloc/malloc.h: Likewise.
13428         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13429         (mallochook, memalignhook, reallochook, mabort): Likewise.
13430         * malloc/mcheck.h: Likewise.
13431         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13432         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13433         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13434         * malloc/morecore.c (__default_morecore): Likewise.
13435         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13436         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13437         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13438         (print_and_abort): Likewise.
13439         * malloc/obstack.h: Likewise.
13440         * malloc/set-freeres.c (__libc_freeres): Likewise.
13441         * malloc/tst-mallocstate.c (main): Likewise.
13442         * malloc/tst-mtrace.c (main): Likewise.
13443         * malloc/tst-realloc.c (do_test): Likewise.
13444
13445 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13446
13447         [BZ #16366]
13448         * nscd/netgroupcache.c (do_notfound): New function.
13449         (addgetnetgrentX): Use it.
13450
13451         [BZ # 16365]
13452         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13453         NSS_STATUS_NOTFOUND.
13454
13455 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
13456
13457         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13459
13460 2014-01-01  Allan McRae  <allan@archlinux.org>
13461
13462         * scripts/update-copyrights: Update configure input file suffix.
13463
13464         * NEWS: Update copyright year.
13465         * catgets/gencat.c: Likewise.
13466         * csu/version.c: Likewise.
13467         * debug/catchsegv.sh: Likewise.
13468         * debug/pcprofiledump.c: Likewise.
13469         * debug/xtrace.sh: Likewise.
13470         * elf/ldconfig.c: Likewise.
13471         * elf/ldd.bash.in: Likewise.
13472         * elf/pldd.c: Likewise.
13473         * elf/sotruss.ksh: Likewise.
13474         * elf/sprof.c: Likewise.
13475         * iconv/iconv_prog.c: Likewise.
13476         * iconv/iconvconfig.c: Likewise.
13477         * locale/programs/locale.c: Likewise.
13478         * locale/programs/localedef.c: Likewise.
13479         * login/programs/pt_chown.c: Likewise.
13480         * malloc/memusage.sh: Likewise.
13481         * malloc/memusagestat.c: Likewise.
13482         * malloc/mtrace.pl: Likewise.
13483         * manual/libc.texinfo: Likewise.
13484         * nscd/nscd.c: Likewise.
13485         * nss/getent.c: Likewise.
13486         * nss/makedb.c: Likewise.
13487         * posix/getconf.c: Likewise.
13488         * scripts/test-installation.pl: Likewise.
13489
13490         * All files with FSF copyright notices: Update copyright dates
13491         using scripts/update-copyrights.
13492         * intl/plural.c: Regenerated.
13493         * locale/programs/charmap-kw.h: Likewise.
13494         * locale/programs/locfile-kw.h: Likewise.
13495
13496 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
13497
13498         * sysdeps/unix/sysv/linux/configure: Regenerated.
13499         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13500         the linux/fanotify.h header.
13501         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13502         HAVE_LINUX_FANOTIFY_H is defined.
13503
13504 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13505
13506         * benchtests/cos-inputs: New inputs.
13507         * benchtests/sin-inputs: Likewise.
13508
13509         * benchtests/atan-inputs: New inputs. Fix name of multiple
13510         precision fallback inputs.
13511
13512         * benchtests/atanh-inputs: New inputs.
13513         * benchtests/tanh-inputs: Likewise.
13514
13515         * benchtests/acosh-inputs: New inputs.
13516         * benchtests/asinh-inputs: Likewise.
13517
13518         * benchtests/cosh-inputs: New inputs.
13519         * benchtests/sinh-inputs: Likewise.
13520
13521         * benchtests/acos-inputs: Add more inputs.
13522         * benchtests/asin-inputs: Likewise.
13523
13524 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
13525
13526         [BZ #16375]
13527         * manual/arith.texi: Fix spelling.
13528         * manual/charset.texi: Likewise.
13529         * manual/errno.texi: Likewise.
13530         * manual/filesys.texi: Likewise.
13531         * manual/lang.texi: Likewise.
13532         * manual/llio.texi: Likewise.
13533         * manual/locale.texi: Likewise.
13534         * manual/message.texi: Likewise.
13535         * manual/resource.texi: Likewise.
13536         * manual/search.texi: Likewise.
13537         * manual/setjmp.texi: Likewise.
13538         * manual/stdio.texi: Likewise.
13539         * manual/string.texi: Likewise.
13540         * manual/sysinfo.texi: Likewise.
13541         * manual/time.texi: Likewise.
13542
13543 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
13544
13545         * po/sl.po: New file.
13546
13547 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
13548
13549         * .gitignore: Add core/.gdbinit/.gdb_history.
13550
13551 2013-12-27  Allan McRae  <allan@archlinux.org>
13552
13553         [BZ #16369]
13554         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13555         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13556
13557 2013-12-24  Brooks Moses  <bmoses@google.com>
13558
13559         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13560         all compilers that claim C++98 compliance, not just GCC.
13561         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13562         Likewise.
13563
13564 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13565
13566         * NEWS: Restore accidentally deleted bug-fix entries.
13567
13568 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13569             Ondřej Bílka  <neleai@seznam.cz>
13570
13571         [BZ #15073]
13572         * malloc/malloc.c (_int_free): Perform sanity check only if we
13573         have_lock.
13574
13575 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
13576
13577         [BZ #12986]
13578         * manual/stdio.texi (String Input Conversions): Clarify that character
13579         classes are not supported.
13580
13581 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13582
13583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13584
13585 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
13586
13587         [BZ #16337]
13588         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13589         Calculate results for small negative arguments directly rather
13590         than using reflection formula with special underflow handling.
13591
13592         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13593         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13594         sysdeps/unix/bsd/bsd4.4/syscalls.list.
13595         (fchflags): Likewise.
13596         (revoke): Likewise.
13597         (setlogin): Likewise.
13598         (sigaltstack): Likewise.
13599         (wait4): Likewise.
13600         (sigblock): Remove.
13601         (sigsetmask): Likewise.
13602         (wait3): Likewise.
13603         (waitpid): Likewise.
13604         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13605         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13606         file.
13607         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13608         * sysdeps/unix/bsd/Makefile: ... here.
13609         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13610         * sysdeps/unix/bsd/Versions: ... here.
13611         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13612         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13613         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13614         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13615         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13616         * sysdeps/unix/bsd/sigblock.c: ... here.
13617         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13618         * sysdeps/unix/bsd/sigsetmask.c: ... here.
13619         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13620         * sysdeps/unix/bsd/sigvec.c: ... here.
13621         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13622         * sysdeps/unix/bsd/tcdrain.c: ... here.
13623         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13624         * sysdeps/unix/bsd/tcgetattr.c: ... here.
13625         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13626         * sysdeps/unix/bsd/tcsetattr.c: ... here.
13627         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13628         * sysdeps/unix/bsd/wait.c: ... here.
13629         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13630         * sysdeps/unix/bsd/wait3.c: ... here.
13631         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13632         * sysdeps/unix/bsd/waitpid.c: ... here.
13633
13634 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
13635
13636         [BZ #16356]
13637         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13638         round-to-nearest for [!USE_AS_EXPM1L].
13639         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13640         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
13641         more tests of exp and exp10.  Expect some exp10 tests to miss
13642         exceptions or fail in directed rounding modes.
13643         * math/auto-libm-test-out: Regenerated.
13644         * math/libm-test.inc (exp10_tonearest_test_data): New array.
13645         (exp10_test_tonearest): New function.
13646         (exp10_towardzero_test_data): New array.
13647         (exp10_test_towardzero): New function.
13648         (exp10_downward_test_data): New array.
13649         (exp10_test_downward): New function.
13650         (exp10_upward_test_data): New array.
13651         (exp10_test_upward): New function.
13652         (main): Call the new functions.
13653         * sysdeps/i386/fpu/libm-test-ulps: Update.
13654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13655
13656 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
13657
13658         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13659         asinh, atan, atan2, atanh, cbrt, cos and cosh.
13660         * math/auto-libm-test-out: Regenerated.
13661         * math/libm-test.inc (acosh_test_data): Add more tests.
13662         (atanh_test_data): Likewise.
13663         (ceil_test_data): Likewise.
13664         (copysign_test_data): Likewise.
13665         * sysdeps/i386/fpu/libm-test-ulps: Update.
13666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13667
13668         * timezone/checktab.awk: Update from tzcode 2013i.
13669         * timezone/private.h: Likewise.
13670         * timezone/scheck.c: Likewise.
13671         * timezone/tzfile.h: Likewise.
13672         * timezone/tzselect.ksh: Likewise.
13673         * timezone/zdump.c: Likewise.
13674         * timezone/zic.c: Likewise.
13675
13676         * math/auto-libm-test-in: Add tests of cpow.
13677         * math/auto-libm-test-out: Regenerated.
13678         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
13679         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13680         mpc_cc_c.
13681         (func_calc_desc): Add mpc_cc_c union field.
13682         (test_functions): Add cpow.
13683         (special_fill_2pi): New function.
13684         (special_real_inputs): Add 2pi.
13685         (calc_generic_results): Handle mpc_cc_c.
13686         * sysdeps/i386/fpu/libm-test-ulps: Update.
13687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13688
13689         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13690         csqrt, ctan and ctanh.
13691         * math/auto-libm-test-out: Regenerated.
13692         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13693         (TEST_COND_x86): Likewise.
13694         (ccos_test_data): Use AUTO_TESTS_c_c.
13695         (ccosh_test_data): Likewise.
13696         (cexp_test_data): Likewise.
13697         (clog_test_data): Likewise.
13698         (csqrt_test_data): Likewise.
13699         (ctan_test_data): Likewise.
13700         (ctan_tonearest_test_data): Likewise.
13701         (ctan_towardzero_test_data): Likewise.
13702         (ctan_downward_test_data): Likewise.
13703         (ctan_upward_test_data): Likewise.
13704         (ctanh_test_data): Likewise.
13705         (ctanh_tonearest_test_data): Likewise.
13706         (ctanh_towardzero_test_data): Likewise.
13707         (ctanh_downward_test_data): Likewise.
13708         (ctanh_upward_test_data): Likewise.
13709         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13710         mpc_c_c.
13711         (func_calc_desc): Add mpc_c_c union field.
13712         (FUNC_mpc_c_c): New macro.
13713         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13714         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13715         ctanh.
13716         (special_fill_min_subnorm_p120): New function.
13717         (special_real_inputs): Add min_subnorm_p120.
13718         (calc_generic_results): Handle mpc_c_c.
13719         * sysdeps/i386/fpu/libm-test-ulps: Update.
13720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13721
13722 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13723
13724         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13725         (do_sin_slow): New functions.
13726         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13727         (cslow2, csloww1, csloww2): Use the new functions.
13728
13729         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13730         Use M to change sign of result instead of X.  Assume X is
13731         positive.
13732         (csloww1): Likewise.
13733         (__sin): Adjust.
13734         (__cos): Adjust.
13735
13736         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13737         arguments A and DA.
13738         (__sin): Adjust.
13739         (__cos): Likewise.
13740
13741         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13742         (__cos): Likewise.
13743         (sloww1): Don't adjust sign of DX.
13744         (csloww1): Likewise.
13745         (sloww2): Use X directly and don't adjust sign of DX.
13746         (csloww2): Likewise.
13747
13748 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13749
13750         * math/auto-libm-test-in: Add tests of cabs and carg.
13751         * math/auto-libm-test-out: Regenerated.
13752         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13753         (carg_test_data): Likewise.
13754         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13755         mpc_c_f.
13756         (func_calc_desc): Add mpc_c_f union field.
13757         (test_functions): Add cabs and carg.
13758         (calc_generic_results): Handle mpc_c_f.
13759
13760         * sysdeps/powerpc/powerpc32/libgcc-compat.S
13761         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13762         as a macro and a compat symbol.
13763         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13764         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13765         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13766         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13767         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13768         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13769         not use .hidden.
13770         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13771         Likewise.
13772         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13773         Likewise.
13774         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13775         Likewise.
13776         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13777         Likewise.
13778         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13779         Likewise.
13780         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13781         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13782         from GLIBC_2.3.2.
13783
13784 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13785
13786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13787
13788 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13789
13790         * manual/texinfo.tex: Update to version 2013-11-26.10 with
13791         trailing whitespace removed.
13792         * scripts/config.guess: Update to version 2013-11-29.
13793         * scripts/config.sub: Update to version 2013-10-01.
13794
13795         * math/auto-libm-test-in: Add tests of sincos.
13796         * math/auto-libm-test-out: Regenerated.
13797         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13798         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13799         mpfr_f_11.
13800         (func_calc_desc): Add mpfr_f_11 union field.
13801         (test_functions): Add sincos.
13802         (calc_generic_results): Handle mpfr_f_11.
13803         * sysdeps/i386/fpu/libm-test-ulps: Update.
13804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13805
13806 2013-12-19  Andreas Schwab  <schwab@suse.de>
13807
13808         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13809         CALL_MCOUNT.
13810         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13811         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13812         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13813
13814 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13815
13816         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13817         * sysdeps/i386/fpu/libm-test-ulps: Update.
13818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13819
13820         [BZ #16293]
13821         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13822         round-to-nearest mode when using frndint.
13823         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13824         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13825         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13826         Likewise.
13827         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
13828         sinh test to fail.
13829         * math/auto-libm-test-out: Regenerated.
13830         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13831         (TEST_COND_x86): Likewise.
13832         (expm1_tonearest_test_data): New array.
13833         (expm1_test_tonearest): New function.
13834         (expm1_towardzero_test_data): New array.
13835         (expm1_test_towardzero): New function.
13836         (expm1_downward_test_data): New array.
13837         (expm1_test_downward): New function.
13838         (expm1_upward_test_data): New array.
13839         (expm1_test_upward): New function.
13840         (main): Run the new test functions.
13841         * sysdeps/i386/fpu/libm-test-ulps: Update.
13842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13843
13844         * include/features.h: Update comment documenting feature test
13845         macros.  Mention _DEFAULT_SOURCE in comment.
13846         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13847         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13848         _BSD_SOURCE and _SVID_SOURCE.
13849         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13850         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13851         !_SVID_SOURCE]: Likewise.
13852         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13853         (__USE_POSIX_IMPLICITLY): Define.
13854         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13855         (_POSIX_SOURCE): Undefine and redefine.
13856         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13857         (_POSIX_C_SOURCE): Likewise.
13858         * manual/creature.texi (_DEFAULT_SOURCE): Document.
13859         (Feature Test Macros): Update documentation of default features.
13860
13861 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13862
13863         * benchtests/Makefile: Add bench-strtok.
13864         * benchtests/bench-strtok.c: New file: strtok benchtest.
13865
13866 2013-12-19  Allan McRae  <allan@archlinux.org>
13867
13868         * manual/install.texi: Suppress menu for plain text output.
13869         * INSTALL: Regenerated.
13870
13871 2013-12-18  Brooks Moses  <bmoses@google.com>
13872
13873         [BZ #15846]
13874         * misc/getauxval.c: Include errno.h.
13875         (__getauxval): Set errno to ENOENT if the requested type is not
13876         found.
13877         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13878         don't declare with __attribute_const__.
13879         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13880         * manual/startup.texi: Document that getauxval sets errno.
13881
13882 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13883
13884         * math/auto-libm-test-in: Add tests of jn and yn.
13885         * math/auto-libm-test-out: Regenerated.
13886         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13887         (yn_test_data): Likewise.
13888         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13889         mpfr_if_f.
13890         (func_calc_desc): Add mpfr_if_f union field.
13891         (FUNC_mpfr_if_f): New macro.
13892         (test_functions): Add jn and yn.
13893         (calc_generic_results): Assert type of second input for
13894         mpfr_ff_f.  Handle mpfr_if_f.
13895         (output_for_one_input_case): Disable all checking for arguments
13896         fitting floating-point types in case of an integer argument.
13897         * sysdeps/i386/fpu/libm-test-ulps: Update.
13898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13899
13900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13901         Don't expect fegetround reference in libm.so.
13902
13903 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13904
13905         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13906         $(config-cflags-nofma).
13907
13908 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13909
13910         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13911         * math/auto-libm-test-out: Regenerated.
13912
13913         [BZ #16338]
13914         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13915         to determine exponent and adjust argument to have exponent of -1.
13916         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13917         log2.
13918         * math/auto-libm-test-out: Regenerated.
13919         * sysdeps/i386/fpu/libm-test-ulps: Update.
13920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13921
13922 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13923
13924         * manual/probes.texi: Remove cases when per-thread arenas are
13925         disabled.
13926
13927 2013-12-18  Andreas Schwab  <schwab@suse.de>
13928
13929         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13930         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13931         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13932         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13933         * sysdeps/i386/i686/multiarch/Makefile: Update.
13934         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13935
13936 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13937
13938         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13939         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13940
13941 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13942
13943         [BZ #15968]
13944         Support TZ transition times < 00:00:00.
13945         This is needed for version-3 tz-format files; it supports time
13946         stamps past 2037 for America/Godthab (the only entry in the tz
13947         database for which this change is relevant).
13948         * manual/time.texi (TZ Variable): Document transition times
13949         from -167:59:59 through -00:00:01.
13950         * time/tzset.c (tz_rule): Time of day is now signed.
13951         (__tzset_parse_tz): Parse negative time of day.
13952
13953         Document TZ transition times >= 25:00:00.
13954         * manual/time.texi (TZ Variable): Document transition times from
13955         25:00:00 through 167:59:59.  These are already supported, and this
13956         support will help with version-3 tz-format files.
13957
13958         * manual/time.texi (TZ Variable): Modernize North America example
13959         to reflect current (i.e., 2007-and-later) daylight saving rules.
13960
13961         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13962
13963 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13964
13965         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13966         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13967         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13968         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13969         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13970         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13971         * sysdeps/unix/bsd/clock.c: Likewise.
13972         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13973         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13974         * sysdeps/unix/bsd/init-posix.c: Likewise.
13975         * sysdeps/unix/bsd/poll.c: Likewise.
13976         * sysdeps/unix/bsd/ptsname.c: Likewise.
13977         * sysdeps/unix/bsd/seekdir.c: Likewise.
13978         * sysdeps/unix/bsd/setegid.c: Likewise.
13979         * sysdeps/unix/bsd/seteuid.c: Likewise.
13980         * sysdeps/unix/bsd/setgid.c: Likewise.
13981         * sysdeps/unix/bsd/setrgid.c: Likewise.
13982         * sysdeps/unix/bsd/setruid.c: Likewise.
13983         * sysdeps/unix/bsd/setsid.c: Likewise.
13984         * sysdeps/unix/bsd/setuid.c: Likewise.
13985         * sysdeps/unix/bsd/sigaction.c: Likewise.
13986         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13987         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13988         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13989         * sysdeps/unix/bsd/telldir.c: Likewise.
13990         * sysdeps/unix/bsd/times.c: Likewise.
13991         * sysdeps/unix/bsd/usleep.c: Likewise.
13992
13993         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13994         ($(objpfx)libbsd-compat.a): Remove rule.
13995
13996         * include/features.h (__FAVOR_BSD): Do not define.
13997         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13998         features conflicting with POSIX.
13999         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14000         (_BSD_SOURCE): Remove description of not being a subset of other
14001         feature test macros.
14002         * manual/job.texi (getpgrp): Do not document BSD version.
14003         (getpgid): Do not document by reference to BSD getpgrp.
14004         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14005         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14006         * signal/signal.h [__FAVOR_BSD]: Likewise.
14007         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14008         instead of making contents conditional on [__FAVOR_BSD].
14009         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14010
14011 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14012
14013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14014
14015 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14016
14017         [BZ #16314]
14018         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14019         values below 2**-450, not 2**-500.
14020         * math/auto-libm-test-in: Don't allow spurious underflow from
14021         hypot.
14022         * math/auto-libm-test-out: Regenerated.
14023
14024         [BZ #16316]
14025         [BZ #16330]
14026         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14027         values of ha and hb and sort them after adjusting subnormal
14028         arguments.
14029         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14030         Likewise.
14031         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14032         values of ea and eb and sort them after adjusting subnormal
14033         arguments.
14034         * math/auto-libm-test-in: Do not expect some hypot tests of
14035         subnormals to fail.  Add more hypot tests.
14036         * math/auto-libm-test-out: Regenerated.
14037
14038 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14039
14040         [BZ #13304]
14041         * sysdeps/sh/s_fma.c: New file.
14042         * sysdeps/sh/s_fmaf.c: New file.
14043         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
14044         version.
14045         * sysdeps/sh/Implies: Add sh/soft-fp.
14046
14047 2013-12-16  Roland McGrath  <roland@hack.frob.com>
14048
14049         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
14050         level of indirection to members `objname', `errstring', `malloced'.
14051         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14052         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
14053         it as the __longjmp argument (just pass 1 instead).
14054         (_dl_catch_error): Initialize C with argument pointers and address of
14055         volatile local ERRCODE rather than copying values out of C at return.
14056
14057 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
14058
14059         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14060         * math/auto-libm-test-out: Regenerated.
14061         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14062         (hypot_test_data): Likewise.
14063         (pow_test_data): Likewise.
14064         (pow_tonearest_test_data): Likewise.
14065         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14066         mpfr_ff_f.
14067         (func_calc_desc): Add mpfr_ff_f union field.
14068         (FUNC_mpfr_ff_f): New macro.
14069         (test_functions): Add atan2, hypot and pow.
14070         (special_fill_min): New function.
14071         (special_fill_minus_min): Likewise.
14072         (special_fill_min_subnorm): Likewise.
14073         (special_fill_minus_min_subnorm): Likewise.
14074         (special_real_inputs): Add min, -min, min_subnorm and
14075         -min_subnorm.
14076         (calc_generic_results): Handle mpfr_ff_f.
14077         * sysdeps/i386/fpu/libm-test-ulps: Update.
14078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14079
14080 2013-12-16  Will Newton  <will.newton@linaro.org>
14081
14082         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14083         (Aligned Memory Blocks): Add documentation for aligned_alloc
14084         and suggest it as an alternative to posix_memalign.
14085         (Hooks for Malloc): Document __memalign_hook is also called
14086         for aligned_alloc.  (Summary of Malloc): Add summary for
14087         aligned alloc.  Document __memalign_hook is also called
14088         for aligned_alloc.
14089
14090 2013-12-16  Will Newton  <will.newton@linaro.org>
14091
14092         * manual/memory.texi (Malloc Examples): Clarify default
14093         alignment documentation.  Suggest posix_memalign rather
14094         than memalign or valloc.
14095         (Aligned Memory Blocks): Remove suggestion to use memalign
14096         or valloc.  Remove obsolete comment about BSD.
14097         Document memalign errno values and mark the function obsolete.
14098         Document posix_memalign returned error codes.  Mark valloc
14099         as obsolete.  (Hooks for Malloc): __memalign_hook is also
14100         called for posix_memalign and valloc.
14101         (Summary of Malloc): Add posix_memalign to function summary.
14102         __memalign_hook is also called for posix_memalign and valloc.
14103
14104 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14105
14106         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14107         TAYLOR_SIN.
14108         (__sin): Adjust.
14109         (__cos): Likewise.
14110         (sloww): Use mynumber union.  Expand ternary operator into
14111         if-else statements.
14112         (cslow): use mynumber union.
14113
14114 2013-12-16  Allan McRae  <allan@archlinux.org>
14115
14116         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14117         * configure: Regenerated.
14118
14119         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14120
14121         [BZ #14120]
14122         * configure.ac: Added --enable-maintainer-mode. Check for
14123         autoconf when enabled.
14124         * configure: Regenerated.
14125
14126         * nscd/nscd.service: New file.
14127         * nscd/nscd.tmpfiles: New file.
14128
14129 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
14130
14131         [BZ #12100]
14132         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14133         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14134         * sysdeps/x86_64/multiarch/strstr.c: ... here.
14135         (strstr): Add __strstr_sse2_unaligned ifunc.
14136         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14137         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14138         (strcasestr): Remove __strcasestr_sse42 ifunc.
14139         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14140         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14142
14143 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14144
14145         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14146         * sysdeps/sh/bits/fenv.h: ... here.
14147         * sysdeps/sh/sh4/fpu/bits: Remove directory.
14148
14149 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14150
14151         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14152
14153         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14154         hypotf multiarch implementations.
14155         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14156         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14157         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14158         multiarch hypot for PPC64.
14159         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14160         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14161         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14162         multiarch hypotf for PPC64.
14163
14164         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14165         modff multiarch implementations.
14166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14169         multiarch modf for PPC64.
14170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14173         multiarch modff for PPC64.
14174
14175         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14176         and logl multiarch implementations.
14177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14180         multiarch logb for PPC64.
14181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14184         multiarch logb for PPC64.
14185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14188         multiarch logb for PPC64.
14189
14190         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14191         isinff multiarch implementation.
14192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14193         file.
14194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14196         multiarch isinf for PPC64.
14197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14198         file.
14199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14200         multiarch isinff for PPC64.
14201
14202         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14203         finitef multiarch implementation.
14204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14205         file.
14206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14208         multiarch finite for PPC64.
14209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14210         file.
14211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14212         multiarch finitef for PPC64.
14213
14214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14215         lrint multiarch implementation.
14216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14217         file.
14218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14220         multiarch llrint for PPC64.
14221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14222         multiarch lrint for PPC64.
14223
14224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14225         copysignf multiarch implementation.
14226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14227         file.
14228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14229         file.
14230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14231         multiarch copysign for PPC64.
14232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14233         multiarch copysignf for PPC64.
14234
14235         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14236         multiarch implementation.
14237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14238         file.
14239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14240         file.
14241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14242         file.
14243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14244         file.
14245         multiarch llround for PPC64.
14246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14247         multiarch trunc for PPC64.
14248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14249         multiarch truncf for PPC64.
14250
14251         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14252         multiarch implementation.
14253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14254         file.
14255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14256         file.
14257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14258         file.
14259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14260         file.
14261         multiarch llround for PPC64.
14262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14263         multiarch round for PPC64.
14264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14265         multiarch roundf for PPC64.
14266
14267         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14268         multiarch implementation.
14269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14270         file.
14271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14272         file.
14273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14274         file.
14275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14276         file.
14277         multiarch llround for PPC64.
14278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14279         multiarch floor for PPC64.
14280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14281         multiarch floorf for PPC64.
14282
14283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14284         multiarch implementation.
14285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14286         file.
14287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14288         file.
14289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14290         file.
14291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14292         file.
14293         multiarch llround for PPC64.
14294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14295         multiarch ceil for PPC64.
14296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14297         multiarch ceilf for PPC64.
14298
14299         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14300         multiarch implementation.
14301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14302         file.
14303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14304         file.
14305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14306         file.
14307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14308         multiarch llround for PPC64.
14309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14310         multiarch lround for PPC64.
14311
14312         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14313         multiarch implementation.
14314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14317         file.
14318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14321         multiarch isnan for PPC64.
14322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14323         multiarch isnanf for PPC64.
14324
14325         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14326         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14327         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14328         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14329         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14331
14332         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14333         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14334         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14335         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14336
14337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14338         multiarch implementations.
14339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14340         (__libc_ifunc_impl_list): Likewise.
14341         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14342         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14343         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14344         multiarch stpcpy for PPC64.
14345
14346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14347         multiarch implementations.
14348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14349         (__libc_ifunc_impl_list): Likewise.
14350         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14351         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14352         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14353         multiarch strcpy for PPC64.
14354
14355         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14356         redefine function name.
14357         (_wordcopy_fwd_dest_aligned): Likewise.
14358         (_wordcopy_bwd_aligned): Likewise.
14359         (_wordcopy_bwd_dest_aligned): Likewise.
14360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14361         multiarch implementations.
14362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14363         (__libc_ifunc_impl_list): Likewise.
14364         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14365         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14366         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14367         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14368         multiarch wcscpy for PPC64.
14369
14370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14371         multiarch implementations.
14372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14373         (__libc_ifunc_impl_list): Likewise.
14374         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14375         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14376         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14377         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14378         multiarch wcscpy for PPC64.
14379
14380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14381         multiarch implementations.
14382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14383         (__libc_ifunc_impl_list): Likewise.
14384         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14385         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14386         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14387         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14388         multiarch wcsrchr for PPC64.
14389
14390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14391         multiarch implementations.
14392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14393         (__libc_ifunc_impl_list): Likewise.
14394         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14395         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14396         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14397         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14398         multiarch wcschr for PPC64.
14399
14400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14401         multiarch implementations.
14402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14403         (__libc_ifunc_impl_list): Likewise.
14404         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14405         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14406         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14407         multiarch strchrnul for PPC64.
14408
14409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14410         implementations.
14411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14412         (__libc_ifunc_impl_list): Likewise.
14413         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14414         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14415         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14416         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14417         strchr for PPC64.
14418
14419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14420         implementations.
14421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14422         (__libc_ifunc_impl_list): Likewise.
14423         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14424         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14425         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14426         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14427         strncmp for PPC64.
14428
14429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14430         multiarch implementations.
14431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14432         (__libc_ifunc_impl_list): Likewise.
14433         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14434         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14435         strncasecmp for PPC64.
14436         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14437         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14438         multiarch strncasecmp_l for PPC64.
14439
14440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14441         multiarch implementations.
14442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14443         (__libc_ifunc_impl_list): Likewise.
14444         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14445         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14446         multiarch strcasecmp for PPC64.
14447         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14448         file.
14449         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14450         multiarch strcasecmp_l for PPC64.
14451
14452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14453         implementations.
14454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14455         (__libc_ifunc_impl_list): Likewise.
14456         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14457         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14458         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14459         strnlen for PPC64.
14460
14461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14462         implementations.
14463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14464         (__libc_ifunc_impl_list): Likewise.
14465         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14466         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14467         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14468         strlen for PPC64.
14469
14470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14471         implementations.
14472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14473         (__libc_ifunc_impl_list): Likewise.
14474         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14475         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14476         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14477         rawmemrchr for PPC64.
14478
14479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14480         implementation.
14481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14482         (__libc_ifunc_impl_list): Likewise.
14483         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14484         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14485         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14486         memrchr for PPC64.
14487
14488         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14489         implementation.
14490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14491         (__libc_ifunc_impl_list): Likewise.
14492         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14493         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14494         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14495         memchr for PPC64.
14496
14497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14498         implementation.
14499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14500         (__libc_ifunc_impl_list): Likewise.
14501         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14502         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14503         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14504         mempcpy for PPC64.
14505
14506         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14507         avoid cretion of __bzero symbol.
14508         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14509         Likewise.
14510         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14511         Likewise.
14512         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14513         Likewise.
14514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14515         multiarch implementations.
14516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14517         (__libc_ifunc_impl_list): Likewise.
14518         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14519         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14520         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14521         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14522         bzero for PPC32.
14523         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14524         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14525         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14526         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14527         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14528         memset for PPC64.
14529         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14530
14531         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14533         implementations.
14534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14535         (__libc_ifunc_impl_list): Likewise.
14536         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14537         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14538         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14539         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14540         memcmp for PPC64.
14541
14542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14543         multiarch for POWER/PPC64.
14544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14545         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14546         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14547         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14548         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14549         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14550         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14551         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14552         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14553         memcpy for PPC64.
14554
14555         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14556         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14557         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14558         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14559         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14560         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14561         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14562         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14563         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14564         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14565         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14566         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14567         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14568         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14569         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14577
14578 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14579
14580         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14581
14582 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14583
14584         * benchtests/Makefile (bench): Add exp2 and log2.
14585         (LDLIBS-bench-exp2): Add -lm.
14586         (LDLIBS-bench-log2): Likewise.
14587         * benchtests/exp2-inputs: New inputs file.
14588         * benchtests/log2-inputs: New inputs file.
14589         * benchtests/log-inputs: Add new inputs.
14590         * benchtests/tan-inputs: Likewise.
14591
14592 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14593
14594         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14595         definition...
14596         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14597         (csloww2): ... from here.
14598
14599         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14600         instead of structures.
14601         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14602         (POLYNOMIAL): Likewise.
14603         (TAYLOR_SLOW): Likewise.
14604         (__sin): Likewise.
14605         (__cos): Likewise.
14606         (slow1): Likewise.
14607         (slow2): Likewise.
14608         (sloww): Likewise.
14609         (sloww1); Likewise.
14610         (sloww2): Likewise.
14611         (bsloww1): Likewise.
14612         (bsloww2): Likewise.
14613         (cslow2): Likewise.
14614         (csloww): Likewise.
14615         (csloww1): Likewise.
14616         (csloww2): Likewise.
14617
14618 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
14619
14620         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
14621         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14622         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
14623         * malloc/hooks.c (realloc_check): Likewise.
14624
14625         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14626         * malloc/arena.c: Remove PER_THREAD conditional.
14627         [!PER_THREAD]: Remove code.
14628         (ptmalloc_unlock_all2): Likewise.
14629         (ptmalloc_init): Likewise.
14630         (_int_new_arena): Likewise.
14631         (arena_get2): Likewise.
14632         * malloc/hooks.c (__malloc_get_state): Likewise.
14633         (__malloc_set_state): Likewise.
14634         * malloc/malloc.c: Likewise.
14635         (struct malloc_state): Likewise.
14636         (struct malloc_par): Likewise.
14637         (__libc_realloc): Likewise.
14638         (__libc_mallopt): Likewise.
14639
14640 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14641
14642         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14643
14644 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
14645
14646         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14647         macro to a function.  Check for zero perturb_byte.
14648         (_int_malloc, _int_free): Remove zero perturb_byte checks.
14649
14650         * malloc/malloc.c: (force_reg): Remove.
14651         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14652         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
14653         force_reg by atomic_forced_read.
14654         * malloc/arena.c (ptmalloc_init): Likewise.
14655         * malloc/hooks.c (top_check): Likewise.
14656
14657 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14658
14659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14660
14661 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
14662
14663         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14664
14665 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
14666
14667         * math/auto-libm-test-in: Add tests of lgamma.
14668         * math/auto-libm-test-out: Regenerated.
14669         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14670         (M_LOG_2_SQRT_PIl): Likewise.
14671         (lgamma_test_data): Use AUTO_TESTS_f_f1.
14672         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14673         mpfr_f_f1.
14674         (func_calc_desc): Add mpfr_f_f1 union field.
14675         (ARGS1): New macro.
14676         (ARGS2): Likewise.
14677         (ARGS3): Likewise.
14678         (ARGS4): Likewise.
14679         (RET1): Likewise.
14680         (RET2): Likewise.
14681         (CALC): Likewise.
14682         (FUNC): Likewise.
14683         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14684         (test_functions): Add lgamma.
14685         (calc_generic_results): Handle mpfr_f_f1.
14686         * sysdeps/i386/fpu/libm-test-ulps: Update.
14687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14688
14689 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14690
14691         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14692         __mpn_add_n for PowerPC64/POWER7.
14693         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14694         __mpn_sub_n for PowerPC64/POWER7.
14695
14696         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14697         __mpn_addmul_1 for PowerPC64.
14698         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14699         __mpn_submul_1 for PowerPC64.
14700         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14701         for PowerPC64.
14702         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14703         for PowerPC64.
14704
14705 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
14706
14707         [BZ #15089]
14708         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14709
14710 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14711
14712         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14713
14714         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14715         add multiarch folders.
14716         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14717         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14718         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14719         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14720         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14721         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14722         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14723         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14724         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14725         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14726         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14733
14734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14735         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14737         New file.
14738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14739         New file.
14740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14741         multiarch __ieee754_hypot for PowerPC32.
14742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14743         New file.
14744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14745         New file.
14746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14747         multiarch __ieee754_hypotf for PowerPC32.
14748
14749         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14750         long_double_symbol only if __logbl is defined.
14751         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14752         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14753         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14754         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14755         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14756         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14757         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14758         path for implementation.
14759         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14760         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14762         logb, and logbl multiarch implementations for PowerPC32.
14763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14764         file.
14765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14766         file.
14767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14768         multiarch logb for PowerPC32.
14769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14770         file.
14771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14772         file.
14773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14774         multiarch logbf for PowerPC32.
14775         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14777         file.
14778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14779         multiarch logbl implementation for PowerPC32.
14780
14781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14782         and modff multiarch implementations.
14783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14784         New file.
14785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14786         New file.
14787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14788         multiarch modf for PowerPC32.
14789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14790         New file.
14791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14792         New file.
14793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14794         multiarch modff for PowerPC32.
14795
14796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14797         and lrintf multiarch implementations.
14798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14799         New file.
14800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14801         New file.
14802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14803         multiarch lrint for PowerPC32.
14804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14805         file: multiarch lrintf for PowerPC32.
14806
14807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14808         and lroundf multiarch implementations.
14809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14810         New file.
14811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14812         New file.
14813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14814         New file.
14815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14816         multiarch lround for PowerPC32.
14817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14818         file: multiarch lroundf for PowerPC32.
14819
14820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14821         copysign and copysignf multiarch implementations.
14822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14823         New file.
14824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14825         New file.
14826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14827         file: multiarch copysign for PowerPC32.
14828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14829         file: multiarch copysignf for PowerPC32.
14830
14831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14832         and truncf multiarch implementations.
14833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14834         New file.
14835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14836         file.
14837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14838         multiarch trunc for PowerPC32.
14839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14840         New file.
14841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14842         New file.
14843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14844         multiarch truncf for PowerPC32.
14845
14846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14847         and roundf multiarch implementations.
14848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14849         New file.
14850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14851         file.
14852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14853         multiarch round for PowerPC32.
14854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14855         New file.
14856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14857         New file.
14858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14859         multiarch roundf for PowerPC32.
14860
14861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14862         and floorf multiarch implementations.
14863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14864         New file.
14865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14866         file.
14867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14868         multiarch floor for PowerPC32.
14869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14870         New file.
14871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14872         New file.
14873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14874         multiarch floorf for PowerPC32.
14875
14876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14877         and ceilf multiarch implementations.
14878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14879         New file.
14880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14881         file.
14882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14883         multiarch ceil for PowerPC32.
14884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14885         New file.
14886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14887         file.
14888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14889         multiarch ceilf for PowerPC32.
14890
14891         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14892         is defined.
14893         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14894         FINITEF is defined.
14895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14896         and finitef multiarch implementations.
14897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14898         New file.
14899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14900         file.
14901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14902         multiarch finite for PowerPC32.
14903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14904         New file.
14905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14906         file: multiarch finitef for PowerPC32.
14907
14908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14909         and isinff multiarch implementations.
14910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14911         file.
14912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14913         file.
14914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14915         multiarch isinf for PowerPC32.
14916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14917         New file.
14918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14919         multiarch isinff for PowerPC32.
14920
14921         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14922         alias when __isnan is defined.
14923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14924         and isnanf multiarch implementations.
14925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14926         file.
14927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14928         file.
14929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14930         file.
14931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14932         file.
14933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14934         multiarch isnan for PowerPC32.
14935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14936         New file.
14937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14938         New file.
14939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14940         multiarch isnanf for PowerPC32.
14941
14942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14943         and sqrtf multiarch implementations.
14944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14945         file.
14946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14947         file.
14948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14949         multiarch sqrt for PowerPC32.
14950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14951         file.
14952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14953         file.
14954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14955         multiarch sqrtf for PowerPC32.
14956
14957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14958         and llroundf multiarch implementations.
14959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14960         New file.
14961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14962         New file.
14963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14964         New file.
14965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14966         file: multiarch llround for PowerPC32.
14967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14968         file: multiarch llroundf for PowerPC32.
14969
14970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14971         multiarch PowerPC32 fpu implementations.
14972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14973         New file.
14974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14975         New file.
14976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14977         multiarch llrint for PowerPC32.
14978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14979         New file.
14980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14981         New file.
14982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14983         file.
14984
14985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14986
14987         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14988         file.
14989         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14990         file.
14991         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14992         file.
14993         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14994         multiarch wordcopy for PPC32.
14995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14996         wordcopy objects.
14997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14998         (__libc_ifunc_impl_list): Likewise.
14999         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15000         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15001         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15002         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15003         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15004         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15005
15006         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15007         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15008         file.
15009         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15010         file.
15011         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15012         file.
15013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15014         multiarch wcscpy for PPC32.
15015         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15016         multiarch objects.
15017         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15018         (__libc_ifunc_impl_list): Likewise.
15019         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15020         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15021         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15022         sysdeps/powerpc/power6/wcscpy.c.
15023
15024         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15025         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15026         file.
15027         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15028         file.
15029         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15030         file.
15031         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15032         multiarch wcsrchr for PPC32.
15033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15034         multiarch objects.
15035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15036         (__libc_ifunc_impl_list): Likewise.
15037         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15038         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15039         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15040         sysdeps/powerpc/power6/wcsrchr.c.
15041
15042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15043         file.
15044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15045         file.
15046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15047         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15048         multiarch wcschr for PPc32.
15049         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15050         multiarch objects.
15051         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15052         (__libc_ifunc_impl_list): Likewise.
15053         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15054         * sysdeps/powerpc/power6/wcschr.c: ... to here.
15055         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15056         sysdeps/powerpc/power6/wcschr.c.
15057
15058         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15059         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15060         file.
15061         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15062         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15063         file: multiarch strchr for PPC32.
15064         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15065         multiarch objects.
15066         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15067         (__libc_ifunc_impl_list): Likewise.
15068
15069         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15070         name.
15071         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15072         file.
15073         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15074         file.
15075         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15076         multiarch strchrnul for PPC32.
15077         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15078         multiarch objects.
15079         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15080         (__libc_ifunc_impl_list): Likewise.
15081
15082         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15083         file.
15084         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15085         multiarch strncasecmp for PPC32.
15086         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15087         file.
15088         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15089         multiarch strncasecmp_l for PPC32.
15090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15091         strncasecmp multiarch objects.
15092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15093         (__libc_ifunc_impl_list): Likewise.
15094
15095         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15096         file.
15097         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15098         multiarch strncasecmp for PPC32.
15099         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15100         New file.
15101         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15102         multiarch strcasecmp_l for PPC32.
15103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15104         multiarch objects.
15105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15106         (__libc_ifunc_impl_list): Likewise.
15107
15108         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15109         file.
15110         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15111         file.
15112         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15113         multiarch strncmp for PPC32.
15114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15115         multiarch objects.
15116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15117         (__libc_ifunc_impl_list): Likewise.
15118
15119         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15120         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15121         file.
15122         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15123         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15125         multiarch objects.
15126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15127         (__libc_ifunc_impl_list): Likewise.
15128
15129         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15130         file.
15131         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15132         file.
15133         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15134         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15135         multiarch objects.
15136         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15137         (__libc_ifunc_impl_list): Likewise.
15138
15139         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15140         file.
15141         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15142         file.
15143         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15144         multiarch rawmemchr for PPC32.
15145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15146         multiarch objects.
15147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15148         (__libc_ifunc_impl_list): Likewise.
15149
15150         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15151         file.
15152         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15153         file.
15154         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15155         file: memrchr multiarch for PPC32.
15156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15157         multiarch objects.
15158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15159         (__libc_ifunc_impl_list): Likewise.
15160
15161         * string/memchr.c (__memchr): Using macro to redefine symbol name.
15162         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15163         file.
15164         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15165         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15166         multiarch memchr for PPC32.
15167         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15168         multiarch objects.
15169         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15170         (__libc_ifunc_impl_list): Likewise.
15171
15172         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15173         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15174         file.
15175         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15176         file.
15177         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15178         file: multiarch mempcpy for PPC32.
15179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15180         multiarch objects.
15181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15182         (__libc_ifunc_impl_list): Likewise.
15183
15184         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15185         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15186         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15187         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15188         multiarch bzero for PPC32.
15189         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15190         file.
15191         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15192         file.
15193         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15194         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15195         file: multiarch memset for PPC32.
15196         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15198         memset multiarch objects.
15199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15200         (__libc_ifunc_impl_list): Likewise.
15201
15202         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15203         file.
15204         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15205         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15206         memcmp for PPC32.
15207         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15209         multiarch objects.
15210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15211         (__libc_ifunc_impl_list): Likewise.
15212
15213         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15214         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15215         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15216         file.
15217         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15218         file.
15219         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15220         file.
15221         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15222         multiarch memcpy for PPC32.
15223         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15224         multiarch objects.
15225         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15226         (__libc_ifunc_impl_list): Likewise.
15227
15228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15229         support multiarch for POWER/PPC32.
15230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15231         Likewise.
15232         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15234         Implies file to make multiarch folder appers before the fpu and
15235         default folder for power4 configuration.
15236
15237 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15238
15239         * scripts/bench.pl: Append volatile keyword to type.
15240
15241 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15242
15243         * sysdeps/sh/sotruss-lib.c: New file.
15244         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15245
15246 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15247
15248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15249
15250 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
15251
15252         [BZ #6810]
15253         * math/w_tgamma.c: Include <errno.h>.
15254         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
15255         * math/w_tgammaf.c: Include <errno.h>.
15256         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
15257         * math/w_tgammal.c: Include <errno.h>.
15258         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
15259         * math/auto-libm-test-in: Do not allow missing errno on tgamma
15260         underflow.  Add more tgamma tests.
15261         * math/auto-libm-test-out: Regenerated.
15262         * sysdeps/i386/fpu/libm-test-ulps: Update.
15263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15264
15265         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15266         sin, sinh, tan, tanh, tgamma, y0 and y1.
15267         * math/auto-libm-test-out: Regenerated.
15268         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15269         (TEST_COND_x86): Likewise.
15270         (M_E2l): Remove macro.
15271         (M_E3l): Likewise.
15272         (M_2_SQRT_PIl): Likewise.
15273         (M_SQRT_PIl): Likewise.
15274         (M_1_DIV_El): Likewise.
15275         (log_test_data): Use AUTO_TESTS_f_f.
15276         (log10_test_data): Likewise.
15277         (log1p_test_data): Likewise.
15278         (log2_test_data): Likewise.
15279         (sin_test_data): Likewise.
15280         (sin_tonearest_test_data): Likewise.
15281         (sin_towardzero_test_data): Likewise.
15282         (sin_downward_test_data): Likewise.
15283         (sin_upward_test_data): Likewise.
15284         (sinh_test_data): Likewise.
15285         (sinh_tonearest_test_data): Likewise.
15286         (sinh_towardzero_test_data): Likewise.
15287         (sinh_downward_test_data): Likewise.
15288         (sinh_upward_test_data): Likewise.
15289         (tan_test_data): Likewise.
15290         (tan_tonearest_test_data): Likewise.
15291         (tan_towardzero_test_data): Likewise.
15292         (tan_downward_test_data): Likewise.
15293         (tan_upward_test_data): Likewise.
15294         (tanh_test_data): Likewise.
15295         (tgamma_test_data): Likewise.
15296         (y0_test_data): Likewise.
15297         (y1_test_data): Likewise.
15298         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15299         (special_real_inputs): Add pi/4.
15300         * sysdeps/i386/fpu/libm-test-ulps: Update.
15301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15302
15303 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15304
15305         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15306         "longjmp_target" static probes.
15307         (__longjmp): Rename to __longjmp_symbol.
15308         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15309         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15310         on which longjmp to generate.
15311         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15312         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15313         probe.
15314         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15315         (__sigjmp_save): Rename to __sigjmp_save_symbol.
15316         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15317         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15318         and __sigjmp_save_symbol based on which sigsetjmp to generated.
15319         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15321         __longjmp_symbol based on which __longjmp to generate.
15322         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15323         probe.
15324         (setjmp): Rename to setjmp_symbol.
15325         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15326         (_setjmp): Rename to _setjmp_symbol.
15327         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15328         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15329         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15330         which setjmp to generate.
15331         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15332         "longjmp_target" static probes.
15333
15334 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15335
15336         * benchtests/README: Add note about output arguments.
15337         * benchtests/bench-sincos.c: Remove file.
15338         * benchtests/sincos-inputs: New file.
15339         * scripts/bench.pl: Identify output arguments and define
15340         static variables for them.
15341
15342         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15343
15344         [BZ #15941]
15345         * Makefile (INSTALL): Add install-plain.texi as the primary
15346         dependency.
15347         * manual/install-plain.texi: New file.
15348         * manual/install.texi: Include node directive only for
15349         non-plaintext output.
15350
15351 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
15352
15353         * stdlib/longlong.h: Update from GCC.
15354
15355         [BZ #6807]
15356         [BZ #15901]
15357         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15358         * math/w_j0f.c (y0f): Likewise.
15359         * math/w_j0l.c (__y0l): Likewise.
15360         * math/w_j1.c (y1): Likewise.
15361         * math/w_j1f.c (y1f): Likewise.
15362         * math/w_j1l.c (__y1l): Likewise
15363         * math/w_jn.c (yn): Likewise.
15364         * math/w_jnf.c (ynf): Likewise.
15365         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15366         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
15367         value for Bessel function domain errors outside _SVID_ mode.
15368         Adjust sign of return value for yn (negative integer, 0).
15369         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15370         by zero in return for negative x and set sign appropriately for
15371         negative n.
15372         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15373         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15374         * math/libm-test.inc (y0_test_data): Add more tests and adjust
15375         expectations in error cases.
15376         (y1_test_data): Likewise.
15377         (yn_test_data): Likewise.
15378         * sysdeps/i386/fpu/libm-test-ulps: Update.
15379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15380
15381 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15382
15383         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15384         "64" to "64-v1".  Add "64-v2".
15385         (abi-64-options): Rename to ...
15386         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
15387         (abi-64-condition): Rename to ...
15388         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
15389         (abi-64-ld-soname): Rename to ...
15390         (abi-64-v1-ld-soname): ... this.
15391         (abi-64-v2-options): Define.
15392         (abi-64-v2-condition): Likewise.
15393         (abi-64-v2-ld-soname): Likewise.
15394         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15395         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15399
15400 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15401             Alan Modra  <amodra@gmail.com>
15402
15403         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15404         New versions for use with the ELFv2 ABI.
15405         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15406         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15407         declaration.
15408         (struct La_ppc64v2_retval): Likewise.
15409         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15410         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15411         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15412         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15413         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15414         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15415         Do not save or restore CR.
15416         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15417         (_dl_profile_resolve): Do no save or restore CR.  Support extended
15418         return values for ELFv2 ABI.  Fix location of FPR return registers.
15419         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15420         updated values for _CALL_ELF == 2.
15421         (La_regs, La_retval, int_retval): Likewise.
15422
15423 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15424
15425         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15426         (FRAME_MIN_SIZE_PARM): Likewise.
15427         (FRAME_BACKCHAIN): Likewise.
15428         (FRAME_CR_SAVE): Likewise.
15429         (FRAME_LR_SAVE): Likewise.
15430         (FRAME_TOC_SAVE): Likewise.
15431         (FRAME_PARM_SAVE): Likewise.
15432         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15433         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15434         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15435         (call_mcount_parm_offset): New macro.
15436         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15437         (PROF): Use symbolic stack frame offsets.
15438         (TAIL_CALL_SYSCALL_ERROR): Likewise.
15439         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15440         Redefine in terms of FRAME_MIN_SIZE.
15441         (_dl_runtime_resolve): Use symbolic stack frame offsets.
15442         (_dl_profile_resolve): Likewise.  Update comment.
15443         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15444         symbols stack frame offsets.
15445         (__sigsetjmp): Likewise.
15446         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15447         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15448         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15449         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15450
15451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15452         (FRAME_BACKCHAIN): Remove.
15453         (FRAME_CR_SAVE): Likewise.
15454         (FRAME_LR_SAVE): Likewise.
15455         (FRAME_COMPILER_DW): Likewise.
15456         (FRAME_LINKER_DW): Likewise.
15457         (FRAME_TOC_SAVE): Likewise.
15458         (FRAME_PARM_SAVE): Likewise.
15459         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15460         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15461         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15463         (CHECK_SP): Use symbolic stack frame offsets.
15464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15465         zone" instead of caller's parameter save area for temp storage.
15466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15467         Likewise.  Also, use symbolic stack frame offsets.
15468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15469         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15470         our own stack frame instead of the caller's.
15471         (__socket): Use symbolic stack frame offsets.
15472
15473 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15474             Alan Modra  <amodra@gmail.com>
15475
15476         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15477         Define.
15478         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15479         (PPC64_LOCAL_ENTRY_OFFSET): Define.
15480         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15481         New function.
15482         (elf_machine_fixup_plt): Call it.
15483         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
15484         reloc arguments.
15485         (elf_machine_rela): Update call to elf_machine_plt_conflict.
15486         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15487         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15488         r2 before calling target.
15489
15490 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15491             Alan Modra  <amodra@gmail.com>
15492
15493         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15494         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15495         versions of macros to support ELFv2 ABI.
15496         (LOCALENTRY): New macro.
15497         (ENTRY, EALIGN): Use it.
15498         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15499         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15500         fall through into ENTRY entry point.
15501         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15502         Only define if _CALL_ELF != 2.
15503
15504         (elf_machine_matches_host): Verify ABI version matches.
15505         (RTLD_START): Use LOCALENTRY.
15506         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15507         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15508         (PLT_ENTRY_WORDS): New macro.
15509         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15510         (elf_machine_runtime_setup): Support ELFv2 ABI.
15511         (elf_machine_fixup_plt): Likewise.
15512         (elf_machine_plt_conflict): Likewise.
15513         (resolve_ifunc): Likewise.
15514         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15515         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15516         Likewise.
15517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15518         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15520         (makecontext): Support ELFv2 ABI.
15521         * elf/elf.h (EF_PPC64_ABI): Define.
15522
15523 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15524
15525         * sysdeps/powerpc/powerpc64/sysdep.h
15526         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15527         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15528         (ENTRY) [ASSEMBLER]: ... but instead here ...
15529         (EALIGN) [ASSEMBLER]: ... and here.
15530         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15531         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15532         (ENTRY_2) [!ASSEMBLER]: Use it.
15533         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15534         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
15535         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15536         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15537         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15539         Use PPC64_LOAD_FUNCPTR.
15540
15541         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15542
15543 2013-12-04  Alan Modra  <amodra@gmail.com>
15544
15545         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15546         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15547         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15548         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15549
15550         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15551         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15552         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15553         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15554         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15555         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15556
15557 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15558
15559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15560         (__makecontext): Fix incorrect CFI when backtracing out of
15561         context created via makecontext.
15562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15563         (__setcontext): Fix incorrect CFI during switch to new context.
15564         (__novec_setcontext): Likewise.
15565
15566 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
15567
15568         [BZ #4772]
15569         * time/strptime_l.c (__strptime_internal): Allow modifiers
15570         in strptime.
15571         * time/tst-strptime.c (day_tests): Add testcase.
15572
15573 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15574
15575         * scripts/bench.pl: Skip over blank lines.
15576
15577 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15578
15579         [BZ #926]
15580         * manual/time.texi (Calendar Time): Clarify what timezone functions
15581         use.
15582
15583 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15584
15585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15586
15587 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
15588
15589         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15590         implementation.
15591         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15592         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15593         * debug/memset_chk.c (__memset_chk): Likewise.
15594         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15595         * debug/strncpy_chk.c: Likewise.
15596
15597 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
15598
15599         [BZ #15268]
15600         [BZ #15425]
15601         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15602         (__ieee754_exp): For possibly underflowing results, check size of
15603         result and force underflow exception if required.
15604         * math/auto-libm-test-in: Add more tests of exp.
15605         * math/auto-libm-test-out: Regenerated.
15606         * sysdeps/i386/fpu/libm-test-ulps: Update.
15607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15608
15609         [BZ #16283]
15610         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15611         * math/w_exp2f.c (__exp2f): Likewise.
15612         * math/w_exp2l.c (__exp2l): Likewise.
15613         * math/auto-libm-test-in: Do not allow missing errno on exp2
15614         underflow.
15615         * math/auto-libm-test-out: Regenerated.
15616
15617 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
15618
15619         [BZ #16274]
15620         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15621         handle filename validation.
15622         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15623         (do_open): Delete.
15624
15625 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
15626
15627         [BZ #6786]
15628         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15629         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15630         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15631         <float.h>.
15632         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15633         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15634         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15635         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15636         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15637         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15638         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15639         * math/auto-libm-test-in: Don't allow missing errno from erfc.
15640         Add more erfc tests.
15641         * math/auto-libm-test-out: Regenerated.
15642         * sysdeps/i386/fpu/libm-test-ulps: Update.
15643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15644
15645         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15646         exp2, expm1, j0 and j1.
15647         * math/auto-libm-test-out: Regenerated.
15648         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15649         (erfc_test_data): Likewise.
15650         (exp_test_data): Likewise.
15651         (exp_tonearest_test_data): Likewise.
15652         (exp_towardzero_test_data): Likewise.
15653         (exp_downward_test_data): Likewise.
15654         (exp_upward_test_data): Likewise.
15655         (exp10_test_data): Likewise.
15656         (exp2_test_data): Likewise.
15657         (expm1_test_data): Likewise.
15658         (j0_test_data): Likewise.
15659         (j1_test_data): Likewise.
15660         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15661         (input_flag_type): Add flag_xfail_rounding.
15662         (input_flags): Add xfail-rounding.
15663         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15664         (output_for_one_input_case): Handle flag_xfail_rounding.
15665         * sysdeps/i386/fpu/libm-test-ulps: Update.
15666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15667
15668 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
15669
15670         [BZ #16289]
15671         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15672         division by 0.
15673
15674 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15675
15676         [BZ #16195]
15677         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15678         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15679         (STAP_PROBE0): New macro.
15680         (STAP_PROBE1): Likewise.
15681         (STAP_PROBE2): Likewise.
15682         (STAP_PROBE3): Likewise.
15683         (STAP_PROBE4): Likewise.
15684
15685 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
15686
15687         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15688
15689 2013-12-02  Steve Ellcey  <sellcey@mips.com>
15690
15691         * benchtests/Makefile (bench): Add sqrt.
15692         (LDLIBS-bench-sqrt): New.
15693         * benchtests/sqrt-input: New.
15694
15695 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
15696
15697         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15698         (GAIH_EAI): Likewise.
15699         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15700         (gaih_inet): Likewise.
15701         (getaddrinfo): Don't use GAIH_EAI.
15702
15703         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15704         (struct gaih): Remove definition.
15705
15706 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15707
15708         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15709         Use HERRNOP directly.
15710
15711 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15712
15713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15714
15715 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
15716
15717         * math/gen-auto-libm-tests.c (test_functions): Add more
15718         single-argument functions.
15719         (special_fill_pi_2): New function.
15720         (special_fill_minus_pi_2): Likewise.
15721         (special_fill_pi_6): Likewise.
15722         (special_fill_minus_pi_6): Likewise.
15723         (special_fill_pi_3): Likewise.
15724         (special_fill_2pi_3): Likewise.
15725         (special_fill_e): Likewise.
15726         (special_fill_1_e): Likewise.
15727         (special_fill_e_minus_1): Likewise.
15728         (special_real_inputs): Add more special inputs.
15729         (output_for_one_input_case): Do not require ERANGE on underflow to
15730         zero if round-to-nearest result does not underflow to zero, unless
15731         exact results required.
15732         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15733         atan, atanh, cbrt, cos and cosh.
15734         * math/auto-libm-test-out: Regenerated.
15735         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15736         (acos_tonearest_test_data): Likewise.
15737         (acos_towardzero_test_data): Likewise.
15738         (acos_downward_test_data): Likewise.
15739         (acos_upward_test_data): Likewise.
15740         (acosh_test_data): Likewise.
15741         (asin_test_data): Likewise.
15742         (asin_tonearest_test_data): Likewise.
15743         (asin_towardzero_test_data): Likewise.
15744         (asin_upward_test_data): Likewise.
15745         (asinh_test_data): Likewise.
15746         (atan_test_data): Likewise.
15747         (atanh_test_data): Likewise.
15748         (cbrt_test_data): Likewise.
15749         (cos_test_data): Likewise.
15750         (cos_tonearest_test_data): Likewise.
15751         (cos_towardzero_test_data): Likewise.
15752         (cos_downward_test_data): Likewise.
15753         (cos_upward_test_data): Likewise.
15754         (cosh_test_data): Likewise.
15755         (cosh_tonearest_test_data): Likewise.
15756         (cosh_towardzero_test_data): Likewise.
15757         (cosh_downward_test_data): Likewise.
15758         (cosh_upward_test_data): Likewise.
15759         * sysdeps/i386/fpu/libm-test-ulps: Update.
15760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15761
15762 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
15763
15764         [BZ #6787]
15765         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15766         * math/w_exp10f.c (__exp10f): Likewise.
15767         * math/w_exp10l.c (__exp10l): Likewise.
15768         * math/libm-test.inc (exp10_test_data): Add more tests and expect
15769         errno settings in existing tests.
15770
15771         [BZ #14032]
15772         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15773         precision control set to double precision.
15774         * sysdeps/i386/fpu/w_sqrt.c: New file.
15775         * math/auto-libm-test-in: Add more tests.
15776         * math/auto-libm-test-out: Update.
15777
15778         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15779         (sqrt_test_tonearest): New function.
15780         (sqrt_towardzero_test_data): New variable.
15781         (sqrt_test_towardzero): New function.
15782         (sqrt_downward_test_data): New variable.
15783         (sqrt_test_downward): New function.
15784         (sqrt_upward_test_data): New variable.
15785         (sqrt_test_upward): New function.
15786         (main): Call the new functions.
15787
15788         * math/gen-auto-libm-tests.c: New file.
15789         * math/auto-libm-test-in: Likewise.
15790         * math/auto-libm-test-out: New generated file.
15791         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15792         variables.
15793         (%beautify): Add generated representations of zero.
15794         (top level): Set $auto_input and call parse_auto_input.
15795         (beautify): Remove trailing "f" from hex float constants.
15796         (parse_args): Handle XFAIL_TEST.
15797         (convert_condition): New function.
15798         (or_value): Likewise.
15799         (or_cond_value): Likewise.
15800         (generate_testfile): Handle AUTO_TESTS_* lines.
15801         (parse_auto_input): New function.
15802         * math/libm-test.inc (XFAIL_TEST): New macro.
15803         (ERRNO_UNCHANGED): Update value.
15804         (ERRNO_EDOM): Likewise.
15805         (ERRNO_ERANGE): Likewise.
15806         (IGNORE_RESULT): Likewise.
15807         (TEST_COND_flt_32): New macro.
15808         (TEST_COND_dbl_64): Likewise.
15809         (TEST_COND_ldbl_96_intel): Likewise.
15810         (TEST_COND_ldbl_96_m68k): Likewise.
15811         (TEST_COND_ldbl_128): Likewise.
15812         (TEST_COND_ldbl_128ibm): Likewise.
15813         (TEST_COND_long32): Likewise.
15814         (TEST_COND_long64): Likewise.
15815         (TEST_COND_before_rounding): Likewise.
15816         (TEST_COND_after_rounding): Likewise.
15817         (enable_test): Handle XFAIL_TEST flag.
15818         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15819         with finite results.
15820         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15821         auto-libm-test-out.
15822
15823 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15824             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15825
15826         [BZ #16214]
15827         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15828         __tls_get_addr_internal instead of __tls_get_offset in order to
15829         avoid GOT pointer dependency.  Make rtld export
15830         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15831         __tls_get_addr since we are a __tls_get_offset platform.
15832         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15833         GOT pointer being set up before.
15834         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15835
15836 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
15837
15838         * manual/math.texi (Errors in Math Functions): Document accuracy
15839         goals.
15840
15841         [BZ #15004]
15842         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15843         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15844         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15845         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15846         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15847         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15848         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15849         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15850         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15851         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15852         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15853         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15854         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15855         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15856         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15857         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15858
15859         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15860         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15861         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15862         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15863         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15864         Likewise.
15865         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15866         Likewise.
15867         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15868         Likewise.
15869         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15870         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15871         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15872         atomic-feupdateenv and flt-rounds.
15873         * sysdeps/powerpc/nofpu/Versions (libc): Add
15874         __atomic_feholdexcept, __atomic_feclearexcept,
15875         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15876         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15877         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15878         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15879         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15880         here.
15881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15882         Update.
15883
15884         * manual/arith.texi (FP Exceptions): Document that exceptions may
15885         not be raised when matherr is used.
15886         (Math Error Reporting): Document overflow in directed rounding
15887         modes.  Document that errno may not be set when finite values are
15888         returned on overflow.  Document intent to set errno on underflow
15889         only for underflow to zero.
15890
15891         [BZ #16271]
15892         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15893         round-to-nearest then adjust result for other rounding modes.
15894         * include/fenv.h (fegetround): Use libm_hidden_proto.
15895         * math/fegetround.c (fegetround): Use libm_hidden_def.
15896         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15897         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15898         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15899         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15900         Likewise.
15901         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15902         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15903         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15904         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15905
15906 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15907
15908         [BZ #16077]
15909         * nss/Versions (libnss_files): Add
15910         _nss_files_gethostbyname3_r.
15911         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15912         New function.
15913         (HOST_DB_LOOKUP): Remove macro.
15914         (_nss_files_gethostbyname_r): Implement function without the
15915         HOST_DB_LOOKUP macro.
15916         (_nss_files_gethostbyname2_r): Likewise.
15917
15918 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15919
15920         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15921
15922 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15923
15924         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15925         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15926         warning.
15927
15928 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15929
15930         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15931         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15932         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15933         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15934         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15935         __fe_nomask_env_priv and attribute_hidden.
15936         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15937         (libc_feupdateenv_test_ppc): Likewise.
15938         (libc_feresetround_ppc): Likewise.
15939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15940         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15941         compat_symbol macro.
15942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15943         (__fe_nomask_env): Likewise.
15944         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15945
15946 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15947
15948         * string/Makefile: Remove ifunc tests.
15949         * string/test-string.h: Define TEST_IFUNC.
15950         * string/test-bcopy-ifunc.c: Remove.
15951         * string/test-bzero-ifunc.c: Likewise.
15952         * string/test-memccpy-ifunc.c: Likewise.
15953         * string/test-memchr-ifunc.c: Likewise.
15954         * string/test-memcmp-ifunc.c: Likewise.
15955         * string/test-memcpy-ifunc.c: Likewise.
15956         * string/test-memmem-ifunc.c: Likewise.
15957         * string/test-memmove-ifunc.c: Likewise.
15958         * string/test-mempcpy-ifunc.c: Likewise.
15959         * string/test-memrchr-ifunc.c: Likewise.
15960         * string/test-memset-ifunc.c: Likewise.
15961         * string/test-rawmemchr-ifunc.c: Likewise.
15962         * string/test-stpcpy-ifunc.c: Likewise.
15963         * string/test-stpncpy-ifunc.c: Likewise.
15964         * string/test-strcasecmp-ifunc.c: Likewise.
15965         * string/test-strcasestr-ifunc.c: Likewise.
15966         * string/test-strcat-ifunc.c: Likewise.
15967         * string/test-strchr-ifunc.c: Likewise.
15968         * string/test-strchrnul-ifunc.c: Likewise.
15969         * string/test-strcmp-ifunc.c: Likewise.
15970         * string/test-strcpy-ifunc.c: Likewise.
15971         * string/test-strcspn-ifunc.c: Likewise.
15972         * string/test-strlen-ifunc.c: Likewise.
15973         * string/test-strncasecmp-ifunc.c: Likewise.
15974         * string/test-strncat-ifunc.c: Likewise.
15975         * string/test-strncmp-ifunc.c: Likewise.
15976         * string/test-strncpy-ifunc.c: Likewise.
15977         * string/test-strnlen-ifunc.c: Likewise.
15978         * string/test-strpbrk-ifunc.c: Likewise.
15979         * string/test-strrchr-ifunc.c: Likewise.
15980         * string/test-strspn-ifunc.c: Likewise.
15981         * string/test-strstr-ifunc.c: Likewise.
15982
15983 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15984
15985         * benchtests/Makefile: Remove ifunc tests.
15986         * benchtests/bench-string.h: Define TEST_IFUNC.
15987         * benchtests/bench-bcopy-ifunc.c: Remove.
15988         * benchtests/bench-bzero-ifunc.c: Likewise.
15989         * benchtests/bench-memccpy-ifunc.c: Likewise.
15990         * benchtests/bench-memchr-ifunc.c: Likewise.
15991         * benchtests/bench-memcmp-ifunc.c: Likewise.
15992         * benchtests/bench-memcpy-ifunc.c: Likewise.
15993         * benchtests/bench-memmem-ifunc.c: Likewise.
15994         * benchtests/bench-memmove-ifunc.c: Likewise.
15995         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15996         * benchtests/bench-memrchr-ifunc.c: Likewise.
15997         * benchtests/bench-memset-ifunc.c: Likewise.
15998         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15999         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16000         * benchtests/bench-stpcpy-ifunc.c: Likewise.
16001         * benchtests/bench-stpncpy-ifunc.c: Likewise.
16002         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16003         * benchtests/bench-strcasestr-ifunc.c: Likewise.
16004         * benchtests/bench-strcat-ifunc.c: Likewise.
16005         * benchtests/bench-strchr-ifunc.c: Likewise.
16006         * benchtests/bench-strchrnul-ifunc.c: Likewise.
16007         * benchtests/bench-strcmp-ifunc.c: Likewise.
16008         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16009         * benchtests/bench-strcpy-ifunc.c: Likewise.
16010         * benchtests/bench-strcspn-ifunc.c: Likewise.
16011         * benchtests/bench-strlen-ifunc.c: Likewise.
16012         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16013         * benchtests/bench-strncat-ifunc.c: Likewise.
16014         * benchtests/bench-strncmp-ifunc.c: Likewise.
16015         * benchtests/bench-strncpy-ifunc.c: Likewise.
16016         * benchtests/bench-strnlen-ifunc.c: Likewise.
16017         * benchtests/bench-strpbrk-ifunc.c: Likewise.
16018         * benchtests/bench-strrchr-ifunc.c: Likewise.
16019         * benchtests/bench-strsep-ifunc.c: Likewise.
16020         * benchtests/bench-strspn-ifunc.c: Likewise.
16021         * benchtests/bench-strstr-ifunc.c: Likewise.
16022
16023 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16024
16025         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16026
16027 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16028
16029         * resolv/netdb.h: Use __glibc_reserved instead __unused.
16030         * rt/aio.h: Likewise.
16031         * sysdeps/gnu/bits/utmp.h: Likewise.
16032         * sysdeps/gnu/bits/utmpx.h: Likewise.
16033         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16034         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16035         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16036         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16037         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16038         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16039         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16040         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16041         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16042         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16043         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16044         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16045         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16047         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16048         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16049         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16050         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16051         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16052         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16053         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16054         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16055         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16056         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16057         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16058         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16059         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16060         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16061         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16062         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16063         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16064         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16065         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16066         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16067         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16068         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16069         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16070         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16071         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16072         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16073         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16074         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16075
16076 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
16077
16078         [BZ #16245]
16079         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16080         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16081
16082 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
16083
16084         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16085         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16086         Likewise.
16087
16088 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16089
16090         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16091         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16092         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16093         (__fesetround): Remove define.
16094         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16095         rounding and exceptions handling.
16096         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16097         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16098         (__fe_nomask_env): Likewise.
16099         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16100         __fegetround instead of fegetround.
16101         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16102         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16103
16104 2013-11-21  Roland McGrath  <roland@hack.frob.com>
16105
16106         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16107         it's there.
16108
16109         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16110
16111 2013-11-21  Meador Inge  <meadori@codesourcery.com>
16112
16113         [BZ #11157]
16114         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16115         (encrypt_r): Likewise.
16116         * malloc/obstack.h (obstack_free): Likewise.
16117         * posix/unistd.h (encrypt): Likewise.
16118
16119 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
16120
16121         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16122         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16123         DL_CALL_DT_FINI() that call the functions directly.
16124         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16125         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16126         * elf/dl-fini.c: Likewise.
16127
16128 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
16129
16130         * malloc/hooks.c (memalign_check): Add alignment rounding.
16131         * malloc/malloc.c (_mid_memalign): New function.
16132         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16133         Implement by calling _mid_memalign.
16134         * manual/probes.texi (Memory Allocation Probes): Remove
16135         memory_valloc_retry and memory_pvalloc_retry.
16136
16137 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16138
16139         * locale/programs/locarchive.c (open_archive): Add const
16140         qualifier to ARCHIVEFNAME and copy default fname to
16141         DEFAULT_FNAME.
16142
16143         [BZ #15601]
16144         * libio/tst-widetext.input: Rename Oriya to Odia.
16145         * locale/iso-639.def: Likewise.
16146
16147         * manual/probes.texi (Mathematical Function Probes): Add
16148         documentation for sin, cos, asin and acos probes.
16149         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16150         (__sin32): Add slowasin probe.
16151         (__cos32): Add slowacos probe.
16152         (__mpsin): Add slowsin probe.
16153         (__mpcos): Add slowcos probe.
16154
16155 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
16156
16157         [BZ #15483]
16158         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16159         thread-local __sim_exceptions_thread and global
16160         __sim_exceptions_global.
16161         (__sim_disabled_exceptions): Change to thread-local
16162         __sim_disabled_exceptions_thread and global
16163         __sim_disabled_exceptions_global.
16164         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16165         and global __sim_round_mode_global.
16166         (__simulate_exceptions): Use thread-local floating-point state and
16167         set global state from it as needed.
16168         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16169         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16170         __sim_round_mode_thread.
16171         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16172         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16173         and global __sim_exceptions_global.
16174         (__sim_disabled_exceptions): Change to thread-local
16175         __sim_disabled_exceptions_thread and global
16176         __sim_disabled_exceptions_global.
16177         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16178         and global __sim_round_mode_global.
16179         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16180         (SIM_SET_GLOBAL): Likewise.
16181         * sysdeps/powerpc/soft-fp/sfp-machine.h
16182         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16183         __sim_round_mode_thread.
16184         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16185         __sim_disabled_exceptions_thread.
16186         (__sim_exceptions): Change to __sim_exceptions_thread.
16187         (__sim_disabled_exceptions): Change to
16188         __sim_disabled_exceptions_thread.
16189         (__sim_round_mode): Change to __sim_round_mode_thread.
16190         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16191         thread-local floating-point state and set global state from it as
16192         needed.
16193         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16194         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16195         (__sim_disabled_exceptions): Remove extern declaration.
16196         (feenableexcept): Use thread-local floating-point state and set
16197         global state from it as needed.
16198         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16199         extern declaration.
16200         (__sim_disabled_exceptions): Likewise.
16201         (__sim_round_mode): Likewise.
16202         (__fegetenv): Use thread-local floating-point state.
16203         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16204         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16205         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16206         floating-point state and set global state from it as needed.
16207         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16208         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16209         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16210         Likewise.
16211         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16212         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16213         Likewise.
16214         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16215         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16216         Use __sim_round_mode_thread.
16217         * math/test-fenv-tls.c: New file.
16218         * math/Makefile (tests): Add test-fenv-tls.
16219         ($(objpfx)test-fenv-tls): Depend on
16220         $(common-objpfx)nptl/libpthread.so.
16221
16222 2013-11-19  Andreas Schwab  <schwab@suse.de>
16223
16224         * locale/programs/locale.c (show_info): Decode wordarray elements.
16225         * locale/categories.def (LC_MONETARY): Add element for
16226         _NL_MONETARY_CRNCYSTR.
16227         * locale/C-monetary.c (conversion_rate): New variable.
16228         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16229         element.
16230
16231 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
16232
16233         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16234         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16235
16236 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16237
16238         * elf/Makefile (tst-auxv): New test.
16239         * elf/tst-auxv.c: New
16240         * elf/rtld.c (dl_main): Adjust AT_EXECFN
16241
16242 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
16243
16244         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16245         (hidden_proto): Caller changed.
16246         (hidden_tls_proto): New macro.
16247         (libc_hidden_tls_proto): Likewise.
16248         (rtld_hidden_tls_proto): Likewise.
16249         (libm_hidden_tls_proto): Likewise.
16250         (libresolv_hidden_tls_proto): Likewise.
16251         (librt_hidden_tls_proto): Likewise.
16252         (libdl_hidden_tls_proto): Likewise.
16253         (libnss_files_hidden_tls_proto): Likewise.
16254         (libnsl_hidden_tls_proto): Likewise.
16255         (libnss_nisplus_hidden_tls_proto): Likewise.
16256         (libutil_hidden_tls_proto): Likewise.
16257
16258 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
16259
16260         [BZ #10253]
16261         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16262         (decompose_rpath): Defer expansion to fillin_rpath.
16263         (_dl_init_paths): Pass linkmap to fillin_rpath.
16264
16265 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16266
16267         * benchtests/Makefile: Add strsep.
16268         * benchtests/bench-strsep.c: New file: strsep benchtest.
16269         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16270
16271 2013-11-18  Andreas Schwab  <schwab@suse.de>
16272
16273         * locale/programs/locale.c (show_info) [case byte]: Check for
16274         '\377' instead of '\177'.
16275         * locale/C-monetary.c (not_available): Always use "\377".
16276         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16277         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
16278         detect unavailable sign_posn locale elements.
16279         * locale/localeconv.c (__localeconv): For grouping and
16280         mon_grouping handle "\177" and "\377" like no grouping.
16281         (INT_ELEM): New macro.  Use it to set all numeric members.
16282         * locale/programs/ld-monetary.c (monetary_read)
16283         <tok_mon_grouping>: Normalize single -1 to the empty string.
16284         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16285         Likewise.
16286
16287 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16288
16289         [BZ #16055]
16290         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16291         when we match (nil).
16292         * stdio-common/tst-sscanf.c (struct test): Add testcase.
16293
16294 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
16295
16296         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16297         (NO_TEST_INLINE): Update value.
16298         (ERRNO_UNCHANGED): Likewise.
16299         (ERRNO_EDOM): Likewise.
16300         (ERRNO_ERANGE): Likewise.
16301         (IGNORE_RESULT): Likewise.
16302         (check_float_internal): Check signs of NaN results if
16303         TEST_NAN_SIGN used.
16304         (check_complex): Pass TEST_NAN_SIGN flag through to second
16305         check_float_internal call.
16306         (copysign_test_data): Add tests with quiet NaNs as second
16307         argument.  Use TEST_NAN_SIGN.
16308         (fabs_test_data): Add test of negative quiet NaN argument.  Use
16309         TEST_NAN_SIGN.
16310         (signbit_test_data): Add tests of quiet NaN argument.
16311         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16312
16313         * math/gen-libm-test.pl (show_exceptions): Take extra argument
16314         $ignore_result.
16315         (parse_args): Handle function results specified as IGNORE.
16316         * math/libm-test.inc (IGNORE_RESULT): New macro.
16317         (check_float_internal): Do not check numerical result if flag
16318         IGNORE_RESULT set.
16319         (check_complex): Pass through IGNORE_RESULT to second
16320         check_float_internal call.
16321         (check_int): Do not check numerical result if flag IGNORE_RESULT
16322         set.
16323         (check_long): Likewise.
16324         (check_bool): Likewise.
16325         (check_longlong): Likewise.
16326         (lrint_test_data): Add tests of infinite and NaN arguments.
16327         (lrint_tonearest_test_data): Likewise.
16328         (lrint_towardzero_test_data): Likewise.
16329         (lrint_downward_test_data): Likewise.
16330         (lrint_upward_test_data): Likewise.
16331         (llrint_test_data): Likewise.
16332         (llrint_tonearest_test_data): Likewise.
16333         (llrint_towardzero_test_data): Likewise.
16334         (llrint_downward_test_data): Likewise.
16335         (llrint_upward_test_data): Likewise.
16336         (lround_test_data): Likewise.
16337         (llround_test_data): Likewise.
16338
16339         * math/libm-test.inc (NO_TEST_INLINE): New macro.
16340         (ERRNO_UNCHANGED): Update value.
16341         (ERRNO_EDOM): Likewise.
16342         (ERRNO_ERANGE): Likewise.
16343         (NO_TEST_INLINE_FLOAT): New macro.
16344         (NO_TEST_INLINE_DOUBLE): Likewise.
16345         (enable_test): New function.
16346         (RUN_TEST_f_f): Check enable_test before running test.
16347         (RUN_TEST_2_f): Likewise.
16348         (RUN_TEST_fff_f): Likewise.
16349         (RUN_TEST_c_f): Likewise.
16350         (RUN_TEST_f_f1): Likewise.
16351         (RUN_TEST_fF_f1): Likewise.
16352         (RUN_TEST_fI_f1): Likewise.
16353         (RUN_TEST_ffI_f1): Likewise.
16354         (RUN_TEST_c_c): Likewise.
16355         (RUN_TEST_cc_c): Likewise.
16356         (RUN_TEST_f_i): Likewise.
16357         (RUN_TEST_f_i_tg): Likewise.
16358         (RUN_TEST_ff_i_tg): Likewise.
16359         (RUN_TEST_f_b): Likewise.
16360         (RUN_TEST_f_b_tg): Likewise.
16361         (RUN_TEST_f_l): Likewise.
16362         (RUN_TEST_f_L): Likewise.
16363         (RUN_TEST_fFF_11): Likewise.
16364         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16365         conditionals.
16366         (cosh_test_data): Likewise.
16367         (exp_test_data): Likewise.
16368         (expm1_test_data): Likewise.
16369         (hypot_test_data): Likewise.
16370         (pow_test_data): Likewise.
16371         (sinh_test_data): Likewise.
16372         (tanh_test_data): Likewise.
16373         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16374         flags argument.
16375
16376         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16377         tests with quiet NaN input and output.
16378         (acosh_test_data): Likewise.
16379         (asin_test_data): Likewise.
16380         (asinh_test_data): Likewise.
16381         (atan_test_data): Likewise.
16382         (atanh_test_data): Likewise.
16383         (atan2_test_data): Likewise.
16384         (cbrt_test_data): Likewise.
16385         (cos_test_data): Likewise.
16386         (cosh_test_data): Likewise.
16387         (erf_test_data): Likewise.
16388         (erfc_test_data): Likewise.
16389         (exp_test_data): Likewise.
16390         (exp10_test_data): Likewise.
16391         (exp2_test_data): Likewise.
16392         (expm1_test_data): Likewise.
16393         (hypot_test_data): Likewise.
16394         (j0_test_data): Likewise.
16395         (j1_test_data): Likewise.
16396         (jn_test_data): Likewise.
16397         (lgamma_test_data): Likewise.
16398         (log_test_data): Likewise.
16399         (log10_test_data): Likewise.
16400         (log1p_test_data): Likewise.
16401         (log2_test_data): Likewise.
16402         (pow_test_data): Likewise.
16403         (scalb_test_data): Likewise.
16404         (sin_test_data): Likewise.
16405         (sincos_test_data): Likewise.
16406         (sinh_test_data): Likewise.
16407         (tan_test_data): Likewise.
16408         (tanh_test_data): Likewise.
16409         (tgamma_test_data): Likewise.
16410         (y0_test_data): Likewise.
16411         (y1_test_data): Likewise.
16412         (yn_test_data): Likewise.
16413
16414         [BZ #16167]
16415         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16416         argument being NaN and avoid computations with second argument in
16417         that case.
16418         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16419         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16420         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16421
16422 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
16423
16424         * locale/iso-639.def: Add Chitwani Tharu (the).
16425
16426 2013-11-14  Andreas Schwab  <schwab@suse.de>
16427
16428         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16429         word instead of empty string.
16430
16431 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16432
16433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16434         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16436         (__fe_nomask_env): Likewise.
16437
16438 2013-11-13  Steve Ellcey  <sellcey@mips.com>
16439
16440         * benchtests/bench-timing.h: Include time.h.
16441
16442 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
16443
16444         [BZ #15997]
16445         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16446         to 3.4.0 for x32.
16447         * sysdeps/unix/sysv/linux/configure: Regenerated.
16448
16449 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
16450
16451         [BZ #16151]
16452         * stdlib/strtod_l.c (round_and_return): Do not consider
16453         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16454         exponent one less than half the least subnormal exponent.
16455         * stdlib/test-strtod-round-data: Add more tests.
16456         * stdlib/tst-strtod-round.c (tests): Regenerated.
16457
16458 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16459
16460         [BZ #14143]
16461         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16462         (__fe_mask_env): Likewise.
16463         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16464         libm_hidden_proto and add function prototype.
16465         (__fe_mask_env): Add function prototype.
16466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16467         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16469         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16471         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16472
16473 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16474
16475         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16476         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16477
16478 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16479
16480         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16481         of htab_find_slot().
16482
16483 2013-11-11  David S. Miller  <davem@davemloft.net>
16484
16485         [BZ #16150]
16486         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16487         symbol in the non-vis3 case in static builds.
16488         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16489         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16490         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16491         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16492
16493 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
16494
16495         [BZ #387]
16496         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16497         it is empty.
16498
16499 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16500
16501         * benchtests/Makefile: Add bench-strtod.
16502         * benchtests/bench-strtod.c: New file: strtod benchtest
16503
16504 2013-11-11  Andreas Schwab  <schwab@suse.de>
16505
16506         [BZ #16153]
16507         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16508         terminating NUL in key length.
16509
16510 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16511
16512         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16513         Add artificial ODP entry for vDSO symbol for PPC64.
16514         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16515         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16516
16517 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16518
16519         [BZ #15374]
16520         * nss/getent.c (services_keys): Recognize services starting with digit.
16521
16522 2013-11-06  David S. Miller  <davem@davemloft.net>
16523
16524         [BZ #15985]
16525         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16526         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16527
16528 2013-11-06  Will Newton  <will.newton@linaro.org>
16529
16530         * manual/memory.texi (Malloc Examples): Remove register
16531         keyword from examples.
16532
16533 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
16534
16535         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16536
16537 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
16538
16539         [BZ #6981]
16540         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16541         depending on [__GCC_IEC_559 > 0].
16542         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16543         depending on [__GCC_IEC_559_COMPLEX > 0].
16544
16545 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
16546
16547         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16548         to iso-639.def.
16549
16550 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
16551
16552         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16553
16554 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
16555
16556         [BZ #16112]
16557         * malloc/malloc (malloc_info): Do not handle first bin as
16558         special case.
16559
16560 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
16561
16562         * locale/iso-639.def: Add Central Nahuatl (nhn).
16563
16564 2013-11-01  Bruno Haible  <bruno@clisp.org>
16565
16566         [BZ #7003]
16567         * manual/math.texi (BSD Random): Specify range upper bound as
16568         in POSIX.
16569
16570 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
16571
16572         * locale/iso-639.def: Add Meadow Mari (mhr).
16573
16574 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
16575
16576         [BZ #14752], [BZ #15763]
16577         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16578         Validate name.
16579         * rt/tst_shm.c: Add test for escaping directory.
16580
16581 2013-10-31  Andreas Schwab  <schwab@suse.de>
16582
16583         [BZ #15917]
16584         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16585         followed by 'x' as part of digit sequence.
16586         * stdio-common/tst-sscanf.c (double_tests2): New tests.
16587
16588 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16589
16590         [BZ #16037]
16591         * configure.ac: allow GNU Make 4.0 and greater.
16592         * configure: Regenerated.
16593
16594 2013-10-30  Will Newton  <will.newton@linaro.org>
16595
16596         [BZ #16038]
16597         * malloc/hooks.c (memalign_check): Limit alignment to the
16598         maximum representable power of two.
16599         * malloc/malloc.c (__libc_memalign): Likewise.
16600         * malloc/tst-memalign.c (do_test): Add test for very
16601         large alignment values.
16602         * malloc/tst-posix_memalign.c (do_test): Likewise.
16603
16604 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
16605
16606         [BZ #11087]
16607         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16608         (munmap_chunk): Likewise.
16609         (mremap_chunk): Likewise.
16610
16611 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
16612
16613         [BZ #15799]
16614         * stdlib/div.c (div): Remove obsolete code.
16615         * stdlib/ldiv.c (ldiv): Likewise.
16616         * stdlib/lldiv.c (lldiv): Likewise.
16617
16618 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16619
16620         [BZ #16071]
16621         * nss/nss_files/files-XXX.c (get_contents_ret): New
16622         enumerator.
16623         (get_contents): New function.
16624         (internal_getent): Use it.  Expand size of LINEBUFLEN.
16625
16626 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
16627
16628         * configure.in: Moved to ...
16629         * configure.ac: ... here. Change reference to configure.in
16630         to configure.ac.
16631         * sysdeps/arm/preconfigure.ac: ... here.
16632         configure.in to configure.ac.
16633         * sysdeps/gnu/configure.in: Moved to ...
16634         * sysdeps/gnu/configure.ac: ... here.
16635         * sysdeps/i386/configure.in: Moved to ...
16636         * sysdeps/i386/configure.ac: ... here.
16637         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16638         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16639         * sysdeps/mach/configure.in: Moved to ...
16640         * sysdeps/mach/configure.ac: ... here.
16641         * sysdeps/mach/hurd/configure.in: Moved to ...
16642         * sysdeps/mach/hurd/configure.ac: ... here.
16643         * sysdeps/powerpc/configure.in: Moved to ...
16644         * sysdeps/powerpc/configure.ac: ... here.
16645         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16646         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16647         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16648         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16649         * sysdeps/s390/s390-32/configure.in: Moved to ...
16650         * sysdeps/s390/s390-32/configure.ac: ... here.
16651         * sysdeps/s390/s390-64/configure.in: Moved to ...
16652         * sysdeps/s390/s390-64/configure.ac: ... here.
16653         * sysdeps/sh/configure.in: Moved to ...
16654         * sysdeps/sh/configure.ac: ... here.
16655         * sysdeps/sparc/configure.in: Moved to ...
16656         * sysdeps/sparc/configure.ac: ... here.
16657         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16658         * sysdeps/unix/sysv/linux/configure.ac: ... here.
16659         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16660         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16661         * sysdeps/x86_64/configure.in: Moved to ...
16662         * sysdeps/x86_64/configure.ac: ... here.
16663         * sysdeps/x86_64/preconfigure.in: Moved to ...
16664         * sysdeps/x86_64/preconfigure.ac: ... here.
16665         * aclocal.m4: Change reference to configure.in to configure.ac.
16666         * config.h.in: Likewise.
16667         * manual/install.texi: Likewise.
16668         * manual/maint.texi: Likewise.
16669         * Makefile: Likewise.
16670         * malloc/Makefile: Likewise.
16671         * nscd/Makefile: Likewise.
16672         * Makeconfig: Change reference to configure.in and
16673         preconfigure.in to configure.ac and preconfigure.ac
16674         respectively.
16675         * INSTALL: Regenerated.
16676         * configure: Likewise.
16677         * sysdeps/gnu/configure: Likewise.
16678         * sysdeps/i386/configure: Likewise.
16679         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16680         * sysdeps/mach/configure: Likewise.
16681         * sysdeps/mach/hurd/configure: Likewise.
16682         * sysdeps/powerpc/configure: Likewise.
16683         * sysdeps/powerpc/powerpc32/configure: Likewise.
16684         * sysdeps/powerpc/powerpc64/configure: Likewise.
16685         * sysdeps/s390/s390-32/configure: Likewise.
16686         * sysdeps/s390/s390-64/configure: Likewise.
16687         * sysdeps/sh/configure: Likewise.
16688         * sysdeps/sparc/configure: Likewise.
16689         * sysdeps/unix/sysv/linux/configure: Likewise.
16690         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16691         * sysdeps/x86_64/configure: Likewise.
16692         * sysdeps/x86_64/preconfigure: Likewise.
16693
16694 2013-10-29  Andreas Schwab  <schwab@suse.de>
16695
16696         * stdio-common/Makefile (tst-swscanf-ENV): Define.
16697
16698 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16699
16700         * benchtests/pow-inputs: Add new inputs.
16701
16702         * benchtests/exp-inputs: Add new inputs.
16703
16704         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16705         conditional check for return value.
16706         (__cos32): Likewise.
16707
16708 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16709
16710         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16711         to provide a boost for large inputs with word alignment.
16712         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16713         implementation based on optimized PPC64 strcpy.
16714         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16715         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16716         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16717         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16718
16719 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16720
16721         [BZ #2801]
16722         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16723
16724 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16725
16726         [BZ #14876]
16727         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16728         * time/tst-strptime.c (day_tests): Add testcase.
16729
16730 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16731
16732         [BZ #14029]
16733         * manual/pattern.texi: Acknowledge that fnmatch can fail.
16734
16735 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
16736
16737         [BZ #16074]
16738         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16739         MAP_FAILED on error.
16740
16741 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16742
16743         [BZ #16072]
16744         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16745         heap for large requests.
16746
16747 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
16748
16749         [BZ #9954]
16750         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16751         result if the result has no associated interface.
16752         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16753         interface for all 127.X.Y.Z addresses.
16754
16755 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
16756
16757         * locale/iso-639.def: Add Ligurian (lij)
16758
16759 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
16760
16761         [BZ #15825]
16762         * sunrpc/rpc_main.c: Document rpcgen -5.
16763
16764 2013-10-19  Michael Stahl  <mstahl@redhat.com>
16765
16766         * elf/rtld.c (do_preload): Print the reason why preloading failed.
16767
16768 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16769
16770         [BZ #10278]
16771         * posix/glob.c: Match only directories when trailing slash is present.
16772         * posix/tst-gnuglob.c (my_opendir): Do not open files.
16773         (main): Add testcase.
16774
16775 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16776
16777         [BZ #15670]
16778         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16779
16780 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
16781
16782         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16783         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16784         AUTH_DES and cindex for FIPS 140-2.
16785         (DES Encryption): Add cindex FIPS 46-3.
16786
16787         * locale/locarchive.h (struct locarhandle): Add fname.
16788         * locale/programs/localedef.c (main): Pass ARGV[remaining]
16789         if an optional argument was specified to --list-archive,
16790         otherwise NULL.
16791         * locale/programs/locarchive.c (show_archive_content): Take new
16792         argument fname and pass it via ah.fname to open_archive.
16793         * locale/programs/localedef.h: Update decl.
16794         (open_archive): If AH->fname is non-null, open that file
16795         rather than the default file name, and don't ignore ENOENT.
16796         (create_archive): Set AH.fname to NULL.
16797         (delete_locales_from_archive): Likewise.
16798         (add_locales_to_archive): Likewise.
16799         * locale/programs/locfile.c (write_all_categories): Likewise.
16800
16801 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
16802             Aldy Hernandez  <aldyh@redhat.com>
16803
16804         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16805         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16806         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16807         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16808         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16809         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16810         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16811         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16812         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16813         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16814         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16815         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16816         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16817         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16818         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16819         Likewise.
16820         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16821         Likewise.
16822         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16823         Likewise.
16824         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16825         Likewise.
16826         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16827         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16828         Likewise.
16829         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16830         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16831         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16832         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16833         Likewise.
16834         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16835         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16836         * sysdeps/powerpc/preconfigure: Likewise.
16837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16838         Likewise.
16839         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16840         Replace contents of file by #include of <fenv_libc.h>.
16841         * sysdeps/powerpc/soft-fp/sfp-machine.h
16842         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16843         and <sys/prctl.h>.
16844         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16845         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16846         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16847         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16848         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16849         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16850         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16851         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16852         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16853         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16854         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16855         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16857         Allow copysignl PLT reference to be missing.
16858
16859 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
16860             Joseph Myers  <joseph@codesourcery.com
16861
16862         [BZ #15948]
16863         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16864         single character.
16865         (add_to_tablewc): Assert sequence of wide characters is nonempty.
16866
16867 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16868
16869         * elf/tst-tls-dlinfo.c: Don't include tls.h.
16870         * elf/tst-tls1.c: Likewise.
16871         * elf/tst-tls10.h: Likewise.
16872         * elf/tst-tls14.c: Likewise.
16873         * elf/tst-tls2.c: Likewise.
16874         * elf/tst-tls3.c: Likewise.
16875         * elf/tst-tls4.c: Likewise.
16876         * elf/tst-tls5.c: Likewise.
16877         * elf/tst-tls6.c: Likewise.
16878         * elf/tst-tls7.c: Likewise.
16879         * elf/tst-tls8.c: Likewise.
16880         * elf/tst-tls9.c: Likewise.
16881         * elf/tst-tlsmod1.c: Likewise.
16882         * elf/tst-tlsmod13.c: Likewise.
16883         * elf/tst-tlsmod13a.c: Likewise.
16884         * elf/tst-tlsmod14a.c: Likewise.
16885         * elf/tst-tlsmod16a.c: Likewise.
16886         * elf/tst-tlsmod16b.c: Likewise.
16887         * elf/tst-tlsmod2.c: Likewise.
16888         * elf/tst-tlsmod3.c: Likewise.
16889         * elf/tst-tlsmod4.c: Likewise.
16890         * elf/tst-tlsmod5.c: Likewise.
16891         * elf/tst-tlsmod6.c: Likewise.
16892
16893 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16894
16895         [BZ #12486]
16896         * malloc/malloc.c: remove checks for statistics.
16897
16898 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16899
16900         [BZ #15277]
16901         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16902         * inet/tst-network.c: Add testcase.
16903
16904 2013-10-17  Andreas Schwab  <schwab@suse.de>
16905
16906         [BZ #15218]
16907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16908         to determine canonical name.
16909
16910 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16911
16912         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16913         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16914         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16915         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16916         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16917         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16918         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16919         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16920         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16921         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16922         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16923         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16924         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16925         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16926         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16927         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16928         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16929         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16930         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16931         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16932         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16933         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16934         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16935         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16936         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16937         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16938         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16939         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16940         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16941         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16942         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16943         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16944         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16945         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16946         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16947         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16948         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16949         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16950         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16951         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16952         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16953         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16954         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16955         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16956         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16957         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16958         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16959         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16960         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16961         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16962         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16963         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16964         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16965         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16966         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16967         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16968         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16969         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16970
16971 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16972
16973         [BZ #16041]
16974         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16975         make result into a quiet NaN.
16976
16977 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16978
16979         * soft-fp/adddf3.c: Fix horizontal whitespace.
16980         * soft-fp/addsf3.c: Likewise.
16981         * soft-fp/addtf3.c: Likewise.
16982         * soft-fp/divdf3.c: Likewise.
16983         * soft-fp/divsf3.c: Likewise.
16984         * soft-fp/divtf3.c: Likewise.
16985         * soft-fp/double.h: Likewise.
16986         * soft-fp/eqdf2.c: Likewise.
16987         * soft-fp/eqsf2.c: Likewise.
16988         * soft-fp/eqtf2.c: Likewise.
16989         * soft-fp/extenddftf2.c: Likewise.
16990         * soft-fp/extended.h: Likewise.
16991         * soft-fp/extendsfdf2.c: Likewise.
16992         * soft-fp/extendsftf2.c: Likewise.
16993         * soft-fp/extendxftf2.c: Likewise.
16994         * soft-fp/fixdfdi.c: Likewise.
16995         * soft-fp/fixdfsi.c: Likewise.
16996         * soft-fp/fixdfti.c: Likewise.
16997         * soft-fp/fixsfdi.c: Likewise.
16998         * soft-fp/fixsfsi.c: Likewise.
16999         * soft-fp/fixsfti.c: Likewise.
17000         * soft-fp/fixtfdi.c: Likewise.
17001         * soft-fp/fixtfsi.c: Likewise.
17002         * soft-fp/fixtfti.c: Likewise.
17003         * soft-fp/fixunsdfdi.c: Likewise.
17004         * soft-fp/fixunsdfsi.c: Likewise.
17005         * soft-fp/fixunsdfti.c: Likewise.
17006         * soft-fp/fixunssfdi.c: Likewise.
17007         * soft-fp/fixunssfsi.c: Likewise.
17008         * soft-fp/fixunssfti.c: Likewise.
17009         * soft-fp/fixunstfdi.c: Likewise.
17010         * soft-fp/fixunstfsi.c: Likewise.
17011         * soft-fp/fixunstfti.c: Likewise.
17012         * soft-fp/floatdidf.c: Likewise.
17013         * soft-fp/floatdisf.c: Likewise.
17014         * soft-fp/floatditf.c: Likewise.
17015         * soft-fp/floatsidf.c: Likewise.
17016         * soft-fp/floatsisf.c: Likewise.
17017         * soft-fp/floatsitf.c: Likewise.
17018         * soft-fp/floattidf.c: Likewise.
17019         * soft-fp/floattisf.c: Likewise.
17020         * soft-fp/floattitf.c: Likewise.
17021         * soft-fp/floatundidf.c: Likewise.
17022         * soft-fp/floatundisf.c: Likewise.
17023         * soft-fp/floatunditf.c: Likewise.
17024         * soft-fp/floatunsidf.c: Likewise.
17025         * soft-fp/floatunsisf.c: Likewise.
17026         * soft-fp/floatunsitf.c: Likewise.
17027         * soft-fp/floatuntidf.c: Likewise.
17028         * soft-fp/floatuntisf.c: Likewise.
17029         * soft-fp/floatuntitf.c: Likewise.
17030         * soft-fp/fmadf4.c: Likewise.
17031         * soft-fp/fmasf4.c: Likewise.
17032         * soft-fp/fmatf4.c: Likewise.
17033         * soft-fp/gedf2.c: Likewise.
17034         * soft-fp/gesf2.c: Likewise.
17035         * soft-fp/getf2.c: Likewise.
17036         * soft-fp/ledf2.c: Likewise.
17037         * soft-fp/lesf2.c: Likewise.
17038         * soft-fp/letf2.c: Likewise.
17039         * soft-fp/muldf3.c: Likewise.
17040         * soft-fp/mulsf3.c: Likewise.
17041         * soft-fp/multf3.c: Likewise.
17042         * soft-fp/negdf2.c: Likewise.
17043         * soft-fp/negsf2.c: Likewise.
17044         * soft-fp/negtf2.c: Likewise.
17045         * soft-fp/op-1.h: Likewise.
17046         * soft-fp/op-2.h: Likewise.
17047         * soft-fp/op-4.h: Likewise.
17048         * soft-fp/op-8.h: Likewise.
17049         * soft-fp/op-common.h: Likewise.
17050         * soft-fp/quad.h: Likewise.
17051         * soft-fp/single.h: Likewise.
17052         * soft-fp/soft-fp.h: Likewise.
17053         * soft-fp/sqrtdf2.c: Likewise.
17054         * soft-fp/sqrtsf2.c: Likewise.
17055         * soft-fp/sqrttf2.c: Likewise.
17056         * soft-fp/subdf3.c: Likewise.
17057         * soft-fp/subsf3.c: Likewise.
17058         * soft-fp/subtf3.c: Likewise.
17059         * soft-fp/truncdfsf2.c: Likewise.
17060         * soft-fp/trunctfdf2.c: Likewise.
17061         * soft-fp/trunctfsf2.c: Likewise.
17062         * soft-fp/trunctfxf2.c: Likewise.
17063         * soft-fp/unorddf2.c: Likewise.
17064         * soft-fp/unordsf2.c: Likewise.
17065         * soft-fp/unordtf2.c: Likewise.
17066
17067 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
17068
17069         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17070         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17071
17072 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
17073
17074         * elf/dl-libc.c: Clear initfini list after freeing.
17075
17076 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
17077
17078         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17079         * soft-fp/addsf3.c: Likewise.
17080         * soft-fp/addtf3.c: Likewise.
17081         * soft-fp/divdf3.c: Likewise.
17082         * soft-fp/divsf3.c: Likewise.
17083         * soft-fp/divtf3.c: Likewise.
17084         * soft-fp/double.h: Likewise.
17085         * soft-fp/eqdf2.c: Likewise.
17086         * soft-fp/eqsf2.c: Likewise.
17087         * soft-fp/eqtf2.c: Likewise.
17088         * soft-fp/extenddftf2.c: Likewise.
17089         * soft-fp/extended.h: Likewise.
17090         * soft-fp/extendsfdf2.c: Likewise.
17091         * soft-fp/extendsftf2.c: Likewise.
17092         * soft-fp/extendxftf2.c: Likewise.
17093         * soft-fp/fixdfdi.c: Likewise.
17094         * soft-fp/fixdfsi.c: Likewise.
17095         * soft-fp/fixdfti.c: Likewise.
17096         * soft-fp/fixsfdi.c: Likewise.
17097         * soft-fp/fixsfsi.c: Likewise.
17098         * soft-fp/fixsfti.c: Likewise.
17099         * soft-fp/fixtfdi.c: Likewise.
17100         * soft-fp/fixtfsi.c: Likewise.
17101         * soft-fp/fixtfti.c: Likewise.
17102         * soft-fp/fixunsdfdi.c: Likewise.
17103         * soft-fp/fixunsdfsi.c: Likewise.
17104         * soft-fp/fixunsdfti.c: Likewise.
17105         * soft-fp/fixunssfdi.c: Likewise.
17106         * soft-fp/fixunssfsi.c: Likewise.
17107         * soft-fp/fixunssfti.c: Likewise.
17108         * soft-fp/fixunstfdi.c: Likewise.
17109         * soft-fp/fixunstfsi.c: Likewise.
17110         * soft-fp/fixunstfti.c: Likewise.
17111         * soft-fp/floatdidf.c: Likewise.
17112         * soft-fp/floatdisf.c: Likewise.
17113         * soft-fp/floatditf.c: Likewise.
17114         * soft-fp/floatsidf.c: Likewise.
17115         * soft-fp/floatsisf.c: Likewise.
17116         * soft-fp/floatsitf.c: Likewise.
17117         * soft-fp/floattidf.c: Likewise.
17118         * soft-fp/floattisf.c: Likewise.
17119         * soft-fp/floattitf.c: Likewise.
17120         * soft-fp/floatundidf.c: Likewise.
17121         * soft-fp/floatundisf.c: Likewise.
17122         * soft-fp/floatunsidf.c: Likewise.
17123         * soft-fp/floatunsisf.c: Likewise.
17124         * soft-fp/floatuntidf.c: Likewise.
17125         * soft-fp/floatuntisf.c: Likewise.
17126         * soft-fp/floatuntitf.c: Likewise.
17127         * soft-fp/fmadf4.c: Likewise.
17128         * soft-fp/fmasf4.c: Likewise.
17129         * soft-fp/fmatf4.c: Likewise.
17130         * soft-fp/gedf2.c: Likewise.
17131         * soft-fp/gesf2.c: Likewise.
17132         * soft-fp/getf2.c: Likewise.
17133         * soft-fp/ledf2.c: Likewise.
17134         * soft-fp/lesf2.c: Likewise.
17135         * soft-fp/letf2.c: Likewise.
17136         * soft-fp/muldf3.c: Likewise.
17137         * soft-fp/mulsf3.c: Likewise.
17138         * soft-fp/multf3.c: Likewise.
17139         * soft-fp/negdf2.c: Likewise.
17140         * soft-fp/negsf2.c: Likewise.
17141         * soft-fp/negtf2.c: Likewise.
17142         * soft-fp/op-1.h: Likewise.
17143         * soft-fp/op-2.h: Likewise.
17144         * soft-fp/op-4.h: Likewise.
17145         * soft-fp/op-8.h: Likewise.
17146         * soft-fp/op-common.h: Likewise.
17147         * soft-fp/quad.h: Likewise.
17148         * soft-fp/single.h: Likewise.
17149         * soft-fp/soft-fp.h: Likewise.
17150         * soft-fp/sqrtdf2.c: Likewise.
17151         * soft-fp/sqrtsf2.c: Likewise.
17152         * soft-fp/sqrttf2.c: Likewise.
17153         * soft-fp/subdf3.c: Likewise.
17154         * soft-fp/subsf3.c: Likewise.
17155         * soft-fp/subtf3.c: Likewise.
17156         * soft-fp/truncdfsf2.c: Likewise.
17157         * soft-fp/trunctfdf2.c: Likewise.
17158         * soft-fp/trunctfsf2.c: Likewise.
17159         * soft-fp/trunctfxf2.c: Likewise.
17160         * soft-fp/unorddf2.c: Likewise.
17161         * soft-fp/unordsf2.c: Likewise.
17162         * soft-fp/unordtf2.c: Likewise.
17163
17164 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
17165
17166         [BZ #15672]
17167         * misc/error.c (error_tail): Fix possible buffer overflow.
17168
17169 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
17170
17171         [BZ #13028]
17172         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17173         address.
17174
17175 2013-10-14  P. J. McDermott  <pj@pehjota.net>
17176
17177         [BZ #832]
17178         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
17179         testing pipefail option.
17180
17181 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17182
17183         * soft-fp/double.h: Indent preprocessor directives inside #if.
17184         * soft-fp/extended.h: Likewise.
17185         * soft-fp/op-2.h: Likewise.
17186         * soft-fp/op-4.h: Likewise.
17187         * soft-fp/op-common.h: Likewise.
17188         * soft-fp/quad.h: Likewise.
17189         * soft-fp/single.h: Likewise.
17190         * soft-fp/soft-fp.h: Likewise.
17191
17192 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
17193
17194         * iconv/iconv_prog.c: Fix typos.
17195         * stdio-common/psiginfo-data.h: Likewise.
17196
17197 2013-10-12   Reuben Thomas <rrt@sc3d.org>
17198
17199         [BZ #15764]
17200         * locale/setlocale.c: Fix typo.
17201
17202 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17203
17204         [BZ #16036]
17205         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17206         signaling NaN arguments.
17207         * soft-fp/unordsf2.c (__unordsf2): Likewise.
17208         * soft-fp/unordtf2.c (__unordtf2): Likewise.
17209
17210         [BZ #14910]
17211         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17212         unordered operands.
17213         * soft-fp/gesf2.c (__gesf2): Likewise.
17214         * soft-fp/getf2.c (__getf2): Likewise.
17215         * soft-fp/ledf2.c (__ledf2): Likewise.
17216         * soft-fp/lesf2.c (__lesf2): Likewise.
17217         * soft-fp/letf2.c (__letf2): Likewise.
17218
17219         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17220         * soft-fp/eqsf2.c (__eqsf2): Likewise.
17221         * soft-fp/eqtf2.c (__eqtf2): Likewise.
17222         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17223         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17224         * soft-fp/fixdfti.c (__fixdfti): Likewise.
17225         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17226         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17227         * soft-fp/fixsfti.c (__fixsfti): Likewise.
17228         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17229         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17230         * soft-fp/fixtfti.c (__fixtfti): Likewise.
17231         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17232         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17233         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17234         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17235         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17236         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17237         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17238         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17239         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17240         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17241         * soft-fp/floatdisf.c (__floatdisf): Likewise.
17242         * soft-fp/floatsisf.c (__floatsisf): Likewise.
17243         * soft-fp/floattidf.c (__floattidf): Likewise.
17244         * soft-fp/floattisf.c (__floattisf): Likewise.
17245         * soft-fp/floattitf.c (__floattitf): Likewise.
17246         * soft-fp/floatundidf.c (__floatundidf): Likewise.
17247         * soft-fp/floatundisf.c (__floatundisf): Likewise.
17248         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17249         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17250         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17251         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17252         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17253         * soft-fp/gesf2.c (__gesf2): Likewise.
17254         * soft-fp/getf2.c (__getf2): Likewise.
17255         * soft-fp/ledf2.c (__ledf2): Likewise.
17256         * soft-fp/lesf2.c (__lesf2): Likewise.
17257         * soft-fp/letf2.c (__letf2): Likewise.
17258
17259         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17260         Undefine and redefine.
17261         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17262         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17263         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17264         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17265         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17266         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17267         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17268         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17269         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17270         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17271         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17272         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17273         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17274         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17275         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17276
17277         [BZ #16032]
17278         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17279         without decrementing exponent if mantissa >= that for the
17280         denominator, not >.
17281         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17282         denominator, not >.  Decrement exponent in < case instead of
17283         incrementing in >= case.
17284         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17285         without decrementing exponent if mantissa >= that for the
17286         denominator, not >.
17287
17288         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17289         computing saturated result for unsigned overflow.
17290
17291 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17292             Jeff Law  <law@redhat.com>
17293
17294         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17295         (atan2Mp): Add systemtap probe marker.
17296         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17297         (__ieee754_log): Add systemtap probe marker.
17298         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17299         (atanMp): Add systemtap probe marker.
17300         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17301         (tanMp): Add systemtap probe marker.
17302         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17303         (__slowexp): Add systemtap probe marker.
17304         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17305         (__slowpow): Add systemtap probe marker.
17306         * manual/probes.texi: Document probes.
17307
17308 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
17309
17310         [BZ #15362]
17311         * libio/fileops.c (_IO_new_file_write): Return count of bytes
17312         written.
17313         (_IO_new_file_xsputn): Don't return EOF if nothing has been
17314         written.
17315         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17316         written to buffer but not flushed.
17317         * libio/iofwrite_u.c:  Likewise.
17318         * libio/iopadn.c:  Return bytes returned even if EOF was
17319         encountered.
17320         * libio/iowpadn.c:  Likewise.
17321         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17322         if _IO_padn does not write the whole buffer.
17323         [!COMPILE_WPRINTF] (PAD): Likewise.
17324
17325 2013-10-10  David S. Miller  <davem@davemloft.net>
17326
17327         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17328         directory block.
17329
17330 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17331
17332         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
17333         instead of FSF address.
17334         * soft-fp/fixdfti.c: Likewise.
17335         * soft-fp/fixsfti.c: Likewise.
17336         * soft-fp/fixtfti.c: Likewise.
17337         * soft-fp/fixunsdfti.c: Likewise.
17338         * soft-fp/fixunssfti.c: Likewise.
17339         * soft-fp/fixunstfti.c: Likewise.
17340         * soft-fp/floattidf.c: Likewise.
17341         * soft-fp/floattisf.c: Likewise.
17342         * soft-fp/floattitf.c: Likewise.
17343         * soft-fp/floatuntidf.c: Likewise.
17344         * soft-fp/floatuntisf.c: Likewise.
17345         * soft-fp/floatuntitf.c: Likewise.
17346         * soft-fp/trunctfxf2.c: Likewise.
17347
17348         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
17349         * soft-fp/fixdfti.c: Likewise.
17350         * soft-fp/fixsfti.c: Likewise.
17351         * soft-fp/fixtfti.c: Likewise.
17352         * soft-fp/fixunsdfti.c: Likewise.
17353         * soft-fp/fixunssfti.c: Likewise.
17354         * soft-fp/fixunstfti.c: Likewise.
17355         * soft-fp/floattidf.c: Likewise.
17356         * soft-fp/floattisf.c: Likewise.
17357         * soft-fp/floattitf.c: Likewise.
17358         * soft-fp/floatuntidf.c: Likewise.
17359         * soft-fp/floatuntisf.c: Likewise.
17360         * soft-fp/floatuntitf.c: Likewise.
17361         * soft-fp/trunctfxf2.c: Likewise.
17362
17363 2013-10-10  David S. Miller  <davem@davemloft.net>
17364
17365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17366
17367 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
17368
17369         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17370         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17371         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17372         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17373         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17374         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17375         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17376
17377         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17378         for NaNs before doing comparisons on argument.
17379         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17380         Likewise.
17381
17382 2013-10-10  Will Newton  <will.newton@linaro.org>
17383
17384         * malloc/hooks.c (memalign_check): Ensure the value of bytes
17385         passed to _int_memalign does not overflow.
17386
17387 2013-10-10  Torvald Riegel  <triegel@redhat.com>
17388
17389         * scripts/bench.pl: Add include-sources directive.
17390         * benchtests/README: Update documentation.
17391
17392 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17393
17394         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17395         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17396         instead of FP_INIT_ROUNDMODE.
17397         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17398         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17399
17400         [BZ #16034]
17401         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
17402         copy class of input value.
17403         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
17404         not handle exceptions.
17405         * soft-fp/negsf2.c (__negsf2): Likewise.
17406         * soft-fp/negtf2.c (__negtf2): Likewise.
17407         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17408
17409 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
17410
17411         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17412         semicolon.  From Linux kernel.
17413
17414 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
17415
17416         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17417
17418 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
17419
17420         [BZ #156]
17421         * manual/socket.texi: Added statement about buffer
17422         for gethostbyname2_r.
17423
17424 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
17425
17426         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17427         Use .p2align directive instead, throughout.
17428         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17429         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17430         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17431         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17432         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17433         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17434         * sysdeps/x86_64/strchr.S: Likewise.
17435         * sysdeps/x86_64/strrchr.S: Likewise.
17436
17437 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17438
17439         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17440
17441         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17442
17443         * sysdeps/generic/math_private.h (__mpsin1): Remove
17444         declaration.
17445         (__mpcos1): Likewise.
17446         (__mpsin): New argument __range_reduce.
17447         (__mpcos): Likewise.
17448         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17449         (slow): Use __mpsin and __mpcos.
17450         (slow1): Likewise.
17451         (slow2): Likewise.
17452         (sloww): Likewise.
17453         (sloww1): Likewise.
17454         (sloww2): Likewise.
17455         (bsloww): Likewise.
17456         (bsloww1): Likewise.
17457         (bsloww2): Likewise.
17458         (cslow2): Likewise.
17459         (csloww): Likewise.
17460         (csloww1): Likewise.
17461         (csloww2): Likewise.
17462         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17463         range_reduce.  Merge in __mpsin1.
17464         (__mpcos): Likewise.
17465         (__mpsin1): Remove.
17466         (__mpcos1): Likewise.
17467
17468 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
17469
17470         * locale/loadlocale.c (_nl_intern_locale_data): Use
17471         LOCFILE_ALIGNED_P.
17472         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17473         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17474         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17475         obstack data is appropriately aligned.
17476         (obstack_int32_grow_fast): Likewise.
17477         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17478         * locale/programs/locfile.c (add_locale_uint32): Likewise.
17479         (add_locale_uint32_array): Likewise.
17480
17481 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17482
17483         * benchtests/Makefile: Remove ARGLIST and RET variables.
17484         ($(objpfx)bench-%.c): Pass only function name to the script.
17485         * benchtests/README: Update documentation.
17486         * benchtests/acos-inputs: Add new directives.
17487         * benchtests/acosh-inputs: Likewise.
17488         * benchtests/asin-inputs: Likewise.
17489         * benchtests/asinh-inputs: Likewise.
17490         * benchtests/atan-inputs: Likewise.
17491         * benchtests/atanh-inputs: Likewise.
17492         * benchtests/cos-inputs: Likewise.
17493         * benchtests/cosh-inputs: Likewise.
17494         * benchtests/exp-inputs: Likewise.
17495         * benchtests/log-inputs: Likewise.
17496         * benchtests/pow-inputs: Likewise.
17497         * benchtests/rint-inputs: Likewise.
17498         * benchtests/sin-inputs: Likewise.
17499         * benchtests/sinh-inputs: Likewise.
17500         * benchtests/tan-inputs: Likewise.
17501         * benchtests/tanh-inputs: Likewise.
17502         * scripts/bench.pl: Add support for new directives.
17503
17504 2013-10-07  Alan Modra  <amodra@gmail.com>
17505
17506         * README: Fix careless merge.
17507
17508 2013-10-05  Alan Modra  <amodra@gmail.com>
17509
17510         * NEWS: Mention powerpc64le support and bugs fixed.
17511         * README: Both big-endian and little-endian powerpc64 supported.
17512
17513 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17514
17515         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17516         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17517         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17518         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17519
17520 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
17521
17522         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17523         match prototype.
17524
17525 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
17526
17527         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17528         Move -mhard-float appending from
17529         ports/sysdeps/powerpc/powerpc32/Makefile.
17530         [$(with-fp) = yes] (ASFLAGS): Likewise.
17531         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17532         * sysdeps/powerpc/nofpu: Move directory from
17533         ports/sysdeps/powerpc/nofpu.
17534         * sysdeps/powerpc/soft-fp: Move directory from
17535         ports/sysdeps/powerpc/soft-fp.
17536         * sysdeps/powerpc/powerpc32/405: Move directory from
17537         ports/sysdeps/powerpc/powerpc32/405.
17538         * sysdeps/powerpc/powerpc32/440: Move directory from
17539         ports/sysdeps/powerpc/powerpc32/440.
17540         * sysdeps/powerpc/powerpc32/464: Move directory from
17541         ports/sysdeps/powerpc/powerpc32/464.
17542         * sysdeps/powerpc/powerpc32/476: Move directory from
17543         ports/sysdeps/powerpc/powerpc32/476.
17544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17545         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17547         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17549         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17551         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17553         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17554         * README: Update for powerpc-*-linux-gnu software floating point
17555         support in libc.
17556
17557         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17558         case to powerpc/powerpc32*.
17559         * sysdeps/unix/sysv/linux/configure: Regenerated.
17560
17561         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17562         (_FPU_MASK_OM): Define as 0x04.
17563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17565         0x00c10080.
17566         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17567         0x0000003c.
17568         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17569
17570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17571         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17572         getcontext_e500.
17573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17574         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17575         setcontext_e500.
17576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17577         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17578         and setcontext_e500.
17579
17580 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
17581
17582         * locale/iso-3166.def: Update iso-1366.def and related occurrences
17583
17584 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17585
17586         * manual/threads.texi (Default Thread Attributes): Fix typo.
17587
17588 2013-10-04  Will Newton  <will.newton@linaro.org>
17589
17590         * malloc/Makefile: Add tst-memalign.
17591         * malloc/tst-memalign.c: New file.
17592
17593         * malloc/tst-posix_memalign.c: Add comments.
17594         (do_test): Add comments and call free on all potentially
17595         allocated pointers. Add space after cast.
17596
17597         * malloc/tst-pvalloc.c: Add comments.
17598         (do_test): Add comments and call free on all potentially
17599         allocated pointers. Remove duplicate check for NULL pointer.
17600         Add space after cast.
17601
17602         * malloc/tst-valloc.c: Add comments.
17603         (do_test): Add comments and call free on all potentially
17604         allocated pointers. Remove duplicate check for NULL pointer.
17605         Add space after cast.
17606
17607 2013-10-04  Alan Modra  <amodra@gmail.com>
17608
17609         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17610         Use stdint types in rather than __attribute__((mode())).
17611         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17612
17613 2013-10-04  Alan Modra  <amodra@gmail.com>
17614
17615         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17616         Correct handling of unaligned relocs for little-endian.
17617         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17618
17619 2013-10-04  Alan Modra  <amodra@gmail.com>
17620
17621         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17622         * configure: Regenerate.
17623         * nptl/shlib-versions: Powerpc*le starts at 2.18.
17624         * shlib-versions: Likewise.
17625
17626 2013-10-04  Alan Modra  <amodra@gmail.com>
17627
17628         * string/tester.c (test_memrchr): Increment reported test cycle.
17629
17630 2013-10-04  Alan Modra  <amodra@gmail.com>
17631
17632         * string/test-memcpy.c (do_one_test): When reporting errors, print
17633         string address and don't overrun end of string.
17634
17635 2013-10-04  Alan Modra  <amodra@gmail.com>
17636
17637         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17638         insrdi.  Make better use of reg selection to speed exit slightly.
17639         Schedule entry path a little better.  Remove useless "are we done"
17640         checks on entry to main loop.  Handle wrapping around zero address.
17641         Correct main loop count.  Handle single left-over word from main
17642         loop inline rather than by using loop_small.  Remove extra word
17643         case in loop_small caused by wrong loop count.  Add little-endian
17644         support.
17645         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17646         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
17647         cache hint.
17648         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17649         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17650         support.  Avoid rlwimi.
17651         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17652
17653 2013-10-04  Alan Modra  <amodra@gmail.com>
17654
17655         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
17656         insrdi.  Formatting.
17657         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17658         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17659         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17660         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17661         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17662         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17663
17664 2013-10-04  Alan Modra  <amodra@gmail.com>
17665
17666         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17667         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17668         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17669         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17670         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17671         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17672         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17673         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17674         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
17675         use of regs.  Use power7 mtocrf.  Tidy function tails.
17676
17677 2013-10-04  Alan Modra  <amodra@gmail.com>
17678
17679         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17680         Formatting.  Consistently use rXXX register defines or rN defines.
17681         Use early exit labels that avoid restoring unused non-volatile regs.
17682         Make cr field use more consistent with rWORDn compares.  Rename
17683         regs used as shift registers for unaligned loop, using rN defines
17684         for short lifetime/multiple use regs.
17685         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17686         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
17687         addi 1,1,64 to pop stack frame.  Simplify return value code.
17688         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17689
17690 2013-10-04  Alan Modra  <amodra@gmail.com>
17691
17692         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17693         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
17694         rather than rlwimi.
17695         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17696         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17697         little-endian support.  Correct typos.
17698         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
17699         rather than rlwimi.
17700         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
17701         in loop and entry code to keep "and." results.
17702         (strchr): Add little-endian support.  Comment.  Move cntlzd
17703         earlier in tail.
17704         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17705
17706 2013-10-04  Alan Modra  <amodra@gmail.com>
17707
17708         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17709         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17710         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17711         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17712
17713 2013-10-04  Alan Modra  <amodra@gmail.com>
17714
17715         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17716         (rTMP): Define as r11.
17717         (strcmp): Add little-endian support.  Optimise tail.
17718         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17719         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17720         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17721         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17722         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17723         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17724         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17725
17726 2013-10-04  Alan Modra  <amodra@gmail.com>
17727
17728         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17729         little-endian support.  Remove unnecessary "are we done" tests.
17730         Handle "s" wrapping around zero and extremely large "size".
17731         Correct main loop count.  Handle single left-over word from main
17732         loop inline rather than by using small_loop.  Correct comments.
17733         Delete "zero" tail, use "end_max" instead.
17734         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17735
17736 2013-10-04  Alan Modra  <amodra@gmail.com>
17737
17738         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17739         support.  Don't branch over align.
17740         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17741         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17742         support.  Rearrange tmp reg use to suit.  Comment.
17743         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17744
17745 2013-10-04  Alan Modra  <amodra@gmail.com>
17746
17747         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17748
17749 2013-10-04  Alan Modra  <amodra@gmail.com>
17750
17751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17752         conditional form of branch and link when obtaining pc.
17753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17754
17755 2013-10-04  Alan Modra  <amodra@gmail.com>
17756
17757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17758         HIWORD/LOWORD.
17759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17761
17762 2013-10-04  Alan Modra  <amodra@gmail.com>
17763
17764         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17765         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17766         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17767         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17768         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17769         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17770         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17771         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17772         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17773         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17774
17775 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17776             Alistair Popple <alistair@ozlabs.au.ibm.com>
17777             Alan Modra <amodra@gmail.com>
17778
17779         [BZ #15723]
17780         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17781         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17782         _dl_hwcap access for little-endian.
17783         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
17784         destroy vmx regs when saving unaligned.
17785         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17786         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
17787         destroy vmx regs when saving unaligned.
17788
17789 2013-10-04  Alan Modra  <amodra@gmail.com>
17790
17791         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17792         Don't use a union to pack hi/low value.
17793
17794 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17795
17796         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17797         for little-endian.
17798         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17799         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17800         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17801         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17802         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17803
17804 2013-10-04  Alan Modra  <amodra@gmail.com>
17805
17806         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17807         constants to usual value for .cst8 section, and remove redundant
17808         high address load.
17809         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17810         constant for 0x1p52.  Load little-endian words of double from
17811         correct stack offsets.
17812
17813 2013-10-04  Alan Modra  <amodra@gmail.com>
17814
17815         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17816         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17817         words of double from correct stack offsets.
17818         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17819         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17820         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17821         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17822         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17823         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17824         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17825         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17826         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17827         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17828         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17829         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17830         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17831         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17832         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17833         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17834         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17835
17836 2013-10-04  Alan Modra  <amodra@gmail.com>
17837
17838         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17839         64-bit int/double union.
17840         (_FPU_SETCW): Likewise.
17841         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17842         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17843
17844 2013-10-04  Alan Modra  <amodra@gmail.com>
17845
17846         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17847         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17848
17849 2013-10-04  Alan Modra  <amodra@gmail.com>
17850
17851         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17852         use vector int constants.
17853         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17854
17855 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17856
17857         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17858         array with long long.
17859         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17860         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17861         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17862         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17863         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17864         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17865         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17866         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17867         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17868         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17869         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17870         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17871         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17872
17873 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17874
17875         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17876         (__signbit): Likewise.  Correct for little-endian.
17877         (__signbitl): Call __signbit.
17878         (lrint): Correct for little-endian.
17879         (lrintf): Call lrint.
17880
17881 2013-10-04  Alan Modra  <amodra@gmail.com>
17882
17883         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17884         union 32-bit int array member with 64-bit int array.
17885         (t515, tm256): Double rather than long double.
17886         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17887
17888 2013-10-04  Alan Modra  <amodra@gmail.com>
17889
17890         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17891         Delete.
17892         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17893         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17894         version of math_ldbl.h.
17895
17896 2013-10-04  Alan Modra  <amodra@gmail.com>
17897
17898         [BZ #15734], [BZ #15735]
17899         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17900         all uses of ieee875 long double macros and unions.  Simplify test
17901         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17902         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17903         normalize after ldbl_extract_mantissa, and don't add hidden bit
17904         already handled.  Don't treat low word of ieee854 mantissa like
17905         low word of IBM long double and mask off bit when testing for
17906         zero.
17907         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17908         all uses of ieee875 long double macros and unions.  Simplify tests
17909         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17910         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17911         two1022, instead use their values.  Recognise that tests for large
17912         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17913         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17914         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17915         test for 0.0L and nan.  Correct negation.
17916         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17917         ieee875 long double macros and unions.  Correct output for large
17918         magnitude x.  Correct absolute value calculation.
17919         (__erfcl): Likewise.
17920         * math/libm-test.inc: Add tests for errors discovered in IBM long
17921         double versions of fmodl, remainderl, erfl and erfcl.
17922
17923 2013-10-04  Alan Modra  <amodra@gmail.com>
17924
17925         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17926         all uses of ieee854 long double macros and unions.  Simplify tests
17927         for long doubles that are fully specified by the high double.
17928         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17929         Likewise.
17930         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17931         Remove dead code too.
17932         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17933         (__ieee754_ynl): Likewise.
17934         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17935         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17936         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17937         Remove dead code too.
17938         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17939         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17940         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17941         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17942         Simplify.
17943         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17944         Simplify.
17945         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17946         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17947         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17948         Comment on variable precision.
17949         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17950         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17951         Likewise.
17952         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17953         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17954         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17955         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17956         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17957
17958 2013-10-04  Alan Modra  <amodra@gmail.com>
17959
17960         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17961         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17962         all uses of ieee854 long double macros and unions.
17963         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17964         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17965         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17966         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17967         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17968         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17969         Likewise.
17970         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17971         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17972         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17973         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17974         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17975         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17976         Simplify sign and nan test too.
17977         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17978         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17979         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17980         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17981         Likewise.
17982         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17983         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17984         Likewise.
17985         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17986         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17987         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17988         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17989         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17990         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17991
17992 2013-10-04  Alan Modra  <amodra@gmail.com>
17993
17994         * stdio-common/printf_size.c (__printf_size): Don't use
17995         union ieee854_long_double in fpnum union.
17996         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17997         signbit macro to retrieve sign from long double.
17998         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17999         retrieve sign from long double.
18000         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18001         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18002         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18003         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18004         * math/test-misc.c (main): Don't use union ieee854_long_double.
18005
18006 2013-10-04  Alan Modra  <amodra@gmail.com>
18007
18008         [BZ #15680]
18009         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18010         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18011         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18012         calculation.  Remove unnecessary test for denormal exponent.
18013         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18014         Correct handling of denormals.  Avoid undefined shift behaviour.
18015         Correct normalisation of low mantissa when low double is denormal.
18016         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18017         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
18018         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18019         Correct normalisation of low mantissa.  Test for overflow of high
18020         mantissa and normalise.
18021         (ldbl_nearbyint): Use more readable constant for two52.
18022         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18023         (__mpn_construct_long_double): Fix test for overflow of high
18024         mantissa and correct normalisation.  Avoid undefined shift.
18025
18026 2013-10-04  Alan Modra  <amodra@gmail.com>
18027
18028         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18029         (union ibm_extended_long_double): Define as an array of ieee754_double.
18030         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18031         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18032         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18033         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18034         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18035         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18036         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18037         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18038         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18039         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18040         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18041
18042 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
18043
18044         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18045         page size instead of calling getpagesize.
18046
18047         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18048         (LOCFILE_ALIGN_MASK): Likewise.
18049         (LOCFILE_ALIGN_UP): Likewise.
18050         (LOCFILE_ALIGNED_P): Likewise.
18051         * locale/programs/ld-collate.c (collate_output): Use the new
18052         macros instead of __alignof__ (int32_t).
18053         * locale/weight.h (findidx): Likewise.
18054
18055 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
18056
18057         [BZ #431]
18058         * manual/string.texi: Fix strncat and wcsncat.
18059
18060 2013-10-03  Brooks Moses  <bmoses@google.com>
18061
18062         [BZ #15915]
18063         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18064         * Makerules: ...here, and adjust associated comments.
18065
18066 2013-10-02  Will Newton  <will.newton@linaro.org>
18067
18068         * malloc/Makefile: Add tst-pvalloc.
18069         * malloc/tst-pvalloc.c: New file.
18070
18071 2013-10-02  Will Newton  <will.newton@linaro.org>
18072
18073         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18074         improve test coverage.
18075
18076 2013-10-02  Will Newton  <will.newton@linaro.org>
18077
18078         * malloc/Makefile: Add tst-posix_memalign.
18079         * malloc/tst-posix_memalign.c: New file.
18080
18081 2013-10-01  Eric Blake  <eblake@redhat.com>
18082
18083         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18084         Use __THROWNL rather than __THROW on static functions.
18085
18086 2013-09-30  Petr Machata  <pmachata@redhat.com>
18087
18088         * elf/elf.h (R_AARCH64_ABS16): New macro.
18089         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18090         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18091         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18092         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18093         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18094         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18095         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18096         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18097         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18098         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18099         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18100         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18101         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18102         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18103         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18104         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18105         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18106         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18107         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18108         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18109         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18110         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18111         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18112         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18113         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18114         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18115         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18116         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18117         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18118         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18119         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18120         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18121         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18122         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18123         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18124         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18125         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18126         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18127         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18128         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18129         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18130         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18131         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18132         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18133         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18134         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18135         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18136         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18137         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18138         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18139         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18140         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18141         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18142         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18143         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18144         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18145         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18146         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18147         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18148         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18149         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18150         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18151         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18152         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18153         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18154         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18155         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18156         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18157         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18158         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18159         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18160         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18161         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18162         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18163         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18164         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18165         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18166         (R_AARCH64_TLSDESC_LDR): Likewise.
18167         (R_AARCH64_TLSDESC_ADD): Likewise.
18168         (R_AARCH64_TLSDESC_CALL): Likewise.
18169
18170 2013-09-30  Andreas Schwab  <schwab@suse.de>
18171
18172         [BZ #15048]
18173         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18174         the nss database lookup.
18175         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18177
18178 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
18179
18180         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18181
18182 2013-09-28  P. J. McDermott  <pj@pehjota.net>
18183
18184         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18185         ${Bash-specific parameter/pattern/string} parameter expansion.
18186         * sysdeps/unix/make-syscalls.sh: Likewise.
18187
18188 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18189
18190         * sysdeps/sh/stackguard-macros.h: New file.
18191
18192 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
18193
18194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18196         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18197         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18198         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18199         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18200
18201 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18202
18203         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18204         Fix thread ID register.
18205
18206 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
18207
18208         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18209         [POSIX || UNIX98]: Require rather than permitting all symbols from
18210         <time.h>.
18211         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18212         element of struct sched_param.
18213         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18214         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18215         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18216         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18217         constant.
18218
18219 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
18220
18221         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18222         argument calculation.
18223
18224 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18225
18226         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18227         Expect macro.
18228         [POSIX] (pthread_attr_t): Do not require type.
18229         [POSIX] (pthread_cond_t): Likewise.
18230         [POSIX] (pthread_condattr_t): Likewise.
18231         [POSIX] (pthread_key_t): Likewise.
18232         [POSIX] (pthread_mutex_t): Likewise.
18233         [POSIX] (pthread_mutexattr_t): Likewise.
18234         [POSIX] (pthread_once_t): Likewise.
18235         [POSIX] (pthread_t): Likewise.
18236         [POSIX-based standards] (pthread_atfork): Expect function.
18237
18238 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18239             Richard Sandiford  <richard@codesourcery.com>
18240
18241         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18242         (swap_endianness_p): New extern variable.
18243         (set_big_endian): New inline function.
18244         (maybe_swap_uint32): Likewise.
18245         (maybe_swap_uint32_array): Likewise.
18246         (maybe_swap_uint32_obstack): Likewise.
18247         * locale/programs/locfile.c: Include <stdbool.h>.
18248         (swap_endianness_p): New variable.
18249         (add_locale_uint32): Call maybe_swap_uint32.
18250         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18251         (write_locale_data): Call maybe_swap_uint32_array.
18252         * locale/programs/ld-collate.c (obstack_int32_grow): Call
18253         maybe_swap_uint32.
18254         (obstack_int32_grow_fast): Likewise.
18255         (output_weightwc): Call maybe_swap_uint32_obstack.
18256         (collate_output): Likewise.
18257         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18258         (OPT_LITTLE_ENDIAN): Likewise.
18259         (options): Add --little-endian and --big-endian options.
18260         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18261         * locale/programs/locarchive.c: Include "locfile.h".
18262         (GET): New macro.
18263         (SET): Likewise.
18264         (INC): Likewise.
18265         (create_archive): Use the new macros to access fields of
18266         structures directly mapped from or written to locale archives.
18267         (oldlocrecentcmp): Likewise.
18268         (enlarge_archive): Likewise.
18269         (insert_name): Likewise.
18270         (add_alias): Likewise.
18271         (add_locale): Likewise.
18272         (delete_locales_from_archive): Likewise.
18273         (show_archive_content): Likewise.
18274         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
18275         locale data.
18276
18277 2013-09-24  Roland McGrath  <roland@hack.frob.com>
18278
18279         * manual/freemanuals.texi: Updated from (newly) canonical copy at
18280         http://www.gnu.org/doc/freemanuals.texi.
18281         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18282
18283 2013-09-24  Will Newton  <will.newton@linaro.org>
18284
18285         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18286         macro.
18287
18288 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
18289
18290         * locale/hashval.h (compute_hashval): Interpret bytes of key as
18291         unsigned char.
18292
18293 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
18294
18295         * manual/threads.texi (POSIX Threads): Fix a typo.
18296
18297 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18298
18299         [BZ #14547]
18300         * string/tst-strcoll-overflow.c: New test case.
18301         * string/Makefile (xtests): Add tst-strcoll-overflow.
18302         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18303         cache if string sizes may cause integer overflow.
18304
18305         [BZ #14547]
18306         * string/strcoll_l.c (coll_seq): New members rule, idx,
18307         save_idx and back_us.
18308         (get_next_seq_nocache): New function.
18309         (do_compare_nocache): New function.
18310         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18311         when malloc fails.
18312
18313 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
18314
18315         [BZ #15754]
18316         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18317         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18318         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18319
18320         [BZ #15754]
18321         * elf/Makefile (tests): Add tst-ptrguard1.
18322         (tests-static): Add tst-ptrguard1-static.
18323         (tst-ptrguard1-ARGS): Define.
18324         (tst-ptrguard1-static-ARGS): Define.
18325         * elf/tst-ptrguard1.c: New file.
18326         * elf/tst-ptrguard1-static.c: New file.
18327         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18328         * sysdeps/i386/stackguard-macros.h: Likewise.
18329         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18330         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18331         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18332         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18333         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18334         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18335
18336 2013-09-23  Hector Marco  <hecmargi@upv.es>
18337             Ismael Ripoll  <iripoll@disca.upv.es>
18338             Carlos O'Donell  <carlos@redhat.com>
18339
18340         [BZ #15754]
18341         * sysdeps/generic/stackguard-macros.h: Define
18342         __pointer_chk_guard_local and POINTER_CHK_GUARD.
18343         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18344         Define __pointer_chk_guard_local.
18345         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18346         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18347
18348 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
18349
18350         [BZ #15859]
18351         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18352
18353 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
18354
18355         * include/string.h (__ffs): Declare as hidden.
18356         * string/ffs.c (__ffs): Define as hidden.
18357         * sysdeps/i386/ffs.c (__ffs): Likewise.
18358         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18359         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18360         * sysdeps/s390/ffs.c (__ffs): Likewise.
18361         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18362
18363 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
18364
18365         * NEWS: Mention malloc probes.
18366
18367         * malloc/arena.c (new_heap): New memory_heap_new probe.
18368         (grow_heap): New memory_heap_more probe.
18369         (shrink_heap): New memory_heap_less probe.
18370         (heap_trim): New memory_heap_free probe.
18371         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18372         (systrim): New memory_sbrk_less probe.
18373         * manual/probes.texi: Document them.
18374
18375         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18376         * manual/probes.texi: Document it.
18377
18378         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18379         (__libc_realloc): Add memory_realloc_retry probe.
18380         (__libc_memalign): Add memory_memalign_retry probe.
18381         (__libc_valloc): Add memory_valloc_retry probe.
18382         (__libc_pvalloc): Add memory_pvalloc_retry probe.
18383         (__libc_calloc): Add memory_calloc_retry probe.
18384         * manual/probes.texi: Document them.
18385
18386         * malloc/arena.c (get_free_list): Add probe
18387         memory_arena_reuse_free_list.
18388         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18389         and memory_arena_reuse.
18390         (arena_get2) [!PER_THREAD]: Likewise.
18391         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18392         memory_arena_reuse_realloc.
18393         * manual/probes.texi: Document them.
18394
18395         * malloc/malloc.c (__libc_free): Add
18396         memory_mallopt_free_dyn_thresholds probe.
18397         (__libc_mallopt): Add multiple memory_mallopt probes.
18398         * manual/probes.texi: Document them.
18399
18400         * malloc/malloc.c: Include stap-probe.h.
18401         (__libc_mallopt): Add memory_mallopt probe.
18402         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18403         * manual/probes.texi: New.
18404         * manual/Makefile (chapters): Add probes.
18405         * manual/threads.texi: Set next node.
18406
18407 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
18408
18409         [BZ #15963, #13985]
18410         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18411         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18412         Add `Chinese' to `nan' entry name.
18413
18414 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18415
18416         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18417         (POLYNOMIAL): Likewise.
18418         (TAYLOR_SINCOS): Likewise.
18419         (TAYLOR_SLOW): Likewise.
18420         (__sin): Use TAYLOR_SINCOS.
18421         (__cos): Likewise.
18422         (slow): Use TAYLOR_SLOW.
18423         (sloww): Likewise.
18424         (bsloww): Likewise.
18425         (csloww): Likewise.
18426
18427 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18428
18429         * stdlib/strtod_l.c: Fix buffer overrun.
18430
18431 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18432
18433         * benchtests/Makefile (bench): Add sincos.
18434         * benchtests/bench-sincos.c: New file.
18435
18436         * math/libm-test.inc (cos_test_data): New test inputs.
18437         (sin_test_data): Likewise.
18438
18439         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18440         macro.
18441         (__sin): Use it.
18442         (__cos): Likewise.
18443         (slow1): Likewise.
18444         (slow2): Likewise.
18445         (sloww1): Likewise.
18446         (sloww2): Likewise.
18447         (bsloww1): Likewise.
18448         (bsloww2): Likewise.
18449         (cslow2): Likewise.
18450         (csloww1): Likewise.
18451         (csloww2): Likewise.
18452
18453         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18454         function.
18455         (__sin): Use it.
18456         (__cos): Likewise.
18457
18458         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18459         gotos.
18460         (__cos): Likewise.
18461
18462 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
18463
18464         * config.h.in (HAVE_MIPS_NAN2008): New macro.
18465         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18466         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18467         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18468         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18469         * elf/cache.c (print_entry): Handle the new cache flags.
18470
18471 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18472             Aldy Hernandez  <aldyh@redhat.com>
18473
18474         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18475         Change condition to [_SOFT_FLOAT].
18476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18478         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18479         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18480         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18481         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18482         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18483         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18484         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18485         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18487         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18488         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18489         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18491         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18492         declaration.
18493
18494 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18495
18496         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18497         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18498         (__longjmp): Use LOAD_GP to load saved GPRs.
18499         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18500         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18501         (__sigsetjmp): Use SAVE_GP to save GPRs.
18502
18503         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18504         Do not append -msoft-float.
18505         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18506
18507 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18508
18509         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18510
18511 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
18512
18513         [BZ #15966]
18514         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18515         (_FPU_GETCW): Use initial "__" on variable and field names but not
18516         on macro parameter name.
18517         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
18518         parentheses around reference to macro parameter.
18519
18520 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
18521
18522         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18523         prototype.
18524         (ctype_startup): Use uint32_t in cast and sizeof for
18525         ctype->charnames.
18526
18527 2013-09-11  Jia Liu  <proljc@gmail.com>
18528
18529         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18530         __daddr_t_defined.
18531         [__FreeBSD__]: Likewise.
18532
18533 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
18534
18535         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18536         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18537         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18538         (strchr): Remove __strchr_sse42 ifunc selection.
18539         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18540         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18541
18542 2013-09-11  Will Newton  <will.newton@linaro.org>
18543
18544         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18545         parameter to RES. Remove hardcoded 1000 value.
18546         * benchtests/bench-skeleton.c (main): Pass RES parameter
18547         to TIMING_INIT and multiply result by 1000.
18548
18549 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18550
18551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18552
18553 2013-09-11  Andreas Schwab  <schwab@suse.de>
18554
18555         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18556         if not defined.
18557         (O_TMPFILE) [__USE_GNU]: Define.
18558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18559         Define.
18560
18561 2013-09-11  Will Newton  <will.newton@linaro.org>
18562
18563         [BZ #15857]
18564         * malloc/malloc.c (__libc_memalign): Check the value of bytes
18565         does not overflow.
18566
18567 2013-09-11  Will Newton  <will.newton@linaro.org>
18568
18569         [BZ #15856]
18570         * malloc/malloc.c (__libc_valloc): Check the value of bytes
18571         does not overflow.
18572
18573 2013-09-11  Will Newton  <will.newton@linaro.org>
18574
18575         [BZ #15855]
18576         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18577         does not overflow.
18578
18579 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
18580
18581         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18582         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18583         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18584         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18585         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18586
18587 2013-09-10  Allan McRae  <allan@archlinux.org>
18588
18589         [BZ #15748]
18590         * manual/arith.texi (Parsing of Floats): Clarify
18591         cross-reference.
18592
18593         [BZ #15849]
18594         * manual/install.texi (Running make install): Mention
18595         --enable-pt-chown.
18596         * INSTALL: Regenerated.
18597
18598 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
18599
18600         * csu/init-first.c (_init): Remove the !SHARED condition around
18601         FPU control word initialization.
18602         * elf/dl-support.c (_dl_fpu_control): New variable.
18603         (_dl_aux_init) <AT_FPUCW>: Initialize it.
18604         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18605         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18606         * math/test-fpucw-static.c: New file.
18607         * math/test-fpucw-ieee.c: New file.
18608         * math/test-fpucw-ieee-static.c: New file.
18609         * math/Makefile (tests): Add `test-fpucw-ieee' and
18610         `$(tests-static)'.
18611         (tests-static): New variable.
18612         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18613         dependency to...
18614         [($(build-shared),yes)]
18615         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18616         ... this.
18617         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18618         New dependency.
18619
18620 2013-09-09  Allan McRae  <allan@archlinux.org>
18621
18622         [BZ #15939]
18623         * manual/string.texi (Collation Functions): Fix typo in
18624         strcoll example.
18625         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18626
18627         [BZ #15893]
18628         * stdlib/isomac.c (get_null_defines): Fix memory leak.
18629
18630         [BZ #15892]
18631         * libio/memstream.c (open_memstream): Fix memory leak.
18632         * libio/wmemstream.c (open_wmemstream): Likewise.
18633
18634         [BZ #15895]
18635         * nscd/netgroupcache.c: Fix nesting of ifdefs.
18636
18637 2013-09-09  Will Newton  <will.newton@linaro.org>
18638
18639         * malloc/Makefile: Add tst-realloc to tests.
18640         * malloc/tst-realloc.c: New file.
18641
18642 2013-09-09  Allan McRae  <allan@archlinux.org>
18643
18644         [BZ #15844]
18645         * COPYING: Update from GNU website to fix FSF address.
18646         * COPYING.LIB: Likewise.
18647
18648 2013-09-06  David S. Miller  <davem@davemloft.net>
18649
18650         * po/zh_TW.po: Update Chinese (traditional) translation from
18651         translation project.
18652
18653 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
18654             Joseph Myers  <joseph@codesourcery.com>
18655
18656         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18657         "localeinfo.h".
18658         (obstack_chunk_alloc): New macro.
18659         (obstack_chunk_free): Likewise.
18660         (record_offset): New function.
18661         (init_locale_data): Likewise.
18662         (align_locale_data): Likewise.
18663         (add_locale_empty): Likewise.
18664         (add_locale_raw_data): Likewise.
18665         (add_locale_raw_obstack): Likewise.
18666         (add_locale_string): Likewise.
18667         (add_locale_wstring): Likewise.
18668         (add_locale_uint32): Likewise.
18669         (add_locale_uint32_array): Likewise.
18670         (add_locale_char): Likewise.
18671         (start_locale_structure): Likewise.
18672         (end_locale_structure): Likewise.
18673         (start_locale_prelude): Likewise.
18674         (end_locale_prelude): Likewise.
18675         (write_locale_data): Take locale_file structure rather than an
18676         iovec.
18677         * locale/programs/locfile.h: Include "obstack.h".
18678         (struct locale_file): Change to store locale file contents instead
18679         of header.
18680         (init_locale_data): New prototype.
18681         (align_locale_data): Likewise.
18682         (add_locale_empty): Likewise.
18683         (add_locale_raw_data): Likewise.
18684         (add_locale_raw_obstack): Likewise.
18685         (add_locale_string): Likewise.
18686         (add_locale_wstring): Likewise.
18687         (add_locale_uint32): Likewise.
18688         (add_locale_uint32_array): Likewise.
18689         (add_locale_char): Likewise.
18690         (start_locale_structure): Likewise.
18691         (end_locale_structure): Likewise.
18692         (start_locale_prelude): Likewise.
18693         (end_locale_prelude): Likewise.
18694         (write_locale_data): Update prototype.
18695         * locale/programs/3level.h (struct TABLE): Remove result field.
18696         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18697         Use new locale_file interface.
18698         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18699         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18700         * locale/programs/ld-address.c (address_output): Use new
18701         locale_file interface.
18702         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18703         NO_ADD_LOCALE.
18704         (collate_finish): Don't call collseq_table_finalize.
18705         (collate_output): Use new locale_file interface.
18706         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18707         in file.
18708         (NO_FINALIZE): Change to NO_ADD_LOCALE.
18709         (TABLE): Move defines earlier in file.
18710         (ELEMENT): Likewise.
18711         (DEFAULT): Likewise.
18712         (wctrans_table_add): Move macro and inline function earlier in
18713         file.
18714         (struct wctype_table): Move type earlier in file.
18715         (add_locale_wctype_table): New static prototype.
18716         (struct locale_ctype_t): Use logical types instead of struct iovec
18717         pointers for members.
18718         (ctype_output): Use new locale_file interface.
18719         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
18720         new locale_file interface.
18721         (allocate_arrays): Update for use of new locale_file interface.
18722         * locale/programs/ld-identification.c (identification_output): Use
18723         new locale_file interface.
18724         * locale/programs/ld-measurement.c (measurement_output): Likewise.
18725         * locale/programs/ld-messages.c (messages_output): Likewise.
18726         * locale/programs/ld-monetary.c (monetary_output): Likewise.
18727         * locale/programs/ld-name.c (name_output): Likewise.
18728         * locale/programs/ld-numeric.c (numeric_output): Likewise.
18729         * locale/programs/ld-paper.c (paper_output): Likewise.
18730         * locale/programs/ld-telephone.c (telephone_output): Likewise.
18731         * locale/programs/ld-time.c (time_output): Likewise.
18732
18733 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18734
18735         * benchtests/Makefile: Add memrchr benchmark.
18736         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18737         benchmark as memrchr.
18738         * benchtests/bench-memrchr-ifunc.c: New file.
18739         * benchtests/bench-memrchr.c: New file.
18740
18741 2013-09-06   Will Newton  <will.newton@linaro.org>
18742
18743         * benchtests/Makefile (string-bench): Add memcpy.
18744
18745 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
18746             Cong Wang  <amwang@redhat.com>
18747
18748         [BZ #15850]
18749         * sysdeps/unix/sysv/linux/bits/in.h
18750         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18751         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18752         before __USE_KERNEL_IPV6_DEFS uses.
18753         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18754         IPPROTO_BEETPH.
18755         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18756         sockaddr_in6, or ipv6_mreq.
18757
18758 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18759
18760         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18761         memory access for final bytes in some large inputs.
18762         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18763
18764 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18765
18766         * string/test-memrchr.c: New file.
18767         * string/test-memrchr-ifunc.c: New file.
18768         * string/Makefile: Add new memrchr testcase.
18769
18770 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
18771
18772         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18773         fanotify_init returns EPERM.
18774
18775 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18776
18777         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18778         errors.
18779         (top level): Treat second token from macro or constant entries for
18780         allowed headers as allowed.
18781         * include/complex.h: Condition internal declarations on
18782         [!_ISOMAC].
18783         * include/fenv.h: Condition include of <stdbool.h> and internal
18784         declarations on [!_ISOMAC].
18785
18786 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
18787
18788         [BZ #15923]
18789         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18790
18791 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18792
18793         * configure.in (--enable-versioning): Remove configure option.
18794         (libc_cv_asm_symver_directive): Remove configure test.
18795         (libc_cv_ld_version_script_option): Likewise.
18796         (VERSIONING): Remove variable and AC_SUBST.
18797         (DO_VERSIONING): Remove AC_DEFINE.
18798         * configure: Regenerated.
18799         * config.h.in (DO_VERSIONING): Remove macro.
18800         * Makerules [$(versioning) = yes]: Change conditionals to
18801         [$(build-shared) = yes].
18802         * config.make.in (versioning): Remove variable.
18803         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18804         [$(build-shared) = yes].
18805         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18806         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18807         * elf/Makefile [$(versioning) = yes]: Change conditionals to
18808         [$(build-shared) = yes].
18809         * extra-lib.mk [$(versioning) = yes]: Likewise.
18810         * hurd/Makefile [$(versioning) = yes]: Likewise.
18811         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18812         [SHARED].
18813         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18814         [SHARED].
18815         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18816         [SHARED && !NO_HIDDEN].
18817         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18818         [SHARED].
18819         [SHARED && DO_VERSIONING]: Likewise..
18820         * libio/Makefile [$(versioning) = yes]: Change conditionals to
18821         [$(build-shared) = yes].
18822         * manual/install.texi (--disable-versioning): Remove
18823         documentation.
18824         * INSTALL: Regenerated.
18825         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18826         to [SHARED].
18827         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18828         [$(build-shared) = yes].
18829         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18830         * sysdeps/i386/i686/multiarch/strstr-c.c
18831         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18832         [SHARED && !NO_HIDDEN].
18833         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18834         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18835         * sysdeps/powerpc/powerpc32/dl-machine.c
18836         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18837         * sysdeps/powerpc/powerpc32/sysdep.h
18838         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18839         to [SHARED && PIC && !NO_HIDDEN].
18840         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18841         conditional to [SHARED].
18842
18843 2013-09-04   Will Newton  <will.newton@linaro.org>
18844
18845         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18846         * benchtests/bench-string.h: Include bench-timing.h instead
18847         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18848         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18849         call to HP_TIMING_DIFF_INIT.
18850         * benchtests/bench-memccpy.c: Use bench-timing.h macros
18851         instead of hp-timing.h macros.
18852         * benchtests/bench-memchr.c: Likewise.
18853         * benchtests/bench-memcmp.c: Likewise.
18854         * benchtests/bench-memcpy.c: Likewise.
18855         * benchtests/bench-memmem.c: Likewise.
18856         * benchtests/bench-memmove.c: Likewise.
18857         * benchtests/bench-memset.c: Likewise.
18858         * benchtests/bench-rawmemchr.c: Likewise.
18859         * benchtests/bench-strcasecmp.c: Likewise.
18860         * benchtests/bench-strcasestr.c: Likewise.
18861         * benchtests/bench-strcat.c: Likewise.
18862         * benchtests/bench-strchr.c: Likewise.
18863         * benchtests/bench-strcmp.c: Likewise.
18864         * benchtests/bench-strcpy.c: Likewise.
18865         * benchtests/bench-strcpy_chk.c: Likewise.
18866         * benchtests/bench-strlen.c: Likewise.
18867         * benchtests/bench-strncasecmp.c: Likewise.
18868         * benchtests/bench-strncat.c: Likewise.
18869         * benchtests/bench-strncmp.c: Likewise.
18870         * benchtests/bench-strncpy.c: Likewise.
18871         * benchtests/bench-strnlen.c: Likewise.
18872         * benchtests/bench-strpbrk.c: Likewise.
18873         * benchtests/bench-strrchr.c: Likewise.
18874         * benchtests/bench-strspn.c: Likewise.
18875         * benchtests/bench-strstr.c: Likewise.
18876
18877 2013-09-04  Will Newton  <will.newton@linaro.org>
18878
18879         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18880
18881 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18882
18883         [BZ #15427]
18884         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18885         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18886         * math/libm-test.inc (lgamma_test_data): Add more tests.
18887         * sysdeps/i386/fpu/libm-test-ulps: Update.
18888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18889
18890 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18891
18892         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18893         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18894         Add ifunc.
18895         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18896         Add strcmp-sse2-unaligned
18897         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18898
18899 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18900
18901         * Versions.def (libc): Add GLIBC_2.19.
18902
18903 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18904
18905         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18906         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18907
18908 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18909
18910         [BZ #14155]
18911         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18912         intermediate calculations in recurrence.
18913         (__ieee754_ynf): Likewise.
18914         * math/libm-test.inc (jn_test_data): Do not allow spurious
18915         underflow exception.  Add more tests.
18916         (yn_test_data): Add more tests.
18917         * sysdeps/i386/fpu/libm-test-ulps: Update.
18918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18919
18920 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18921
18922         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18923
18924 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18925
18926         * csu/init-first.c: Fix then/than typos.
18927         * locale/programs/ld-collate.c: Likewise.
18928         * locale/programs/linereader.h: Likewise.
18929         * manual/charset.texi: Likewise.
18930         * manual/filesys.texi: Likewise.
18931         * manual/stdio.texi: Likewise.
18932         * manual/string.texi: Likewise.
18933         * stdlib/fmtmsg.c: Likewise.
18934         * sysdeps/i386/stpncpy.S: Likewise.
18935         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18936         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18937         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18938         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18939
18940 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18941
18942         * elf/dl-open.c: Fix typos.
18943         * iconvdata/gbbig5.c: Likewise.
18944         * iconvdata/iso-2022-jp.c: Likewise.
18945         * iconv/gconv_int.h: Likewise.
18946         * iconv/loop.c: Likewise.
18947         * nis/rpcsvc/nis.h: Likewise.
18948         * resolv/ns_name.c: Likewise.
18949         * stdio-common/vfscanf.c: Likewise.
18950         * streams/stropts.h: Likewise.
18951         * sunrpc/rpc_thread.c: Likewise.
18952         * sysdeps/i386/strpbrk.S: Likewise.
18953         * sysdeps/ieee754/k_standard.c: Likewise.
18954         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18955         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18956         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18957         * sysdeps/mach/hurd/profil.c: Likewise.
18958         * sysdeps/s390/dl-procinfo.h: Likewise.
18959         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18960         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18961         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18962         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18963         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18964
18965 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18966
18967         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18969
18970 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18971
18972         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18973         aix specific files.
18974         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18975         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18976         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18977         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18978         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18979         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18980         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18981         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18982
18983 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18984             Roland McGrath  <roland@hack.frob.com>
18985
18986         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18987         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18988
18989 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18990
18991         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18992         __executable_start symbol instead of _start.
18993
18994 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18995
18996         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18997         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18998         Move macros to...
18999         * sysdeps/gnu/ldsodefs.h: ... this new file.
19000
19001         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19002         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19003         instead of ELFOSABI_LINUX.
19004
19005         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19006         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19007         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19008         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19009         Likewise.
19010         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19011         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19012         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19013         Likewise.
19014         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19015         (ibm_extended_long_double): Add ieee_nan member.
19016         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19017         (do_test): New function.
19018
19019         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19020         TEST_TRUNC.
19021         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19022         functions, renamed from truncdfsf_test, trunctfsf_test,
19023         trunctfdf_test.
19024         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19025         functions.
19026         (do_test): Run all these.
19027
19028 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
19029
19030         * argp/argp-help.c: Fix typos.
19031         * argp/argp-parse.c: Likewise.
19032         * debug/backtracesyms.c: Likewise.
19033         * elf/elf.h: Likewise.
19034         * malloc/malloc.c: Likewise.
19035         * nis/nis_print.c: Likewise.
19036         * resolv/res_comp.c: Likewise.
19037         * stdlib/stdlib.h: Likewise.
19038         * sunrpc/clnt_tcp.c: Likewise.
19039         * sunrpc/clnt_udp.c: Likewise.
19040         * sunrpc/clnt_unix.c: Likewise.
19041         * sysdeps/unix/bsd/ptsname.c: Likewise.
19042         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19043         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19045         Likewise.
19046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19047         Likewise.
19048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19049         Likewise.
19050         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19051
19052 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19053
19054         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19055         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19056
19057 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
19058
19059         [BZ #15897]
19060         * dlfcn/Makefile (tests): Add bug-dl-leaf.
19061         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19062         ($(objpfx)bug-dl-leaf): New rule.
19063         ($(objpfx)bug-dl-leaf.so): Likewise.
19064         ($(objpfx)bug-dl-leaf.out): Likewise.
19065         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19066         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19067         * dlfcn/bug-dl-leaf.c: New test.
19068         * dlfcn/bug-dl-leaf-lib.c: Likewise.
19069         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19070         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19071         (dlclose): Likewise.
19072         (dlmopen): Likewise.
19073
19074 2013-08-27  Roland McGrath  <roland@hack.frob.com>
19075
19076         * include/netdb.h [!_ISOMAC]:
19077         Don't include <tls.h>.
19078         (h_errno, __libc_h_errno): Move declaration and macros out of
19079         [_LIBC_REENTRANT].
19080
19081         * include/resolv.h [_RESOLV_H_]:
19082         Don't include <tls.h>.
19083         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19084         * resolv/res_libc.c: Don't include <tls.h>.
19085         (_res): Use __attribute__ ((nocommon)) in place of
19086         __attribute__ ((section (".bss"))).
19087
19088         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19089         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19090
19091         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19092
19093         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19094         only under [SIOCGIFCONF && SIOCGIFNETMASK].
19095
19096         * resolv/res_mkquery.c: Include <sys/time.h>.
19097
19098         * inet/ifreq.c: Moved to ...
19099         * sysdeps/unix/ifreq.c: ... here.
19100         * inet/ifreq.c: New file, true stub version.
19101
19102         * socket/sa_len.c: New file.
19103         * socket/Makefile (aux): Add it.
19104         * sysdeps/unix/sysv/linux/Makefile
19105         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19106         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19107         and #include <socket/sa_len.c>.
19108         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19109         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19110
19111         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19112         * bits/socket.h: ... here.
19113
19114         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19115         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19116         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19117
19118 2013-08-27  Andreas Schwab  <schwab@suse.de>
19119
19120         [BZ #15736]
19121         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19122         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19123         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19124         * string/test-strcasecmp.c (test_main): Run tests in several
19125         locales.
19126         * string/test-strncasecmp.c (test_main): Likewise.
19127
19128         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19129         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19130         to __strcasecmp_nonascii and __strncasecmp_nonascii.
19131         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19132         (__strncasecmp_ssse3) [PIC]: Likewise.
19133
19134 2013-08-26  Roland McGrath  <roland@hack.frob.com>
19135
19136         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19137
19138         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19139         instead of explicitly declaring xdecrypt.
19140         * nis/nss_nis/nis-publickey.c: Likewise.
19141
19142 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19143
19144         [BZ #15890]
19145         * nscd/aicache.c: Include res_hconf.h.
19146         (addhstaiX): Initialize res_hconf.
19147
19148 2013-08-26  Andreas Schwab  <schwab@suse.de>
19149
19150         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19151         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19152
19153 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19154
19155         * nscd/aicache.c (addhstaiX): Fix indentation.
19156
19157 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
19158
19159         * configure.ac: Quote $build_pt_chown test.
19160         * configure: Regenerated.
19161
19162 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
19163
19164         [BZ #15532]
19165         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19166         * math/s_cexpf.c (__cexpf): Likewise.
19167         * math/s_cexpl.c (__cexpl): Likewise.
19168         * math/libm-test.inc (cexp_test_data): Correct expected return
19169         value for NaN + i0.  Add another test.
19170
19171 2013-08-22  David S. Miller  <davem@davemloft.net>
19172
19173         * po/ca.po: Update Catalan translation from translation project.
19174         * po/uk.po: Add Ukrainian translations from translation project.
19175
19176 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
19177
19178         [BZ #15797]
19179         * math/s_fdim.c (__fdim): Check for infinite arguments if result
19180         is infinite, not alongside NaN test.
19181         * math/s_fdimf.c (__fdimf): Likewise.
19182         * math/s_fdiml.c (__fdiml): Likewise.
19183         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
19184         errno is unchanged.
19185
19186 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
19187
19188         * argp/argp-help.c: Fix typos.
19189         * crypt/speeds.c: Likewise.
19190         * csu/check_fds.c: Likewise.
19191         * elf/dl-load.c: Likewise.
19192         * elf/dl-open.c: Likewise.
19193         * elf/reldep3.c: Likewise.
19194         * elf/reldep.c: Likewise.
19195         * elf/sprof.c: Likewise.
19196         * iconv/iconv_charmap.c: Likewise.
19197         * iconv/skeleton.c: Likewise.
19198         * iconv/strtab.c: Likewise.
19199         * io/lockf64.c: Likewise.
19200         * libio/libioP.h: Likewise.
19201         * resolv/gai_notify.c: Likewise.
19202         * resolv/ns_name.c: Likewise.
19203         * resolv/ns_samedomain.c: Likewise.
19204         * resolv/res_send.c: Likewise.
19205         * stdlib/random.c: Likewise.
19206         * sunrpc/rpc/xdr.h: Likewise.
19207         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19208         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19209         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19210         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19211         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19212         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19213         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19214         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19215         * sysdeps/mach/hurd/check_fds.c: Likewise.
19216         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19217         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19218         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19219         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19220         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19221         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19222         * sysdeps/pthread/aio_notify.c: Likewise.
19223         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19224         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19225         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19226         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19227         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19228
19229 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19230
19231         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19232         version if bit_Slow_SSE4_2 is set.
19233         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19234         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19235
19236 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19237
19238         [BZ #15867]
19239         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19240         trampoline stack frame information.
19241         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19242         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19243         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19244         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19245         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19246         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19247         (_libc_vdso_platform_setup): Initialize the signal trampolines.
19248         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19249         sa_flags value.
19250         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19251         interrupting a syscall and set with option SA_SIGINFO.
19252
19253 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19254
19255         [BZ #15531]
19256         * math/s_cproj.c (__cproj): Only return an infinity if one part of
19257         argument is infinite.
19258         * math/s_cprojf.c (__cprojf): Likewise.
19259         * math/s_cprojl.c (__cprojl): Likewise.
19260         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19261         * math/libm-test.inc (cproj_test_data): Add more tests.
19262
19263         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19264
19265         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19266         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19267         size.  Use __ffs to determine corresponding shift.
19268
19269 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19270             Roland McGrath  <roland@hack.frob.com>
19271
19272         * Makefile (INSTALL): Remove trailing blank lines from output of
19273         makeinfo.
19274
19275 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19276
19277         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19278         Align 32 bit compat elf_greg to 8 bytes.
19279
19280 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
19281
19282         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19283
19284 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19285
19286         * string/strcoll_l.c (coll_seq): New structure.
19287         (get_next_seq_cached): New function.
19288         (get_next_seq): New function.
19289         (do_compare): New function.
19290         (STRCOLL): Use GNU style definition.  Simplify implementation
19291         by using get_next_seq, get_next_seq_cached and do_compare.
19292
19293 2013-08-16  Florian Weimer  <fweimer@redhat.com>
19294
19295         [BZ #14699]
19296         CVE-2013-4237
19297         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19298         member.
19299         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19300         member.
19301         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19302         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19303         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
19304         conditional.
19305         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19306         GETDENTS_64BIT_ALIGNED.
19307         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19308         * manual/filesys.texi (Reading/Closing Directory): Document
19309         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
19310         strongly.
19311         * manual/conf.texi (Limits for Files): Add portability note to
19312         NAME_MAX, PATH_MAX.
19313         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19314
19315 2013-08-13  Andreas Schwab  <schwab@suse.de>
19316
19317         [BZ #15749]
19318         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19319         of fabs.
19320         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19321         LDBL_MAX_EXP >= 16384]: Add tests for it.
19322
19323 2013-08-12  David S. Miller  <davem@davemloft.net>
19324
19325         * version.h (RELEASE): Set to "development".
19326         (VERSION): Set to "2.18.90".
19327         * NEWS: Add 2.19 section.
19328
19329 2013-08-03  David S. Miller  <davem@davemloft.net>
19330
19331         * po/ko.po: Update Korean translation from translation project.
19332
19333 2013-08-01  David S. Miller  <davem@davemloft.net>
19334
19335         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
19336         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19337         Bilka.
19338
19339 2013-07-30  David S. Miller  <davem@davemloft.net>
19340
19341         * po/fr.po: Update French translation from translation project.
19342
19343 2013-07-28  David S. Miller  <davem@davemloft.net>
19344
19345         * po/cs.po: Update Czech translation from translation project.
19346
19347         * po/sv.po: Update Swedish translation from translation project.
19348
19349 2013-07-27  David S. Miller  <davem@davemloft.net>
19350
19351         * po/eo.po: Update Esperanto translation from translation project.
19352
19353         * po/vi.po: Update Vietnamese translation from translation project.
19354
19355         * po/de.po: Update German translation from translation project.
19356
19357 2013-07-26  David S. Miller  <davem@davemloft.net>
19358
19359         * po/bg.po: Update Bulgarian translation from translation project.
19360
19361         * po/nl.po: Update Dutch translation from translation project.
19362         * po/pl.po: Update Polish translation from translation project.
19363         * po/ru.po: Update Russian translation from translation project.
19364
19365 2013-07-24  David S. Miller  <davem@davemloft.net>
19366
19367         * po/libc.pot: Update.
19368
19369 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19370
19371         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19372         variable page size.
19373         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19374         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19375         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19376
19377 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19378
19379         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19380
19381 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19382             Andreas Schwab  <schwab@suse.de>
19383             Roland McGrath  <roland@hack.frob.com>
19384             Joseph Myers  <joseph@codesourcery.com>
19385             Carlos O'Donell  <carlos@redhat.com>
19386
19387         [BZ #15755]
19388         * config.h.in: Define HAVE_PT_CHOWN.
19389         * config.make.in (build-pt-chown): New variable.
19390         * configure.in (--enable-pt_chown): New configure option.
19391         * configure: Regenerate.
19392         * login/Makefile: Include Makeconfig.  Build pt_chown only if
19393         build-pt-chown is enabled.
19394         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19395         pt_chown to fix pty ownership.
19396         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19397         CLOSE_ALL_FDS.
19398         * manual/install.texi (Configuring and compiling): Mention
19399         --enable-pt_chown. Add @findex for grantpt.
19400         * INSTALL: Regenerate.
19401
19402 2013-07-20  David S. Miller  <davem@davemloft.net>
19403
19404         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19405         difference between 32-bit and 64-bit.
19406
19407 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
19408
19409         [BZ #15711]
19410         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19411         Avoid system header dependency with -ffreestanding.
19412         ($(objpfx)bits/syscall%d): Likewise.
19413
19414 2013-07-13  David S. Miller  <davem@davemloft.net>
19415
19416         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19417         underflows from atanl/atan2l due to bug 15319.
19418         (casinh_test_data): Likewise.
19419
19420 2013-07-07  David S. Miller  <davem@davemloft.net>
19421
19422         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19423
19424 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
19425
19426         * sysdeps/i386/fpu/libm-test-ulps: Update.
19427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19428
19429 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19430
19431         * configure.in (--enable-lock-elision): Fix message text.
19432         * INSTALL: Regenerate.
19433         * configure: Regenerate.
19434
19435 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19436
19437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19438
19439 2013-07-03  Andreas Jaeger  <aj@suse.de>
19440
19441         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19442         define.
19443         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19444         (ptrace_peeksiginfo_args): Add.
19445         (__ptrace_peeksiginfo_flags): Add.
19446         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19447         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19448         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19449
19450 2013-07-03  Allan McRae  <allan@archlinux.org>
19451
19452         * sysdeps/i386/fpu/libm-test-ulps: Update.
19453
19454 2013-07-02  David S. Miller  <davem@davemloft.net>
19455
19456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19457
19458 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
19459
19460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19461
19462 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19463
19464         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19466
19467 2013-07-02  Andi Kleen <ak@linux.intel.com>
19468
19469         * config.h.in (ENABLE_LOCK_ELISION): Add.
19470         * configure.in (--enable-lock-elision): Add option.
19471         * manual/install.texi: Document --enable lock elision.
19472         * configure: Regenerate
19473         * INSTALL: Regenerate.
19474
19475 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
19476
19477         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19478         SSE4.2 strcasecmp for libc.a.
19479         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19480
19481 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19482
19483         [BZ #13304]
19484         * soft-fp/op-common.h (_FP_FMA): New macro.
19485         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19486         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
19487         (_FP_MUL_MEAT_1_imm): ... here.
19488         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
19489         (_FP_MUL_MEAT_1_wide): ... here.
19490         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
19491         (_FP_MUL_MEAT_1_hard): ... here.
19492         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19493         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
19494         (_FP_MUL_MEAT_2_wide): ... here.
19495         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
19496         (_FP_MUL_MEAT_2_wide_3mul): ... here.
19497         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
19498         (_FP_MUL_MEAT_2_gmp): ... here.
19499         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19500         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
19501         (_FP_MUL_MEAT_4_wide): ... here.
19502         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
19503         (_FP_MUL_MEAT_4_gmp): ... here.
19504         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19505         (_FP_WFRACBITS_DW_S): Likewise.
19506         (_FP_WFRACXBITS_DW_S): Likewise.
19507         (_FP_HIGHBIT_DW_S): Likewise.
19508         (FP_FMA_S): Likewise.
19509         (_FP_FRAC_HIGH_DW_S): Likewise.
19510         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19511         (_FP_WFRACBITS_DW_D): Likewise.
19512         (_FP_WFRACXBITS_DW_D): Likewise.
19513         (_FP_HIGHBIT_DW_D): Likewise.
19514         (FP_FMA_D): Likewise.
19515         (_FP_FRAC_HIGH_DW_D): Likewise.
19516         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19517         (_FP_WFRACBITS_DW_E): Likewise.
19518         (_FP_WFRACXBITS_DW_E): Likewise.
19519         (_FP_HIGHBIT_DW_E): Likewise.
19520         (FP_FMA_E): Likewise.
19521         (_FP_FRAC_HIGH_DW_E): Likewise.
19522         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19523         (_FP_WFRACBITS_DW_Q): Likewise.
19524         (_FP_WFRACXBITS_DW_Q): Likewise.
19525         (_FP_HIGHBIT_DW_Q): Likewise.
19526         (FP_FMA_Q): Likewise.
19527         (_FP_FRAC_HIGH_DW_Q): Likewise.
19528         * soft-fp/fmasf4.c: New file.
19529         * soft-fp/fmadf4.c: Likewise.
19530         * soft-fp/fmatf4.c: Likewise.
19531
19532 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19533
19534         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19535         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19536         Silvermont.
19537         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19538         macro.
19539         (index_Slow_SSE4_2): Likewise.
19540         (index_Prefer_PMINUB_for_stringop): Likewise.
19541         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19542         bit_Slow_SSE4_2 is set.
19543         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19544         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19545
19546 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19547
19548         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19549         rtld_global._dl_hwcap2.
19550         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19551         POWER8.
19552         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19553         POWER8 feature descriptions defined in _dl_hwcap2.
19554         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19555         string handling for POWER8 feature bits.
19556         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19557         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19558         _dl_powerpc_cap_flags.
19559         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19560         * sysdeps/powerpc/rtld-global-offsets.sym
19561         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19562         _dl_hwcap2 in the rtld_global_ro structure.
19563
19564 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19565
19566         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19567         hardware capabilities in support of AT_HWCAP2.
19568         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19569         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19570         GLRO(dl_hwcap2).
19571         (_dl_show_auxv): Add support for calling _dl_procinfo to display
19572         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
19573         explicitly the unknown a_type display mechanism is used.
19574         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19575         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19576         struct member.
19577         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19578         to macro prototype for AT_HWCAP2 support.
19579         * sysdeps/i386/dl-procinfo.h: Likewise.
19580         * sysdeps/s390/dl-procinfo.h: Likewise.
19581         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19582         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
19583         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
19584         return -1 for unknown a_type display fallback.
19585         * sysdeps/sparc/dl-procinfo.h: Likewise.
19586         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19587         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19588
19589 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
19590
19591         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19592         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19593
19594 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
19595
19596         [BZ #12492]
19597         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19598         mprotect making __stack_prot writable.
19599
19600 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
19601             Joseph Myers  <joseph@codesourcery.com>
19602
19603         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19604         as being properly aligned.
19605
19606 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
19607
19608         * dlfcn/modstatic5.c: New file.
19609         * dlfcn/tststatic5.c: New file.
19610         * dlfcn/Makefile (tests): Add tststatic5.
19611         (tests-static): Likewise.
19612         (modules-names): Add modstatic5.
19613         (tststatic5-ENV): New variable.
19614         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19615
19616         [BZ #15022]
19617         * elf/dl-support.c (_dl_main_map): New variable.
19618         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19619         (_dl_nns, _dl_load_adds): Set to 1.
19620         (_dl_initial_searchlist): Refer to _dl_main_map.
19621         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19622         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19623         call to _dl_get_origin.
19624         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19625         around call_map.
19626         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19627         * dlfcn/modstatic3.c: New file.
19628         * dlfcn/tststatic3.c: New file.
19629         * dlfcn/tststatic4.c: New file.
19630         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19631         (tests-static): Likewise.
19632         (modules-names): Add modstatic3.
19633         (tststatic3-ENV, tststatic4-ENV): New variables.
19634         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19635         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19636
19637 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
19638
19639         * configure.in (CC): Require GCC version 4.4 or later.
19640         * configure: Regenerated.
19641         * manual/install.texi (Tools for Compilation): Update GCC version
19642         requirement.
19643         * INSTALL: Regenerated.
19644
19645 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19646
19647         [BZ #15674]
19648         * string/test-memcmp.c (check2): New.
19649         (main): Call check2.
19650
19651         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19652
19653 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
19654
19655         [BZ #15022]
19656         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19657         over to...
19658         (dl_open_worker) [!SHARED]: ... here.
19659
19660 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19661
19662         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19663
19664 2013-06-25  Richard Henderson  <rth@redhat.com>
19665
19666         * locale/programs/locarchive.c: Include <libc-internal.h>
19667
19668 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
19669
19670         * manual/texinfo.tex: Update to version 2013-06-21.17, with
19671         trailing whitespace removed.
19672
19673 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
19674
19675         [BZ #10283]
19676         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19677         * locale/programs/locarchive.c: Include libc-mmap.h.
19678         (prepare_address_space): Take two new outputs (the mmap base and len).
19679         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
19680         values.
19681         (create_archive): Declare new mmap base and len values for
19682         prepare_address_space, and store the result in ah.
19683         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19684         (enlarge_archive): If ah->mmap_base is not NULL, use that and
19685         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19686         Declare new mmap base and len values for
19687         prepare_address_space, and store the result in new_ah.
19688         (open_archive): Declare new mmap base and len values for
19689         prepare_address_space, and store the result in ah.
19690         (close_archive): If ah->mmap_base is not NULL, use that and
19691         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19692         * sysdeps/generic/libc-mmap.h: New file.
19693
19694 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
19695
19696         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19697         (ALIGN_UP): Likewise.
19698         (PTR_ALIGN_DOWN): Likewise.
19699         (PTR_ALIGN_UP): Likewise.
19700
19701 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19702
19703         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19704         entry mapped to PPC_PLATFORM_POWER8.
19705         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19706         POWER8.
19707         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19708         (_dl_string_platform): Add case for exporting platform position for
19709         POWER8.
19710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19711         search path to sysdeps/powerpc/powerpc32/power8 directory.
19712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19713         search path to sysdeps/powerpc/powerpc64/power8 directory.
19714         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19715         power7 directories.
19716         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19717         power7 directories.
19718
19719 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19720
19721         * INSTALL: Regenerate.
19722
19723         * nscd/connections.c (nscd_init): Fix comment.
19724
19725 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
19726
19727         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19728
19729         [BZ #15667]
19730         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19731         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19732
19733 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19734
19735         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19736         DL_DST_REQ_STATIC.
19737         (DL_DST_REQ_STATIC): Remove macro.
19738
19739 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
19740
19741         [BZ #7006]
19742         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19743         with a shift of 0 bits.
19744
19745 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19746
19747         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19748         $(tststatic-ENV).
19749
19750 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19751
19752         [BZ #15655]
19753         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19754
19755 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19756
19757         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19758         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19759         accepts -fno-tree-loop-distribute-patterns.
19760         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19761         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19762         recursive call.
19763         * string/memset.c (memset): Likewise.
19764         * string/test-memmove.c (simple_memmove): Disable loop transformation
19765         to library calls.
19766         * string/test-memset.c (simple_memset): Likewise.
19767         * benchtests/bench-memmove.c (simple_memmove): Likewise.
19768         * benchtests/bench-memset.c (simple_memset): Likewise.
19769         * configure: Regenerated.
19770
19771 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
19772
19773         * math/test-misc.c (main): Ignore fesetround failure when failures
19774         of subsequent rounding tests would be ignored.
19775
19776         [BZ #15654]
19777         * math/fedisblxcpt.c (fedisableexcept): Return 0.
19778         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19779         * math/fegetenv.c (__fegetenv): Return 0.
19780         * math/fegetexcept.c (fegetexcept): Return 0.
19781         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19782         FE_TONEAREST.
19783         * math/feholdexcpt.c (feholdexcept): Return 0.
19784         * math/fesetenv.c (__fesetenv): Return 0.
19785         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19786         argument FE_TONEAREST.
19787         * math/feupdateenv.c (__feupdateenv): Return 0.
19788         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19789
19790 2013-06-18  Roland McGrath  <roland@hack.frob.com>
19791
19792         * elf/rtld-Rules (rtld-compile-command.S): New variable.
19793         (rtld-compile-command.s, rtld-compile-command.c): New variables.
19794         ($(objpfx)rtld-%.os rules): Use them.
19795
19796 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19797
19798         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19799         fields.
19800
19801 2013-06-17  Roland McGrath  <roland@hack.frob.com>
19802
19803         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19804         length of target pattern, then descending length of dependency pattern.
19805         * configure.in (AWK): Require gawk 3.1.2 or newer.
19806         * manual/install.texi (Tools for Compilation): Say that we do.
19807         * configure: Regenerated.
19808
19809         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19810         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19811         * scripts/sysd-rules.awk: ... this new script.
19812         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19813         than a glob-style pattern.
19814
19815 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
19816
19817         * math/test-misc.c (main): Do not treat incorrectly rounded
19818         conversions as failure unless ROUNDING_TESTS passes.
19819
19820 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
19821
19822         [BZ #15631]
19823         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19824         restore exception state around main square root computation, then
19825         check for inexactness explicitly.
19826
19827         * math/libm-test.inc (fma_test_data): Add another test.
19828
19829 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19830
19831         * manual/threads.texi (Non-POSIX Extensions): New document
19832         node.  Document pthread_getattr_default_np and
19833         pthread_setattr_default_np.
19834
19835         * Versions.def (libpthread): Add GLIBC_2.18.
19836         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19838         Likewise.
19839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19840         Likewise.
19841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19842         Likewise.
19843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19844         Likewise.
19845         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19846         Likewise.
19847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19848         Likewise.
19849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19850         Likewise.
19851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19852         Likewise.
19853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19854         Likewise.
19855
19856 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19857
19858         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19859         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19860
19861 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19862             H.J. Lu  <hjl.tools@gmail.com>
19863
19864         [BZ #15627]
19865         * sysdeps/x86_64/rtld-memset.c: Remove file.
19866         * sysdeps/x86_64/rtld-memset.S: New file.
19867
19868 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
19869
19870         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19871         (test_in_one_mode): Take arguments for whether the rounding mode
19872         is supported for each floating-point type.
19873         (do_test): Pass new arguments to test_in_one_mode using
19874         ROUNDING_TESTS.
19875
19876 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19877
19878         * posix/tst-waitid.c (do_test): Distinguish different instances of
19879         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19880         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19881         before entering the kernel for waitpid.
19882
19883 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19884
19885         * NEWS: Fix note on clock function precision.  Text by Roland
19886         McGrath.
19887
19888 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19889
19890         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19891         it into place only when and if the sanity check passes.
19892
19893 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19894
19895         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19896         output for whether conversion result is exact.  Take argument
19897         indicating whether type is IBM long double.
19898         (round_for_all): Change need_exact field to ibm_ld.
19899         * stdlib/tst-strtod-round.c (struct exactness): New type.
19900         (struct test): Change bool ld_ok field to struct exactness exact.
19901         (TEST): Update all definitions for change to field.
19902         (tests): Regenerate array contents.
19903         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19904         field value.  Check for IBM long double here.
19905         (do_test): Update calls to test_in_one_mode.
19906
19907 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19908
19909         [BZ #12515]
19910         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19911         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19912
19913 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19914
19915         [BZ #15605]
19916         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19917         generated by the compiler on loop optimizations.
19918         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19919         general definitions.
19920
19921 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19922
19923         * math/bug-nextafter.c: Include <math-tests.h>.
19924         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19925         the relevant type.
19926         * math/bug-nexttoward.c: Include <math-tests.h>.
19927         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19928         the relevant type.
19929         * math/test-misc.c: Include <math-tests.h>.
19930         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19931         the relevant type.
19932
19933 2013-06-12  Andreas Jaeger  <aj@suse.de>
19934
19935         * po/ia.po: Update Interlingua translation from translation
19936         project.
19937
19938 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19939
19940         * include/fenv.h: Include stdbool.h.
19941         (struct rm_ctx): New structure.
19942         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19943         Define macro.
19944         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19945         (SET_RESTORE_ROUNDF): Likewise.
19946         (SET_RESTORE_ROUNDL): Likewise.
19947         (SET_RESTORE_ROUND_NOEX): Likewise.
19948         (SET_RESTORE_ROUND_NOEXF): Likewise.
19949         (SET_RESTORE_ROUND_NOEXL): Likewise.
19950         (SET_RESTORE_ROUND_53BIT): Likewise.
19951         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19952         (libc_feresetround_noexf_ctx): Likewise.
19953         (libc_feresetround_noexl_ctx): Likewise.
19954         (libc_feholdsetround_53bit_ctx): Likewise.
19955         (libc_feresetround_53bit_ctx): Likewise.
19956         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19957         (libc_feholdexcept_setround_sse_ctx): New function.
19958         (libc_fesetenv_sse_ctx): Likewise.
19959         (libc_feupdateenv_sse_ctx): Likewise.
19960         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19961         (libc_feholdexcept_setround_387_ctx): Likewise.
19962         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19963         (libc_feholdsetround_387_prec_ctx): Likewise.
19964         (libc_feholdsetround_387_ctx): Likewise.
19965         (libc_feholdsetround_387_53bit_ctx): Likewise.
19966         (libc_feholdsetround_sse_ctx): Likewise.
19967         (libc_feresetround_sse_ctx): Likewise.
19968         (libc_feresetround_387_ctx): Likewise.
19969         (libc_feupdateenv_387_ctx): Likewise.
19970         (libc_feholdexcept_setroundf_ctx): Define macro.
19971         (libc_fesetenvf_ctx): Likewise.
19972         (libc_feupdateenvf_ctx): Likewise.
19973         (libc_feholdsetroundf_ctx): Likewise.
19974         (libc_feresetroundf_ctx): Likewise.
19975         (libc_feholdexcept_setround_ctx): Likewise.
19976         (libc_fesetenv_ctx): Likewise.
19977         (libc_feupdateenv_ctx): Likewise.
19978         (libc_feholdsetround_ctx): Likewise.
19979         (libc_feresetround_ctx): Likewise.
19980         (libc_feholdexcept_setroundl_ctx): Likewise.
19981         (libc_feupdateenvl_ctx): Likewise.
19982         (libc_feholdsetroundl_ctx): Likewise.
19983         (libc_feresetroundl_ctx): Likewise.
19984         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19985         (libc_feresetround_53bit_ctx): Likewise.
19986
19987 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19988
19989         * locale/iso-639.def: Convert to UTF-8.
19990
19991 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19992
19993         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19994         (EXCEPTION_TESTS_double): Likewise.
19995         (EXCEPTION_TESTS_long_double): Likewise.
19996         (EXCEPTION_TESTS): Likewise.
19997         * math/libm-test.inc (test_exceptions): Only test exceptions if
19998         EXCEPTION_TESTS (FLOAT).
19999
20000 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20001
20002         * benchtests/Makefile (string-bench): Add strcpy_chk and
20003         stpcpy_chk.
20004         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20005         * benchtests/bench-stpcpy_chk.c: New file.
20006         * benchtests/bench-strcpy_chk-ifunc.c: New file.
20007         * benchtests/bench-strcpy_chk.c: New file.
20008         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20009         code.
20010         (do_test): Likewise.
20011
20012 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20013
20014         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20015         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20016         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20017         with tabs where appropriate.
20018         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20019         dl-procinfo.h.
20020         [PPC_PLATFORM_PPC440]: Likewise.
20021         [PPC_PLATFORM_PPC464]: Likewise.
20022         [PPC_PLATFORM_PPC476]: Likewise.
20023         (_dl_string_platform): Add support for detecting ppc405, ppc440,
20024         ppc464, and ppc476 platform strings merging from ports/
20025         dl-procinfo.h.
20026
20027 2013-06-11  Andreas Schwab  <schwab@suse.de>
20028
20029         [BZ #14991]
20030         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20031         (from_ucs4_idx): Regenerate.
20032         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20033         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20034         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20035         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20036         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20037         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20038         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20039         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20040         from FROM_LOOP and TO_LOOP specific macros.
20041         (BODY): Handle combining characters.
20042         * iconvdata/BIG5HKSCS.irreversible: Update.
20043         * iconvdata/BIG5HKSCS.precomposed: New file.
20044         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20045         characters.
20046         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20047
20048 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20049
20050         * include/sys/time.h: Fix indentation and add copyright header.
20051
20052         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20053         (do_test): Likewise.
20054         * string/test-memchr.c (do_one_test): Likewise.
20055         (do_test): Likewise.
20056         * string/test-memcmp.c (do_one_test): Likewise.
20057         (do_test): Likewise.
20058         * string/test-memcpy.c (do_one_test): Likewise.
20059         (do_test): Likewise.
20060         * string/test-memmem.c (do_one_test): Likewise.
20061         (do_test): Likewise.
20062         (do_random_tests): Likewise.
20063         * string/test-memmove.c (do_one_test): Likewise.
20064         (do_test): Likewise.
20065         * string/test-memset.c (do_one_test): Likewise.
20066         (do_test): Likewise.
20067         * string/test-rawmemchr.c (do_one_test): Likewise.
20068         (do_test): Likewise.
20069         * string/test-strcasecmp.c (do_one_test): Likewise.
20070         (do_test): Likewise.
20071         * string/test-strcasestr.c (do_one_test): Likewise.
20072         (do_test): Likewise.
20073         * string/test-strcat.c (do_one_test): Likewise.
20074         (do_test): Likewise.
20075         * string/test-strchr.c (do_one_test): Likewise.
20076         (do_test): Likewise.
20077         * string/test-strcmp.c (do_one_test): Likewise.
20078         (do_test): Likewise.
20079         * string/test-strcpy.c (do_one_test): Likewise.
20080         (do_test): Likewise.
20081         * string/test-string.h: Likewise.
20082         (test_init): Likewise.
20083         * string/test-strlen.c (do_one_test): Likewise.
20084         (do_test): Likewise.
20085         * string/test-strncasecmp.c (do_one_test): Likewise.
20086         (do_test): Likewise.
20087         * string/test-strncat.c (do_one_test): Likewise.
20088         (do_test): Likewise.
20089         * string/test-strncmp.c (do_one_test): Likewise.
20090         (do_test_limit): Likewise.
20091         (do_test): Likewise.
20092         * string/test-strncpy.c (do_one_test): Likewise.
20093         (do_test): Likewise.
20094         * string/test-strnlen.c (do_one_test): Likewise.
20095         (do_test): Likewise.
20096         * string/test-strpbrk.c (do_one_test): Likewise.
20097         (do_test): Likewise.
20098         * string/test-strrchr.c (do_one_test): Likewise.
20099         (do_test): Likewise.
20100         * string/test-strspn.c (do_one_test): Likewise.
20101         (do_test): Likewise.
20102         * string/test-strstr.c (do_one_test): Likewise.
20103         (do_test): Likewise.
20104
20105         * benchtests/Makefile (string-bench): Add string benchmarks.
20106         * benchtests/bench-bcopy-ifunc.c: New file.
20107         * benchtests/bench-bcopy.c: New file.
20108         * benchtests/bench-bzero-ifunc.c: New file.
20109         * benchtests/bench-bzero.c: New file.
20110         * benchtests/bench-memccpy-ifunc.c: New file.
20111         * benchtests/bench-memccpy.c: New file.
20112         * benchtests/bench-memchr-ifunc.c: New file.
20113         * benchtests/bench-memchr.c: New file.
20114         * benchtests/bench-memcmp-ifunc.c: New file.
20115         * benchtests/bench-memcmp.c: New file.
20116         * benchtests/bench-memmem-ifunc.c: New file.
20117         * benchtests/bench-memmem.c: New file.
20118         * benchtests/bench-memmove-ifunc.c: New file.
20119         * benchtests/bench-memmove.c: New file.
20120         * benchtests/bench-mempcpy-ifunc.c: New file.
20121         * benchtests/bench-mempcpy.c: New file.
20122         * benchtests/bench-memset-ifunc.c: New file.
20123         * benchtests/bench-memset.c: New file.
20124         * benchtests/bench-rawmemchr-ifunc.c: New file.
20125         * benchtests/bench-rawmemchr.c: New file.
20126         * benchtests/bench-stpcpy-ifunc.c: New file.
20127         * benchtests/bench-stpcpy.c: New file.
20128         * benchtests/bench-stpncpy-ifunc.c: New file.
20129         * benchtests/bench-stpncpy.c: New file.
20130         * benchtests/bench-strcasecmp-ifunc.c: New file.
20131         * benchtests/bench-strcasecmp.c: New file.
20132         * benchtests/bench-strcasestr-ifunc.c: New file.
20133         * benchtests/bench-strcasestr.c: New file.
20134         * benchtests/bench-strcat-ifunc.c: New file.
20135         * benchtests/bench-strcat.c: New file.
20136         * benchtests/bench-strchr-ifunc.c: New file.
20137         * benchtests/bench-strchr.c: New file.
20138         * benchtests/bench-strchrnul-ifunc.c: New file.
20139         * benchtests/bench-strchrnul.c: New file.
20140         * benchtests/bench-strcmp-ifunc.c: New file.
20141         * benchtests/bench-strcmp.c: New file.
20142         * benchtests/bench-strcpy-ifunc.c: New file.
20143         * benchtests/bench-strcpy.c: New file.
20144         * benchtests/bench-strcspn-ifunc.c: New file.
20145         * benchtests/bench-strcspn.c: New file.
20146         * benchtests/bench-strlen-ifunc.c: New file.
20147         * benchtests/bench-strlen.c: New file.
20148         * benchtests/bench-strncasecmp-ifunc.c: New file.
20149         * benchtests/bench-strncasecmp.c: New file.
20150         * benchtests/bench-strncat-ifunc.c: New file.
20151         * benchtests/bench-strncat.c: New file.
20152         * benchtests/bench-strncmp-ifunc.c: New file.
20153         * benchtests/bench-strncmp.c: New file.
20154         * benchtests/bench-strncpy-ifunc.c: New file.
20155         * benchtests/bench-strncpy.c: New file.
20156         * benchtests/bench-strnlen-ifunc.c: New file.
20157         * benchtests/bench-strnlen.c: New file.
20158         * benchtests/bench-strpbrk-ifunc.c: New file.
20159         * benchtests/bench-strpbrk.c: New file.
20160         * benchtests/bench-strrchr-ifunc.c: New file.
20161         * benchtests/bench-strrchr.c: New file.
20162         * benchtests/bench-strspn-ifunc.c: New file.
20163         * benchtests/bench-strspn.c: New file.
20164         * benchtests/bench-strstr-ifunc.c: New file.
20165         * benchtests/bench-strstr.c: New file.
20166
20167         * benchtests/Makefile: Disable parallel execution of targets.
20168         (string-bench): Add memcpy.
20169         (benchset): New variable to store a list of benchmark sets.
20170         (bench-func): Renamed from bench.
20171         (bench-set): New target.
20172         (bench): Depend on bench-func and bench-set.
20173         * benchtests/README: Add section on benchmark sets.
20174         * benchtests/bench-memcpy-ifunc.c: New file.
20175         * benchtests/bench-memcpy.c: New file.
20176         * benchtests/bench-string.h: New file.
20177
20178 2013-06-11  Andreas Schwab  <schwab@suse.de>
20179
20180         [BZ #15577]
20181         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20182         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20183         values in the triple.
20184         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20185         terminator in the group key.
20186
20187 2013-06-11  Andreas Jaeger  <aj@suse.de>
20188
20189         * po/zh_TW.po: Update Chinese (traditional) translation from
20190         translation project.
20191
20192 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20193
20194         * include/time.h (__clock_gettime): Add libc_hidden_proto.
20195         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20196         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
20197         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20198         (clock_getcpuclockid): Likewise.
20199         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20200         Add weak_alias and libc_hidden_def.
20201         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20202         * rt/clock_gettime.c (clock_gettime): Rename to
20203         __clock_gettime.  Add weak_alias and libc_hidden_def.
20204         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20205         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20206         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
20207         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20208         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20209         Likewise.
20210         * rt/clock_settime.c (clock_settime): Rename to
20211         __clock_settime.  Add weak_alias and libc_hidden_def.
20212         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20213
20214 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
20215
20216         * mach/err_boot.sub: Remove trailing whitespace.
20217         * mach/err_ipc.sub: Likewise.
20218         * mach/err_mach.sub: Likewise.
20219
20220         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20221         (ROUNDING_TESTS_double): Likewise.
20222         (ROUNDING_TESTS_long_double): Likewise.
20223         (ROUNDING_TESTS): Likewise.
20224         * math/libm-test.inc: Include <math-tests.h>.
20225         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20226         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20227         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20228         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20229
20230 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20231
20232         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20233         of assigning.
20234
20235 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
20236
20237         * sysdeps/gnu/errlist.awk: Do not generate space at end of
20238         otherwise empty TRANS lines.
20239         * sysdeps/gnu/errlist.c: Regenerated.
20240
20241         * catgets/gencat.c (error_print): Use (void) in function
20242         definition.
20243         * crypt/crypt_util.c (__init_des): Likewise.
20244         * crypt/speeds.c (Stop): Likewise.
20245         (main): Likewise.
20246         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20247         * inet/ruserpass.c (token): Likewise.
20248         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20249         * intl/localealias.c (extend_alias_table): Likewise.
20250         * intl/plural-exp.c (init_germanic_plural): Likewise.
20251         * libio/fcloseall.c (__fcloseall): Likewise.
20252         * libio/genops.c (_IO_flush_all): Likewise.
20253         (_IO_flush_all_linebuffered): Likewise.
20254         (_IO_cleanup): Likewise.
20255         (_IO_iter_begin): Likewise.
20256         (_IO_iter_end): Likewise.
20257         (_IO_list_lock): Likewise.
20258         (_IO_list_unlock): Likewise.
20259         (_IO_list_resetlock): Likewise.
20260         * libio/getchar.c (getchar): Likewise.
20261         * libio/getchar_u.c (getchar_unlocked): Likewise.
20262         * libio/getwchar.c (getwchar): Likewise.
20263         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20264         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20265         * login/getpt.c (__getpt): Likewise.
20266         * login/tst-utmp.c (main): Likewise.
20267         * malloc/hooks.c (__malloc_check_init): Likewise.
20268         * malloc/malloc.c (__malloc_stats): Likewise.
20269         * malloc/mtrace.c (tr_break): Likewise.
20270         (mtrace): Likewise.
20271         (muntrace): Likewise.
20272         * misc/fstab.c (endfsent): Likewise.
20273         * misc/getclktck.c (__getclktck): Likewise.
20274         * misc/getdtsz.c (__getdtablesize): Likewise.
20275         * misc/gethostid.c (gethostid): Likewise.
20276         * misc/getpagesize.c (__getpagesize): Likewise.
20277         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20278         (__get_nprocs): Likewise.
20279         (__get_phys_pages): Likewise.
20280         (__get_avphys_pages): Likewise.
20281         * misc/getttyent.c (getttyent): Likewise.
20282         (setttyent): Likewise.
20283         (endttyent): Likewise.
20284         * misc/getusershell.c (getusershell): Likewise.
20285         (endusershell): Likewise.
20286         (setusershell): Likewise.
20287         (initshells): Likewise.
20288         * misc/hsearch.c (__hdestroy): Likewise.
20289         * misc/sync.c (sync): Likewise.
20290         * misc/syslog.c (closelog_internal): Likewise.
20291         (closelog): Likewise.
20292         * misc/ttyslot.c (ttyslot): Likewise.
20293         * misc/vhangup.c (vhangup): Likewise.
20294         * posix/fork.c (__fork): Likewise.
20295         * posix/getegid.c (__getegid): Likewise.
20296         * posix/geteuid.c (__geteuid): Likewise.
20297         * posix/getgid.c (__getgid): Likewise.
20298         * posix/getpid.c (__getpid): Likewise.
20299         * posix/getppid.c (__getppid): Likewise.
20300         * posix/getuid.c (__getuid): Likewise.
20301         * posix/pause.c (pause): Likewise.
20302         * posix/setpgrp.c (setpgrp): Likewise.
20303         * posix/setsid.c (__setsid): Likewise.
20304         * posix/test-vfork.c (noop): Likewise.
20305         * resolv/gethnamaddr.c (_endhtent): Likewise.
20306         (_gethtent): Likewise.
20307         (ht_endhostent): Likewise.
20308         (gethostent): Likewise.
20309         (dns_service): Likewise.
20310         * stdlib/drand48.c (drand48): Likewise.
20311         * stdlib/lrand48.c (lrand48): Likewise.
20312         * stdlib/mrand48.c (mrand48): Likewise.
20313         * stdlib/rand.c (rand): Likewise.
20314         * stdlib/random.c (__random): Likewise.
20315         * stdlib/setenv.c (clearenv): Likewise.
20316         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20317         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20318         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20319         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20320         (__get_nprocs): Likewise.
20321         (__get_phys_pages): Likewise.
20322         (__get_avphys_pages): Likewise.
20323         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20324         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20325         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20326         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20327         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20328         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20329         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20330         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20331         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20332         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20333         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20334         * sysdeps/mach/hurd/sync.c (sync): Likewise.
20335         * sysdeps/posix/clock.c (clock): Likewise.
20336         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20337         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20338         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20339         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20340         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20341         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20342         (__get_nprocs_conf): Likewise.
20343         (__get_phys_pages): Likewise.
20344         (__get_avphys_pages): Likewise.
20345         * time/clock.c (clock): Likewise.
20346         * time/tzset.c (__tzname_max): Likewise.
20347
20348 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
20349
20350         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20351         (__bswap_32): Do not use "register".
20352         * crypt/crypt.c (_ufc_doit_r): Likewise.
20353         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20354         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20355         * gmon/gmon.c (__monstartup): Likewise.
20356         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20357         * hurd/hurdmalloc.c (more_memory): Likewise.
20358         (malloc): Likewise.
20359         (free): Likewise.
20360         (realloc): Likewise.
20361         (malloc_fork_prepare): Likewise.
20362         (malloc_fork_parent): Likewise.
20363         (malloc_fork_child): Likewise.
20364         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20365         (_svcauth_des): Likewise.
20366         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20367         * inet/inet_net.c (inet_network): Likewise.
20368         * inet/inet_netof.c (inet_netof): Likewise.
20369         * inet/rcmd.c (__validuser2_sa): Likewise.
20370         * io/fts.c (fts_open): Likewise.
20371         (fts_load): Likewise.
20372         (fts_close): Likewise.
20373         (fts_read): Likewise.
20374         (fts_children): Likewise.
20375         (fts_build): Likewise.
20376         (fts_stat): Likewise.
20377         (fts_sort): Likewise.
20378         (fts_alloc): Likewise.
20379         (fts_lfree): Likewise.
20380         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20381         (_IO_file_xsgetn): Likewise.
20382         (_IO_file_xsgetn_mmap): Likewise.
20383         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20384         (_IO_cookie_write): Likewise.
20385         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20386         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20387         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20388         * malloc/obstack.c (_obstack_begin): Likewise.
20389         (_obstack_begin_1): Likewise.
20390         (_obstack_newchunk): Likewise.
20391         (_obstack_allocated_p): Likewise.
20392         (obstack_free): Likewise.
20393         (_obstack_memory_used): Likewise.
20394         * misc/getttyent.c (getttynam): Likewise.
20395         (getttyent): Likewise.
20396         (skip): Likewise.
20397         (value): Likewise.
20398         * misc/getusershell.c (initshells): Likewise.
20399         * misc/syslog.c (__vsyslog_chk): Likewise.
20400         * misc/ttyslot.c (ttyslot): Likewise.
20401         * nis/nis_hash.c (__nis_hash): Likewise.
20402         * posix/fnmatch_loop.c (FCT): Likewise.
20403         * posix/getconf.c (print_all): Likewise.
20404         (main): Likewise.
20405         * posix/getopt.c (exchange): Likewise.
20406         * posix/glob.c (globfree): Likewise.
20407         (prefix_array): Likewise.
20408         (__glob_pattern_type): Likewise.
20409         * resolv/arpa/nameser.h (NS_GET16): Likewise.
20410         (NS_GET32): Likewise.
20411         (NS_PUT16): Likewise.
20412         (NS_PUT32): Likewise.
20413         * resolv/gethnamaddr.c (getanswer): Likewise.
20414         (gethostbyname2): Likewise.
20415         (gethostbyaddr): Likewise.
20416         (_gethtent): Likewise.
20417         (_gethtbyname2): Likewise.
20418         (_gethtbyaddr): Likewise.
20419         * resolv/ns_print.c (dst_s_get_int16): Likewise.
20420         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20421         * resolv/res_init.c (__res_vinit): Likewise.
20422         (net_mask): Likewise.
20423         * resolv/res_mkquery.c (outchar): Likewise.
20424         (PRINT): Likewise.
20425         * stdio-common/printf_fp.c (outchar): Likewise.
20426         (PRINT): Likewise.
20427         * stdio-common/printf_fphex.c (outchar): Likewise.
20428         (PRINT): Likewise.
20429         * stdio-common/printf_size.c (outchar): Likewise.
20430         (PRINT): Likewise.
20431         * stdio-common/test_rdwr.c (main): Likewise.
20432         * stdio-common/tfformat.c (matches): Likewise.
20433         * stdio-common/vfprintf.c (outchar): Likewise.
20434         (printf_unknown): Likewise.
20435         (buffered_vfprintf): Likewise.
20436         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20437         * stdio-common/xbug.c (AppendToBuffer): Likewise.
20438         (ReadFile): Likewise.
20439         * stdlib/qsort.c (SWAP): Likewise.
20440         (_quicksort): Likewise.
20441         * stdlib/setenv.c (__add_to_environ): Likewise.
20442         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20443         * stdlib/strtol_l.c (__strtol_l): Likewise.
20444         * stdlib/tst-strtod.c (main): Likewise.
20445         * stdlib/tst-strtol.c (main): Likewise.
20446         * stdlib/tst-strtoll.c (main): Likewise.
20447         * string/bits/string2.h (__strcmp_cc): Likewise.
20448         (__strcmp_cg): Likewise.
20449         (__strcspn_c1): Likewise.
20450         (__strcspn_c2): Likewise.
20451         (__strcspn_c3): Likewise.
20452         (__strspn_c1): Likewise.
20453         (__strspn_c2): Likewise.
20454         (__strspn_c3): Likewise.
20455         (__strsep_1c): Likewise.
20456         (__strsep_2c): Likewise.
20457         (__strsep_3c): Likewise.
20458         * string/memccpy.c (__memccpy): Likewise.
20459         * string/stpcpy.c (__stpcpy): Likewise.
20460         * string/strcmp.c (strcmp): Likewise.
20461         * string/strrchr.c (strrchr): Likewise.
20462         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20463         Likewise.
20464         * sysdeps/mach/hurd/getcwd.c
20465         (_hurd_canonicalize_directory_name_internal): Likewise.
20466         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20467         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20468         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20469         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20470         Likewise, in both definitions.
20471         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20472         definitions.
20473         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20474         64] (__bswap_64): Likewise.
20475         * time/test_time.c (main): Likewise.
20476         * time/tzfile.c (__tzfile_read): Likewise.
20477         (__tzfile_compute): Likewise.
20478         * time/tzset.c (__tzset_parse_tz): Likewise.
20479         (tzset_internal): Likewise.
20480         (compute_change): Likewise.
20481         * wcsmbs/wcscat.c (__wcscat): Likewise.
20482         * wcsmbs/wcschr.c (wcschr): Likewise.
20483         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20484         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20485         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20486         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20487         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20488         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20489         * wcsmbs/wmemchr.c (wmemchr): Likewise.
20490         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20491         * wcsmbs/wmemset.c (wmemset): Likewise.
20492
20493 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
20494
20495         * scripts/config.guess: Update to version 2013-05-16.
20496         * scripts/config.sub: Update to version 2013-04-24.
20497         * scripts/install-sh: Update to version 2011-11-20.07.
20498         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20499         * scripts/move-if-change: Update to version 2012-01-06 07:23.
20500
20501 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
20502
20503         * debug/fgetws_u_chk.c: Fix leading whitespaces.
20504         * elf/sln.c: Likewise.
20505         * hurd/hurd/ioctl.h: Likewise.
20506         * hurd/hurdmalloc.c: Likewise.
20507         * hurd/xattr.c: Likewise.
20508         * include/shlib-compat.h: Likewise.
20509         * inet/ruserpass.c: Likewise.
20510         * libio/iofgets_u.c: Likewise.
20511         * libio/iofgetws_u.c: Likewise.
20512         * locale/programs/ld-identification.c: Likewise.
20513         * locale/programs/ld-time.c: Likewise.
20514         * mach/msg-destroy.c: Likewise.
20515         * nss/nss_files/files-netgrp.c: Likewise.
20516         * resolv/res_data.c: Likewise.
20517         * soft-fp/op-1.h: Likewise.
20518         * soft-fp/op-2.h: Likewise.
20519         * soft-fp/op-4.h: Likewise.
20520         * soft-fp/op-common.h: Likewise.
20521         * stdio-common/printf_fphex.c: Likewise.
20522         * stdlib/strtod_l.c: Likewise.
20523         * sunrpc/rpc/clnt.h: Likewise.
20524         * sysdeps/generic/framestate.c: Likewise.
20525         * sysdeps/i386/bsd-_setjmp.S: Likewise.
20526         * sysdeps/i386/bsd-setjmp.S: Likewise.
20527         * sysdeps/i386/__longjmp.S: Likewise.
20528         * sysdeps/i386/setjmp.S: Likewise.
20529         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20530         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20531         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20532         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20533         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20534         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20535         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20536         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20537         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20538         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20539         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20540         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20541         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20542         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20543         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20544         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20545         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20546         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20547         * sysdeps/ieee754/support.c: Likewise.
20548         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20549         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20550         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20551         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20552         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20553         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20554         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20555         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20556         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20557         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20558         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20559         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20560         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20561         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20562         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20563         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20564         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20566
20567 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
20568
20569         * posix/transbug.c: Remove executable mode.
20570
20571 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
20572
20573         * crypt/speeds.c: Remove trailing whitespace.
20574         * dlfcn/default.c: Likewise.
20575         * elf/ifuncdep2.c: Likewise.
20576         * elf/ifuncmain1.c: Likewise.
20577         * elf/ifuncmain1vis.c: Likewise.
20578         * elf/testobj.h: Likewise.
20579         * elf/tst-stackguard1.c: Likewise.
20580         * gmon/sys/gmon.h: Likewise.
20581         * hurd/hurdmsg.c: Likewise.
20582         * hurd/new-fd.c: Likewise.
20583         * hurd/ports-get.c: Likewise.
20584         * iconvdata/ibm1008_420.c: Likewise.
20585         * inet/tst-getni1.c: Likewise.
20586         * inet/tst-getni2.c: Likewise.
20587         * libio/ioungetc.c: Likewise.
20588         * libio/wfiledoalloc.c: Likewise.
20589         * manual/libm-err-tab.pl: Likewise.
20590         * math/w_dremf.c: Likewise.
20591         * misc/ftruncate.c: Likewise.
20592         * posix/bug-glob2.c: Likewise.
20593         * posix/tst-pcre.c: Likewise.
20594         * posix/wait4.c: Likewise.
20595         * resolv/README: Likewise.
20596         * resolv/res_debug.h: Likewise.
20597         * resolv/tst-inet_ntop.c: Likewise.
20598         * setjmp/bug269-setjmp.c: Likewise.
20599         * soft-fp/extended.h: Likewise.
20600         * soft-fp/op-1.h: Likewise.
20601         * soft-fp/op-2.h: Likewise.
20602         * soft-fp/op-4.h: Likewise.
20603         * soft-fp/op-8.h: Likewise.
20604         * soft-fp/testit.c: Likewise.
20605         * stdio-common/bug16.c: Likewise.
20606         * stdlib/random.c: Likewise.
20607         * sunrpc/rpcsvc/rquota.x: Likewise.
20608         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20609         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20610         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20611         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20612         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20613         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20614         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20615         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20616         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20617         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20618         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20619         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20620         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20621         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20622         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20623         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20624         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20625         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20626         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20627         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20628         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20629         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20630         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20631         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20632         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20633         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20634         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20635         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20636         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20637         * sysdeps/ieee754/s_lib_version.c: Likewise.
20638         * sysdeps/mach/hurd/check_fds.c: Likewise.
20639         * sysdeps/mach/hurd/getsockname.c: Likewise.
20640         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20641         * sysdeps/mach/hurd/recvfrom.c: Likewise.
20642         * sysdeps/powerpc/bits/link.h: Likewise.
20643         * sysdeps/powerpc/dl-procinfo.c: Likewise.
20644         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20645         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20646         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20647         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20648         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20649         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20650         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20651         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20652         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20653         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20654         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20655         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20656         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20657         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20658         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20659         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20660         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20661         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20662         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20663         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20664         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20665         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20666         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20667         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20668         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20669         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20670         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20671         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20672         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20673         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20674         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20675         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20676         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20677         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20678         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20679         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20680         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20681         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20682         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20683         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20684         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20685         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20686         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20687         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20688         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20689         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20690         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20691         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20692         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20693         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20694         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20695         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20696         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20697         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20698         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20699         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20700         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20701         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20702         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20703         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20704         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20705         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20706         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20707         * sysdeps/powerpc/sysdep.h: Likewise.
20708         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20709         * sysdeps/s390/s390-64/sub_n.S: Likewise.
20710         * sysdeps/sh/dl-trampoline.S: Likewise.
20711         * sysdeps/sh/memset.S: Likewise.
20712         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20713         * sysdeps/sh/strlen.S: Likewise.
20714         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20715         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20716         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20717         * sysdeps/sparc/sparc32/rem.S: Likewise.
20718         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20719         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20720         * sysdeps/sparc/sparc32/strchr.S: Likewise.
20721         * sysdeps/sparc/sparc32/udiv.S: Likewise.
20722         * sysdeps/sparc/sparc32/urem.S: Likewise.
20723         * sysdeps/sparc/sparc64/add_n.S: Likewise.
20724         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20725         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20726         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20727         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20728         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20729         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20730         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20731         * sysdeps/unix/bsd/times.c: Likewise.
20732         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20733         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20737         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20738         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20739         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20740         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20741         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20742         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20743         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20744         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20745         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20746         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20747         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20748         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20749         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20750         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20751         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20752         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20753         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20754         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20755         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20756         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20757         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20758         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20759         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20760         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20761         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20762         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20763         * sysdeps/x86_64/strcspn.S: Likewise.
20764
20765 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20766
20767         * locale/C-translit.h: Revert #include <stdint.h> because this is a
20768         generated file.  Regenerate properly from gen-translit.pl.
20769         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
20770         locale/C-translit.h.
20771
20772 2013-06-05  Andreas Schwab  <schwab@suse.de>
20773
20774         [BZ #15100]
20775         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20776         week as 6 instead of -1.
20777         * time/tst-strptime.c (day_tests): Add test case.
20778
20779 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20780
20781         * sysdeps/generic/math_private.h
20782         (libc_feholdexcept_setround_53bit): Replace with
20783         libc_feholdsetround_53bit.
20784         (libc_feupdateenv_53bit): Replace with
20785         libc_feresetround_53bit.
20786         (SET_RESTORE_ROUND_53BIT): Adjust.
20787
20788 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20789
20790         * string/test-strchrnul.c: Add copyright header.
20791
20792         * posix/tst-getaddrinfo4.c: Increase test timeout.
20793
20794 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
20795
20796         [BZ #15536]
20797         * math/libm-test.inc (MAX_EXP): Remove
20798         (MIN_EXP): Define.
20799         (ulp): Use MIN_EXP - MANT_DIG.
20800         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20801
20802 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
20803
20804         * po/be.po: Revert last change.
20805         * po/zh_CN.po: Likewise.
20806         * po/header.pot: Likewise.
20807
20808 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
20809
20810         * Makefile ($(common-objpfx)linkobj/libc.so): Define
20811         link-libc-deps to empty as target-specific variable.
20812         * Makerules (link-libc-args): New variable.
20813         (libc-for-link): Likewise.
20814         (link-libc-deps): Likewise.
20815         (lib%.so): Depend on $(link-libc-deps).  Link with
20816         $(link-libc-args).
20817         (build-module): Link with $(link-libc-args).
20818         (build-module-asneeded): Likewise.
20819         (build-module-helper-objlist): Filter out $(link-libc-deps) from
20820         list of objects.
20821         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20822         target-specific variable.
20823         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20824         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20825         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20826         libc.
20827         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20828         libc and ld.so.
20829         ($(objpfx)libpcprofile.so): Likewise.
20830         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20831         libc_nonshared.a.
20832         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20833         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20834         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20835         $(link-libc-deps).
20836         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20837         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20838         * login/Makefile ($(objpfx)libutil.so): Likewise.
20839         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20840         * math/Makefile ($(objpfx)libm.so): Likewise.
20841         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20842         $(objpfx)libnsl.so): Define libc-for-link as target-specific
20843         variable instead of depending directly on libc.
20844         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20845         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20846         $(link-libc-deps).
20847         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20848         libc.
20849         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20850         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20851         ($(objpfx)libanl.so): Likewise.
20852         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20853         ld.so.
20854         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20855         $(link-libc-deps).
20856         * sysdeps/i386/fpu/Makefile: Remove file.
20857         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20858         ($(objpfx)libm.so): Remove dependency on ld.so.
20859
20860 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
20861
20862         [BZ # 15553]
20863         * nis/yp_xdr.c (XDRMAXNAME): Define.
20864         (XDRMAXRECORD): Define.
20865         (xdr_domainname): Use XDRMAXNAME.
20866         (xdr_mapname): Likewise.
20867         (xdr_peername): Likewise.
20868         (xdr_keydat): Use XDRMAXRECORD.
20869         (xdr_valdat): Likewise.
20870
20871 2013-05-30  Jeff Law  <law@redhat.com>
20872
20873         [BZ #14256]
20874         * manual/errno.texi (ESTALE): Update to account for more than
20875         just NFS file systems.
20876         * sysdeps/gnu/errlist.c: Regenerated.
20877
20878 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20879
20880         [BZ #15465]
20881         * elf/Makefile (tests): Add tst-null-argv.
20882         (modules-names):  Add tst-null-argv-lib.
20883         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20884         (tst-null-argv-ENV): Set environment for tst-null-argv.
20885         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20886         (RTLD_PROGNAME): New macro.
20887         * elf/tst-null-argv.c: New test case.
20888         * elf/tst-null-argv-lib.c: Library for test case.
20889         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20890         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20891         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20892         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20893         * elf/dl-init.c (call_init): Likewise.
20894         (_dl_init): Likewise.
20895         * elf/dl-load.c (print_search_path): Likewise.
20896         (_dl_map_object): Likewise.
20897         * elf/dl-lookup.c (do_lookup_x): Likewise.
20898         (add_dependency): Likewise.
20899         (_dl_lookup_symbol_x): Likewise.
20900         (_dl_debug_bindings): Likewise.
20901         * elf/dl-open.c (_dl_show_scope): Likewise.
20902         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20903         * elf/dl-version.c (match_symbol): Likewise.
20904         (_dl_check_map_versions): Likewise.
20905         * elf/rtld.c (dl_main): Likewise.
20906         (print_unresolved): Use RTLD_PROGNAME.
20907         (print_missing_version): Likewise.
20908         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20909         (elf_machine_rela): Likewise.
20910         * sysdeps/powerpc/powerpc32/dl-machine.c
20911         (__process_machine_rela): Likewise.
20912         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20913         Likewise.
20914         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20915         Likewise.
20916         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20917         Likewise.
20918         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20919         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20920         Likewise.
20921         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20922         Likewise.
20923         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20924
20925 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20926
20927         * po/be.po: Add descriptive title.
20928         * po/zh_CN.po: Likewise.
20929         * po/header.pot: Likewise.
20930
20931 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20932
20933         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20934         error message.
20935         (enlarge_archive): Likewise.
20936
20937 2013-05-28  Ben North  <ben@redfrontdoor.org>
20938
20939         * manual/arith.texi (frexp): It is the magnitude of the return
20940         value which lies in [0.5, 1), not the return value itself.
20941
20942 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20943
20944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20945
20946 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20947
20948         * stdio-common/bug26.c (main): Correct fscanf template.
20949
20950         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20951         declare _dl_skip_args.
20952
20953         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20954         Don't declare.
20955
20956         * manual/platform.texi: Add missing @end deftypefun.
20957
20958 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20959
20960         [BZ #15529]
20961         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20962         bit of mantissa of 2^16382.
20963         * math/libm-test.inc (hypot_test_data): Add more tests.
20964
20965         * math/libm-test.inc: Add drem and pow10 to list of tested
20966         functions.
20967         (pow10_test): New function.
20968         (drem_test): Likewise.
20969         (drem_test_tonearest): Likewise.
20970         (drem_test_towardzero): Likewise.
20971         (drem_test_downward): Likewise.
20972         (drem_test_upward): Likewise.
20973         (main): Call the new functions.
20974
20975         * math/libm-test.inc (finite_test_data): Remove.
20976         (finite_test): Run tests from isfinite_test_data.
20977         (gamma_test_data): Remove.
20978         (gamma_test): Run tests from lgamma_test_data.
20979         * sysdeps/i386/fpu/libm-test-ulps: Update.
20980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20981
20982 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20983
20984         * manual/platform.texi: Add PowerPC PPR function set documentation.
20985         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20986         implementation.
20987
20988 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20989
20990         * math/libm-test.inc (MAX_EXP): Define.
20991         (ULPDIFF): Define.
20992         (ulp): New function.
20993         (check_float_internal): Use ULPDIFF.
20994         (cpow_test): Disable failing test.
20995         (check_ulp): Test ulp() implemetnation.
20996         (main): Call check_ulp before starting tests.
20997
20998 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20999
21000         * math/gen-libm-test.pl (generate_testfile): Do not handle
21001         START_DATA and END_DATA.
21002         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21003         END_DATA.
21004         (acos_tonearest_test_data): Likewise.
21005         (acos_towardzero_test_data): Likewise.
21006         (acos_downward_test_data): Likewise.
21007         (acos_upward_test_data): Likewise.
21008         (acosh_test_data): Likewise.
21009         (asin_test_data): Likewise.
21010         (asin_tonearest_test_data): Likewise.
21011         (asin_towardzero_test_data): Likewise.
21012         (asin_downward_test_data): Likewise.
21013         (asin_upward_test_data): Likewise.
21014         (asinh_test_data): Likewise.
21015         (atan_test_data): Likewise.
21016         (atanh_test_data): Likewise.
21017         (atan2_test_data): Likewise.
21018         (cabs_test_data): Likewise.
21019         (cacos_test_data): Likewise.
21020         (cacosh_test_data): Likewise.
21021         (carg_test_data): Likewise.
21022         (casin_test_data): Likewise.
21023         (casinh_test_data): Likewise.
21024         (catan_test_data): Likewise.
21025         (catanh_test_data): Likewise.
21026         (cbrt_test_data): Likewise.
21027         (ccos_test_data): Likewise.
21028         (ccosh_test_data): Likewise.
21029         (ceil_test_data): Likewise.
21030         (cexp_test_data): Likewise.
21031         (cimag_test_data): Likewise.
21032         (clog_test_data): Likewise.
21033         (clog10_test_data): Likewise.
21034         (conj_test_data): Likewise.
21035         (copysign_test_data): Likewise.
21036         (cos_test_data): Likewise.
21037         (cos_tonearest_test_data): Likewise.
21038         (cos_towardzero_test_data): Likewise.
21039         (cos_downward_test_data): Likewise.
21040         (cos_upward_test_data): Likewise.
21041         (cosh_test_data): Likewise.
21042         (cosh_tonearest_test_data): Likewise.
21043         (cosh_towardzero_test_data): Likewise.
21044         (cosh_downward_test_data): Likewise.
21045         (cosh_upward_test_data): Likewise.
21046         (cpow_test_data): Likewise.
21047         (cproj_test_data): Likewise.
21048         (creal_test_data): Likewise.
21049         (csin_test_data): Likewise.
21050         (csinh_test_data): Likewise.
21051         (csqrt_test_data): Likewise.
21052         (ctan_test_data): Likewise.
21053         (ctan_tonearest_test_data): Likewise.
21054         (ctan_towardzero_test_data): Likewise.
21055         (ctan_downward_test_data): Likewise.
21056         (ctan_upward_test_data): Likewise.
21057         (ctanh_test_data): Likewise.
21058         (ctanh_tonearest_test_data): Likewise.
21059         (ctanh_towardzero_test_data): Likewise.
21060         (ctanh_downward_test_data): Likewise.
21061         (ctanh_upward_test_data): Likewise.
21062         (erf_test_data): Likewise.
21063         (erfc_test_data): Likewise.
21064         (exp_test_data): Likewise.
21065         (exp_tonearest_test_data): Likewise.
21066         (exp_towardzero_test_data): Likewise.
21067         (exp_downward_test_data): Likewise.
21068         (exp_upward_test_data): Likewise.
21069         (exp10_test_data): Likewise.
21070         (exp2_test_data): Likewise.
21071         (expm1_test_data): Likewise.
21072         (fabs_test_data): Likewise.
21073         (fdim_test_data): Likewise.
21074         (finite_test_data): Likewise.
21075         (floor_test_data): Likewise.
21076         (fma_test_data): Likewise.
21077         (fma_towardzero_test_data): Likewise.
21078         (fma_downward_test_data): Likewise.
21079         (fma_upward_test_data): Likewise.
21080         (fmax_test_data): Likewise.
21081         (fmin_test_data): Likewise.
21082         (fmod_test_data): Likewise.
21083         (fpclassify_test_data): Likewise.
21084         (frexp_test_data): Likewise.
21085         (gamma_test_data): Likewise.
21086         (hypot_test_data): Likewise.
21087         (ilogb_test_data): Likewise.
21088         (isfinite_test_data): Likewise.
21089         (isgreater_test_data): Likewise.
21090         (isgreaterequal_test_data): Likewise.
21091         (isinf_test_data): Likewise.
21092         (isless_test_data): Likewise.
21093         (islessequal_test_data): Likewise.
21094         (islessgreater_test_data): Likewise.
21095         (isnan_test_data): Likewise.
21096         (isnormal_test_data): Likewise.
21097         (issignaling_test_data): Likewise.
21098         (isunordered_test_data): Likewise.
21099         (j0_test_data): Likewise.
21100         (j1_test_data): Likewise.
21101         (jn_test_data): Likewise.
21102         (ldexp_test_data): Likewise.
21103         (lgamma_test_data): Likewise.
21104         (lrint_test_data): Likewise.
21105         (lrint_tonearest_test_data): Likewise.
21106         (lrint_towardzero_test_data): Likewise.
21107         (lrint_downward_test_data): Likewise.
21108         (lrint_upward_test_data): Likewise.
21109         (llrint_test_data): Likewise.
21110         (llrint_tonearest_test_data): Likewise.
21111         (llrint_towardzero_test_data): Likewise.
21112         (llrint_downward_test_data): Likewise.
21113         (llrint_upward_test_data): Likewise.
21114         (log_test_data): Likewise.
21115         (log10_test_data): Likewise.
21116         (log1p_test_data): Likewise.
21117         (log2_test_data): Likewise.
21118         (logb_test_data): Likewise.
21119         (logb_downward_test_data): Likewise.
21120         (lround_test_data): Likewise.
21121         (llround_test_data): Likewise.
21122         (modf_test_data): Likewise.
21123         (nearbyint_test_data): Likewise.
21124         (nextafter_test_data): Likewise.
21125         (nexttoward_test_data): Likewise.
21126         (pow_test_data): Likewise.
21127         (pow_tonearest_test_data): Likewise.
21128         (pow_towardzero_test_data): Likewise.
21129         (pow_downward_test_data): Likewise.
21130         (pow_upward_test_data): Likewise.
21131         (remainder_test_data): Likewise.
21132         (remainder_tonearest_test_data): Likewise.
21133         (remainder_towardzero_test_data): Likewise.
21134         (remainder_downward_test_data): Likewise.
21135         (remainder_upward_test_data): Likewise.
21136         (remquo_test_data): Likewise.
21137         (rint_test_data): Likewise.
21138         (rint_tonearest_test_data): Likewise.
21139         (rint_towardzero_test_data): Likewise.
21140         (rint_downward_test_data): Likewise.
21141         (rint_upward_test_data): Likewise.
21142         (round_test_data): Likewise.
21143         (scalb_test_data): Likewise.
21144         (scalbn_test_data): Likewise.
21145         (scalbln_test_data): Likewise.
21146         (signbit_test_data): Likewise.
21147         (sin_test_data): Likewise.
21148         (sin_tonearest_test_data): Likewise.
21149         (sin_towardzero_test_data): Likewise.
21150         (sin_downward_test_data): Likewise.
21151         (sin_upward_test_data): Likewise.
21152         (sincos_test_data): Likewise.
21153         (sinh_test_data): Likewise.
21154         (sinh_tonearest_test_data): Likewise.
21155         (sinh_towardzero_test_data): Likewise.
21156         (sinh_downward_test_data): Likewise.
21157         (sinh_upward_test_data): Likewise.
21158         (sqrt_test_data): Likewise.
21159         (tan_test_data): Likewise.
21160         (tan_tonearest_test_data): Likewise.
21161         (tan_towardzero_test_data): Likewise.
21162         (tan_downward_test_data): Likewise.
21163         (tan_upward_test_data): Likewise.
21164         (tanh_test_data): Likewise.
21165         (tgamma_test_data): Likewise.
21166         (trunc_test_data): Likewise.
21167         (y0_test_data): Likewise.
21168         (y1_test_data): Likewise.
21169         (yn_test_data): Likewise.
21170         (significand_test_data): Likewise.
21171
21172         * math/gen-libm-test.pl (@functions): Remove variable.
21173         (generate_testfile): Don't handle START and END lines.
21174         * math/libm-test.inc (START): New macro.
21175         (END): Likewise.
21176         (END_COMPLEX): Likewise.
21177         (acos_test): Use END macro without arguments.
21178         (acos_test_tonearest): Likewise.
21179         (acos_test_towardzero): Likewise.
21180         (acos_test_downward): Likewise.
21181         (acos_test_upward): Likewise.
21182         (acosh_test): Likewise.
21183         (asin_test): Likewise.
21184         (asin_test_tonearest): Likewise.
21185         (asin_test_towardzero): Likewise.
21186         (asin_test_downward): Likewise.
21187         (asin_test_upward): Likewise.
21188         (asinh_test): Likewise.
21189         (atan_test): Likewise.
21190         (atanh_test): Likewise.
21191         (atan2_test): Likewise.
21192         (cabs_test): Likewise.
21193         (cacos_test): Use END_COMPLEX macro without arguments.
21194         (cacosh_test): Likewise.
21195         (carg_test): Use END macro without arguments.
21196         (casin_test): Use END_COMPLEX macro without arguments.
21197         (casinh_test): Likewise.
21198         (catan_test): Likewise.
21199         (catanh_test): Likewise.
21200         (cbrt_test): Use END macro without arguments.
21201         (ccos_test): Use END_COMPLEX macro without arguments.
21202         (ccosh_test): Likewise.
21203         (ceil_test): Use END macro without arguments.
21204         (cexp_test): Use END_COMPLEX macro without arguments.
21205         (cimag_test): Use END macro without arguments.
21206         (clog_test): Use END_COMPLEX macro without arguments.
21207         (clog10_test): Likewise.
21208         (conj_test): Likewise.
21209         (copysign_test): Use END macro without arguments.
21210         (cos_test): Likewise.
21211         (cos_test_tonearest): Likewise.
21212         (cos_test_towardzero): Likewise.
21213         (cos_test_downward): Likewise.
21214         (cos_test_upward): Likewise.
21215         (cosh_test): Likewise.
21216         (cosh_test_tonearest): Likewise.
21217         (cosh_test_towardzero): Likewise.
21218         (cosh_test_downward): Likewise.
21219         (cosh_test_upward): Likewise.
21220         (cpow_test): Use END_COMPLEX macro without arguments.
21221         (cproj_test): Likewise.
21222         (creal_test): Use END macro without arguments.
21223         (csin_test): Use END_COMPLEX macro without arguments.
21224         (csinh_test): Likewise.
21225         (csqrt_test): Likewise.
21226         (ctan_test): Likewise.
21227         (ctan_test_tonearest): Likewise.
21228         (ctan_test_towardzero): Likewise.
21229         (ctan_test_downward): Likewise.
21230         (ctan_test_upward): Likewise.
21231         (ctanh_test): Likewise.
21232         (ctanh_test_tonearest): Likewise.
21233         (ctanh_test_towardzero): Likewise.
21234         (ctanh_test_downward): Likewise.
21235         (ctanh_test_upward): Likewise.
21236         (erf_test): Use END macro without arguments.
21237         (erfc_test): Likewise.
21238         (exp_test): Likewise.
21239         (exp_test_tonearest): Likewise.
21240         (exp_test_towardzero): Likewise.
21241         (exp_test_downward): Likewise.
21242         (exp_test_upward): Likewise.
21243         (exp10_test): Likewise.
21244         (exp2_test): Likewise.
21245         (expm1_test): Likewise.
21246         (fabs_test): Likewise.
21247         (fdim_test): Likewise.
21248         (finite_test): Likewise.
21249         (floor_test): Likewise.
21250         (fma_test): Likewise.
21251         (fma_test_towardzero): Likewise.
21252         (fma_test_downward): Likewise.
21253         (fma_test_upward): Likewise.
21254         (fmax_test): Likewise.
21255         (fmin_test): Likewise.
21256         (fmod_test): Likewise.
21257         (fpclassify_test): Likewise.
21258         (frexp_test): Likewise.
21259         (gamma_test): Likewise.
21260         (hypot_test): Likewise.
21261         (ilogb_test): Likewise.
21262         (isfinite_test): Likewise.
21263         (isgreater_test): Likewise.
21264         (isgreaterequal_test): Likewise.
21265         (isinf_test): Likewise.
21266         (isless_test): Likewise.
21267         (islessequal_test): Likewise.
21268         (islessgreater_test): Likewise.
21269         (isnan_test): Likewise.
21270         (isnormal_test): Likewise.
21271         (issignaling_test): Likewise.
21272         (isunordered_test): Likewise.
21273         (j0_test): Likewise.
21274         (j1_test): Likewise.
21275         (jn_test): Likewise.
21276         (ldexp_test): Likewise.
21277         (lgamma_test): Likewise.
21278         (lrint_test): Likewise.
21279         (lrint_test_tonearest): Likewise.
21280         (lrint_test_towardzero): Likewise.
21281         (lrint_test_downward): Likewise.
21282         (lrint_test_upward): Likewise.
21283         (llrint_test): Likewise.
21284         (llrint_test_tonearest): Likewise.
21285         (llrint_test_towardzero): Likewise.
21286         (llrint_test_downward): Likewise.
21287         (llrint_test_upward): Likewise.
21288         (log_test): Likewise.
21289         (log10_test): Likewise.
21290         (log1p_test): Likewise.
21291         (log2_test): Likewise.
21292         (logb_test): Likewise.
21293         (logb_test_downward): Likewise.
21294         (lround_test): Likewise.
21295         (llround_test): Likewise.
21296         (modf_test): Likewise.
21297         (nearbyint_test): Likewise.
21298         (nextafter_test): Likewise.
21299         (nexttoward_test): Likewise.
21300         (pow_test): Likewise.
21301         (pow_test_tonearest): Likewise.
21302         (pow_test_towardzero): Likewise.
21303         (pow_test_downward): Likewise.
21304         (pow_test_upward): Likewise.
21305         (remainder_test): Likewise.
21306         (remainder_test_tonearest): Likewise.
21307         (remainder_test_towardzero): Likewise.
21308         (remainder_test_downward): Likewise.
21309         (remainder_test_upward): Likewise.
21310         (remquo_test): Likewise.
21311         (rint_test): Likewise.
21312         (rint_test_tonearest): Likewise.
21313         (rint_test_towardzero): Likewise.
21314         (rint_test_downward): Likewise.
21315         (rint_test_upward): Likewise.
21316         (round_test): Likewise.
21317         (scalb_test): Likewise.
21318         (scalbn_test): Likewise.
21319         (scalbln_test): Likewise.
21320         (signbit_test): Likewise.
21321         (sin_test): Likewise.
21322         (sin_test_tonearest): Likewise.
21323         (sin_test_towardzero): Likewise.
21324         (sin_test_downward): Likewise.
21325         (sin_test_upward): Likewise.
21326         (sincos_test): Likewise.
21327         (sinh_test): Likewise.
21328         (sinh_test_tonearest): Likewise.
21329         (sinh_test_towardzero): Likewise.
21330         (sinh_test_downward): Likewise.
21331         (sinh_test_upward): Likewise.
21332         (sqrt_test): Likewise.
21333         (tan_test): Likewise.
21334         (tan_test_tonearest): Likewise.
21335         (tan_test_towardzero): Likewise.
21336         (tan_test_downward): Likewise.
21337         (tan_test_upward): Likewise.
21338         (tanh_test): Likewise.
21339         (tgamma_test): Likewise.
21340         (trunc_test): Likewise.
21341         (y0_test): Likewise.
21342         (y1_test): Likewise.
21343         (yn_test): Likewise.
21344         (significand_test): Likewise.
21345
21346 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
21347
21348         [BZ #15381]
21349         * libio/genops.c (_IO_no_init): Initialize wide struct info.
21350
21351 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21352
21353         [BZ #14894]
21354         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21355         __ppc_mdoio and __ppc_mdoom.
21356         * manual/platform.texi: Document new functions __ppc_yield,
21357         __ppc_mdoio and __ppc_mdoom.
21358
21359 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
21360
21361         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21362         (main): Mention "tls" pseudo-hwcap is legacy.
21363         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21364
21365 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21366
21367         * math/gen-libm-test.pl (parse_args): Output only string of
21368         arguments as text for test name, not full call or descriptions of
21369         tests for extra outputs.
21370         (generate_testfile): Do not pass function name to parse_args.
21371         Generate this_func variable from START.
21372         * math/libm-test.inc (struct test_f_f_data): Rename test_name
21373         field to arg_str.
21374         (struct test_ff_f_data): Likewise.
21375         (test_ff_f_data_nexttoward): Likewise.
21376         (struct test_fi_f_data): Likewise.
21377         (struct test_fl_f_data): Likewise.
21378         (struct test_if_f_data): Likewise.
21379         (struct test_fff_f_data): Likewise.
21380         (struct test_c_f_data): Likewise.
21381         (struct test_f_f1_data): Likewise.  Remove field extra_name.
21382         (struct test_fF_f1_data): Likewise.
21383         (struct test_ffI_f1_data): Likewise.
21384         (struct test_c_c_data): Rename test_name field to arg_str.
21385         (struct test_cc_c_data): Likewise.
21386         (struct test_f_i_data): Likewise.
21387         (struct test_ff_i_data): Likewise.
21388         (struct test_f_l_data): Likewise.
21389         (struct test_f_L_data): Likewise.
21390         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
21391         and extra2_name.
21392         (COMMON_TEST_SETUP): New macro.
21393         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21394         (COMMON_TEST_CLEANUP): Likewise.
21395         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21396         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
21397         macros.
21398         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21399         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
21400         macros.
21401         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21402         (RUN_TEST_fff_f): Take argument string.  Call new setup and
21403         cleanup macros.
21404         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21405         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
21406         macros.
21407         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21408         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
21409         macros.
21410         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21411         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
21412         cleanup macros.
21413         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21414         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
21415         cleanup macros.
21416         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21417         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
21418         cleanup macros.
21419         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21420         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
21421         macros.
21422         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21423         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
21424         macros.
21425         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21426         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
21427         macros.
21428         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21429         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
21430         cleanup macros.
21431         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21432         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
21433         cleanup macros.
21434         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21435         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
21436         macros.
21437         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21438         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
21439         cleanup macros.
21440         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21441         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
21442         macros.
21443         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21444         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
21445         macros.
21446         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21447         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
21448         cleanup macros.
21449         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21450
21451 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
21452
21453         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21454         to _sifields.sigfault.
21455         (si_addr_lsb): Define new macro.
21456         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21457         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21458         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21459
21460 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
21461
21462         [BZ #15441]
21463         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21464         returns -1.
21465         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21466         null return -1.
21467         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21468         loading the domain.
21469
21470 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21471
21472         * math/gen-libm-test.pl (parse_args): Do not include expected
21473         result in test name.
21474         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21475         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21476         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21477         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21478         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21480
21481 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21482
21483         * benchtests/Makefile: Sort function entries.
21484
21485         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21486         tanh, asinh, acosh, atanh.
21487         * benchtests/acos-inputs: New file.
21488         * benchtests/acosh-inputs: New file.
21489         * benchtests/asin-inputs: New file.
21490         * benchtests/asinh-inputs: New file.
21491         * benchtests/atanh-inputs: New file.
21492         * benchtests/cosh-inputs: New file.
21493         * benchtests/log-inputs: New file.
21494         * benchtests/sinh-inputs: New file.
21495         * benchtests/tanh-inputs: New file.
21496
21497 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
21498
21499         [BZ #15339]
21500         * posix/tst-getaddrinfo4.c: New test.
21501         * posix/Makefile (tests): Add it.
21502
21503 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21504
21505         [BZ #15339]
21506         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21507         when no services were used.
21508         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21509         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21510
21511 2013-05-21  Andreas Schwab  <schwab@suse.de>
21512
21513         [BZ #15014]
21514         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21515         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21516         successful.
21517         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21518         redundant variable declarations and reallocation of buffer when
21519         parsing as IPv6 address.  Always set NSS status when called from
21520         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
21521         buffer too small.  Correct computation of needed size.
21522         * nss/Makefile (tests): Add test-digits-dots.
21523         * nss/test-digits-dots.c: New test.
21524
21525 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21526
21527         * benchtests/Makefile: Remove instructions for adding
21528         benchmark tests.
21529         * benchtests/README: New file to explain how to execute and
21530         enhance the benchmark tests.
21531
21532 2013-05-21  Andreas Schwab  <schwab@suse.de>
21533
21534         [BZ #15493]
21535         * setjmp/Makefile (tests): Add tst-sigsetjmp.
21536         * setjmp/tst-sigsetjmp.c: New test.
21537
21538 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21539
21540         * sysdeps/x86_64/memset.S (memset): New implementation.
21541         (__bzero): Likewise.
21542         (__memset_tail): New function.
21543
21544 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21545
21546         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21547         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21548         __memcpy_sse2_unaligned ifunc selection.
21549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21550         Add memcpy-sse2-unaligned.S.
21551         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21552         Add: __memcpy_sse2_unaligned.
21553
21554 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
21555
21556         [BZ #15490]
21557         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21558         math_force_eval before restoring floating-point envrionment.
21559         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21560         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21561         Likewise.
21562         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21563         <math_private.h>.
21564         (__nearbyintl): Use math_force_eval before restoring
21565         floating-point environment.
21566         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21567
21568         * math/gen-libm-test.pl (special_functions): Remove.
21569         (parse_args): Don't handle TEST_extra.  Handle functions with no
21570         return value.
21571         * math/libm-test.inc (struct test_sincos_data): Replace with
21572         struct test_fFF_11_data.
21573         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21574         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21575         (sincos_test_data): Change element type to struct
21576         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
21577         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21578         RUN_TEST_LOOP_sincos.
21579         * math/README.libm-test: Don't mention special handling of
21580         individual functions.
21581         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21582         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21583         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21584         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21585         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21587
21588         * math/gen-libm-test.pl (get_variable): Remove function.
21589         (parse_args): Don't show pointer parameters to call in test
21590         names.  Use "extra output N" in test names for extra outputs
21591         rather than naming variables.
21592
21593 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
21594
21595         [BZ #15488]
21596         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21597         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21598         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21599         double tests.
21600         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21601         disable.
21602         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21603         check_long_double.
21604
21605         * math/gen-libm-test.pl (@tests): Remove variable.
21606         ($count): Likewise.
21607         (new_test): Remove function.
21608         (show_exceptions): New function.
21609         (special_functions): Use show_exceptions instead of new_test.
21610         (parse_args): Likewise.
21611         (generate_testfile): Pass only function name in generated call to
21612         print_max_error or print_complex_max_error.
21613         (get_ulps): Do not handle complex tests specially.
21614         (output_test): Rename to ...
21615         (get_all_ulps_for_test): ... this.  Return a string rather than
21616         printing to a file.  Require ulps to be present.
21617         (output_ulps): Generate arrays rather than #defines.
21618         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21619         (struct ulp_data): New type.
21620         (BUILD_COMPLEX_ULP): Remove macro.
21621         (compare_ulp_data): New function.
21622         (find_ulps): Likewise.
21623         (find_test_ulps): Likewise.
21624         (find_function_ulps): Likewise.
21625         (find_complex_function_ulps): Likewise.
21626         (print_max_error): Determine allowed ulps using
21627         find_function_ulps.
21628         (print_complex_max_error): Determine allowed ulps using
21629         find_complex_function_ulps.
21630         (check_float_internal): Determine max ulps using find_test_ulps.
21631         (check_float): Do not take max_ulp parameter.  Update call to
21632         check_float_internal.
21633         (check_complex): Likewise.
21634         (check_int): Do not take max_ulp parameter.
21635         (check_long): Likewise.
21636         (check_bool): Likewise.
21637         (check_longlong): Likewise.
21638         (struct test_f_f_data): Remove max_ulp field.
21639         (struct test_ff_f_data): Likewise.
21640         (struct test_ff_f_data_nexttoward): Likewise.
21641         (struct test_fi_f_data): Likewise.
21642         (struct test_fl_f_data): Likewise.
21643         (struct test_if_f_data): Likewise.
21644         (struct test_fff_f_data): Likewise.
21645         (struct test_c_f_data): Likewise.
21646         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21647         (struct test_fF_f1_data): Likewise.
21648         (struct test_ffI_f1_data): Likewise.
21649         (struct test_c_c_data): Remove max_ulp field.
21650         (struct test_cc_c_data): Likewise.
21651         (struct test_f_i_data): Likewise.
21652         (struct test_ff_i_data): Likewise.
21653         (struct test_f_l_data): Likewise.
21654         (struct test_f_L_data): Likewise.
21655         (struct test_sincos_data): Likewise.
21656         (RUN_TEST_f_f): Do not handle ulps.
21657         (RUN_TEST_LOOP_f_f): Likewise.
21658         (RUN_TEST_2_f): Likewise.
21659         (RUN_TEST_LOOP_2_f): Likewise.
21660         (RUN_TEST_fff_f): Likewise.
21661         (RUN_TEST_LOOP_fff_f): Likewise.
21662         (RUN_TEST_c_f): Likewise.
21663         (RUN_TEST_LOOP_c_f): Likewise.
21664         (RUN_TEST_f_f1): Likewise.
21665         (RUN_TEST_LOOP_f_f1): Likewise.
21666         (RUN_TEST_fF_f1): Likewise.
21667         (RUN_TEST_LOOP_fF_f1): Likewise.
21668         (RUN_TEST_fI_f1): Likewise.
21669         (RUN_TEST_LOOP_fI_f1): Likewise.
21670         (RUN_TEST_ffI_f1): Likewise.
21671         (RUN_TEST_LOOP_ffI_f1): Likewise.
21672         (RUN_TEST_c_c): Likewise.
21673         (RUN_TEST_LOOP_c_c): Likewise.
21674         (RUN_TEST_cc_c): Likewise.
21675         (RUN_TEST_LOOP_cc_c): Likewise.
21676         (RUN_TEST_f_i): Likewise.
21677         (RUN_TEST_LOOP_f_i): Likewise.
21678         (RUN_TEST_f_i_tg): Likewise.
21679         (RUN_TEST_LOOP_f_i_tg): Likewise.
21680         (RUN_TEST_ff_i_tg): Likewise.
21681         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21682         (RUN_TEST_f_b): Likewise.
21683         (RUN_TEST_LOOP_f_b): Likewise.
21684         (RUN_TEST_f_b_tg): Likewise.
21685         (RUN_TEST_LOOP_f_b_tg): Likewise.
21686         (RUN_TEST_f_l): Likewise.
21687         (RUN_TEST_LOOP_f_l): Likewise.
21688         (RUN_TEST_f_L): Likewise.
21689         (RUN_TEST_LOOP_f_L): Likewise.
21690         (RUN_TEST_sincos): Likewise.
21691         (RUN_TEST_LOOP_sincos): Likewise.
21692
21693 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
21694
21695         [BZ #15480]
21696         [BZ #15485]
21697         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21698         main case of finite arguments, set rounding mode to FE_TONEAREST
21699         and discard exceptions.
21700         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21701         exceptions.
21702         (remainder_tonearest_test_data): New variable.
21703         (remainder_test_tonearest): New function.
21704         (remainder_towardzero_test_data): New variable.
21705         (remainder_test_towardzero): New function.
21706         (remainder_downward_test_data): New variable.
21707         (remainder_test_downward): New function.
21708         (remainder_upward_test_data): New variable.
21709         (remainder_test_upward): New function.
21710         (main): Call the new test functions.
21711
21712         * math/libm-test.inc (struct test_f_f1_data): Remove field
21713         extra_init.
21714         (struct test_fF_f1_data): Likewise.
21715         (struct test_ffI_f1_data): Likewise.
21716         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
21717         based on value of EXTRA_EXPECTED.
21718         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21719         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
21720         EXTRA_VAR based on value of EXTRA_EXPECTED.
21721         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21722         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
21723         EXTRA_VAR based on value of EXTRA_EXPECTED.
21724         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21725         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
21726         EXTRA_VAR based on value of EXTRA_EXPECTED.
21727         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21728         * math/gen-libm-test.pl (parse_args): Don't output initializers
21729         for extra output values.
21730
21731         * math/libm-test.inc (check_int): Expect result to be exactly
21732         equal to expected value and do not handle ulps.
21733         (check_long): Likewise.
21734         (check_longlong): Likewise.
21735
21736         * math/libm-test.inc (ceil_test_data): Test for "inexact"
21737         exceptions.
21738         (cimag_test_data): Likewise.
21739         (conj_test_data): Likewise.
21740         (copysign_test_data): Likewise.
21741         (cproj_test_data): Likewise.
21742         (creal_test_data): Likewise.
21743         (fabs_test_data): Likewise.
21744         (fdim_test_data): Likewise.
21745         (finite_test_data): Likewise.
21746         (floor_test_data): Likewise.
21747         (fmax_test_data): Likewise.
21748         (fmin_test_data): Likewise.
21749         (fmod_test_data): Likewise.
21750         (fpclassify_test_data): Likewise.
21751         (frexp_test_data): Likewise.
21752         (ilogb_test_data): Likewise.
21753         (isfinite_test_data): Likewise.
21754         (isgreater_test_data): Likewise.
21755         (isgreaterequal_test_data): Likewise.
21756         (isinf_test_data): Likewise.
21757         (isless_test_data): Likewise.
21758         (islessequal_test_data): Likewise.
21759         (islessgreater_test_data): Likewise.
21760         (isnan_test_data): Likewise.
21761         (isnormal_test_data): Likewise.
21762         (issignaling_test_data): Likewise.
21763         (isunordered_test_data): Likewise.
21764         (ldexp_test_data): Likewise.
21765         (lrint_test_data): Likewise.
21766         (lrint_test_data) [TEST_FLOAT]: Disable one test.
21767         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21768         (lrint_tonearest_test_data): Test for "inexact" exceptions.
21769         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21770         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21771         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21772         test input.
21773         (lrint_towardzero_test_data): Test for "inexact" exceptions.
21774         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21775         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21776         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21777         that test input.
21778         (lrint_downward_test_data): Test for "inexact" exceptions.
21779         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21780         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21781         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21782         test input.
21783         (lrint_upward_test_data): Test for "inexact" exceptions.
21784         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21785         test input.
21786         (llrint_test_data): Test for "inexact" exceptions.
21787         (llrint_test_data) [TEST_FLOAT]: Disable one test.
21788         (llrint_tonearest_test_data): Test for "inexact" exceptions.
21789         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21790         (llrint_towardzero_test_data): Test for "inexact" exceptions.
21791         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21792         (llrint_downward_test_data): Test for "inexact" exceptions.
21793         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21794         (llrint_upward_test_data): Test for "inexact" exceptions.
21795         (logb_test_data): Likewise.
21796         (logb_downward_test_data): Likewise.
21797         (nextafter_test_data): Likewise.
21798         (nexttoward_test_data): Likewise.
21799         (remainder_test_data): Likewise.
21800         (remquo_test_data): Likewise.
21801         (scalbn_test_data): Likewise.
21802         (scalbln_test_data): Likewise.
21803         (signbit_test_data): Likewise.
21804         (sqrt_test_data): Likewise.
21805         (significand_test_data): Likewise.
21806
21807 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21808
21809         [BZ #15424]
21810         * benchtests/bench-modf.c (struct args): Mark arg0 as
21811         volatile.
21812         * scripts/bench.pl: Mark members of struct args as volatile.
21813
21814 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21815
21816         [BZ # 15497]
21817         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21818         negative infinity on POWER6 or lower.
21819         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21820
21821 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21822
21823         [BZ #15442]
21824         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21825         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21826         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21827         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21828         (_FP_SETQNAN): New macro.
21829         (_FP_SETQNAN_SEMIRAW): Likewise.
21830         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21831         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21832         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21833         (FP_EXTEND): Use _FP_FRAC_SNANP.
21834         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21835         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21836         into account.
21837         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21838         New macro.
21839         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21840         Likewise.
21841
21842 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21843
21844         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21845         with DIVIDE_BY_ZERO_EXCEPTION.
21846         (gamma_test_data): Likewise.
21847         (lgamma_test_data): Likewise.
21848         (log_test_data): Likewise.
21849         (log10_test_data): Likewise.
21850         (log2_test_data): Likewise.
21851         (tgamma_test_data): Likewise.
21852
21853         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21854         (acos_test_tonearest): Likewise.
21855         (acos_test_towardzero): Likewise.
21856         (acos_test_downward): Likewise.
21857         (acos_test_upward): Likewise.
21858         (acosh_test): Likewise.
21859         (asin_test): Likewise.
21860         (asin_test_tonearest): Likewise.
21861         (asin_test_towardzero): Likewise.
21862         (asin_test_downward): Likewise.
21863         (asin_test_upward): Likewise.
21864         (asinh_test): Likewise.
21865         (atan_test): Likewise.
21866         (atanh_test): Likewise.
21867         (atan2_test): Likewise.
21868         (cabs_test): Likewise.
21869         (cacos_test): Likewise.
21870         (cacosh_test): Likewise.
21871         (casin_test): Likewise.
21872         (casinh_test): Likewise.
21873         (catan_test): Likewise.
21874         (catanh_test): Likewise.
21875         (cbrt_test): Likewise.
21876         (ccos_test): Likewise.
21877         (ccosh_test): Likewise.
21878         (cexp_test): Likewise.
21879         (clog_test): Likewise.
21880         (clog10_test): Likewise.
21881         (cos_test): Likewise.
21882         (cos_test_tonearest): Likewise.
21883         (cos_test_towardzero): Likewise.
21884         (cos_test_downward): Likewise.
21885         (cos_test_upward): Likewise.
21886         (cosh_test): Likewise.
21887         (cosh_test_tonearest): Likewise.
21888         (cosh_test_towardzero): Likewise.
21889         (cosh_test_downward): Likewise.
21890         (cosh_test_upward): Likewise.
21891         (cpow_test): Likewise.
21892         (csin_test): Likewise.
21893         (csinh_test): Likewise.
21894         (csqrt_test): Likewise.
21895         (ctan_test): Likewise.
21896         (ctan_test_tonearest): Likewise.
21897         (ctan_test_towardzero): Likewise.
21898         (ctan_test_downward): Likewise.
21899         (ctan_test_upward): Likewise.
21900         (ctanh_test): Likewise.
21901         (ctanh_test_tonearest): Likewise.
21902         (ctanh_test_towardzero): Likewise.
21903         (ctanh_test_downward): Likewise.
21904         (ctanh_test_upward): Likewise.
21905         (erf_test): Likewise.
21906         (erfc_test): Likewise.
21907         (exp_test): Likewise.
21908         (exp_test_tonearest): Likewise.
21909         (exp_test_towardzero): Likewise.
21910         (exp_test_downward): Likewise.
21911         (exp_test_upward): Likewise.
21912         (exp10_test): Likewise.
21913         (exp2_test): Likewise.
21914         (expm1_test): Likewise.
21915         (fmod_test): Likewise.
21916         (gamma_test): Likewise.
21917         (hypot_test): Likewise.
21918         (j0_test): Likewise.
21919         (j1_test): Likewise.
21920         (jn_test): Likewise.
21921         (lgamma_test): Likewise.
21922         (log_test): Likewise.
21923         (log10_test): Likewise.
21924         (log1p_test): Likewise.
21925         (log2_test): Likewise.
21926         (logb_test_downward): Likewise.
21927         (pow_test): Likewise.
21928         (pow_test_tonearest): Likewise.
21929         (pow_test_towardzero): Likewise.
21930         (pow_test_downward): Likewise.
21931         (pow_test_upward): Likewise.
21932         (remainder_test): Likewise.
21933         (remquo_test): Likewise.
21934         (sin_test): Likewise.
21935         (sin_test_tonearest): Likewise.
21936         (sin_test_towardzero): Likewise.
21937         (sin_test_downward): Likewise.
21938         (sin_test_upward): Likewise.
21939         (sincos_test): Likewise.
21940         (sinh_test): Likewise.
21941         (sinh_test_tonearest): Likewise.
21942         (sinh_test_towardzero): Likewise.
21943         (sinh_test_downward): Likewise.
21944         (sinh_test_upward): Likewise.
21945         (sqrt_test): Likewise.
21946         (tan_test): Likewise.
21947         (tan_test_tonearest): Likewise.
21948         (tan_test_towardzero): Likewise.
21949         (tan_test_downward): Likewise.
21950         (tan_test_upward): Likewise.
21951         (tanh_test): Likewise.
21952         (tgamma_test): Likewise.
21953         (y0_test): Likewise.
21954         (y1_test): Likewise.
21955         (yn_test): Likewise.
21956
21957         * math/gen-libm-test.pl (adjust_arg): Remove function.
21958         (special_function): Remove argument $in_func.  Only handle
21959         generating output for tables of tests, not inside functions.
21960         (parse_args): Likewise.
21961         (generate_testfile): Remove variable $in_func.  Update call to
21962         parse_args.
21963         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21964         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21965         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21966         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21967         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21968         (MAX_VALUE_INIT): Rename macro to max_value.
21969         (MIN_VALUE_INIT): Rename macro to min_value.
21970         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21971         (plus_zero): Remove variable.
21972         (minus_zero): Likewise.
21973         (plus_infty): Likewise.
21974         (minus_infty): Likewise.
21975         (qnan_value): Likewise.
21976         (max_value): Likewise.
21977         (min_value): Likewise.
21978         (min_subnorm_value): Likewise.
21979
21980 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21981
21982         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21983         uint64_t or uint32_t usage.
21984         * crypt/sha256-block.c: Likewise.
21985         * crypt/sha256-crypt.c: Likewise.
21986         * crypt/sha256.c: Likewise.
21987         * crypt/sha512-block.c: Likewise.
21988         * crypt/sha512-crypt.c: Likewise.
21989         * crypt/sha512.c: Likewise.
21990         * debug/backtrace-tst.c: Likewise.
21991         * debug/pcprofiledump.c: Likewise.
21992         * elf/cache.c: Likewise.
21993         * elf/dl-cache.c: Likewise.
21994         * elf/dl-misc.c: Likewise.
21995         * elf/dl-profile.c: Likewise.
21996         * elf/dl-support.c: Likewise.
21997         * elf/ldconfig.c: Likewise.
21998         * elf/sprof.c: Likewise.
21999         * iconv/dummy-repertoire.c: Likewise.
22000         * iconv/iconv_charmap.c: Likewise.
22001         * iconv/skeleton.c: Likewise.
22002         * iconvdata/8bit-generic.c: Likewise.
22003         * iconvdata/cp737.h: Likewise.
22004         * iconvdata/cp775.h: Likewise.
22005         * iconvdata/ibm1008.h: Likewise.
22006         * iconvdata/ibm1025.h: Likewise.
22007         * iconvdata/ibm1046.h: Likewise.
22008         * iconvdata/ibm1097.h: Likewise.
22009         * iconvdata/ibm1112.h: Likewise.
22010         * iconvdata/ibm1122.h: Likewise.
22011         * iconvdata/ibm1123.h: Likewise.
22012         * iconvdata/ibm1124.h: Likewise.
22013         * iconvdata/ibm1129.h: Likewise.
22014         * iconvdata/ibm1130.h: Likewise.
22015         * iconvdata/ibm1132.h: Likewise.
22016         * iconvdata/ibm1133.h: Likewise.
22017         * iconvdata/ibm1137.h: Likewise.
22018         * iconvdata/ibm1140.h: Likewise.
22019         * iconvdata/ibm1141.h: Likewise.
22020         * iconvdata/ibm1142.h: Likewise.
22021         * iconvdata/ibm1143.h: Likewise.
22022         * iconvdata/ibm1144.h: Likewise.
22023         * iconvdata/ibm1145.h: Likewise.
22024         * iconvdata/ibm1146.h: Likewise.
22025         * iconvdata/ibm1147.h: Likewise.
22026         * iconvdata/ibm1148.h: Likewise.
22027         * iconvdata/ibm1149.h: Likewise.
22028         * iconvdata/ibm1153.h: Likewise.
22029         * iconvdata/ibm1154.h: Likewise.
22030         * iconvdata/ibm1155.h: Likewise.
22031         * iconvdata/ibm1156.h: Likewise.
22032         * iconvdata/ibm1157.h: Likewise.
22033         * iconvdata/ibm1158.h: Likewise.
22034         * iconvdata/ibm1160.h: Likewise.
22035         * iconvdata/ibm1161.h: Likewise.
22036         * iconvdata/ibm1162.h: Likewise.
22037         * iconvdata/ibm1163.h: Likewise.
22038         * iconvdata/ibm1164.h: Likewise.
22039         * iconvdata/ibm1166.h: Likewise.
22040         * iconvdata/ibm1167.h: Likewise.
22041         * iconvdata/ibm12712.h: Likewise.
22042         * iconvdata/ibm1390.h: Likewise.
22043         * iconvdata/ibm1399.h: Likewise.
22044         * iconvdata/ibm16804.h: Likewise.
22045         * iconvdata/ibm4517.h: Likewise.
22046         * iconvdata/ibm4899.h: Likewise.
22047         * iconvdata/ibm4909.h: Likewise.
22048         * iconvdata/ibm4971.h: Likewise.
22049         * iconvdata/ibm5347.h: Likewise.
22050         * iconvdata/ibm803.h: Likewise.
22051         * iconvdata/ibm856.h: Likewise.
22052         * iconvdata/ibm901.h: Likewise.
22053         * iconvdata/ibm902.h: Likewise.
22054         * iconvdata/ibm9030.h: Likewise.
22055         * iconvdata/ibm9066.h: Likewise.
22056         * iconvdata/ibm921.h: Likewise.
22057         * iconvdata/ibm922.h: Likewise.
22058         * iconvdata/ibm9448.h: Likewise.
22059         * iconvdata/isiri-3342.h: Likewise.
22060         * iconvdata/jis0201.h: Likewise.
22061         * include/link.h: Likewise.
22062         * include/netdb.h: Likewise.
22063         * inet/check_native.c: Likewise.
22064         * inet/check_pf.c: Likewise.
22065         * inet/getipv4sourcefilter.c: Likewise.
22066         * inet/getnameinfo.c: Likewise.
22067         * inet/getsourcefilter.c: Likewise.
22068         * inet/htonl.c: Likewise.
22069         * inet/setipv4sourcefilter.c: Likewise.
22070         * inet/setsourcefilter.c: Likewise.
22071         * inet/test-inet6_opt.c: Likewise.
22072         * inet/tst-network.c: Likewise.
22073         * locale/C-collate.c: Likewise.
22074         * locale/C-ctype.c: Likewise.
22075         * locale/C-time.c: Likewise.
22076         * locale/C-translit.h: Likewise.
22077         * locale/loadarchive.c: Likewise.
22078         * locale/programs/3level.h: Likewise.
22079         * locale/programs/charmap.c: Likewise.
22080         * locale/programs/charmap.h: Likewise.
22081         * locale/programs/ld-address.c: Likewise.
22082         * locale/programs/ld-collate.c: Likewise.
22083         * locale/programs/ld-ctype.c: Likewise.
22084         * locale/programs/ld-identification.c: Likewise.
22085         * locale/programs/ld-measurement.c: Likewise.
22086         * locale/programs/ld-messages.c: Likewise.
22087         * locale/programs/ld-monetary.c: Likewise.
22088         * locale/programs/ld-name.c: Likewise.
22089         * locale/programs/ld-numeric.c: Likewise.
22090         * locale/programs/ld-paper.c: Likewise.
22091         * locale/programs/ld-telephone.c: Likewise.
22092         * locale/programs/ld-time.c: Likewise.
22093         * locale/programs/linereader.c: Likewise.
22094         * locale/programs/locale.c: Likewise.
22095         * locale/programs/locarchive.c: Likewise.
22096         * locale/programs/locfile.h: Likewise.
22097         * locale/programs/repertoire.c: Likewise.
22098         * locale/programs/simple-hash.c: Likewise.
22099         * locale/programs/simple-hash.h: Likewise.
22100         * malloc/memusage.c: Likewise.
22101         * malloc/memusagestat.c: Likewise.
22102         * nis/nis_defaults.c: Likewise.
22103         * nis/nis_hash.c: Likewise.
22104         * nis/nis_print.c: Likewise.
22105         * nis/nis_xdr.c: Likewise.
22106         * nscd/connections.c: Likewise.
22107         * nscd/hstcache.c: Likewise.
22108         * nscd/nscd_gethst_r.c: Likewise.
22109         * nscd/nscd_getserv_r.c: Likewise.
22110         * nscd/nscd_helper.c: Likewise.
22111         * nscd/servicescache.c: Likewise.
22112         * nss/makedb.c: Likewise.
22113         * nss/nss_db/db-XXX.c: Likewise.
22114         * nss/nss_db/db-initgroups.c: Likewise.
22115         * nss/nss_db/db-netgrp.c: Likewise.
22116         * nss/nss_files/files-network.c: Likewise.
22117         * nss/nss_files/files-parse.c: Likewise.
22118         * posix/bug-regex5.c: Likewise.
22119         * posix/fnmatch_loop.c: Likewise.
22120         * posix/regcomp.c: Likewise.
22121         * posix/regexec.c: Likewise.
22122         * posix/tst-rfc3484-2.c: Likewise.
22123         * posix/tst-rfc3484-3.c: Likewise.
22124         * posix/tst-rfc3484.c: Likewise.
22125         * resolv/nss_dns/dns-canon.c: Likewise.
22126         * resolv/nss_dns/dns-network.c: Likewise.
22127         * resolv/res_init.c: Likewise.
22128         * resolv/res_mkquery.c: Likewise.
22129         * resolv/tst-aton.c: Likewise.
22130         * stdlib/cxa_atexit.c: Likewise.
22131         * stdlib/cxa_finalize.c: Likewise.
22132         * stdlib/gen-fpioconst.c: Likewise.
22133         * stdlib/strtol_l.c: Likewise.
22134         * string/tst-endian.c: Likewise.
22135         * sunrpc/auth_des.c: Likewise.
22136         * sunrpc/clnt_udp.c: Likewise.
22137         * sunrpc/rtime.c: Likewise.
22138         * sunrpc/svcauth_des.c: Likewise.
22139         * sunrpc/xdr.c: Likewise.
22140         * sunrpc/xdr_intXX_t.c: Likewise.
22141         * sunrpc/xdr_rec.c: Likewise.
22142         * sysdeps/generic/ldconfig.h: Likewise.
22143         * sysdeps/generic/ldsodefs.h: Likewise.
22144         * sysdeps/generic/memusage.h: Likewise.
22145         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22146         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22147         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22148         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22149         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22150         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22151         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22152         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22153         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22154         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22155         * sysdeps/posix/getaddrinfo.c: Likewise.
22156         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22157         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22158         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22159         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22160         * sysdeps/powerpc/test-gettimebase.c: Likewise.
22161         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22162         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22163         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22164         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22165         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22166         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22167         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22168         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22169         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22170         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22171         * sysdeps/x86_64/dl-tls.h: Likewise.
22172         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22173         * time/alt_digit.c: Likewise.
22174         * time/era.c: Likewise.
22175         * wcsmbs/tst-c16c32-1.c: Likewise.
22176
22177 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22178
22179         * math/libm-test.inc (struct test_sincos_data): New type.
22180         (RUN_TEST_LOOP_sincos): New macro.
22181         (sincos_test_data): New variable.
22182         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22183
22184 2013-05-16  Richard Henderson  <rth@redhat.com>
22185
22186         * math/atest-exp2.c (LIMB64): New macro.
22187         (CONSTSZ): New macro.
22188         (mp_exp1, mp_exp_m1, mp_log2): New variables.
22189         (hexdig): Move ...
22190         (print_mpn_fp): ... to function scope.
22191         (read_mpn_hex): Remove.
22192         (get_log2): Remove.
22193         (exp2_mpn): Use mp_log2.
22194         (main): Use mp_exp1.
22195
22196 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22197
22198         * math/libm-test.inc: Remove comment about not testing "inexact"
22199         exceptions.
22200         (INEXACT_EXCEPTION): New macro.
22201         (NO_INEXACT_EXCEPTION): Likewise.
22202         (INVALID_EXCEPTION_OK): Update value.
22203         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22204         (OVERFLOW_EXCEPTION_OK): Likewise.
22205         (UNDERFLOW_EXCEPTION_OK): Likewise.
22206         (IGNORE_ZERO_INF_SIGN): Likewise.
22207         (ERRNO_UNCHANGED): Likewise.
22208         (ERRNO_EDOM): Likewise.
22209         (ERRNO_ERANGE): Likewise.
22210         (test_exceptions): Handle testing "inexact" exceptions.
22211         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22212         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22213         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22214         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22215         INEXACT_EXCEPTION.
22216         (rint_towardzero_test_data): Likewise.
22217         (rint_downward_test_data): Likewise.
22218         (rint_upward_test_data): Likewise.
22219
22220         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22221         with OVERFLOW_EXCEPTION.
22222         (exp10_test_data): Likewise.
22223         (exp2_test_data): Likewise.
22224         (expm1_test_data): Likewise.
22225         (lgamma_test_data): Likewise.
22226         (pow_test_data): Likewise.
22227         (tgamma_test_data): Likewise.
22228         (yn_test_data): Remove duplicate test of overflow.
22229
22230         * math/libm-test.inc (struct test_cc_c_data): New type.
22231         (RUN_TEST_LOOP_cc_c): New macro.
22232         (cpow_test_data): New variable.
22233         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22234
22235         * math/libm-test.inc (struct test_f_L_data): New type.
22236         (RUN_TEST_LOOP_f_L): New macro.
22237         (llrint_test_data): New variable.
22238         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22239         (llrint_tonearest_test_data): New variable.
22240         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22241         (llrint_towardzero_test_data): New variable.
22242         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22243         (llrint_downward_test_data): New variable.
22244         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22245         (llrint_upward_test_data): New variable.
22246         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22247         (llround_test_data): New variable.
22248         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22249
22250 2013-05-13  Peter Collingbourne  <pcc@google.com>
22251
22252         * math/atest-exp2.c (get_log2): Remove const attribute.
22253
22254 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22255
22256         * math/libm-test.inc (struct test_f_l_data): New type.
22257         (RUN_TEST_LOOP_f_l): New macro.
22258         (lrint_test_data): New variable.
22259         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22260         (lrint_tonearest_test_data): New variable.
22261         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22262         (lrint_towardzero_test_data): New variable.
22263         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22264         (lrint_downward_test_data): New variable.
22265         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22266         (lrint_upward_test_data): New variable.
22267         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22268         (lround_test_data): New variable.
22269         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22270
22271 2013-05-15  Peter Collingbourne  <pcc@google.com>
22272
22273         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22274         (EXTRACT_WORDS64) Use where appropriate.
22275         (INSERT_WORDS64) Likewise.
22276
22277         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22278         constraints with x constraints.
22279         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22280
22281         * malloc/obstack.c (_obstack_compat): Add initializer.
22282
22283 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22284
22285         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22286         si_trapno and add si_addr_lsb to _sifields.sigfault.
22287         (si_trapno): Remove macro.
22288         (si_addr_lsb): Define new macro.
22289         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22290
22291 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22292
22293         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22294         instead of TEST_f_l.
22295         (llrint_test_tonearest): Likewise.
22296         (llrint_test_towardzero): Likewise.
22297         (llrint_test_downward): Likewise.
22298         (llrint_test_upward): Likewise.
22299         (llround_test): Likewise.
22300
22301         * math/libm-test.inc (struct test_f_i_data): Add comment.
22302         (RUN_TEST_LOOP_f_b): New macro.
22303         (RUN_TEST_LOOP_f_b_tg): Likewise.
22304         (finite_test_data): New variable.
22305         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22306         (isfinite_test_data): New variable.
22307         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22308         (isinf_test_data): New variable.
22309         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22310         (isnan_test_data): New variable.
22311         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22312         (isnormal_test_data): New variable.
22313         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22314         (issignaling_test_data): New variable.
22315         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22316         (signbit_test_data): New variable.
22317         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22318
22319         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22320         with INVALID_EXCEPTION.
22321         (acosh_test_data): Likewise.
22322         (asin_test_data): Likewise.
22323         (atanh_test_data): Likewise.
22324         (fmod_test_data): Likewise.
22325         (log_test_data): Likewise.
22326         (log10_test_data): Likewise.
22327         (log2_test_data): Likewise.
22328         (pow_test_data): Likewise.
22329         (sqrt_test_data): Likewise.
22330         (y0_test_data): Likewise.
22331         (y1_test_data): Likewise.
22332         (yn_test_data): Likewise.
22333
22334         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22335         function contents.
22336
22337         * math/libm-test.inc (struct test_ff_i_data): New type.
22338         (RUN_TEST_LOOP_ff_i_tg): New macro.
22339         (isgreater_test_data): New variable.
22340         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22341         (isgreaterequal_test_data): New variable.
22342         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22343         (isless_test_data): New variable.
22344         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22345         (islessequal_test_data): New variable.
22346         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22347         (islessgreater_test_data): New variable.
22348         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22349         (isunordered_test_data): New variable.
22350         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22351
22352 2013-05-14  David S. Miller  <davem@davemloft.net>
22353
22354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22355
22356 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
22357
22358         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22359
22360         * math/libm-test.inc (struct test_fF_f1_data): Change type of
22361         extra_test to int.
22362         (struct test_f_i_data): Change type of max_ulp to int.
22363
22364         * math/libm-test.inc (test_ffI_f1_data): New type.
22365         (RUN_TEST_LOOP_ffI_f1): New macro.
22366         (remquo_test_data): New variable.
22367         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22368
22369         * setjmp/tst-setjmp-fp.c: New file.
22370         * setjmp/Makefile (tests): Add tst-setjmp-fp.
22371         (link-libm): New variable.
22372         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22373
22374         * math/libm-test.inc (struct test_f_i_data): New type.
22375         (RUN_TEST_LOOP_f_i): New macro.
22376         (RUN_TEST_LOOP_f_i_tg): Likewise.
22377         (fpclassify_test_data): New variable.
22378         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22379         (ilogb_test_data): New variable.
22380         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22381
22382         * math/libm-test.inc (scalbln_test): Correct function name in END
22383         call.
22384
22385         * math/libm-test.inc (struct test_f_f1_data): Add comment.
22386         (RUN_TEST_LOOP_fI_f1): New macro.
22387         (frexp_test_data): New variable.
22388         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22389
22390         * math/libm-test.inc (struct test_fF_f1_data): New type.
22391         (RUN_TEST_LOOP_fF_f1): New macro.
22392         (modf_test_data): New variable.
22393         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22394
22395         * math/libm-test.inc (struct test_f_f1_data): New type.
22396         (RUN_TEST_LOOP_f_f1): New macro.
22397         (gamma_test_data): New variable.
22398         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22399         (lgamma_test_data): New variable.
22400         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22401
22402 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
22403
22404         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22405         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22406         (main): Comment "tls" pseudo-hwcap.
22407
22408 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
22409
22410         * math/libm-test.inc (struct test_fl_f_data): New type.
22411         (RUN_TEST_LOOP_fl_f): New variable.
22412         (scalbln_test_data): New variable.
22413         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22414
22415         * math/libm-test.inc (struct test_fi_f_data): New type.
22416         (RUN_TEST_LOOP_fi_f): New macro.
22417         (ldexp_test_data): New variable.
22418         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22419         (scalbn_test_data): New variable.
22420         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22421
22422         * math/libm-test.inc (struct test_c_f_data): New type.
22423         (RUN_TEST_LOOP_c_f): New macro.
22424         (cabs_test_data): New variable.
22425         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22426         (carg_test_data): New variable.
22427         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22428         (cimag_test_data): New variable.
22429         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22430         (creal_test_data): New variable.
22431         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22432
22433         * math/libm-test.inc (struct test_if_f_data): New type.
22434         (RUN_TEST_LOOP_if_f): New macro.
22435         (jn_test_data): New variable.
22436         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22437         (yn_test_data): New variable.
22438         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22439
22440         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22441
22442 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22443
22444         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22445         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22446
22447 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22448
22449         * benchtests/Makefile (CPPFLAGS-nonlib): Add
22450         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22451         (bench-deps): Add bench-timing.h.
22452         * benchtests-bench-skeleton.c: Include bench-timing.h.
22453         (main): Use TIMING_* macros instead of clock_gettime.
22454         * benchtests/bench-timing.h: New file.
22455
22456         [BZ #14582]
22457         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22458         Renamed from _LIB_VERSION.
22459         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22460
22461 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
22462
22463         * math/libm-test.inc (struct test_fff_f_data): New type.
22464         (RUN_TEST_LOOP_fff_f): New macro.
22465         (fma_test_data): New variable.
22466         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22467         (fma_towardzero_test_data): New variable.
22468         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22469         (fma_downward_test_data): New variable.
22470         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22471         (fma_upward_test_data): New variable.
22472         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22473
22474         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22475         (struct test_c_c_data): New type.
22476         (RUN_TEST_LOOP_c_c): New macro.
22477         (cacos_test_data): New variable.
22478         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22479         (cacosh_test_data): New variable.
22480         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22481         (casin_test_data): New variable.
22482         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22483         (casinh_test_data): New variable.
22484         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22485         (catan_test_data): New variable.
22486         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22487         (catanh_test_data): New variable.
22488         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22489         (ccos_test_data): New variable.
22490         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22491         (ccosh_test_data): New variable.
22492         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22493         (cexp_test_data): New variable.
22494         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22495         (clog_test_data): New variable.
22496         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22497         (clog10_test_data): New variable.
22498         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22499         (conj_test_data): New variable.
22500         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22501         (cproj_test_data): New variable.
22502         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22503         (csin_test_data): New variable.
22504         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22505         (csinh_test_data): New variable.
22506         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22507         (csqrt_test_data): New variable.
22508         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22509         (ctan_test_data): New variable.
22510         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22511         (ctan_tonearest_test_data): New variable.
22512         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22513         (ctan_towardzero_test_data): New variable.
22514         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22515         (ctan_downward_test_data): New variable.
22516         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22517         (ctan_upward_test_data): New variable.
22518         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22519         (ctanh_test_data): New variable.
22520         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22521         (ctanh_tonearest_test_data): New variable.
22522         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22523         (ctanh_towardzero_test_data): New variable.
22524         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22525         (ctanh_downward_test_data): New variable.
22526         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22527         (ctanh_upward_test_data): New variable.
22528         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22529         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22530         of BUILD_COMPLEX.
22531
22532         * math/libm-test.inc (struct test_ff_f_data): New type.
22533         (struct test_ff_f_data_nexttoward): Likewise.
22534         (RUN_TEST_LOOP_2_f): New macro.
22535         (RUN_TEST_LOOP_ff_f): Likewise.
22536         (atan2_test_data): New variable.
22537         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22538         (copysign_test_data): New variable.
22539         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22540         (fdim_test_data): New variable.
22541         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22542         (fmax_test_data): New variable.
22543         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22544         (fmin_test_data): New variable.
22545         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22546         (fmod_test_data): New variable.
22547         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22548         (hypot_test_data): New variable.
22549         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22550         (nextafter_test_data): New variable.
22551         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22552         (nexttoward_test_data): New variable.
22553         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22554         (pow_test_data): New variable.
22555         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22556         (pow_tonearest_test_data): New variable.
22557         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22558         (pow_towardzero_test_data): New variable.
22559         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22560         (pow_downward_test_data): New variable.
22561         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22562         (pow_upward_test_data): New variable.
22563         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22564         (remainder_test_data): New variable.
22565         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22566         (scalb_test_data): New variable.
22567         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22568         * sysdeps/i386/fpu/libm-test-ulps: Update.
22569
22570 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
22571
22572         * math/libm-test.inc (fma_test): Use max_value instead of local
22573         variable fltmax.
22574         (nextafter_test): Likewise.
22575
22576         * math/libm-test.inc (acos_towardzero_test_data): New variable.
22577         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22578         (acos_downward_test_data): New variable.
22579         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22580         (acos_upward_test_data): New variable.
22581         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22582         (acosh_test_data): New variable.
22583         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22584         (asin_test_data): New variable.
22585         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22586         (asin_tonearest_test_data): New variable.
22587         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22588         (asin_towardzero_test_data): New variable.
22589         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22590         (asin_downward_test_data): New variable.
22591         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22592         (asin_upward_test_data): New variable.
22593         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22594         (asinh_test_data): New variable.
22595         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22596         (atan_test_data): New variable.
22597         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22598         (atanh_test_data): New variable.
22599         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22600         (cbrt_test_data): New variable.
22601         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22602         (ceil_test_data): New variable.
22603         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22604         (cos_test_data): New variable.
22605         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22606         (cos_tonearest_test_data): New variable.
22607         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22608         (cos_towardzero_test_data): New variable.
22609         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22610         (cos_downward_test_data): New variable.
22611         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22612         (cos_upward_test_data): New variable.
22613         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22614         (cosh_test_data): New variable.
22615         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22616         (cosh_tonearest_test_data): New variable.
22617         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22618         (cosh_towardzero_test_data): New variable.
22619         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22620         (cosh_downward_test_data): New variable.
22621         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22622         (cosh_upward_test_data): New variable.
22623         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22624         (erf_test_data): New variable.
22625         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22626         (erfc_test_data): New variable.
22627         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22628         (exp_test_data): New variable.
22629         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22630         (exp_tonearest_test_data): New variable.
22631         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22632         (exp_towardzero_test_data): New variable.
22633         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22634         (exp_downward_test_data): New variable.
22635         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22636         (exp_upward_test_data): New variable.
22637         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22638         (exp10_test_data): New variable.
22639         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22640         (exp2_test_data): New variable.
22641         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22642         (expm1_test_data): New variable.
22643         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22644         (fabs_test_data): New variable.
22645         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22646         (floor_test_data): New variable.
22647         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22648         (j0_test_data): New variable.
22649         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22650         (j1_test_data): New variable.
22651         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22652         (log_test_data): New variable.
22653         (log_test): Run tests with RUN_TEST_LOOP_f_f.
22654         (log10_test_data): New variable.
22655         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22656         (log1p_test_data): New variable.
22657         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22658         (log2_test_data): New variable.
22659         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22660         (logb_test_data): New variable.
22661         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22662         (logb_downward_test_data): New variable.
22663         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22664         (nearbyint_test_data): New variable.
22665         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22666         (rint_test_data): New variable.
22667         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22668         (rint_tonearest_test_data): New variable.
22669         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22670         (rint_towardzero_test_data): New variable.
22671         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22672         (rint_downward_test_data): New variable.
22673         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22674         (rint_upward_test_data): New variable.
22675         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22676         (round_test_data): New variable.
22677         (round_test): Run tests with RUN_TEST_LOOP_f_f.
22678         (sin_test_data): New variable.
22679         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22680         (sin_tonearest_test_data): New variable.
22681         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22682         (sin_towardzero_test_data): New variable.
22683         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22684         (sin_downward_test_data): New variable.
22685         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22686         (sin_upward_test_data): New variable.
22687         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22688         (sinh_test_data): New variable.
22689         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22690         (sinh_tonearest_test_data): New variable.
22691         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22692         (sinh_towardzero_test_data): New variable.
22693         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22694         (sinh_downward_test_data): New variable.
22695         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22696         (sinh_upward_test_data): New variable.
22697         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22698         (sqrt_test_data): New variable.
22699         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22700         (tan_test_data): New variable.
22701         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22702         (tan_tonearest_test_data): New variable.
22703         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22704         (tan_towardzero_test_data): New variable.
22705         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22706         (tan_downward_test_data): New variable.
22707         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22708         (tan_upward_test_data): New variable.
22709         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22710         (tanh_test_data): New variable.
22711         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22712         (tgamma_test_data): New variable.
22713         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22714         (trunc_test_data): New variable.
22715         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22716         (y0_test_data): New variable.
22717         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22718         (y1_test_data): New variable.
22719         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22720         (significand_test_data): New variable.
22721         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22722
22723 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
22724
22725         [BZ #12387]
22726         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22727
22728 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22729
22730         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22731
22732 2013-05-10  Andreas Jaeger  <aj@suse.de>
22733
22734         [BZ #15448]
22735         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22736         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22737
22738 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22739
22740         * math/gen-libm-test.pl (adjust_arg): New function.
22741         (special_functions): Handle generating output in both functions
22742         and arrays.
22743         (parse_args): Likewise.
22744         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
22745         $in_func argument to parse_args.
22746         * math/libm-test.inc (struct test_f_f_data): New type.
22747         (IF_ROUND_INIT_): New macro.
22748         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22749         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22750         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22751         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22752         (ROUND_RESTORE_): Likewise.
22753         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22754         (ROUND_RESTORE_FE_TONEAREST): Likewise.
22755         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22756         (ROUND_RESTORE_FE_UPWARD): Likewise.
22757         (RUN_TEST_LOOP_f_f): New macro.
22758         (acos_test_data): New variable.
22759         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22760         (acos_tonearest_test_data): New variable.
22761         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22762
22763 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22764
22765         * benchtests/bench-skeleton.c (startup): Fix coding style.
22766
22767 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22768
22769         [BZ #6809]
22770         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22771         negative infinity argument.
22772         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22773         negative infinity argument.
22774         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22775         negative infinity argument.
22776         * math/libm-test.inc (tgamma_test): Expect errno to be set for
22777         domain errors.
22778
22779 2013-05-10  Florian Weimer  <fweimer@redhat.com>
22780
22781         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22782         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22783         * iconv/iconv_prog.c (main): Likewise.
22784         * locale/programs/charmap-dir.c (charmap_readdir)
22785         (fopen_uncompressed): Likewise.
22786         * locale/programs/locfile.c (siblings_uncached)
22787         (write_locale_data): Use lstat64 instead of lstat.
22788         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22789         stat.
22790
22791 2013-05-10  Andreas Jaeger  <aj@suse.de>
22792
22793         [BZ #15395]
22794         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22795         localization.
22796         Include <locale.h>.
22797
22798 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
22799
22800         * elf/dl-close.c (_dl_close_worker): Add comments.
22801
22802 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
22803
22804         [BZ #15359]
22805         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22806         high part of pi/2.
22807         (__ieee754_rem_pio2l): Update comments.
22808
22809         [BZ #15429]
22810         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22811         high part of pi/2.
22812         (__ieee754_rem_pio2l): Update comments.
22813
22814         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22815         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22816
22817         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22818         M_PI_4l.
22819
22820         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22821         (M_PI_34_LOG10El): Likewise.
22822         (M_PI2_LOG10El): Likewise.
22823         (M_PI4_LOG10El): Likewise.
22824         (M_PI_LOG10El): Likewise.
22825
22826 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22827
22828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22829
22830 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
22831
22832         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22833         (MINUS_ZERO_INIT): Likewise.
22834         (PLUS_INFTY_INIT): Likewise.
22835         (MINUS_INFTY_INIT): Likewise.
22836         (QNAN_VALUE_INIT): Likewise.
22837         (MAX_VALUE_INIT): Likewise.
22838         (MIN_VALUE_INIT): Likewise.
22839         (MIN_SUBNORM_VALUE_INIT): Likewise.
22840         (plus_zero): Initialize with PLUS_ZERO_INIT.
22841         (minus_zero): Initialize with MINUS_ZERO_INIT.
22842         (plus_infty): Initialize with PLUS_INFTY_INIT.
22843         (minus_infty): Initialize with MINUS_INFTY_INIT.
22844         (qnan_value): Initialize with QNAN_VALUE_INIT.
22845         (max_value): Initialize with MAX_VALUE_INIT.
22846         (min_value): Initialize with MIN_VALUE_INIT.
22847         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22848
22849         * math/libm-test.inc (RUN_TEST_if_f): New macro.
22850         (jn_test): Use TEST_if_f instead of TEST_ff_f.
22851         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22852         (yn_test): Use TEST_if_f instead of TEST_ff_f.
22853
22854         * math/libm-test.inc (RUN_TEST_f_f): New macro.
22855         (RUN_TEST_2_f): Likewise.
22856         (RUN_TEST_ff_f): Likewise.
22857         (RUN_TEST_fi_f): Likewise.
22858         (RUN_TEST_fl_f): Likewise.
22859         (RUN_TEST_fff_f): Likewise.
22860         (RUN_TEST_c_f): Likewise.
22861         (RUN_TEST_f_f1): Likewise.
22862         (RUN_TEST_fF_f1): Likewise.
22863         (RUN_TEST_fI_f1): Likewise.
22864         (RUN_TEST_ffI_f1): Likewise.
22865         (RUN_TEST_c_c): Likewise.
22866         (RUN_TEST_cc_c): Likewise.
22867         (RUN_TEST_f_i): Likewise.
22868         (RUN_TEST_f_i_tg): Likewise.
22869         (RUN_TEST_ff_i_tg): Likewise.
22870         (RUN_TEST_f_b): Likewise.
22871         (RUN_TEST_f_b_tg): Likewise.
22872         (RUN_TEST_f_l): Likewise.
22873         (RUN_TEST_f_L): Likewise.
22874         (RUN_TEST_sincos): Likewise.
22875         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22876         whether to show exceptions.  Do not include ");\n" in return
22877         value.
22878         (special_functions): Output call to RUN_TEST_sincos instead of
22879         check_float calls.  Update calls to new_test.
22880         (parse_args): Output call to single RUN_TEST_* macro instead of
22881         check_* calls and other assignments.  Update calls to new_test.
22882
22883         [BZ #2546]
22884         [BZ #2560]
22885         [BZ #5159]
22886         [BZ #15426]
22887         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22888         input to result for tgamma overflow.
22889         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22890         (gamma_coeff): New variable.
22891         (NCOEFF): New macro.
22892         (gamma_positive): New function.
22893         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22894         underflow here.  Use gamma_positive instead of exp (lgamma) for
22895         other arguments.
22896         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22897         (gamma_coeff): New variable.
22898         (NCOEFF): New macro.
22899         (gammaf_positive): New function.
22900         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22901         underflow here.  Use gamma_positive instead of exp (lgamma) for
22902         other arguments.
22903         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22904         (gamma_coeff): New variable.
22905         (NCOEFF): New macro.
22906         (gammal_positive): New function.
22907         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22908         underflow here.  Use gamma_positive instead of exp (lgamma) for
22909         other arguments.
22910         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22911         (gamma_coeff): New variable.
22912         (NCOEFF): New macro.
22913         (gammal_positive): New function.
22914         (__ieee754_gammal_r): Handle positive infinity, overflow and
22915         underflow here.  Handle NaN the same as positive infinity.  Remove
22916         check x < 0xffffffff for negative integers.  Use gamma_positive
22917         instead of exp (lgamma) for other arguments.
22918         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22919         (gamma_coeff): New variable.
22920         (NCOEFF): New macro.
22921         (gammal_positive): New function.
22922         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22923         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22924         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22925         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22926         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22927         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22928         * sysdeps/generic/math_private.h (__gamma_productf): New
22929         prototype.
22930         (__gamma_product): Likewise.
22931         (__gamma_productl): Likewise.
22932         * math/Makefile (libm-calls): Add gamma_product.
22933         * math/libm-test.inc (tgamma_test): Add more tests.
22934         * sysdeps/i386/fpu/libm-test-ulps: Update.
22935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22936
22937 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22938
22939         * benchtests/bench-skeleton.c (main): Preheat CPU.
22940
22941 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22942
22943         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22944
22945 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22946
22947         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22948         and _dl_skip_args_internal.
22949
22950 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22951
22952         * manual/message.texi (Message Translation): Talk about users.
22953         Message to key mapping impacts design.
22954
22955 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22956
22957         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22958
22959         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22960
22961         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22962         * sysdeps/wordsize-64/glob64.c: ... here.
22963
22964         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22965         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22966         New macros.
22967
22968         * debug/getlogin_r_chk.c: Moved to ...
22969         * login/getlogin_r_chk.c: ... here.
22970         * debug/Makefile (routines): Move getlogin_r_chk to ...
22971         * login/Makefile (routines): ... here.
22972         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22973         * login/Versions (libc: GLIBC_2.4): ... here.
22974
22975         * io/poll.c (__poll): Renamed from poll.
22976         Add libc_hidden_def.
22977         (poll): Define as weak alias.
22978
22979         * debug/ptsname_r_chk.c: Moved to ...
22980         * login/ptsname_r_chk.c: ... here.
22981         * debug/Makefile (routines): Move ptsname_r_chk to ...
22982         * login/Makefile (routines): ... here.
22983         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22984         * login/Versions (libc: GLIBC_2.4): ... here.
22985
22986         * posix/getlogin.c: Moved to ...
22987         * login/getlogin.c: ... here.
22988         * posix/getlogin_r.c: Moved to ...
22989         * login/getlogin_r.c: ... here.
22990         * posix/getlogin_r.c: Moved to ...
22991         * login/getlogin_r.c: ... here.
22992         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22993         * login/Makefile (routines): ... here.
22994         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22995         * login/Versions (libc: GLIBC_2.0): ... here.
22996
22997         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22998         (setrlimit): Define as weak alias.
22999
23000         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23001         Call __ names for open, ftruncate, and close.
23002         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23003         (truncate): Define as weak alias.
23004
23005 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
23006
23007         * math/gen-libm-test.pl (parse_args): Initialize x before each
23008         test of frexp, modf and remquo.
23009
23010         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23011         test signgam value.
23012
23013 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23014
23015         [BZ #15418]
23016         [BZ #15419]
23017         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23018         internal tests.
23019         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23020
23021 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23022
23023         * elf/dl-writev.h: New file.
23024         * elf/dl-misc.c: Include it.
23025         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23026         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23027
23028 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
23029
23030         * math/libm-test.inc (noXFails): Remove variable.
23031         (noXPasses): Likewise.
23032         (BUILD_COMPLEX_INT): Remove macro.
23033         (print_screen): Remove xfail argument.
23034         (print_screen_max_error): Likewise.
23035         (update_stats): Likewise.
23036         (print_max_error): Likewise.  Update calls to other affected
23037         functions.
23038         (print_complex_max_error): Likewise.
23039         (test_single_exception): Update calls to print_screen.
23040         (test_single_errno): Likewise.
23041         (check_float_internal): Remove xfail argument.  Update calls to
23042         other affected functions.
23043         (check_float): Likewise.
23044         (check_complex): Likewise.
23045         (check_int): Likewise.
23046         (check_long): Likewise.
23047         (check_bool): Likewise.
23048         (check_longlong): Likewise.
23049         (main): Don't print noXFails and noXPasses.
23050         * math/gen-libm-test.pl (top level): Don't mention expected
23051         failure handling in comment.
23052         (new_test): Don't handle expected failures.
23053         (parse_args): Don't mention expected failure handling in comment.
23054         (generate_testfile): Don't handle expected failures.
23055         (parse_ulps): Likewise.
23056         (print_ulps_file): Likewise.
23057         (get_failure): Remove function.
23058         (output_test): Don't handle expected failures.
23059         * make/README.libm-test: Don't mention expected failure handling.
23060
23061         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
23062         (minus_zero): Likewise.
23063         (plus_infty): Likewise.
23064         (minus_infty): Likewise.
23065         (qnan_value): Likewise.
23066         (max_value): Likewise.
23067         (min_value): Likewise.
23068         (min_subnorm_value): Likewise.
23069         (initialize): Do not initialize those variables dynamically.
23070
23071 2013-05-03  Roland McGrath  <roland@hack.frob.com>
23072
23073         * io/open.c (__open_2): Moved to ...
23074         * io/open_2.c: ... this new file.
23075         * io/open64.c (__open64_2): Moved to ...
23076         * io/open64_2.c: ... this new file.
23077         * io/openat.c (__openat_2): Moved to ...
23078         * io/openat_2.c: ... this new file.
23079         * io/openat64.c (__openat64_2): Moved to ...
23080         * io/openat64_2.c: ... this new file.
23081         * io/Makefile (routines): Add them.
23082         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23083         * sysdeps/unix/sysv/linux/open_2.c: File removed.
23084         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23085         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23086         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23087         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23088         (__openat64): Add hidden_ver.
23089         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23090         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23091
23092         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23093         Separately conditionalize setting of GLRO(dl_sysinfo) so
23094         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23095         as well, but the actual setting is only under [NEED_DL_SYSINFO].
23096
23097 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23098
23099         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23100         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23101         definition.
23102         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23103         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23104         (_libc_vdso_platform_setup): Add __vdso_time initialization.
23105         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23106         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23107
23108 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
23109
23110         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23111         test signgam value.
23112
23113         * math/libm-test.inc (hypot_test): Do not use
23114         IGNORE_ZERO_INF_SIGN.
23115
23116 2013-05-03  Andreas Jaeger  <aj@suse.de>
23117
23118         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23119         Linux 3.9.
23120         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23121         (PF_MAX): Adjust for VSOCK change.
23122
23123 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23124
23125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23126
23127 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
23128
23129         [BZ #15264]
23130         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23131         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23132         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23133
23134 2013-05-02  David S. Miller  <davem@davemloft.net>
23135
23136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23137
23138 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
23139
23140         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23141
23142 2013-05-01  Roland McGrath  <roland@hack.frob.com>
23143
23144         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23145
23146 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
23147
23148         [BZ #14952]
23149         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23150         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23151         Use __attribute__ ((__gnu_inline__)).
23152         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23153         Don't use __attribute__ ((__gnu_inline__)).
23154
23155 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
23156
23157         [BZ #15423]
23158         * math/s_catan.c (__catan): Handle small real or imaginary part of
23159         input specially to avoid spurious underflow.
23160         * math/s_catanf.c (__catanf): Likewise.
23161         * math/s_catanh.c (__catanh): Likewise.
23162         * math/s_catanhf.c (__catanhf): Likewise.
23163         * math/s_catanhl.c (__catanhl): Likewise.
23164         * math/s_catanl.c (__catanl): Likewise.
23165         * math/libm-test.inc (catan_test): Add more tests.
23166         (catanh_test): Likewise.
23167         * sysdeps/i386/fpu/libm-test-ulps: Update.
23168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23169
23170 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23171
23172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23173
23174 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
23175
23176         [BZ #15416]
23177         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23178         accurately for denominator in atan2.
23179         * math/s_catanf.c (__catanf): Likewise.
23180         * math/s_catanh.c (__catanh): Likewise.
23181         * math/s_catanhf.c (__catanhf): Likewise.
23182         * math/s_catanhl.c (__catanhl): Likewise.
23183         * math/s_catanl.c (__catanl): Likewise.
23184         * math/libm-test.inc (catan_test): Add more tests.
23185         (catanh_test): Likewise.
23186         * sysdeps/i386/fpu/libm-test-ulps: Update.
23187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23188
23189 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23190
23191         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23192
23193         * benchtests/Makefile (bench): Remove slow benchmarks.
23194         * benchtests/atan-inputs: Add slow benchmark inputs.
23195         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23196         (BENCH_FUNC): Accept variant offset.
23197         (VARIANT): Define.
23198         * benchtests/bench-skeleton.c (main): Run benchmark for each
23199         variant.
23200         * benchtests/cos-inputs: Add slow benchmark inputs.
23201         * benchtests/exp-inputs: Likewise.
23202         * benchtests/pow-inputs: Likewise.
23203         * benchtests/sin-inputs: Likewise.
23204         * benchtests/slowatan-inputs: Remove.
23205         * benchtests/slowatan.c: Remove.
23206         * benchtests/slowcos-inputs: Remove.
23207         * benchtests/slowcos.c: Remove.
23208         * benchtests/slowexp-inputs: Remove.
23209         * benchtests/slowexp.c: Remove.
23210         * benchtests/slowpow-inputs: Remove.
23211         * benchtests/slowpow.c: Remove.
23212         * benchtests/slowsin-inputs: Remove.
23213         * benchtests/slowsin.c: Remove.
23214         * benchtests/slowtan-inputs: Remove.
23215         * benchtests/slowtan.c: Remove.
23216         * benchtests/tan-inputs: Add slow benchmark inputs.
23217         * scripts/bench.pl: Parse comments and directives.
23218
23219         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
23220         in CPPFLAGS.
23221         ($(objpfx)bench-%.c): Remove *-ITER.
23222         * benchtests/bench-modf.c: Remove definition of ITER.
23223         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23224         (main): Loop for DURATION seconds instead of fixed number of
23225         iterations.
23226         * scripts/bench.pl: Don't expect iterations in parameters.
23227
23228 2013-04-29  Roland McGrath  <roland@hack.frob.com>
23229
23230         * io/fchdir.c (__fchdir): Renamed from fchdir.
23231         (fchdir): Define as weak alias.
23232
23233 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23234
23235         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23236         (ERRNO_EDOM): Likewise.
23237         (ERRNO_ERANGE): Likewise.
23238         (noErrnoTests): New variable.
23239         (init_max_error): Set errno to 0.
23240         (test_single_errno): New function.
23241         (test_errno): Likewise.
23242         (check_float_internal): Call test_errno.  Set errno to 0.
23243         (check_complex): Refer to errno tests in comment.
23244         (check_int): Call test_errno.  Set errno to 0.
23245         (check_long): Likewise.
23246         (check_bool): Likewise.
23247         (check_longlong): Likewise.
23248         (cos_test): Use ERRNO_* flags for errno tests instead of
23249         check_int.
23250         (expm1_test): Likewise.
23251         (fmod_test): Likewise.
23252         (ilogb_test): Likewise.
23253         (lgamma_test): Likewise.
23254         (pow_test): Likewise.
23255         (remainder_test): Likewise.
23256         (sin_test): Likewise.
23257         (tan_test): Likewise.
23258         (yn_test): Likewise.
23259         (initialize): Set errno to 0.
23260         (main): Print number of errno tests.
23261         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23262
23263 2013-04-29  Andreas Jaeger  <aj@suse.de>
23264
23265         [BZ #15084]
23266         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23267         and RES_USEVC.
23268
23269         [BZ #15085]
23270         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23271         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23272         unimplemented.
23273
23274         [BZ #15380]
23275         * stdlib/random.c (__initstate): Return NULL if
23276         __initstate fails.
23277
23278         [BZ #15086]
23279         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23280         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23281         RES_SNGLKUPREOP.
23282
23283 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23284
23285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23286
23287 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23288
23289         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23290         of individual tests.
23291         (casin_test): Likewise.
23292         (casinh_test): Likewise.
23293
23294 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
23295
23296         [BZ #15409]
23297         * math/s_catan.c (__catan): Handle arguments with large real or
23298         imaginary part separately without squaring.
23299         * math/s_catanf.c (__catanf): Likewise.
23300         * math/s_catanh.c (__catanh): Likewise.
23301         * math/s_catanhf.c (__catanhf): Likewise.
23302         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23303         and redefine.
23304         (__catanhl): Handle arguments with large real or imaginary part
23305         separately without squaring.
23306         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23307         and redefine.
23308         (__catanl): Handle arguments with large real or imaginary part
23309         separately without squaring.
23310         * math/libm-test.inc (catan_test): Add more tests.
23311         (catanh_test): Likewise.
23312         * sysdeps/i386/fpu/libm-test-ulps: Update.
23313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23314
23315 2013-04-27  Andreas Jaeger  <aj@suse.de>
23316
23317         [BZ #15007]
23318         * stdlib/stdlib.h: Update guards for qecvt.
23319         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23320         <stdlib.h>.
23321
23322 2013-04-27  Allan McRae  <allan@archlinux.org>
23323
23324         * sysdeps/i386/fpu/libm-test-ulps: Update.
23325
23326 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
23327
23328         [BZ #15406]
23329         * math/s_catan.c: Include <float.h>.
23330         (__catan): Ensure underflow exception occurs for underflowed
23331         result.
23332         * math/s_catanf.c: Include <float.h>.
23333         (__catanf): Ensure underflow exception occurs for underflowed
23334         result.
23335         * math/s_catanh.c: Include <float.h>.
23336         (__catanh): Ensure underflow exception occurs for underflowed
23337         result.
23338         * math/s_catanhf.c: Include <float.h>.
23339         (__catanhf): Ensure underflow exception occurs for underflowed
23340         result.
23341         * math/s_catanhl.c: Include <float.h>.
23342         (__catanhl): Ensure underflow exception occurs for underflowed
23343         result.
23344         * math/s_catanl.c: Include <float.h>.
23345         (__catanl): Ensure underflow exception occurs for underflowed
23346         result.
23347         * math/libm-test.inc (catan_test): Add more tests.
23348         (catanh_test): Likewise.
23349
23350         [BZ #15405]
23351         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23352         underflowed result.
23353         * math/s_ccoshf.c (__ccoshf): Likewise.
23354         * math/s_ccoshl.c (__ccoshl): Likewise.
23355         * math/s_csin.c (__csin): Likewise.
23356         * math/s_csinf.c (__csinf): Likewise.
23357         * math/s_csinh.c (__csinh): Likewise.
23358         * math/s_csinhf.c (__csinhf): Likewise.
23359         * math/s_csinhl.c (__csinhl): Likewise.
23360         * math/s_csinl.c (__csinl): Likewise.
23361         * math/libm-test.inc (ccos_test): Add more tests.
23362         (ccosh_test): Likewise.
23363         (csin_test): Likewise.
23364         (csinh_test): Likewise.
23365
23366 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23367
23368         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23369         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23370         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23371         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23372         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23373         powerpc/power5+/fpu folders.
23374         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23375
23376
23377 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23378
23379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23380
23381 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
23382
23383         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23384         additions to variable.
23385         [$(config-machine) = x86_64] (modules-names): Likewise.
23386         ($(objpfx)tst-audit3): Remove dependency.
23387         ($(objpfx)tst-audit3.out): Likewise.
23388         ($(objpfx)tst-audit4): Likewise.
23389         ($(objpfx)tst-audit4.out): Likewise.
23390         ($(objpfx)tst-audit5): Likewise.
23391         ($(objpfx)tst-audit5.out): Likewise.
23392         ($(objpfx)tst-audit6): Likewise.
23393         ($(objpfx)tst-audit6.out): Likewise.
23394         ($(objpfx)tst-audit7): Likewise.
23395         ($(objpfx)tst-audit7.out): Likewise.
23396         (tst-audit3-ENV): Remove variable.
23397         (tst-audit4-ENV): Likewise.
23398         (tst-audit5-ENV): Likewise.
23399         (tst-audit6-ENV): Likewise.
23400         (tst-audit7-ENV): Likewise.
23401         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23402         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23403         addition to variable.
23404         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23405         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23406         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23407         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23408         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23409         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23410         tst-audit3, tst-audit4 and tst-audit5.
23411         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23412         tst-audit6 and tst-audit7.
23413         [$(subdir) = elf] (modules-names): Add audit modules for those
23414         tests.
23415         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23416         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23417         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23418         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23419         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23420         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23421         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23422         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23423         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23424         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23425         [$(subdir) = elf] (tst-audit3-ENV): New variable.
23426         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23427         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23428         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23429         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23430         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23431         Likewise.
23432         [$(subdir) = elf && $(config-cflags-avx) = yes]
23433         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23434         [$(subdir) = elf && $(config-cflags-avx) = yes]
23435         (CFLAGS-tst-auditmod4a.c): Likewise.
23436         [$(subdir) = elf && $(config-cflags-avx) = yes]
23437         (CFLAGS-tst-auditmod4b.c): Likewise.
23438         [$(subdir) = elf && $(config-cflags-avx) = yes]
23439         (CFLAGS-tst-auditmod6b.c): Likewise.
23440         [$(subdir) = elf && $(config-cflags-avx) = yes]
23441         (CFLAGS-tst-auditmod6c.c): Likewise.
23442         [$(subdir) = elf && $(config-cflags-avx) = yes]
23443         (CFLAGS-tst-auditmod7b.c): Likewise.
23444         * elf/tst-audit3.c: Move to ...
23445         * sysdeps/x86_64/tst-audit3.c: ... here.
23446         * elf/tst-audit4.c: Move to ...
23447         * sysdeps/x86_64/tst-audit4.c: ... here.
23448         * elf/tst-audit5.c: Move to ...
23449         * sysdeps/x86_64/tst-audit5.c: ... here.
23450         * elf/tst-audit6.c: Move to ...
23451         * sysdeps/x86_64/tst-audit6.c: ... here.
23452         * elf/tst-audit7.c: Move to ...
23453         * sysdeps/x86_64/tst-audit7.c: ... here.
23454         * elf/tst-auditmod3a.c: Move to ...
23455         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23456         * elf/tst-auditmod3b.c: Move to ...
23457         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23458         * elf/tst-auditmod4a.c: Move to ...
23459         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23460         * elf/tst-auditmod4b.c: Move to ...
23461         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23462         * elf/tst-auditmod5a.c: Move to ...
23463         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23464         * elf/tst-auditmod5b.c: Move to ...
23465         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23466         * elf/tst-auditmod6a.c: Move to ...
23467         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23468         * elf/tst-auditmod6b.c: Move to ...
23469         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23470         * elf/tst-auditmod6c.c: Move to ...
23471         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23472         * elf/tst-auditmod7a.c: Move to ...
23473         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23474         * elf/tst-auditmod7b.c: Move to ...
23475         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23476
23477 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
23478
23479         [BZ #15366]
23480         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23481         define unconditionally.
23482         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23483         define unconditionally.
23484         (INT8_C, INT16_C, etc.): Likewise.
23485
23486 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
23487
23488         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23489         __ehdr_start with hidden visibility.
23490
23491         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23492
23493 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
23494
23495         * math/libm-test.inc (cos_test): Use accurate hex constants.
23496         (sincost_test): Likewise.
23497
23498 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
23499
23500         * math/libm-test.inc (catan_test): Add more tests.
23501         (catanh_test): Likewise.
23502
23503         * math/s_catanf.c (__catanf): Use suffixed floating-point
23504         constants.
23505         * math/s_catanhf.c (__catanhf): Likewise.
23506         * math/s_catanhl.c (__catanhl): Likewise.
23507         * math/s_catanl.c (__catanl): Likewise.
23508
23509         [BZ #15394]
23510         * math/s_catan.c (__catan): Calculate imaginary part of result
23511         with log1p not log unless computing log of number close to 0.
23512         * math/s_catanf.c (__catanf): Likewise.
23513         * math/s_catanl.c (__catanl): Likewise.
23514         * math/s_catanh.c (__catanh): Calculate real part of result with
23515         log1p not log unless computing log of number close to 0.
23516         * math/s_catanhf.c (__catanhf): Likewise.
23517         * math/s_catanhl.c (__catanhl): Likewise.
23518         * math/libm-test.inc (catan_test): Add more tests.
23519         (catanh_test): Likewise.
23520         * sysdeps/i386/fpu/libm-test-ulps: Update.
23521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23522
23523 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23524
23525         * benchtests/Makefile: Mention files in which fast and slow
23526         paths of math functions are implemented.
23527
23528 2013-04-23  Roland McGrath  <roland@hack.frob.com>
23529
23530         * sysdeps/posix/timespec_get.c: New file.
23531
23532 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23533
23534         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23535         POWER.
23536         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23537         for POWER.
23538         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23539         powerpc/power5/fpu folders.
23540         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23541         * benchtests/Makefile: Add modf testcase.
23542         * benchtests/bench-modf.c: New file: Benchmark test for mo
23543
23544 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23545
23546         [BZ #14888]
23547         * time/Makefile (tests): Add tst-strptime-whitespace.
23548         * time/strptime_l.c (get_number): Use ISSPACE.
23549         (__strptime_internal): Likewise.
23550         * time/tst-strptime-whitespace.c: New test case.
23551
23552 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
23553
23554         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23555         member.
23556         (_nss_files_init): Set it here.
23557
23558 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
23559
23560         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23561         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23562         unsigned.
23563
23564 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
23565
23566         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23567
23568 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23569
23570         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23571         size just once.
23572
23573 2013-04-21  David S. Miller  <davem@davemloft.net>
23574
23575         * po/ru.po: Update Russion translation from translation project.
23576
23577 2013-04-17  Adam Conrad  <adconrad@0c3.net>
23578
23579         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23580         and setfsgid.
23581
23582 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
23583
23584         * configure.in: Remove i386 configure warning. Remove i386 case.
23585         * configure: Regenerate.
23586         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23587         Add example to error message.
23588         * sysdeps/i386/configure: Regenerate.
23589
23590 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23591
23592         * benchtests/Makefile (bench): Add cos, tan, slowcos and
23593         slowtan.
23594         * benchtests/cos-inputs: New file.
23595         * benchtests/slowcos-inputs: New file.
23596         * benchtests/slowcos.c: New file.
23597         * benchtests/slowtan-inputs: New file.
23598         * benchtests/slowtan.c: New file.
23599         * benchtests/tan-inputs: New file.
23600
23601 2013-04-16  Roland McGrath  <roland@hack.frob.com>
23602
23603         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23604         considered kosher.
23605
23606 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23607
23608         * benchtests/Makefile: Include cppflags-iterator.mk to add
23609         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23610
23611         * Makefile.in (bench-clean): New target.
23612         * benchtests/Makefile (bench-clean): Likewise.
23613
23614 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
23615
23616         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23617
23618 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
23619
23620         * stdio-common/tstdiomisc.c: Fix coding-style violation.
23621
23622 2013-04-15  Andreas Schwab  <schwab@suse.de>
23623
23624         * nscd/grpcache.c (cache_addgr): Properly check for short write.
23625         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23626         * nscd/pwdcache.c (cache_addpw): Likewise.
23627         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
23628         more than recsize.
23629
23630 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23631
23632         * benchtests/Makefile (bench): Write all output to
23633         bench-out.tmp together.
23634
23635 2013-04-15  Andreas Schwab  <schwab@suse.de>
23636
23637         * nscd/nscd.c (main): Don't fork again after closing files.
23638
23639 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23640
23641         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23642
23643         * benchtests/Rules (bench-deps): Collect dependencies into a
23644         single variable.  Add Makefile to dependencies.
23645         ($(objpfx)bench-%.c): Depend on bench-deps.
23646
23647 2013-04-12  Roland McGrath  <roland@hack.frob.com>
23648             Xavier Roche  <roche+kml2@exalead.com>
23649
23650         [BZ #15361]
23651         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23652         just that it's a file descriptor.
23653         * manual/llio.texi (Synchronizing AIO Operations): Update description
23654         for EBADF error from aio_fsync.
23655
23656 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23657
23658         * Rules (bench): Move target definition...
23659         * benchtests/Makefile: ... here.
23660
23661 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
23662
23663         * math/libm-test.inc (cos_test): Fix PI/2 test.
23664         (sincos_test): Likewise.
23665         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23666         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23667
23668 2013-04-11  Andreas Schwab  <schwab@suse.de>
23669
23670         [BZ #13988]
23671         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23672         accept exponent character only when digits were seen.
23673         * stdio-common/Makefile (tests): Add bug26.
23674         * stdio-common/bug26.c: New file.
23675
23676         [BZ #14293]
23677         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23678         non-freeable.
23679
23680 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23681
23682         * Makeconfig (rtld-prefix): Define built linker prefix.
23683         * Rules (run-bench): Use it.
23684         * math/Makefile (run-regen-ulps): Likewise.
23685
23686         * Rules (bench): Remove eval.
23687
23688 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23689             Roland McGrath  <roland@hack.frob.com>
23690             Ondrej Bilka  <neleai@seznam.cz>
23691
23692         [BZ #15346]
23693         * time/getdate.c: Include ctype.h and alloca.h.
23694         (__getdate_r): Trim leading and trailing spaces of input.
23695         * time/tst-getdate.c (tests): Add tests with leading and
23696         trailing spaces.
23697
23698 2013-04-08  Roland McGrath  <roland@hack.frob.com>
23699
23700         [BZ #14280]
23701         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23702         when computing value.
23703
23704 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23705
23706         * math/README.libm-test (How can I generate "libm-test-ulps"?):
23707         Use testrun.sh to run libm tests.
23708
23709         [BZ #15309]
23710         * elf/dl-open.c (dl_open_worker): memset all of seen array.
23711
23712 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
23713
23714         [BZ #15264]
23715         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23716
23717 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23718
23719         * Makefile.in (regen-ulps): New target.
23720         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23721         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23722         [ifneq (no,$(PERL)] (regen-ulps): New target.
23723         [ifeq (no,$(PERL)] (regen-ulps): New target.
23724         * math/libm-test.inc (ulps_file_name): Define.
23725         (output_dir): New variable.
23726         (options): Add "output-dir" option.
23727         (parse_opt): Handle 'o' case.
23728         (main): If output_dir is non-NULL use it as a prefix
23729         otherwise use "".
23730         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23731
23732 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23733
23734         [BZ #10060, #10062]
23735         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23736         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23737         fail configure if __sync_val_compare_and_swap is not inlined.
23738         * sysdeps/i386/configure: Regenerate.
23739         * configure.in: Build for i686 when configured for i386.
23740         * configure: Regenerate.
23741         * README: Remove i386 reference.
23742
23743 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23744
23745         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23746         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23747
23748 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23749
23750         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23751         (lmsnanval): New variables.
23752         (F): Add conversion tests.
23753         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23754         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23755
23756         * stdio-common/tstdiomisc.c (F): Properly collect individual
23757         tests' results.
23758
23759         [BZ #14686, #15336]
23760         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23761         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23762         Instead, use input NaN values or generate a qNaN by arithmetic
23763         operation.  Also fix bugs to comply with the standard.
23764         * math/libm-test.inc (remainder_test): Add more tests.
23765
23766         [BZ #15335, #15342]
23767         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23768         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23769         input NaN values or generate a qNaN by arithmetic operation.
23770
23771         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23772         unreachable code.
23773
23774         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23775         definitions.
23776
23777 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
23778
23779         [BZ #14478]
23780         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23781         underflowed result.
23782         * math/s_cexpf.c (__cexpf): Likewise.
23783         * math/s_cexpl.c (__cexpl): Likewise.
23784         * math/libm-test.inc (cexp_test): Add more tests.
23785
23786 2013-04-03  Andreas Schwab  <schwab@suse.de>
23787
23788         [BZ #15330]
23789         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23790         order arrays from heap if bigger than alloca cutoff.
23791
23792 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
23793
23794         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23795         (SNAN_TESTS_double): Refer to GCC PR56831.
23796         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23797         GCC PR56828.
23798
23799 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23800
23801         * Rules (bench): Move bench.out after the run is complete.
23802
23803         * Rules (bench): Echo currently running benchmark.
23804
23805         * benchtests/Makefile (bench): Add atan and slowatan.
23806         * benchtests/atan-inputs: New file.
23807         * benchtests/slowatan-inputs: New file.
23808         * benchtests/slowatan.c: New file.
23809
23810         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23811         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23812         its value.
23813
23814         [BZ #15305]
23815         * sysdeps/unix/sysv/linux/kernel-features.h
23816         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23817         __ASSUME_XFS_RESTRICTED_CHOWN.
23818         * sysdeps/unix/sysv/linux/pathconf.c
23819         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23820         Save and restore errno.
23821
23822 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
23823
23824         [BZ #15327]
23825         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23826         arguments using __kernel_casinh.
23827         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23828         arguments using __kernel_casinhf.
23829         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23830         arguments using __kernel_casinhl.
23831         * math/libm-test.inc (cacosh_test): Add more tests.
23832         * sysdeps/i386/fpu/libm-test-ulps: Update.
23833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23834
23835 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23836
23837         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23838         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23839
23840         * bench/Makefile (bench): Add sin and slowsin.
23841         * benchtests/sin-inputs: New file.
23842         * benchtests/slowsin-inputs: New file.
23843         * benchtests/slowsin.c: New file.
23844
23845         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23846         (bench): Add slowexp and slowpow.
23847         (exp-ITER): Increase iterations.
23848         (pow-ITER): Likewise.
23849         * benchtests/exp-inputs: Change input.
23850         * benchtests/pow-inputs: Likewise.
23851         * benchtests/slowexp-inputs: New file.
23852         * benchtests/slowexp.c: New file.
23853         * benchtests/slowpow-inputs: New file.
23854         * benchtests/slowpow.c: New file.
23855
23856 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23857
23858         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23859         instructions.
23860         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23861         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23862         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23863         * benchtests/Makefile: Add rint benchtest.
23864         * benchtests/rint-inputs: Input for rint benchtest.
23865
23866 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23867
23868         * Versions.def (libm): Add GLIBC_2.18.
23869         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23870         hidden libm prototypes.
23871         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23872         * math/Makefile (libm-calls): Add s_issignaling.
23873         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23874         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23875         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23876         declaration.
23877         * math/math.h [__USE_GNU] (issignaling): New macro.
23878         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23879         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23880         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23881         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23882         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23883         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23884         * manual/arith.texi (issignaling): New section.
23885         * manual/libm-err-tab.pl (@all_functions): Update comment.
23886         * math/gen-libm-test.pl (parse_args): Apply special handling for
23887         issignaling.
23888         * math/libm-test.inc (print_float, issignaling_test): New
23889         functions.
23890         (check_float_internal): Add issignaling checks.
23891         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23892         default definition.
23893         * sysdeps/powerpc/math-tests.h: New file.
23894         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23895         tests.
23896         * math/test-snan.c (TEST_FUNC): Likewise.
23897
23898 2013-03-30  David S. Miller  <davem@davemloft.net>
23899
23900         * po/de.po: Update from translation team.
23901
23902 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23903
23904         [BZ #10357]
23905         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23906         imaginary part less than 1.0 and real part less than 0.5
23907         specially.
23908         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23909         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23910         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23911         (cacos_test): Add more tests.
23912         (casin_test): Likewise.
23913         (casinh_test): Likewise.
23914         * sysdeps/i386/fpu/libm-test-ulps: Update.
23915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23916
23917 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23918
23919         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23920         ONE with its value.
23921
23922         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23923         (__pow_mp): Replace ONE and MONE with their values.
23924         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23925         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23926         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23927         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23928         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23929         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23930
23931         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23932
23933         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23934         (__pow_mp): Replace ZERO and MZERO with their values.
23935         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23936         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23937         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23938         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23939         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23940         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23941         (__sqr): Likewise.
23942
23943         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23944
23945         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23946
23947 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23948
23949         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23950         Declare with __attribute__ ((weak)).
23951         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23952         Call __call_tls_dtors only if it's not NULL.
23953
23954 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23955
23956         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23957         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23958         magic __ehdr_start linker symbol if it's defined.
23959         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23960         them up here if it was already done.
23961
23962         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23963         (_dl_aux_init): Use const in cast when setting it.
23964         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23965         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23966         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23967
23968         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23969         Declare them here.
23970         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23971         * csu/libc-tls.c: Nor here.
23972         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23973
23974         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23975         (__libc_message): Never call vsyslog.
23976
23977 2013-03-28  Alan Modra  <amodra@gmail.com>
23978
23979         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23980         Define as empty.
23981         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23982         Likewise.
23983
23984 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23985
23986         [BZ #15214]
23987         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23988         underflow.
23989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23990
23991 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23992
23993         [BZ #15304]
23994         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23995         Don't add gid passed as argument.
23996
23997         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23998
23999 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
24000
24001         [BZ #15307]
24002         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24003         imaginary part between 1.0 and 1.5 and real part less than 0.5
24004         specially.
24005         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24006         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24007         * math/libm-test.inc (cacos_test): Add more tests.
24008         (casin_test): Likewise.
24009         (casinh_test): Likewise.
24010         * sysdeps/i386/fpu/libm-test-ulps: Update.
24011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24012
24013 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24014
24015         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24016         constants.
24017         (norm): Likewise.
24018         (denorm): Likewise.
24019         (__dbl_mp): Likewise.
24020         (add_magnitudes): Likewise.
24021         (sub_magnitudes): Likewise.
24022         (__add): Likewise.
24023         (__sub): Likewise.
24024         (__mul): Likewise.
24025         (__sqr): Likewise.
24026         (__inv): Likewise.
24027         (__dvd): Likewise.
24028
24029         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24030         commented code.
24031         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24032         (__dubcos): Likewise.
24033         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24034         (__ieee754_acos): Likewise.
24035         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24036         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24037         (__exp1): Likewise.
24038         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24039         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24040         (log1): Likewise.
24041         (my_log2): Likewise.
24042         (checkint): Likewise.
24043         * sysdeps/ieee754/dbl-64/e_remainder.c
24044         (__ieee754_remainder): Likewise.
24045         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24046         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24047         (bsloww): Likewise.
24048         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24049
24050         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24051         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24052         MANTISSA_STORE_T to store computations on mantissa.  Use
24053         macros for rounding and division.
24054         (denorm): Likewise.
24055         (__dbl_mp): Likewise.
24056         (add_magnitudes): Likewise.
24057         (sub_magnitudes): Likewise.
24058         (__mul): Likewise.
24059         (__sqr): Likewise.
24060         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24061         powers of two in terms of TWOPOW macro.
24062         (mp_no): Make type of mantissa as MANTISSA_T.
24063         [!RADIXI]: Define RADIXI.
24064         [!TWO52]: Define TWO52.
24065         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24066
24067 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24068
24069         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24070         llroundl symbol when building for PPC32.
24071
24072 2013-03-24  Mark H Weaver  <mhw@netris.org>
24073
24074         * manual/arith.texi (Normalization Functions): Fix prototypes for
24075         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24076
24077 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24078
24079         [BZ #13889]
24080         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24081         high value to check if expl overflow.
24082         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24083         to check for underflow and overflow.
24084         * math/libm-test.inc: Add exp test.
24085
24086 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
24087
24088         [BZ #11120]
24089         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24090         with NOT_IN_libc.
24091
24092 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24093
24094         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24095         symbol.
24096
24097 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24098
24099         * math/gen-libm-test.pl (parse_args, special_functions): Properly
24100         wrap blocks consisting of several statements.
24101
24102         * sysdeps/generic/math-tests.h: New file.
24103         * sysdeps/i386/fpu/math-tests.h: Likewise.
24104         * math/test-snan.c: Include it.
24105         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24106
24107 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24108
24109         [BZ #15285]
24110         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24111         (__ieee754_j0l): Do not improve calculations using cos of twice
24112         input for inputs above LDBL_MAX / 2.0L.
24113         (__ieee754_y0l): Likewise.
24114         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24115         (__ieee754_j1l): Do not improve calculations using cos of twice
24116         input for inputs above LDBL_MAX / 2.0L.
24117         (__ieee754_y1l): Likewise.
24118         * math/libm-test.inc (j0_test): Add another test.
24119         (j1_test): Likewise.
24120         (y0_test): Likewise.
24121         (y1_test): Likewise.
24122         * sysdeps/i386/fpu/libm-test-ulps: Update.
24123
24124 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24125
24126         * Rules ($(objpfx)bench-%.c): Include code from a C source
24127         file.
24128
24129 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24130
24131         [BZ #15287]
24132         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24133         imaginary part 1.0 and real part less than 0.5 specially.
24134         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24135         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24136         * math/libm-test.inc (cacos_test): Add more tests.
24137         (casin_test): Likewise.
24138         (casinh_test): Likewise.
24139         * sysdeps/i386/fpu/libm-test-ulps: Update.
24140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24141
24142 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24143
24144         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24145         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24146
24147 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
24148
24149         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24150         * config.make.in (config-cflags-sse4): Remove variable.
24151         (config-cflags-avx): Likewise.
24152         (config-cflags-sse2avx): Likewise.
24153         (config-cflags-novzeroupper): Likewise.
24154         (config-asflags-i686): Likewise.
24155         (have-mfma4): Likewise.
24156         (have-as-vis3): Likewise.
24157         (MIG): Likewise.
24158         * configure.in (MIG): Do not AC_SUBST.
24159         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24160         (libc_cv_cc_sse4): Do not AC_SUBST.
24161         (libc_cv_cc_avx): Likewise.
24162         (libc_cv_cc_sse2avx): Likewise.
24163         (libc_cv_cc_novzeroupper): Likewise.
24164         (libc_cv_cc_fma4): Likewise.
24165         (libc_cv_as_i686): Likewise.
24166         (libc_cv_sparc_as_vis3): Likewise.
24167         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24168         LIBC_CONFIG_VAR.
24169         (config-asflags-i686): Likewise.
24170         (config-cflags-avx): Likewise.
24171         (config-cflags-sse2avx): Likewise.
24172         (have-mfma4): Likewise.
24173         (config-cflags-novzeroupper): Likewise.
24174         * sysdeps/mach/configure.in (MIG): Likewise.
24175         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24176         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24177         LIBC_CONFIG_VAR.
24178         (config-cflags-avx): Likewise.
24179         (config-cflags-sse2avx): Likewise.
24180         (have-mfma4): Likewise.
24181         (config-cflags-novzeroupper): Likewise.
24182         * configure: Regenerated.
24183         * sysdeps/i386/configure: Likewise.
24184         * sysdeps/mach/configure: Likewise.
24185         * sysdeps/sparc/configure: Likewise.
24186         * sysdeps/x86_64/configure: Likewise.
24187
24188 2013-03-20  Roland McGrath  <roland@hack.frob.com>
24189
24190         [BZ #14812]
24191         * locale/programs/localedef.c (options): Put N_ translation marker
24192         on argument names, not just descriptions.
24193
24194 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24195
24196         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24197
24198 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
24199
24200         [BZ #14176]
24201         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24202
24203 2013-03-19  Roland McGrath  <roland@hack.frob.com>
24204
24205         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24206         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24207         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24208         [!BEFORE_ABORT] (before_abort): New function.
24209         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24210         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24211         (writev_for_fatal): New function.
24212         (WRITEV_FOR_FATAL): New macro; call that.
24213         (backtrace_and_maps): New function.
24214         (BEFORE_ABORT): New macro; call that.
24215         (struct str_list): Type removed.
24216         (__libc_message, __libc_fatal): Functions removed.
24217         Include <sysdeps/posix/libc_fatal.c> instead.
24218
24219 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
24220
24221         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24222         constants.
24223         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24224         double constants.
24225
24226 2013-03-19  Andreas Schwab  <schwab@suse.de>
24227
24228         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24229         * sysdeps/gnu/configure: Regenerate.
24230
24231         * configure.in: Substitute libc_cv_rtlddir.
24232         * configure: Regenerate.
24233         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24234         * Makeconfig (rtlddir, inst_rtlddir): New variables.
24235         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24236         * elf/Makefile (install-others, CFLAGS-interp.c)
24237         (ldso_install, common-ldd-rewrite): Likewise.
24238         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24239         $(inst_slibdir)/$(rtld-installed-name).
24240         * scripts/rellns-sh: Add -p option.
24241         * Makerules (make-shlib-link): Use rellns-sh to get relative name
24242         for source.
24243
24244 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24245
24246         * manual/nptl.texi: Renamed to ...
24247         * manual/threads.texi: ... this.
24248         * manual/Makefile (chapters): Update.
24249
24250 2013-03-18  Roland McGrath  <roland@hack.frob.com>
24251
24252         [BZ #14812]
24253         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24254         on argument names, not just descriptions.
24255         * malloc/memusagestat.c (options): Likewise.
24256         * nss/getent.c (options): Likewise.
24257
24258 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
24259
24260         [BZ #14812]
24261         * iconv/iconv_prog.c (options): Put N_ translation marker
24262         on argument names, not just descriptions.
24263         * iconv/iconvconfig.c (options): Likewise.
24264
24265 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
24266
24267         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24268         implementation which is faster on all x86_64 architectures.
24269         Tested on AMD, Intel Nehalem, SNB, IVB.
24270         * sysdeps/x86_64/strnlen.S: Likewise.
24271
24272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24273         Remove all multiarch strlen and strnlen versions.
24274         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24275         Remove strlen and strnlen related parts.
24276
24277         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24278         Inline strlen part.
24279         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24280
24281         * sysdeps/x86_64/multiarch/strlen.S: Remove.
24282         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24283         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24284         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24285         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24286         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24287
24288 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
24289
24290         * manual/memory.texi (Malloc Tunable Parameters):
24291         Sort parameters alphabetically. Add comments for missing entries.
24292
24293 2013-03-17  David S. Miller  <davem@davemloft.net>
24294
24295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24296
24297 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
24298
24299         [BZ #15283]
24300         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24301         for arguments at most half maximum finite value.
24302         * math/libm-test.inc (j0_test): Add more tests.
24303         (j1_test): Likewise.
24304         (y0_test): Likewise.
24305         (y1_test): Likewise.
24306         * sysdeps/i386/fpu/libm-test-ulps: Update.
24307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24308
24309         [BZ #14155]
24310         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24311         1 / x and functions P and Q for arguments above 0x1p256L.
24312         (__ieee754_y0l): Likewise.
24313         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24314         (__ieee754_y1l): Likewise.
24315         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24316         (j1_test): Likewise.
24317         (y0_test): Likewise.
24318         (y1_test): Likewise.
24319
24320 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
24321
24322         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24323         variable.
24324
24325 2013-03-15  Roland McGrath  <roland@hack.frob.com>
24326
24327         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24328         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24329         zero since it's initialized to EXEC_PAGESIZE.
24330
24331         * sysdeps/unix/sysv/linux/ldsodefs.h
24332         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24333         * sysdeps/generic/ldsodefs.h: ... here.
24334
24335 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
24336
24337         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24338
24339         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24340         math/test-snan.c.
24341         * math/test-snan.c: Renamed from
24342         sysdeps/powerpc/fpu/test-powerpc-snan.c.
24343         * math/Makefile (tests): Add test-snan.
24344         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24345         test-powerpc-snan.
24346
24347         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24348         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
24349         functions.
24350         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
24351         __builtin_nan family of functions.
24352         * math/libm-test.inc (initialize): Initialize qnan_value with
24353         __builtin_nan family of functions.
24354         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24355         Remove variables.
24356         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24357         Remove functions.
24358         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
24359         storage class.  Initialize qNaN_var and sNaN_var with
24360         __builtin_nan and __builtin_nans families of functions,
24361         respectively.
24362
24363         * math/libm-test.inc (acosh_test): Also test with qNaN input.
24364         (sqrt_test): Remove duplicate test with qNaN input.
24365         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24366         (round_test, signbit_test, significand_test): Note missing +/-Inf
24367         as well as qNaN tests.
24368
24369         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24370         qNaN_var.  Fix a few strings, too.
24371         * math/libm-test.inc (nan_value): Rename to qnan_value.
24372         * math/gen-libm-test.pl (%beautify): Adjust to that.
24373         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24374         * math/test-misc.c (main): Likewise.
24375         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24376         to __qnan_bytes, and __qnan_union, respectively.
24377         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24378         Likewise.
24379         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24380         and lqnanval, respectively.
24381         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24382         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24383         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24384         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24385
24386         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24387         * math/test-misc.c (main) [__x86_64__]: Enable test for long
24388         doubles.
24389
24390         * math/test-misc.c (main): Fix copy'n'pastos.
24391         * misc/tst-efgcvt.c (special): Likewise.
24392
24393         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24394         Remove declarations.
24395
24396 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24397
24398         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24399         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24400         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24401         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24402
24403 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24404
24405         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24406         macro to return vdso values correctly in IFUNC implementations.
24407         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24408         Optimization by using IFUNC.
24409
24410 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24411             Richard Henderson  <rth@redhat.com>
24412             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24413
24414         * Makefile.in (bench): New target.
24415         * NEWS: Mention the benchmark framework.
24416         * Rules (bench): Likewise.
24417         (binaries-bench): Generate binaries for functions to
24418         benchmark.
24419         * benchtests/Makefile: New makefile for benchmark tests.
24420         * benchtests/bench-skeleton.c: New skeleton file for benchmark
24421         programs.
24422         * benchtests/exp-inputs: New input file for EXP function.
24423         * benchtests/pow-inputs: New input file for POW function.
24424         * scripts/bench.pl: New script to generate source files for
24425         benchmark programs.
24426
24427 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24428
24429         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24430         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24431         computations on mantissa.  Use macros for rounding and
24432         division.
24433         (denorm): Likewise.
24434         (__dbl_mp): Likewise.
24435         (add_magnitudes): Likewise.
24436         (sub_magnitudes): Likewise.
24437         (__mul): Likewise.
24438         (__sqr): Likewise.
24439         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24440         powers of two in terms of TWOPOW macro.
24441         (mp_no): Make type of mantissa as MANTISSA_T.
24442         [!RADIXI]: Define RADIXI.
24443         [!TWO52]: Define TWO52.
24444         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24445
24446         * manual/nptl.texi (cindex): Modify threads to pthreads.
24447
24448 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
24449
24450         * sysdeps/x86_64/preconfigure: Regenerated.
24451
24452 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
24453
24454         [BZ #14155]
24455         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24456         0x1p28 and above.
24457         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24458         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24459         0x1p28 and above.
24460         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24461         * math/libm-test.inc (j0_test): Do not allow one spurious
24462         underflow exception.
24463         (y1_test): Likewise.
24464
24465 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24466
24467         * manual/Makefile (chapters): Add nptl.
24468         * manual/debug.texi (Debugging Support): Add link to Threads
24469         chapter.
24470         * manual/nptl.texi: New file.
24471
24472         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24473
24474 2013-03-14  Petr Baudis  <pasky@ucw.cz>
24475
24476         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24477         for non-NULL pointer before the memory validity test. Pointed
24478         out by Holger Brunck <holger.brunck@keymile.com>.
24479
24480 2013-03-13  Andreas Schwab  <schwab@suse.de>
24481
24482         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24483         instead of .os.
24484
24485 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
24486
24487         * timezone/zic.c: Update from tzcode 2013b.
24488
24489 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
24490
24491         * manual/install.texi (Configuring and compiling):
24492         Mention i686 and i586.
24493         * INSTALL: Regenerate.
24494
24495 2013-03-12  Roland McGrath  <roland@hack.frob.com>
24496
24497         * sysdeps/init_array/elf-init.c: New file.
24498         * csu/elf-init.c
24499         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24500         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24501
24502         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24503         __gmon_start__ as global, but as static with a .preinit_array pointer.
24504         * sysdeps/init_array/gmon-start.c: New file.  Use that.
24505         * sysdeps/init_array/crti.S: New file, empty except for comments.
24506         * sysdeps/init_array/crtn.S: Likewise.
24507
24508 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
24509
24510         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24511         definining bcopy.
24512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24513         Remove Prefer_SSE_for_memop.
24514         * sysdeps/x86_64/multiarch/init-arch.h: Remove
24515         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24516         HAS_PREFER_SSE_FOR_MEMOP.
24517         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24518         memset-x86-64.
24519         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24520         Remove bzero, memset ifunc support.
24521         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24522         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24523         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24524         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24525
24526 2013-03-11  Andreas Schwab  <schwab@suse.de>
24527
24528         [BZ #15234]
24529         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24530         by SHLIB_COMPAT.
24531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24532         (GLIBC_2.16): Remove pthread_atfork.
24533
24534 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24535
24536         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24537         (ptestcases.h): Likewise.
24538
24539 2013-03-08  Roland McGrath  <roland@hack.frob.com>
24540
24541         * Makeconfig ($(common-objpfx)config.status): Depend on
24542         sysdeps/*/preconfigure{,.in} too.
24543
24544 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
24545
24546         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24547         (__free_hook): Use void * instead of __malloc_ptr_t.
24548         (__malloc_hook): Likewise.
24549         (__realloc_hook): Likewise.
24550         (__memalign_hook): Likewise.
24551         (__after_morecore_hook): Likewise.
24552         * malloc/arena.c (save_malloc_hook): Likewise.
24553         (save_free_hook): Likewise.
24554         * malloc/hooks.c (malloc_hook_ini): Likewise.
24555         (realloc_hook_ini): Likewise.
24556         (memalign_hook_ini): Likewise.
24557         * malloc/malloc.c (malloc_hook_ini): Likewise.
24558         (realloc_hook_ini): Likewise.
24559         (memalign_hook_ini): Likewise.
24560         (__free_hook): Likewise.
24561         (__malloc_hook): Likewise.
24562         (__realloc_hook): Likewise.
24563         (__memalign_hook): Likewise.
24564         (__libc_malloc): Likewise.
24565         (__libc_free): Likewise.
24566         (__libc_realloc): Likewise.
24567         (__libc_memalign): Likewise.
24568         (__libc_valloc): Likewise.
24569         (__libc_pvalloc): Likewise.
24570         (__libc_calloc): Likewise.
24571         (__posix_memalign): Likewise.
24572         * malloc/morecore.c (__sbrk): Likewise.
24573         (__default_morecore): Likewise.
24574
24575         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24576
24577         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24578         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24579         __malloc_ptrdiff_t.
24580
24581         * malloc/malloc.h (__malloc_size_t): Remove macro.
24582         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24583         __malloc_size_t.
24584         (old_memalign_hook): Likewise.
24585         (old_realloc_hook): Likewise.
24586         (struct hdr): Likewise.
24587         (flood): Likewise.
24588         (mallochook): Likewise.
24589         (memalignhook): Likewise.
24590         (reallochook): Likewise.
24591         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24592         (tr_old_realloc_hook): Likewise.
24593         (tr_old_memalign_hook): Likewise.
24594         (tr_mallochook): Likewise.
24595         (tr_reallochook): Likewise.
24596         (tr_memalignhook): Likewise.
24597
24598 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24599
24600         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24601         default_ldbl_pack and using as default implementation.
24602         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24603         implementation.
24604         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24605         redundant definition.
24606         (ldbl_insert_mantissa): Likewise.
24607         (ldbl_canonicalize): Likewise.
24608         (ldbl_nearbyint): Likewise.
24609         (ldbl_pack): Rename to ldbl_pack_ppc.
24610         (ldbl_unpack): Rename to ldbl_unpack_ppc.
24611         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24612         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24613
24614 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24615
24616         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24617         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24618         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24619         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24620         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24621         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24622         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24623         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24624
24625 2013-03-07  Andreas Jaeger  <aj@suse.de>
24626
24627         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24628         bits/mman-linux.h.
24629
24630 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24631
24632         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24633         Include mpa.h and declare __MPEXP.
24634         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24635         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24636         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24637         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24638         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24639         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24640         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24641
24642         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24643         (__slowpow): Use long double EXPL and LOGL functions to
24644         compute POW.
24645         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24646         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24647         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24648         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24649         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24650         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24651
24652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24653         intermediate variable to calculate exponent.
24654         (__sqr): Likewise.
24655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24656         Likewise.
24657         (__sqr): Likewise.
24658
24659         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24660         [!NO__SQR]: Define __sqr.
24661         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24662         and NO__SQR.  Remove all code except __mul and __sqr.  Include
24663         sysdeps/ieee754/dbl-64/mpa.c.
24664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24665
24666         [BZ #12723]
24667         * posix/Makefile (tests): Add tst-pathconf.
24668         * posix/tst-pathconf.c: New test case.
24669         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24670         _PC_PIPE_BUF.
24671         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24672
24673 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
24674
24675         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24676
24677 2013-03-06  Andreas Jaeger  <aj@suse.de>
24678
24679         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24680         definition via __MAP_ANONYMOUS.
24681
24682         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24683         it's not part of Linux headers.
24684
24685         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24686         (MAP_HUGE_MASK): Define.
24687
24688         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24689         Define.
24690         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24691         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24692         Define.
24693         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24694         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24695         Define.
24696         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24697         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24698         Define.
24699         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24700
24701         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24702         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24703         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24704         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24705         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24706         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24707
24708         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24709         Handle f2fs.
24710
24711         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24712         Handle f2fs and efivarfs.
24713
24714         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24715         f2fs.
24716
24717         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24718         (EFIVARFS_MAGIC): Add.
24719         (F2FS_LINK_MAX): Add.
24720
24721 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24722
24723         * stdio-common/vfprintf.c: Replace __builtin_expect with
24724         __glibc_unlikely.
24725
24726 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
24727
24728         [BZ #13550]
24729         * sysdeps/generic/bp-sym.h: Remove file.
24730         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24731         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24732         <bp-sym.h> and <bp-asm.h>.
24733         (__longjmp): Don't use BP_SYM.
24734         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24735         and <bp-asm.h>.
24736         (memcpy): Don't use BP_SYM.
24737         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24738         <bp-sym.h> and <bp-asm.h>.
24739         (memcpy): Don't use BP_SYM.
24740         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24741         <bp-asm.h>.
24742         (memcpy): Don't use BP_SYM.
24743         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24744         <bp-asm.h>.
24745         (memset): Don't use BP_SYM.
24746         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24747         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24748         (__bzero): Don't use BP_SYM.
24749         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24750         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24751         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24752         <bp-sym.h> and <bp-asm.h>.
24753         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24754         pointers.
24755         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24756         <bp-sym.h> and <bp-asm.h>.
24757         (memcpy): Don't use BP_SYM.
24758         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24759         <bp-sym.h> and <bp-asm.h>.
24760         (memset): Don't use BP_SYM.
24761         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24762         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24763         (__bzero): Don't use BP_SYM.
24764         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24765         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24766         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24767         <bp-sym.h> and <bp-asm.h>.
24768         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24769         pointers.
24770         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24771         <bp-sym.h> and <bp-asm.h>.
24772         (memcpy): Don't use BP_SYM.
24773         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24774         <bp-sym.h> and <bp-asm.h>.
24775         (memset): Don't use BP_SYM.
24776         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24777         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24778         (__bzero): Don't use BP_SYM.
24779         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24780         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24781         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24782         <bp-sym.h> and <bp-asm.h>.
24783         (__memchr): Don't use BP_SYM.
24784         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24785         <bp-sym.h> and <bp-asm.h>.
24786         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24787         pointers.
24788         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24789         <bp-sym.h> and <bp-asm.h>.
24790         (memcpy): Don't use BP_SYM.
24791         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24792         <bp-sym.h> and <bp-asm.h>.
24793         (__mempcpy): Don't use BP_SYM.
24794         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24795         <bp-sym.h> and <bp-asm.h>.
24796         (__memrchr): Don't use BP_SYM.
24797         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24798         <bp-sym.h> and <bp-asm.h>.
24799         (memset): Don't use BP_SYM.
24800         (__bzero): Likewise.
24801         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24802         <bp-sym.h> and <bp-asm.h>.
24803         (__rawmemchr): Don't use BP_SYM.
24804         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24805         <bp-sym.h> and <bp-asm.h>.
24806         (__STRCMP): Don't use BP_SYM.
24807         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24808         <bp-sym.h> and <bp-asm.h>.
24809         (strchr): Don't use BP_SYM.
24810         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24811         <bp-sym.h> and <bp-asm.h>.
24812         (__strchrnul): Don't use BP_SYM.
24813         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24814         <bp-sym.h> and <bp-asm.h>.
24815         (strlen): Don't use BP_SYM.
24816         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24817         <bp-sym.h> and <bp-asm.h>.
24818         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24819         pointers.
24820         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24821         <bp-sym.h> and <bp-asm.h>.
24822         (__strnlen): Don't use BP_SYM.
24823         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24824         <bp-sym.h> and <bp-asm.h>.
24825         (__GI__setjmp): Don't use BP_SYM.
24826         (_setjmp): Likewise.
24827         (__sigsetjmp): Likewise.
24828         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24829         (L(start_addresses)): Don't use BP_SYM.
24830         (_start): Likewise.
24831         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24832         <bp-asm.h>.
24833         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24834         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24835         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24836         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24837         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24838         <bp-asm.h>.
24839         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24840         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
24841         about bounded pointers.
24842         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24843         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24844         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24845         <bp-asm.h>.
24846         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24847         about bounded pointers.  Remove GKM FIXME comments.
24848         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24849         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24850         <bp-asm.h>.
24851         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24852         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
24853         Remove GKM FIXME comments.
24854         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24855         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24856         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24857         <bp-asm.h>.
24858         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24859         about bounded pointers.  Remove GKM FIXME comment.
24860         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24861         and <bp-asm.h>.
24862         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24863         pointers.
24864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24865         <bp-sym.h> and <bp-asm.h>.
24866         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24868         <bp-sym.h> and <bp-asm.h>.
24869         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24870         comment.
24871
24872 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24873
24874         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24875         call free(NULL).
24876
24877 2013-03-05  David S. Miller  <davem@davemloft.net>
24878
24879         * po/es.po: Update from translation team.
24880
24881 2013-03-05  Andreas Jaeger  <aj@suse.de>
24882
24883         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24884         <bits/mman-linux.h>.
24885         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24886         is fine.
24887         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24888         <bits/mman-linux.h> to end of file.
24889         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24890         is fine.
24891         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24892         <bits/mman-linux.h> to end of file.
24893         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24894         is fine.
24895         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24896         <bits/mman-linux.h> to end of file.
24897
24898         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24899         (MCL_CURRENT, MCL_FUTURE): Define here.
24900
24901 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24902
24903         [BZ #15232]
24904         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24905         attribute_hidden.
24906         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24907
24908 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24909
24910         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24911         fourth parameter needed for rt_sigprocmask syscall.
24912         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24913         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24914         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24915         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24916         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24917         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24918
24919 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24920
24921         [BZ #13550]
24922         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24923         comment about bounded pointers.
24924         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24925         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24926
24927 2013-03-04  Andreas Jaeger  <aj@suse.de>
24928
24929         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24930         common definitions.
24931
24932         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24933         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24934         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24935         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24936         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24937         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24938
24939 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24940
24941         [BZ #15055]
24942         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24943         __ieee754_sqrl instead of __sqrl.
24944
24945 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24946
24947         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24948         * sysdeps/powerpc/fpu_control.h: ... here.
24949         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24950         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24951         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24952         * sysdeps/powerpc/bits/mathinline.h: ... here.
24953
24954 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24955
24956         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24957         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24958         to just [NEED_DL_SYSINFO_DSO].
24959         * elf/dl-support.c: Likewise.
24960         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24961         * elf/rtld.c (dl_main): Likewise.
24962         * elf/setup-vdso.h (setup_vdso): Likewise.
24963         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24964         * sysdeps/unix/sysv/linux/dl-sysdep.c
24965         (_dl_discover_osversion): Likewise.
24966
24967 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24968
24969         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24970         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24971
24972 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24973
24974         * NEWS: Mention libm performance improvements and non-x86 PI
24975         futex support.
24976
24977         * csu/libc-start.c (__pthread_initialize_minimal): Change
24978         function arguments.
24979         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24980
24981 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24982
24983         [BZ #13550]
24984         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24985         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24986         <bp-sym.h> and <bp-asm.h>.
24987         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24988         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24989         and <bp-asm.h>.
24990         (memcpy): Don't use BP_SYM.
24991         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24992         <bp-asm.h>.
24993         (__mpn_add_n): Don't use BP_SYM.
24994         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24995         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24996         and <bp-asm.h>.
24997         (__mpn_addmul_1): Don't use BP_SYM.
24998         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24999         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25000         <bp-sym.h>.
25001         (_setjmp): Don't use BP_SYM.
25002         (__novmx_setjmp): Likewise.
25003         (__GI__setjmp): Likewise.
25004         (__vmx_setjmp): Likewise.
25005         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25006         <bp-sym.h>.
25007         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25008         (__bzero): Don't use BP_SYM.
25009         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25010         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25011         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25012         <bp-sym.h> and <bp-asm.h>.
25013         (memcpy): Don't use BP_SYM.
25014         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25015         <bp-sym.h> and <bp-asm.h>.
25016         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25017         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25018         <bp-sym.h> and <bp-asm.h>.
25019         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25020         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25021         <bp-asm.h>.
25022         (__mpn_lshift): Don't use BP_SYM.
25023         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25024         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25025         <bp-asm.h>.
25026         (memset): Don't use BP_SYM.
25027         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25028         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25029         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25030         <bp-asm.h>.
25031         (__mpn_mul_1): Don't use BP_SYM.
25032         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25033         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25034         <bp-sym.h> and <bp-asm.h>.
25035         (memcmp): Don't use BP_SYM.
25036         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25037         <bp-sym.h> and <bp-asm.h>.
25038         (memcpy): Don't use BP_SYM.
25039         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25040         <bp-sym.h> and <bp-asm.h>.
25041         (memset): Don't use BP_SYM.
25042         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25043         <bp-sym.h> and <bp-asm.h>.
25044         (strncmp): Don't use BP_SYM.
25045         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25046         <bp-sym.h> and <bp-asm.h>.
25047         (memcpy): Don't use BP_SYM.
25048         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25049         <bp-sym.h> and <bp-asm.h>.
25050         (memset): Don't use BP_SYM.
25051         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25052         <bp-sym.h> and <bp-asm.h>.
25053         (__memchr): Don't use BP_SYM.
25054         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25055         <bp-sym.h> and <bp-asm.h>.
25056         (memcmp): Don't use BP_SYM.
25057         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25058         <bp-sym.h> and <bp-asm.h>.
25059         (memcpy): Don't use BP_SYM.
25060         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25061         <bp-sym.h> and <bp-asm.h>.
25062         (__mempcpy): Don't use BP_SYM.
25063         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25064         <bp-sym.h> and <bp-asm.h>.
25065         (__memrchr): Don't use BP_SYM.
25066         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25067         <bp-sym.h> and <bp-asm.h>.
25068         (memset): Don't use BP_SYM.
25069         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25070         <bp-sym.h> and <bp-asm.h>.
25071         (__rawmemchr): Don't use BP_SYM.
25072         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25073         <bp-sym.h> and <bp-asm.h>.
25074         (__STRCMP): Don't use BP_SYM.
25075         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25076         <bp-sym.h> and <bp-asm.h>.
25077         (strchr): Don't use BP_SYM.
25078         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25079         <bp-sym.h> and <bp-asm.h>.
25080         (__strchrnul): Don't use BP_SYM.
25081         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25082         <bp-sym.h> and <bp-asm.h>.
25083         (strlen): Don't use BP_SYM.
25084         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25085         <bp-sym.h> and <bp-asm.h>.
25086         (strncmp): Don't use BP_SYM.
25087         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25088         <bp-sym.h> and <bp-asm.h>.
25089         (__strnlen): Don't use BP_SYM.
25090         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25091         <bp-asm.h>.
25092         (__mpn_rshift): Don't use BP_SYM.
25093         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25094         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25095         <bp-sym.h> and <bp-asm.h>.
25096         (__sigsetjmp): Don't use BP_SYM.
25097         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25098         (L(start_addresses)): Don't use BP_SYM.
25099         (_start): Likewise.
25100         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25101         <bp-asm.h>.
25102         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25103         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25104         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25105         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25106         <bp-asm.h>.
25107         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25108         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25109         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25110         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25111         <bp-asm.h>.
25112         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25113         comments.
25114         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25115         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25116         <bp-asm.h>.
25117         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
25118         FIXME comments.
25119         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25120         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25121         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25122         <bp-asm.h>.
25123         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25124         comment.
25125         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25126         and <bp-asm.h>.
25127         (strncmp): Don't use BP_SYM,
25128         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25129         <bp-asm.h>.
25130         (__mpn_sub_n): Don't use BP_SYM.
25131         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25132         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25133         and <bp-asm.h>.
25134         (__mpn_submul_1): Don't use BP_SYM.
25135         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25137         <bp-sym.h> and <bp-asm.h>.
25138         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25140         <bp-sym.h> and <bp-asm.h>.
25141         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25142         comment.
25143
25144 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25145
25146         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25147         Use ZK to minimize writes to Z.
25148         (sub_magnitudes): Simplify code a bit.
25149         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25150         Use ZK to minimize writes to Z.
25151         (sub_magnitudes): Simplify code a bit.
25152
25153 2013-02-27  Roland McGrath  <roland@hack.frob.com>
25154
25155         * csu/gmon-start.c: Add special exception to license text.
25156
25157 2013-02-27  Richard Henderson  <rth@redhat.com>
25158
25159         * scripts/config.guess: Update from config.git.
25160         * scripts/config.sub: Likewise.
25161
25162 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25163
25164         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25165
25166         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25167
25168         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25169
25170         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25171
25172         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25173
25174 2013-02-26  Roland McGrath  <roland@hack.frob.com>
25175
25176         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25177         [$(build-shared = yes].
25178
25179 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25180
25181         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25182         (__mul): Reduce iterations for calculating mantissa.
25183
25184         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25185         MPTWO.
25186         (__mpranred): Likewise.
25187
25188         [BZ #15160]
25189         * malloc/memusagestat.c (main): Draw graphs for heap and stack
25190         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25191
25192 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
25193
25194         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25195         Define __attribute__.
25196
25197 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25198
25199         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25200         unused.
25201         * posix/regex_internal.h (__attribute): Remove.
25202         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25203         (re_string_context_at): Likewise.
25204         (bitset_not): Use __attribute__ and mark function as possibly
25205         unused.
25206         (bitset_merge): Likewise.
25207         (bitset_mask): Likewise.
25208         (re_string_char_size_at): Likewise.
25209         (re_string_wchar_at): Likewise.
25210         (re_string_elem_size_at): Likewise.
25211
25212 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25213
25214         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25215         code.
25216         (cc32): Likewise.
25217
25218         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25219         (__acr): Likewise.
25220         (__cpy): Likewise.
25221         (norm): Likewise.
25222         (denorm): Likewise.
25223         (__dbl_mp): Likewise.
25224         (add_magnitudes): Likewise.
25225         (sub_magnitudes): Likewise.
25226         (__mul): Likewise.
25227         (__inv): Likewise.
25228
25229         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25230         style.
25231
25232         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25233         style.
25234
25235         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25236         code.
25237
25238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25239         up changes with default code.
25240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25241         Likewise.
25242
25243 2013-02-24  Allan McRae  <allan@archlinux.org>
25244
25245         * manual/socket.texi (The Internet Namespace): Order menu items
25246         to match that in the file.
25247
25248         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25249         node listing of the info page menu.
25250
25251 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
25252
25253         [BZ #13550]
25254         * sysdeps/i386/bp-asm.h: Remove file.
25255         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25256         (PARMS): Do not use macros from bp-asm.h.
25257         (S1): Likewise.
25258         (S2): Likewise.
25259         (SIZE): Likewise.
25260         (__mpn_add_n): Do not use BP_SYM
25261         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25262         "bp-asm.h".
25263         (PARMS): Do not use macros from bp-asm.h.
25264         (S1): Likewise.
25265         (SIZE): Likewise.
25266         (__mpn_addmul_1): Do not use BP_SYM
25267         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25268         "bp-asm.h".
25269         (PARMS): Do not use macros from bp-asm.h.
25270         (SIGMSK): Likewise.
25271         (_setjmp): Likewise.  Do not use BP_SYM.
25272         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25273         "bp-asm.h".
25274         (PARMS): Do not use macros from bp-asm.h.
25275         (SIGMSK): Likewise.
25276         (setjmp): Likewise.  Do not use BP_SYM.
25277         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25278         "bp-asm.h".
25279         (PARMS): Do not use macros from bp-asm.h.
25280         (__frexp): Do not use BP_SYM.
25281         (frexp): Likewise.
25282         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25283         "bp-asm.h".
25284         (PARMS): Do not use macros from bp-asm.h.
25285         (__frexpf): Do not use BP_SYM.
25286         (frexpf): Likewise.
25287         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25288         "bp-asm.h".
25289         (PARMS): Do not use macros from bp-asm.h.
25290         (__frexpl): Do not use BP_SYM.
25291         (frexpl): Likewise.
25292         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25293         "bp-asm.h".
25294         (PARMS): Do not use macros from bp-asm.h.
25295         (__remquo): Do not use BP_SYM.
25296         (remquo): Likewise.
25297         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25298         "bp-asm.h".
25299         (PARMS): Do not use macros from bp-asm.h.
25300         (__remquof): Do not use BP_SYM.
25301         (remquof): Likewise.
25302         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25303         "bp-asm.h".
25304         (PARMS): Do not use macros from bp-asm.h.
25305         (__remquol): Do not use BP_SYM.
25306         (remquol): Likewise.
25307         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25308         "bp-asm.h".
25309         (PARMS): Do not use macros from bp-asm.h.
25310         (DEST): Likewise.
25311         (SRC): Likewise.
25312         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
25313         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25314         "bp-asm.h".
25315         (PARMS): Do not use macros from bp-asm.h.
25316         (strlen): Do not use BP_SYM.
25317         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25318         "bp-asm.h".
25319         (PARMS): Do not use macros from bp-asm.h.
25320         (S1): Likewise.
25321         (S2): Likewise.
25322         (SIZE): Likewise.
25323         (__mpn_add_n): Do not use BP_SYM.
25324         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25325         "bp-asm.h".
25326         (PARMS): Do not use macros from bp-asm.h.
25327         (S1): Likewise.
25328         (SIZE): Likewise.
25329         (__mpn_addmul_1): Do not use BP_SYM.
25330         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25331         weak_alias.
25332         (bzero): Likewise.
25333         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25334         "bp-asm.h".
25335         (PARMS): Do not use macros from bp-asm.h.
25336         (S): Likewise.
25337         (SIZE): Likewise.
25338         (__mpn_lshift): Do not use BP_SYM.
25339         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25340         "bp-asm.h".
25341         (PARMS): Do not use macros from bp-asm.h.
25342         (DEST): Likewise.
25343         (SRC): Likewise.
25344         (LEN): Likewise.
25345         (memcpy): Likewise.  Do not use BP_SYM.
25346         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25347         libc_hidden_def and weak_alias.
25348         (mempcpy): Do not use BP_SYM in weak_alias.
25349         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25350         "bp-asm.h".
25351         (PARMS): Do not use macros from bp-asm.h.
25352         (DEST): Likewise.
25353         (LEN): Likewise.
25354         [!BZERO_P] (CHR): Likewise.
25355         (memset): Likewise.  Do not use BP_SYM.
25356         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25357         "bp-asm.h".
25358         (PARMS): Do not use macros from bp-asm.h.
25359         (S1): Likewise.
25360         (SIZE): Likewise.
25361         (__mpn_mul_1): Do not use BP_SYM.
25362         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25363         "bp-asm.h".
25364         (PARMS): Do not use macros from bp-asm.h.
25365         (S): Likewise.
25366         (SIZE): Likewise.
25367         (__mpn_rshift): Do not use BP_SYM.
25368         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25369         "bp-asm.h".
25370         (PARMS): Do not use macros from bp-asm.h.
25371         (STR): Likewise.
25372         (CHR): Likewise.
25373         (strchr): Likewise.  Do not use BP_SYM.
25374         (index): Do not use BP_SYM in weak_alias.
25375         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25376         "bp-asm.h".
25377         (PARMS): Do not use macros from bp-asm.h.
25378         (DEST): Likewise.
25379         (SRC): Likewise.
25380         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
25381         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25382         "bp-asm.h".
25383         (PARMS): Do not use macros from bp-asm.h.
25384         (strlen): Do not use BP_SYM.
25385         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25386         "bp-asm.h".
25387         (PARMS): Do not use macros from bp-asm.h.
25388         (S1): Likewise.
25389         (S2): Likewise.
25390         (SIZE): Likewise.
25391         (__mpn_sub_n): Do not use BP_SYM.
25392         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25393         "bp-asm.h".
25394         (PARMS): Do not use macros from bp-asm.h.
25395         (S1): Likewise.
25396         (SIZE): Likewise.
25397         (__mpn_submul_1): Do not use BP_SYM.
25398         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25399         "bp-asm.h".
25400         (PARMS): Do not use macros from bp-asm.h.
25401         (S1): Likewise.
25402         (S2): Likewise.
25403         (SIZE): Likewise.
25404         (__mpn_add_n): Do not use BP_SYM.
25405         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25406         weak_alias.
25407         (bzero): Likewise.
25408         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25409         "bp-asm.h".
25410         (PARMS): Do not use macros from bp-asm.h.
25411         (BLK2): Likewise.
25412         (LEN): Likewise.
25413         (memcmp): Do not use BP_SYM.
25414         (bcmp): Do not use BP_SYM in weak_alias.
25415         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25416         "bp-asm.h".
25417         (PARMS): Do not use macros from bp-asm.h.
25418         (DEST): Likewise.
25419         (SRC): Likewise.
25420         (LEN): Likewise.
25421         (memcpy): Likewise.  Do not use BP_SYM.
25422         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25423         "bp-asm.h".
25424         (PARMS): Do not use macros from bp-asm.h.
25425         (DEST): Likewise.
25426         (SRC): Likewise.
25427         (LEN): Likewise.
25428         (memmove): Likewise.  Do not use BP_SYM.
25429         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25430         "bp-asm.h".
25431         (PARMS): Do not use macros from bp-asm.h.
25432         (DEST): Likewise.
25433         (SRC): Likewise.
25434         (LEN): Likewise.
25435         (__mempcpy): Likewise.  Do not use BP_SYM.
25436         (mempcpy): Do not use BP_SYM in weak_alias.
25437         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25438         "bp-asm.h".
25439         (PARMS): Do not use macros from bp-asm.h.
25440         (DEST): Likewise.
25441         (LEN): Likewise.
25442         [!BZERO_P] (CHR): Likewise.
25443         (memset): Likewise.  Do not use BP_SYM.
25444         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25445         "bp-asm.h".
25446         (PARMS): Do not use macros from bp-asm.h.
25447         (STR2): Likewise.
25448         (strcmp): Do not use BP_SYM.
25449         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25450         "bp-asm.h".
25451         (PARMS): Do not use macros from bp-asm.h.
25452         (STR): Likewise.
25453         (DELIM): Likewise.
25454         [USE_AS_STRTOK_R] (SAVE): Likewise.
25455         (FUNCTION): Likewise.  Do not use BP_SYM.
25456         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25457         aliases.
25458         (strtok_r): Likewise.
25459         (__GI___strtok_r): Likewise.
25460         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25461         (PARMS): Do not use macros from bp-asm.h.
25462         (S): Likewise.
25463         (SIZE): Likewise.
25464         (__mpn_lshift): Do not use BP_SYM.
25465         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25466         (PARMS): Do not use macros from bp-asm.h.
25467         (STR): Likewise.
25468         (CHR): Likewise.
25469         (__memchr): Do not use BP_SYM.
25470         (memchr): Do not use BP_SYM in weak_alias.
25471         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25472         (PARMS): Do not use macros from bp-asm.h.
25473         (BLK2): Likewise.
25474         (LEN): Likewise.
25475         (memcmp): Do not use BP_SYM.
25476         (bcmp): Do not use BP_SYM in weak_alias.
25477         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25478         (PARMS): Do not use macros from bp-asm.h.
25479         (S1): Likewise.
25480         (SIZE): Likewise.
25481         (__mpn_mul_1): Do not use BP_SYM.
25482         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25483         "bp-asm.h".
25484         (PARMS): Do not use macros from bp-asm.h.
25485         (STR): Likewise.
25486         (CHR): Likewise.
25487         (__rawmemchr): Do not use BP_SYM.
25488         (rawmemchr): Do not use BP_SYM in weak_alias.
25489         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25490         (PARMS): Do not use macros from bp-asm.h.
25491         (S): Likewise.
25492         (SIZE): Likewise.
25493         (__mpn_rshift): Do not use BP_SYM.
25494         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25495         (PARMS): Do not use macros from bp-asm.h.
25496         (SIGMSK): Likewise.
25497         (__sigsetjmp): Likewise.  Do not use BP_SYM.
25498         * sysdeps/i386/start.S: Do not include "bp-sym.h".
25499         (_start): Do not use BP_SYM.
25500         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25501         (PARMS): Do not use macros from bp-asm.h.
25502         (DEST): Likewise.
25503         (SRC): Likewise.
25504         (__stpcpy): Likewise.  Do not use BP_SYM.
25505         (stpcpy): Do not use BP_SYM in weak_alias.
25506         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25507         "bp-asm.h".
25508         (PARMS): Do not use macros from bp-asm.h.
25509         (DEST): Likewise.
25510         (SRC): Likewise.
25511         (LEN): Likewise.
25512         (__stpncpy): Likewise.  Do not use BP_SYM.
25513         (stpncpy): Do not use BP_SYM in weak_alias.
25514         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25515         (PARMS): Do not use macros from bp-asm.h.
25516         (STR): Likewise.
25517         (CHR): Likewise.
25518         (strchr): Likewise.  Do not use BP_SYM.
25519         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25520         "bp-asm.h".
25521         (PARMS): Do not use macros from bp-asm.h.
25522         (STR): Likewise.
25523         (CHR): Likewise.
25524         (__strchrnul): Likewise.  Do not use BP_SYM.
25525         (strchrnul): Do not use BP_SYM in weak_alias.
25526         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25527         "bp-asm.h".
25528         (PARMS): Do not use macros from bp-asm.h.
25529         (STOP): Likewise.
25530         (strcspn): Do not use BP_SYM.
25531         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25532         "bp-asm.h".
25533         (PARMS): Do not use macros from bp-asm.h.
25534         (STR): Likewise.
25535         (STOP): Likewise.
25536         (strpbrk): Likewise.  Do not use BP_SYM.
25537         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25538         "bp-asm.h".
25539         (PARMS): Do not use macros from bp-asm.h.
25540         (STR): Likewise.
25541         (CHR): Likewise.
25542         (strrchr): Likewise.  Do not use BP_SYM.
25543         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25544         (PARMS): Do not use macros from bp-asm.h.
25545         (SKIP): Likewise.
25546         (strspn): Do not use BP_SYM.
25547         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25548         (PARMS): Do not use macros from bp-asm.h.
25549         (STR): Likewise.
25550         (DELIM): Likewise.
25551         (SAVE): Likewise.
25552         (FUNCTION): Likewise.  Do not use BP_SYM.
25553         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25554         aliases.
25555         (strtok_r): Likewise.
25556         (__GI___strtok_r): Likewise.
25557         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25558         (PARMS): Do not use macros from bp-asm.h.
25559         (S1): Likewise.
25560         (S2): Likewise.
25561         (SIZE): Likewise.
25562         (__mpn_sub_n): Do not use BP_SYM.
25563         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25564         "bp-asm.h".
25565         (PARMS): Do not use macros from bp-asm.h.
25566         (S1): Likewise.
25567         (SIZE): Likewise.
25568         (__mpn_submul_1): Do not use BP_SYM.
25569         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25570         <bp-sym.h>.
25571         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25572         and <bp-asm.h>.
25573         (PARMS): Do not use macros from bp-asm.h.
25574         (FLAGS): Likewise.
25575         (PTID): Likewise.
25576         (TLS): Likewise.
25577         (CTID): Likewise.
25578         (__clone): Do not use BP_SYM.
25579         (clone): Do not use BP_SYM in weak_alias.
25580         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25581         and <bp-asm.h>.
25582         (PARMS): Do not use macros from bp-asm.h.
25583         (LEN): Likewise.
25584         (__mmap64): Do not use BP_SYM.
25585         (mmap64): Do not use BP_SYM in weak_alias.
25586         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25587         <bp-sym.h> and <bp-asm.h>.
25588         (PARMS): Do not use macros from bp-asm.h.
25589         (__posix_fadvise64_l64): Do not use BP_SYM.
25590         * sysdeps/unix/sysv/linux/i386/semtimedop.S
25591         (PARMS): Do not use macros from bp-asm.h.
25592         (NSOPS): Likewise.
25593         (semtimedop): Do not use BP_SYM.
25594         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25595         and <bp-asm.h>.
25596
25597 2013-02-21  Allan McRae  <allan@archlinux.org>
25598
25599         * manual/message.texi (Charset conversion in gettext):
25600         Move @end statement to beginning of line.
25601
25602 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25603
25604         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25605         static.
25606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25607         Likewise.
25608
25609         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25610         (denorm): Likewise.
25611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25613
25614 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25615
25616         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25617         tail-call to the resolved function if pltexit isn't needed.
25618
25619 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25620
25621         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25622         or Y being zero as being unlikely.
25623         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25624         Likewise.
25625
25626 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
25627
25628         * manual/nss.texi (System Databases and Name Service Switch):
25629         Remove frobnicate @pxref.
25630
25631 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
25632
25633         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25634         __attribute__ ((unused)) to __attribute__ ((__unused__)).
25635
25636 2013-02-20  Petr Machata  <pmachata@redhat.com>
25637
25638         * elf/elf.h (R_ARM_TARGET1): New macro.
25639         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25640         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25641         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25642         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25643         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25644         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25645         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25646         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25647         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25648         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25649         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25650         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25651         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25652         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25653         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25654         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25655         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25656         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25657         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25658         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25659         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25660         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25661         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25662         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25663         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25664         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25665         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25666         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25667         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25668         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25669         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25670         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25671         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25672         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25673         (R_ARM_THM_GOT_BREL12): Likewise.
25674         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25675         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25676         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25677         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25678         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25679         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25680         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25681         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25682         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25683
25684 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
25685
25686         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25687         __attribute_used__ to __attribute__ ((unused)).
25688
25689 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25690
25691         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25692         powerpc mpa.c.
25693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25694         comment formatting.
25695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25696
25697 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
25698
25699         [BZ #13550]
25700         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25701         Remove macro.
25702         (ENTER): Remove both macro definitions.
25703         (LEAVE): Likewise.
25704         (CHECK_BOUNDS_LOW): Likewise.
25705         (CHECK_BOUNDS_HIGH): Likewise.
25706         (CHECK_BOUNDS_BOTH): Likewise.
25707         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25708         (RETURN_BOUNDED_POINTER): Likewise.
25709         (RETURN_NULL_BOUNDED_POINTER): Likewise.
25710         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25711         (POP_ERRNO_LOCATION_RETURN): Likewise.
25712         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25713         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25714         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25715         macros.
25716         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25717         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25718         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25719         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25720         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25721         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25722         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25723         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25724         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25725         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25726         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25727         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25728         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25729         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25730         removed macros.
25731         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25732         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25733         macros.
25734         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25735         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25736         * sysdeps/i386/i586/memset.S (memset): Likewise.
25737         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25738         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25739         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25740         macros.
25741         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25742         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25743         Change uses of L(2) to L(out).
25744         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25745         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25746         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25747         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25748         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25749         removed macros.
25750         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25751         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25752         macros.
25753         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25754         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25755         (RETURN): Do not use macro LEAVE.
25756         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25757         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25758         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25759         * sysdeps/i386/i686/memset.S (memset): Likewise.
25760         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25761         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25762         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25763         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25764         Likewise.
25765         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25766         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
25767         L(1_2) and L(1_3) into L(1).
25768         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25769         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25770         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25771         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25772         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25773         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25774         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25775         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25776         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25777         macros.
25778         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25779         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25780         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25781         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25782         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25783         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25784         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25785         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25786         * sysdeps/i386/strcspn.S (strcspn): Likewise.
25787         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25788         * sysdeps/i386/strrchr.S (strrchr): Likewise.
25789         * sysdeps/i386/strspn.S (strspn): Likewise.
25790         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25791         conditional code.
25792         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25793         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25794         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25795         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
25796         L(1_3) into L(1_1).
25797         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25798         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25799         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25800         macros.
25801         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25802
25803 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
25804
25805         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25806         macro.
25807
25808 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25809
25810         * math/atest-exp.c (exp_mpn): Remove ROUND.
25811         * math/atest-exp2.c (exp_mpn): Likewise.
25812         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25813
25814         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25815         * stdlib/tst-tls-atexit-lib.c: Likewise.
25816         * stdlib/tst-tls-atexit.c: Likewise.
25817
25818 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25819
25820         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25821         and __attribute_alloc_size__.
25822
25823 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25824
25825         * include/programs/xmalloc.h: Change __attribute_alloc_size to
25826         __attribute_alloc_size__.
25827         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25828         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25829
25830 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25831
25832         * include/programs/xmalloc.h: New file.
25833         * catgets/gencat.c: Include it.
25834         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25835         * elf/pldd.c: Likewise.
25836         * iconv/iconv_charmap.c: Likewise.
25837         * iconv/iconvconfig.c: Likewise.
25838         * iconv/strtab.c: Likewise.
25839         * locale/programs/locale.c: Likewise.
25840         * locale/programs/localedef.h: Likewise.
25841         * locale/programs/simple-hash.c: Likewise.
25842         * nscd/nscd.h: Likewise.
25843         * nss/makedb.c: Likewise.
25844         * sysdeps/generic/ldconfig.h: Likewise.
25845
25846 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25847
25848         * Versions.def: Add GLIBC_2.18.
25849         * include/link.h (struct link_map): New member l_tls_dtor_count.
25850         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25851         (__call_tls_dtors): Likewise.
25852         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25853         __cxa_thread_atexit_impl.
25854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25855         Likewise.
25856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25857         Likewise.
25858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25859         Likewise.
25860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25861         Likewise.
25862         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25864         Likewise.
25865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25866         Likewise.
25867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25869         Likewise.
25870         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25871         (tests): Add test case tst-tls-atexit.
25872         (modules-names): Add shared library for tst-tls-atexit.
25873         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25874         (GLIBC_PRIVATE): Add __call_tls_dtors.
25875         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25876         for libstdc++.
25877         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25878         * stdlib/tst-tls-atexit.c: New test case.
25879         * stdlib/tst-tls-atexit-lib.c: New test case.
25880
25881         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25882
25883         * elf/Versions (ld): Add _dl_find_dso_for_object.
25884         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25885         * elf/dl-open.c (_dl_find_dso_for_object): New function.
25886         (dl_open_worker): Use _dl_find_dso_for_object.
25887         * elf/dl-sym.c (do_sym): Likewise.
25888         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25889
25890 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25891
25892         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25893         Syntactic changes only.
25894         (_dl_runtime_profile): Do a tail-call to the resolved function.
25895
25896 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25897
25898         [BZ #13550]
25899         * sysdeps/x86_64/bp-asm.h: Remove file.
25900         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25901         <bp-sym.h> and <bp-asm.h>.
25902         (__clone): Do not use BP_SYM.
25903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25904         <bp-sym.h> and <bp-asm.h>.
25905         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25906         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25907         "bp-asm.h".
25908         (_setjmp): Do not use BP_SYM.
25909         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25910         "bp-asm.h".
25911         (setjmp): Do not use BP_SYM.
25912         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25913         libc_hidden_def.
25914         (mempcpy): Do not use BP_SYM in weak_alias.
25915         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25916         "bp-asm.h".
25917         (strchr): Do not use BP_SYM.
25918         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25919         "bp-asm.h".
25920         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25921         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25922         (_start): Do not use BP_SYM.
25923         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25924         "bp-asm.h".
25925         (strcat): Do not use BP_SYM.
25926         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25927         "bp-asm.h".
25928         (STRCMP): Do not use BP_SYM.
25929         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25930         "bp-asm.h".
25931         (STRCPY): Do not use BP_SYM.
25932         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25933         "bp-asm.h".
25934         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25935         "bp-asm.h".
25936         (FUNCTION): Do not use BP_SYM.
25937         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25938         weak_alias.
25939         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25940
25941 2013-02-17  Andreas Jaeger  <aj@suse.de>
25942
25943         * time/Versions: Sort entries.
25944         * string/Versions: Likewise.
25945         * resolv/Versions: Likewise.
25946         * posix/Versions: Likewise.
25947         * iconv/Versions: Likewise.
25948         * elf/Versions: Likewise.
25949         * wcsmbs/Versions: Likewise.
25950
25951 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25952
25953         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25954         loop termination condition.
25955
25956         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25957         variable to calculate EZ.
25958         (__sqr): Likewise.
25959
25960         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25961         the lower precision input.
25962
25963 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25964
25965         [BZ #13550]
25966         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25967         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25968         (run-via-rtld-prefix): Do not handle %-bp tests.
25969         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25970         (all-object-suffixes): Remove .ob.
25971         (bppfx): Remove variable.
25972         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25973         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25974         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25975         [$(build-bounded) = yes] (libtype.ob): Likewise.
25976         * Makerules (elide-routines.ob): Remove variable.
25977         (do-tests-clean): Do not handle *-bp.out.
25978         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25979         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25980         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25981         (tests): Do not include $(tests-bp.out).
25982         (xtests): Do not include $(xtests-bp.out).
25983         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25984         [$(build-bounded) = yes] ($(addprefix
25985         $(objpfx),$(binaries-bounded))): Remove rule.
25986         ($(objpfx)%-bp.out): Remove rule.
25987         * config.make.in (build-bounded): Remove variable.
25988         * crypt/Makefile [$(build-bounded) = yes]
25989         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25990         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25991         append to variable.
25992         [$(build-bounded) = yes] (install-lib): Likewise.
25993         [$(build-bounded) = yes] (generated): Likewise.
25994         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25995         Remove rule.
25996         * intl/Makefile [$(build-bounded) = yes]
25997         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25998         * math/Makefile [$(build-bounded) = yes]
25999         ($(tests:%=$(objpfx)%-bp): Likewise.
26000         * misc/Makefile [$(build-bounded) = yes]
26001         ($(objpfx)tst-tsearch-bp): Likewise.
26002         * nptl/Makeconfig (bounded-thread-library): Remove variable.
26003         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26004         Remove dependency.
26005         * string/Makefile (o-objects.ob): Remove variable.
26006         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26007         (CFLAGS-.ob): Remove variable.
26008         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26009         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26010         both definitions of variable.
26011         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26012         (ASFLAGS-.ob): Remove variable.
26013
26014 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
26015
26016         [BZ #13550]
26017         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26018         Remove __BOUNDED_POINTERS__ from condition.
26019         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26020         * string/bits/string2.h [!__NO_STRING_INLINES &&
26021         !__BOUNDED_POINTERS__]: Likewise.
26022         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26023         Likewise.
26024         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26025         Remove conditional code.
26026         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26027         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26028         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26029         condition.
26030
26031         [BZ #13550]
26032         * csu/libc-start.c: Do not include <bp-sym.h>.
26033         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26034         * elf/dl-open.c: Do not include <bp-sym.h>.
26035         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26036         * math/fegetenv.c: Do not include <bp-sym.h>.
26037         (fegetenv): Do not use BP_SYM in versioned symbols.
26038         * nptl/sysdeps/pthread/bits/libc-lockP.h
26039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26040         <bp-sym.h>.
26041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26042         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26044         (__pthread_mutex_destroy): Likewise.
26045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26046         (__pthread_mutex_lock): Likewise.
26047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26048         (__pthread_mutex_trylock): Likewise.
26049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26050         (__pthread_mutex_unlock): Likewise.
26051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26052         (__pthread_mutexattr_init): Likewise.
26053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26054         (__pthread_mutexattr_destroy): Likewise.
26055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26056         (__pthread_mutexattr_settype): Likewise.
26057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26058         (__pthread_rwlock_init): Likewise.
26059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26060         (__pthread_rwlock_destroy): Likewise.
26061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26062         (__pthread_rwlock_rdlock): Likewise.
26063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26064         (__pthread_rwlock_tryrdlock): Likewise.
26065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26066         (__pthread_rwlock_wrlock): Likewise.
26067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26068         (__pthread_rwlock_trywrlock): Likewise.
26069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26070         (__pthread_rwlock_unlock): Likewise.
26071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26072         (__pthread_key_create): Likewise.
26073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26074         (__pthread_setspecific): Likewise.
26075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26076         (__pthread_getspecific): Likewise.
26077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26078         Likewise.
26079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26080         (_pthread_cleanup_push_defer): Likewise.
26081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26082         (_pthread_cleanup_pop_restore): Likewise.
26083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26084         (pthread_setcancelstate): Likewise.
26085         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26086         <bp-sym.h>.
26087         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26088         (memchr): Do not use BP_SYM in weak_alias.
26089         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26090         (fegetenv): Do not use BP_SYM in versioned symbols.
26091         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26092         (fesetenv): Do not use BP_SYM in versioned symbols.
26093         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26094         (feupdateenv): Do not use BP_SYM in versioned symbols.
26095         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26096         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26097         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26098         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26099         (open64): Do not use BP_SYM in weak_alias.
26100         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26101         (fegetenv): Do not use BP_SYM in versioned symbols.
26102         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26103         (fesetenv): Do not use BP_SYM in versioned symbols.
26104         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26105         (feupdateenv): Do not use BP_SYM in versioned symbols.
26106         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26107         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26108         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26109         (feraiseexcept): Do not use BP_SYM in versioned symbols.
26110         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26111         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26112         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26113         <bp-sym.h>.
26114         (__libc_start_main): Do not use BP_SYM.
26115
26116 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26117
26118         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26119         redundant return line.
26120         (norm): Likewise.
26121         (denorm): Likewise.
26122         (dbl_mp): Likewise.
26123         (sub_magnitudes): Likewise.
26124         (__add): Likewise.
26125         (__sub): Likewise.
26126         (__mul): Likewise.
26127         (__inv): Likewise.
26128         (__dvd): Likewise.
26129         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26130         (norm): Likewise.
26131         (denorm): Likewise.
26132         (dbl_mp): Likewise.
26133         (sub_magnitudes): Likewise.
26134         (__add): Likewise.
26135         (__sub): Likewise.
26136         (__mul): Likewise.
26137         (__inv): Likewise.
26138         (__dvd): Likewise.
26139
26140         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26141         instead of __mul.
26142         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26143         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26144         (cc32): Likewise.
26145
26146         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26147         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26148         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26149         of __mul for squares.
26150         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26151         function
26152         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26153         Likewise.
26154         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26155         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26156
26157 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
26158
26159         [BZ #13550]
26160         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26161         code.
26162         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26163         prototype or function definition.  Rename ubp_* variables and
26164         parameters.  Remove argv definitions conditional on
26165         [__BOUNDED_POINTERS__].
26166         * debug/backtrace.c (__backtrace): Do not use __unbounded.
26167         * elf/dl-runtime.c (_dl_fixup): Likewise.
26168         * include/set-hooks.h (RUN_HOOK): Likewise.
26169         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26170         definition.
26171         * string/strcpy.c (strcpy): Do not use __unbounded.
26172         * sysdeps/generic/frame.h (struct layout): Likewise.
26173         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26174         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26175         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26176         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26177         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26178         (__backtrace): Likewise.
26179         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26180         use __ptrvalue.
26181         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26182         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26183         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26184         Likewise.
26185         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26186         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26187         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26188         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26189         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26190         Do not use __unbounded.
26191         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26192         Rename __unboundedrlimits parameter to rlimits in prototype.
26193         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26194         Do not use __unbounded.
26195         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26196         not use __ptrvalue.
26197         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26198         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26199         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26200         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26201         __ptrvalue or __unbounded.
26202         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26203         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26204         use __unbounded.
26205         (__new_msgctl): Do not use __ptrvalue.
26206         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26207         __unbounded.
26208         (__libc_msgrcv): Do not use __ptrvalue.
26209         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26210         startup_info): Do not use __unbounded.
26211         (__libc_start_main): Likewise.  Rename ubp_* variables and
26212         parameters.  Remove argv definitions conditional on
26213         [__BOUNDED_POINTERS__].
26214         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26215         __ptrvalue.
26216         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26217         use __unbounded.
26218         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26219         or __ptrvalue.
26220         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26221         use __unbounded.
26222         (__new_shmctl): Do not use __ptrvalue.
26223         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26224         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26225         Likewise.
26226         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26227         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26228         (__libc_sigaction): Likewise.
26229         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26230         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26231         Likewise.
26232         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26233
26234 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
26235
26236         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26237
26238         * string/mempcpy.c: Implement by calling memcpy.
26239
26240 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26241
26242         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26243
26244         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26245         evaluation.
26246
26247         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26248         values in the mantissa.
26249
26250         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26251         minimize writes to Z.
26252         (sub_magnitudes): Simplify code a bit.
26253
26254 2013-02-12  Roland McGrath  <roland@hack.frob.com>
26255
26256         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26257         from the message.  The linker prefixes all warnings with that already.
26258
26259 2013-02-12  Andreas Schwab  <schwab@suse.de>
26260
26261         [BZ #15078]
26262         * posix/regexec.c (extend_buffers): Add parameter min_len.
26263         (check_matching): Pass minimum needed length.
26264         (clean_state_log_if_needed): Likewise.
26265         (get_subexp): Likewise.
26266         * posix/Makefile (tests): Add bug-regex34.
26267         (bug-regex34-ENV): Define.
26268         * posix/bug-regex34.c: New file.
26269
26270         [BZ #11561]
26271         * posix/regcomp.c (parse_bracket_exp): When looking up collating
26272         elements compare against the byte sequence of it, not its name.
26273         * posix/Makefile (tests): Add bug-regex35.
26274         (bug-regex35-ENV): Define.
26275         * posix/bug-regex35.c: New file.
26276
26277 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26278
26279         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
26280         comment.
26281         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26282         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26283         (CHECK_EOL): Add undef.
26284
26285 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
26286
26287         * bits/stdlib-bsearch.h: New file.
26288         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26289         * stdlib/stdlib.h: Likewise.
26290
26291 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26292
26293         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26294         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26295         declaration.
26296         * manual/search.texi (Array Search Function): Add missing const in
26297         lfind prototype.
26298         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26299         declaration to use rlim_t.
26300         (Basic Scheduling Functions): Remove erroneous const from
26301         sched_getparam prototype.  Remove erroneous * from
26302         sched_get_priority_max and sched_get_priority_min prototypes.
26303         (Resource Usage): Fix summary @comment on vtimes to refer to
26304         sys/vtimes.h rather than vtimes.h.
26305         Add missing *s in vtimes prototype.
26306         (Limits on Resources): Fix ulimit prototype to return long int.
26307         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26308         prototypes to use long int rather than double.
26309         (BSD Random): Fix initstate and setstate to use char *, not void *.
26310         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26311         prototype to make second argument 'struct aiocb64 *const[]'.
26312         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26313         (Status of AIO Operations): Remove erroneous const in aio_return and
26314         aio_return64 prototypes.
26315         (Synchronizing I/O): Fix sync prototype to return void.
26316         * manual/startup.texi (Suboptions): Remove an erroneous const in
26317         getsubopt prototype.
26318         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26319         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26320         use size_t rather than int.
26321         (Scanning All Users): Likewise for getpwent_r.
26322         (Setting Groups): Add missing const to setgroups prototype.
26323         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26324         * manual/socket.texi (Host Names): Fix gethostbyaddr and
26325         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26326         'const void *' rather than 'const char *'.
26327         (Host Address Functions): Likewise for inet_ntop.
26328         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26329         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26330         ssize_t for return value.
26331         (Sending Data): Likewise for send, sendto, sendmsg.
26332         (Socket Option Functions): Add a missing const in setsockopt prototype.
26333         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26334         use wchar_t for the argument.
26335         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26336         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26337         take no arguments.
26338         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26339         double/float/long double for second argument.
26340         Fix return types of significand, significandf, significandl.
26341         * manual/filesys.texi (Setting Permissions): Use mode_t for second
26342         argument in fchmod prototype.
26343         (File Owner): Use uid_t and gid_t in fchown prototype.
26344         (File Times): Add const to utimes, futimes, and lutimes prototypes.
26345         (Making Special Files): Use mode_t and dev_t in mknod prototype.
26346         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26347         use 'const struct dirent **' as argument types to CMP function pointer
26348         argument.
26349         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26350         (File Times): Fix summary magic @comment for struct utimbuf and utime
26351         to refer to utime.h, not time.h.
26352         * manual/string.texi (Argz Functions): Add missing const in
26353         argz_extract and argz_next prototypes.
26354         (Finding Tokens in a String): Likewise for basename.
26355         (String/Array Comparison): Fix typo in wcscasecmp prototype.
26356         (Copying and Concatenation): Fix typo in wmemmove prototype.
26357         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26358         (Signal Stack): Remove erroneous const in sigstack prototype.
26359         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26360         prototype.
26361         (Simple Calendar Time): Likewise for stime.
26362         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26363         prototype.
26364         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26365         say sys/sysctl.h instead.
26366         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26367         and vsyslog prototypes.
26368
26369 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26370
26371         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26372         Remove.
26373
26374 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26375
26376         * misc/sys/mman.h: Fix typo in mremap comment.
26377
26378 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26379
26380         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26381         the '\0' terminator.
26382
26383 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26384
26385         [BZ #13550]
26386         * debug/segfault.c: Don't include <bp-checks.h>.
26387         * sysdeps/generic/bp-checks.h: Remove file.
26388         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26389         (__GETDENTS): Don't use CHECK_N.
26390         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26391         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26392         (__getgroups): Don't use CHECK_N.
26393         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26394         (setgroups): Don't use CHECK_N.
26395         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26396         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26397         (__libc_msgrcv): Don't use CHECK_N.
26398         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26399         (__libc_msgsnd): Don't use CHECK_N.
26400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26401         <bp-checks.h>.
26402         (__libc_pread): Don't use CHECK_N.
26403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26404         include <bp-checks.h>.
26405         (__libc_pread64): Don't use CHECK_N.
26406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26407         include <bp-checks.h>.
26408         (__libc_pwrite): Don't use CHECK_N.
26409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26410         include <bp-checks.h>.
26411         (__libc_pwrite64): Don't use CHECK_N.
26412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26413         <bp-checks.h>.
26414         (__libc_pread): Don't use CHECK_N.
26415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26416         include <bp-checks.h>.
26417         (__libc_pread64): Don't use CHECK_N.
26418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26419         include <bp-checks.h>.
26420         (__libc_pwrite): Don't use CHECK_N.
26421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26422         include <bp-checks.h>.
26423         (__libc_pwrite64): Don't use CHECK_N.
26424         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26425         (do_pread): Don't use CHECK_N.
26426         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26427         (do_pread64): Don't use CHECK_N.
26428         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26429         (do_pwrite): Don't use CHECK_N.
26430         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26431         (do_pwrite64): Don't use CHECK_N.
26432         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26433         (__libc_readv): Don't use CHECK_N.
26434         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26435         (semop): Don't use CHECK_N.
26436         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26437         <bp-checks.h>.
26438         (semtimedop): Don't use CHECK_N.
26439         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26440         (__libc_pread): Don't use CHECK_N.
26441         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26442         <bp-checks.h>.
26443         (__libc_pread64): Don't use CHECK_N.
26444         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26445         <bp-checks.h>.
26446         (__libc_pwrite): Don't use CHECK_N.
26447         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26448         <bp-checks.h>.
26449         (__libc_pwrite64): Don't use CHECK_N.
26450         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26451         <bp-checks.h>.
26452         (__libc_msgrcv): Don't use CHECK_N.
26453         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26454         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
26455         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26456         (__libc_writev): Don't use CHECK_N.
26457
26458 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26459
26460         * string/strcpy.c: Removed unused variable.
26461
26462         * Makeconfig (+sysdep-includes): Define with := rather than =.
26463         Use an existing include/ subdir of each sysdeps dir before it.
26464
26465 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26466
26467         * nscd/connection.c (register_traced_file): Comment function.
26468         [HAVE_INOTIFY] (union __inev): Define.
26469         [HAVE_INOTIFY] (inotify_check_files): New function.
26470         [HAVE_INOTIFY] (clear_db_cache): Likewise.
26471         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26472         clear_db_cache.
26473         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26474
26475 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26476
26477         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26478         loaded if not already and that a failure is permanent.
26479
26480 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26481
26482         [BZ #15006]
26483         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26484         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26485
26486 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26487
26488         [BZ #13550]
26489         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26490         (CHECK_1_NULL_OK): Likewise.
26491         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26492         (__fxstat): Do not use CHECK_1.
26493         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26494         <bp-checks.h>.
26495         (___fxstat64): Do not use CHECK_1.
26496         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26497         <bp-checks.h>.
26498         (__fxstatat): Do not use CHECK_1.
26499         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26500         <bp-checks.h>.
26501         (__fxstatat64): Do not use CHECK_1.
26502         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26503         <bp-checks.h>.
26504         (__fxstat): Do not use CHECK_1.
26505         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26506         <bp-checks.h>.
26507         (__fxstatat): Do not use CHECK_1.
26508         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26509         <bp-checks.h>.
26510         (__getresgid): Do not use CHECK_1.
26511         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26512         <bp-checks.h>.
26513         (__getresuid): Do not use CHECK_1.
26514         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26515         <bp-checks.h>.
26516         (__lxstat): Do not use CHECK_1.
26517         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26518         <bp-checks.h>.
26519         (__old_msgctl): Do not use CHECK_1.
26520         (__new_msgctl): Likewise.
26521         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26522         <bp-checks.h>.
26523         (__new_setrlimit): Do not use CHECK_1.
26524         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26525         <bp-checks.h>.
26526         (__old_shmctl): Do not use CHECK_1.
26527         (__new_shmctl): Likewise.
26528         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26529         <bp-checks.h>.
26530         (__xstat): Do not use CHECK_1.
26531         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26532         (__lxstat): Do not use CHECK_1.
26533         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26534         <bp-checks.h>.
26535         (___lxstat64): Do not use CHECK_1.
26536         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26537         (__old_msgctl): Do not use CHECK_1.
26538         (__new_msgctl): Likewise.
26539         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26540         <bp-checks.h>.
26541         (__gettimeofday): Do not use CHECK_1.
26542         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26543         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26544         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26545         <bp-checks.h>.
26546         (__gettimeofday): Do not use CHECK_1.
26547         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26548         (__old_shmctl): Do not use CHECK_1_NULL_OK.
26549         (__new_shmctl): Do not use CHECK_1.
26550         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26551         <bp-checks.h>.
26552         (do_sigtimedwait): Do not use CHECK_1.
26553         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26554         <bp-checks.h>.
26555         (do_sigwaitinfo): Do not use CHECK_1.
26556         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26557         <bp-checks.h>.
26558         (msgctl): Do not use CHECK_1.
26559         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26560         <bp-checks.h>.
26561         (shmctl): Do not use CHECK_1.
26562         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26563         (ustat): Do not use CHECK_1.
26564         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26565         <bp-checks.h>.
26566         (__fxstat): Do not use CHECK_1.
26567         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26568         <bp-checks.h>.
26569         (__fxstatat): Do not use CHECK_1.
26570         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26571         <bp-checks.h>.
26572         (__lxstat): Do not use CHECK_1.
26573         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26574         <bp-checks.h>.
26575         (__xstat): Do not use CHECK_1.
26576         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26577         (__xstat): Do not use CHECK_1.
26578         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26579         (___xstat64): Do not use CHECK_1.
26580
26581         [BZ #13550]
26582         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26583         definitions.
26584         (CHECK_BOUNDS_HIGH): Likewise.
26585         * string/strcpy.c: Do not include <bp-checks.h>.
26586         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26587
26588 2013-02-07  Roland McGrath  <roland@hack.frob.com>
26589
26590         * nscd/nscd-client.h (__nscd_drop_map_ref):
26591         Add __attribute__ ((unused)).
26592         * nis/nss-nisplus.h (niserr2nss): Likewise.
26593
26594         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26595         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26596
26597         * csu/libc-tls.c (init_static_tls, init_slotinfo):
26598         Remove inline keyword.
26599         * include/rounding-mode.h (round_away): Likewise.
26600         * libio/wfileops.c (adjust_wide_data): Likewise.
26601         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26602         (__m128i_strloadu_tolower): Likewise.
26603         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26604         (__m128i_strloadu_tolower): Likewise.
26605         * time/mktime.c (ydhms_diff): Likewise.
26606         * locale/elem-hash.h (elem_hash): Likewise.
26607         * locale/setlocale.c (setdata): Likewise.
26608         * posix/regex_internal.h (re_string_char_size_at): Likewise.
26609         (re_string_wchar_at): Likewise.
26610         (bitset_not, bitset_merge, bitset_mask): Likewise.
26611         [!(__GNUC__ > 3)] (inline): Remove macro.
26612         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26613         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26614         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26615         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26616         * string/memcmp.c (memcmp_bytes): Likewise.
26617         * locale/programs/locarchive.c (compute_hashval): Likewise.
26618         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26619         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26620         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26621         * nss/getent.c (print_rpc, print_protocols): Likewise.
26622         (print_passwd, print_group, print_aliases): Likewise.
26623         * nis/nss-nisplus.h (niserr2nss): Likewise.
26624         * nscd/connections.c (restart_p): Likewise.
26625         Change return type to bool.
26626
26627 2013-02-05  Roland McGrath  <roland@hack.frob.com>
26628
26629         * Makeconfig (all-Depend-files): Add existing
26630         $(sorted-subdirs:=/Depend) files.
26631         (all-subdirs): Remove nss.
26632         * sysdeps/unix/inet/Subdirs: Add it here instead.
26633         * hesiod/Depend: New file.
26634
26635         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26636         instead of calling alloca.
26637
26638         * io/lseek.c (__lseek): Rename to __libc_lseek.
26639         Define __lseek as an alias.
26640
26641         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26642
26643 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
26644
26645         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26646         else clause and remove check for non-standard endianness.
26647
26648 2013-02-04  David S. Miller  <davem@davemloft.net>
26649
26650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26651
26652 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
26653
26654         [BZ #13550]
26655         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26656         (__ubp_memchr): Remove prototype.
26657         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26658         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26659         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26660         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26661         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26662         Remove alias.
26663         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26664         (__ubp_memchr): Likewise.
26665         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26666         (__ubp_memchr): Likewise.
26667         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26668         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26669         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26670         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26671         CHECK_STRING.
26672         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26673         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26674         (__getcwd): Do not use CHECK_STRING.
26675         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26676         <bp-checks.h>.
26677         (__real_chown): Do not use CHECK_STRING.
26678         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26679         <bp-checks.h>.
26680         (fchownat): Do not use CHECK_STRING.
26681         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26682         CHECK_STRING.
26683         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26684         <bp-checks.h>.
26685         (__lchown): Do not use CHECK_STRING.
26686         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26687         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26688         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26689         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26691         include <bp-checks.h>.
26692         (truncate64): Do not use CHECK_STRING.
26693         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26694         <bp-checks.h>.
26695         (__real_chown): Do not use CHECK_STRING.
26696         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26697         <bp-checks.h>.
26698         (__lchown): Do not use CHECK_STRING.
26699         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26700         <bp-checks.h>.
26701         (__chown): Do not use CHECK_STRING.
26702         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26703         <bp-checks.h>.
26704         (truncate64): Do not use CHECK_STRING.
26705         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26706         Likewise.
26707         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26708         (__xmknod): Do not use CHECK_STRING.
26709         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26710         <bp-checks.h>.
26711         (__xmknodat): Do not use CHECK_STRING.
26712         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26713         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26714
26715 2013-02-04  Andreas Schwab  <schwab@suse.de>
26716
26717         [BZ #14142]
26718         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26719         * include/netdb.h: Likewise for h_errno.
26720         * elf/tst-stackguard1.c: Include <tls.h>.
26721
26722 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
26723
26724         * elf/link.h (struct link_map): Extend the l_addr comment.
26725         * include/link.h (struct link_map): Likewise.
26726
26727 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
26728
26729         [BZ #13550]
26730         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26731         (BOUNDED_1): Remove macro.
26732         * debug/backtrace.c: Don't include <bp-checks.h>.
26733         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26734         (__backtrace): Likewise.
26735         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26736         <bp-checks.h>.
26737         (__backtrace): Don't use BOUNDED_1.
26738         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26739         <bp-checks.h>.
26740         (__backtrace): Don't use BOUNDED_1.
26741         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26742         (__backtrace): Don't use BOUNDED_1.
26743         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26744         (shmat): Don't use BOUNDED_N.
26745
26746 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
26747
26748         [BZ #13550]
26749         * sysdeps/generic/bp-start.h: Remove file.
26750         * csu/libc-start.c: Don't include <bp-start.h>.
26751         (LIBC_START_MAIN): Set up __environ directly instead of using
26752         INIT_ARGV_and_ENVIRON.
26753         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26754         <bp-start.h>.
26755
26756         [BZ #13550]
26757         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26758         definitions.
26759         (CHECK_FCNTL): Likewise.
26760         (CHECK_N_PAGES): Likewise.
26761
26762         [BZ #13550]
26763         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26764         definitions.
26765         (CHECK_SIGSET_NULL_OK): Likewise.
26766         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26767         <bp-checks.h>.
26768         (sigpending): Don't use CHECK_SIGSET.
26769         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26770         <bp-checks.h>.
26771         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26772         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26773         <bp-checks.h>.
26774         (do_sigsuspend): Don't use CHECK_SIGSET.
26775         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26776         use CHECK_SIGSET.
26777         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26778         (do_sigwait): Don't use CHECK_SIGSET.
26779         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26780         use CHECK_SIGSET.
26781         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26782         include <bp-checks.h>.
26783         (sigpending): Don't use CHECK_SIGSET.
26784         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26785         include <bp-checks.h>.
26786         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26787         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26788         <bp-checks.h>.
26789         (sigpending): Don't use CHECK_SIGSET.
26790         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26791         <bp-checks.h>.
26792         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26793
26794         [BZ #13550]
26795         * sysdeps/generic/bp-semctl.h: Remove file.
26796         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26797         <bp-checks.h> and <bp-semctl.h>.
26798         (__old_semctl): Don't use CHECK_SEMCTL.
26799         (__new_semctl): Likewise.
26800         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26801         and <bp-semctl.h>.
26802         (__old_semctl): Don't use CHECK_SEMCTL.
26803         (__new_semctl): Likewise.
26804         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26805         <bp-checks.h> and <bp-semctl.h>.
26806         (__old_semctl): Don't use CHECK_SEMCTL.
26807         (__new_semctl): Likewise.
26808         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26809         <bp-checks.h> and <bp-semctl.h>.
26810         (semctl): Don't use CHECK_SEMCTL.
26811
26812         [BZ #13550]
26813         * Makerules (elide-bp-thunks): Remove variable.
26814         (elide-routines.oS): Don't use $(elide-bp-thunks).
26815         (elide-routines.os): Likewise.
26816         (elide-routines.o): Likewise.
26817         (elide-routines.op): Likewise.
26818         (elide-routines.og): Likewise.
26819         (objects): Don't use $(bp-thunks).
26820         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26821         include.
26822         (common-generated): Do not add s-proto-bp.d.
26823         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26824         (int): Likewise.
26825         (typ): Likewise.
26826         Do not generate makefile rules for bounded-pointer thunks.
26827         * sysdeps/generic/bp-thunks.h: Remove file.
26828         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26829         * sysdeps/unix/s-proto-bp.S: Likewise.
26830
26831         [BZ #15062]
26832         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26833         parts of result separately when argument is not close to line from
26834         -i to i and one part of argument is small.
26835         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26836         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26837         * math/libm-test.inc (cacos_test): Add more tests.
26838         (casin_test): Likewise.
26839         (casinh_test): Likewise.
26840         * sysdeps/i386/fpu/libm-test-ulps: Update.
26841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26842
26843 2013-01-31  David S. Miller  <davem@davemloft.net>
26844
26845         * po/de.po: Update from translation team.
26846
26847 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
26848
26849         * time/tzfile.c: Include stdint.h for SIZE_MAX.
26850
26851 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
26852
26853         * configure.in (_AC_PROG_CC_C89): New definition.
26854         * configure: Regenerate.
26855
26856         * configure.in (AC_PROG_CPP): New definition.
26857         * configure: Regenerate.
26858
26859 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26860
26861         * debug/tst-backtrace.h: New file.
26862         * debug/tst-backtrace2.c: Include tst-backtrace.h.
26863         (ret): Remove variable.
26864         (x): Likewise.
26865         (FAIL): Remove macro.
26866         (NO_INLINE): Likewise.
26867         (fn1): Use match function instead of strstr.
26868         * debug/tst-backtrace3.c: Include tst-backtrace.h.
26869         (ret): Remove variable.
26870         (x): Likewise.
26871         (FAIL): Remove macro.
26872         (NO_INLINE): Likewise.
26873         (fn): Use match function instead of strstr.
26874         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26875         (ret): Remove variable.
26876         (x): Likewise.
26877         (FAIL): Remove macro.
26878         (NO_INLINE): Likewise.
26879         (handle_signal): Use match function instead of strstr.
26880         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26881         (ret): Remove variable.
26882         (x): Likewise.
26883         (FAIL): Remove macro.
26884         (NO_INLINE): Likewise.
26885         (handle_signal): Use match function instead of strstr.
26886
26887 2013-01-23  Roland McGrath  <roland@hack.frob.com>
26888
26889         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26890
26891 2013-01-23  David S. Miller  <davem@davemloft.net>
26892
26893         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26894         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26895         argument of CAS if possible.
26896         * sysdeps/sparc/sparc64/bits/atomic.h
26897         (__arch_compare_and_exchange_val_32_acq): Likewise.
26898         (__arch_compare_and_exchange_val_64_acq): Likewise.
26899
26900 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26901
26902         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26903         * sysdeps/posix/ulimit.c: ... this.
26904         Include <limits.h>.
26905         * sysdeps/unix/bsd/ulimit.c: Remove file.
26906
26907 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26908
26909         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26910         (LDFLAGS-tst-array5): Likewise.
26911
26912 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26913
26914         [BZ #15036]
26915         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26916         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26917         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26918         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26919
26920 2013-01-21  David S. Miller  <davem@davemloft.net>
26921
26922         * sysdeps/sparc/backtrace.c: New file.
26923         * sysdeps/sparc/sparc32/backtrace.h: New file.
26924         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26925         * sysdeps/sparc/sparc64/backtrace.h: New file.
26926         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26927         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26928         -funwind-tables.
26929
26930 2013-01-21  Andreas Schwab  <schwab@suse.de>
26931
26932         [BZ #15020]
26933         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26934         closed its stdout.
26935
26936 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26937
26938         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26939         "mpa2.h".
26940         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26941
26942 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26943             Mark Mitchell  <mark@codesourcery.com>
26944             Tom de Vries  <tom@codesourcery.com>
26945             Paul Pluzhnikov  <ppluzhnikov@google.com>
26946
26947         * debug/tst-backtrace2.c: New file.
26948         * debug/tst-backtrace3.c: Likewise.
26949         * debug/tst-backtrace4.c: Likewise.
26950         * debug/tst-backtrace5.c: Likewise.
26951         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26952         (CFLAGS-tst-backtrace3.c): Likewise.
26953         (CFLAGS-tst-backtrace4.c): Likewise.
26954         (CFLAGS-tst-backtrace5.c): Likewise.
26955         (LDFLAGS-tst-backtrace2): Likewise.
26956         (LDFLAGS-tst-backtrace3): Likewise.
26957         (LDFLAGS-tst-backtrace4): Likewise.
26958         (LDFLAGS-tst-backtrace5): Likewise.
26959         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26960         tst-backtrace4 and tst-backtrace5.
26961
26962 2013-01-18  Anton Blanchard  <anton@samba.org>
26963             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26964
26965         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26966         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26967         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26968         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26970         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26971         "+r" and remove output regs list as redundant.  Add explicit inline
26972         asm to specify register of return val to work around compiler codegen
26973         bug.  Remove (int) cast on return value.  Add return type parameter to
26974         use in macro so that this macro does not truncate return value for
26975         64-bit values.
26976         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26977         pass to INTERNAL_VSYSCALL_NCS.
26978         (INLINE_VSYSCALL): Add 'long int' as return type to
26979         INTERNAL_VSYSCALL_NCS macro invocation.
26980         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26981         INTERNAL_VSYSCALL_NCS macro invocation.
26982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26983
26984 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26985
26986         [BZ #14496]
26987         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26988         Fix application of SIMD FP exception mask.
26989
26990         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26991         mp_no from a power of two.
26992         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26993         __mpexp_twomm1.  Use __pow_mp.
26994
26995         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26996         multiplication.
26997
26998 2013-01-17  David S. Miller  <davem@davemloft.net>
26999
27000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27001
27002 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27003
27004         [BZ #15023]
27005         * include/complex.h: Condition contents on [!_COMPLEX_H].
27006         (__kernel_casinhf): New prototype.
27007         (__kernel_casinh): Likewise.
27008         (__kernel_casinhl): Likewise.
27009         * math/Makefile (libm_calls): Add k_casinh.
27010         * math/k_casinh.c: New file.
27011         * math/k_casinhf.c: Likewise.
27012         * math/k_casinhl.c: Likewise.
27013         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27014         finite nonzero arguments.
27015         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27016         finite nonzero arguments.
27017         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27018         finite nonzero arguments.
27019         * math/s_casinh.c: Do not include <float.h>.
27020         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27021         * math/s_casinhf.c: Do not include <float.h>.
27022         (__casinhf): Move code for finite nonzero arguments to
27023         k_casinhf.c.
27024         * math/s_casinhl.c: Do not include <float.h>.
27025         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27026         redefine.
27027         (__casinhl): Move code for finite nonzero arguments to
27028         k_casinhl.c.
27029         * math/libm-test.inc (cacos_test): Add more tests.
27030         * sysdeps/i386/fpu/libm-test-ulps: Update.
27031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27032
27033 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
27034
27035         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27036         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27037         [!HAVE_MREMAP]: Remove [defined linux] case.
27038         * malloc/arena.c: Do not include <malloc-sysdep.h>.
27039
27040 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27041
27042         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27043
27044 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
27045
27046         * elf/elf.h (R_386_SIZE32): New relocation.
27047         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27048         R_386_SIZE32.
27049         (elf_machine_rela): Likewise.
27050         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27051         R_X86_64_SIZE64 and R_X86_64_SIZE32.
27052
27053 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27054
27055         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27056         (FP_FAST_FMA): Do not define.
27057         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27058         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27059         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27060         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27061         !_SOFT_FLOAT]: Likewise.
27062         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27063         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27064         value.
27065         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27066         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27067         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27068         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27069         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27070         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27071         file.
27072
27073 2013-01-16  Andreas Schwab  <schwab@suse.de>
27074
27075         [BZ #14327]
27076         * include/stdlib.h (__mktemp): Add declaration.
27077         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27078         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27079
27080 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27081
27082         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27083         definitions.
27084         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27085         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27086         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27087         definitions here.
27088         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27089         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27090         definitions.
27091         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27092         and ONE.
27093         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27094         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27095         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27096         definitions.
27097         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27098         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27099         definitions.
27100         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27101
27102         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27103
27104 2013-01-15  David S. Miller  <davem@davemloft.net>
27105
27106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27107         trunc{,f} to libm-sysdep_routes.
27108         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27110         file.
27111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27113         file.
27114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27115         file.
27116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27118         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27119         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27120         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27121         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27122         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27123         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27124
27125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27126         nearbyint{,f} to libm-sysdep_routes.
27127         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27129         New file.
27130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27131         file.
27132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27133         New file.
27134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27135         file.
27136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27138         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27139         file.
27140         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27141         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27142         file.
27143         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27144         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27145         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27146
27147         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27148         libc_feholdexcept and libc_fesetenv.
27149
27150 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
27151
27152         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27153
27154 2013-01-14  David S. Miller  <davem@davemloft.net>
27155
27156         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27157         (SPARC_ASM_VIS2_IFUNC): Likewise.
27158         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27160         use of 'siam' instruction.
27161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27162         Likewise.
27163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27164         Likewise.
27165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27166         Likewise.
27167         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27168         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27169         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27170         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27172         file.
27173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27174         file.
27175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27176         file.
27177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27178         file.
27179         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27180         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27184         new VIS2 routines.
27185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27188         Likewise.
27189         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27190         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27194         routines to libm-sysdep_routines.
27195         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27196
27197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27198         fdim/fdimf to libm-sysdep_routines.
27199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27200         file.
27201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27203         file.
27204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27207         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27208         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27209         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27210         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27211
27212 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27213
27214         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27215         to optimize copies.
27216
27217         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27220
27221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27222         local variable MPTWO.
27223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27224         Likewise.
27225
27226 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27227
27228         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27229         GLOB_NOESCAPE.
27230
27231 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27232
27233         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27234
27235 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27236
27237         * manual/pattern.texi (glob_t): Document gl_flags.
27238         (glob64_t): Likewise.
27239
27240 2013-01-11  David S. Miller  <davem@davemloft.net>
27241
27242         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27243         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27244         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
27245         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27246         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27247         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27248         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27249         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27250         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27251         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27252         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27253         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27254         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27255
27256         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27257         sparc V9 rather than using V8 code.
27258         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27259         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27260
27261         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27262         Move to...
27263         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27264         Here.
27265
27266 2013-01-11  Roland McGrath  <roland@hack.frob.com>
27267
27268         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27269         not in the main loop.
27270         * configure: Regenerated.
27271
27272 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
27273
27274         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27275         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27276         to just #else.
27277         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
27278         [!__GLIBC_HAVE_LONG_LONG] case.
27279         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27280         condition to just #else.
27281         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27282         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27283         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27284         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27285         unconditional.
27286         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27287         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27288         #elif condition to just #else.
27289         * sysdeps/unix/sysv/linux/sys/sysmacros.h
27290         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27291         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27292         #elif condition to just #else.
27293
27294 2013-01-11  Steve Ellcey  <sellcey@mips.com>
27295
27296         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27297         (EF_MIPS_ARCH_64): Fix value.
27298         (EF_MIPS_ARCH_32R2): New.
27299         (EF_MIPS_ARCH_64R2): New.
27300
27301 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
27302
27303         * Makeconfig (+link-pie-before-libc): New.
27304         (+link-pie-after-libc): Likewise.
27305         (+link-pie-tests): Likewise.
27306         (+link-pie): Rewritten.
27307         (link-before-libc): Remove $(config-LDFLAGS).
27308         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27309         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27310         (config-LDFLAGS): Renamed to ...
27311         (rtld-LDFLAGS): This.
27312         (rtld-tests-LDFLAGS): New macro.
27313         (link-libc-rpath-link): Likewise.
27314         (link-libc-tests-rpath-link): Likewise.
27315         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27316         (link-libc): Prepand $(link-libc-rpath-link).
27317         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27318         (test-program-prefix): New macro.
27319         (test-via-rtld-prefix): Likewise.
27320         (test-program-cmd): Likewise.
27321         (host-test-program-cmd): Likewise.
27322         * Makefile ($(common-objpfx)testrun.sh): Replace
27323         $(run-program-prefix) with $(test-program-prefix).
27324         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27325         $(rtld-LDFLAGS).
27326         ($(common-objpfx)shlib.lds): Likewise.
27327         (build-module-helper): Likewise.
27328         ($(common-objpfx)format.lds): Likewise.
27329         * Rules (binaries-pie-tests): New.
27330         (binaries-pie-notests): Likewise.
27331         (binaries-pie): Rewritten.
27332         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27333         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27334         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27335         (make-test-out): Replace $(host-built-program-cmd) with
27336         $(host-test-program-cmd).
27337         * config.make.in (build-hardcoded-path-in-tests): New variable.
27338         * configure.in (--enable-hardcoded-path-in-tests): New configure
27339         option.
27340         (hardcoded_path_in_tests): New AC_SUBST.
27341         * configure: Regenerated.
27342         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27343         $(built-program-cmd) with $(test-program-cmd).
27344         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27345         (test_program_cmd): This.
27346         * elf/Makefile ($(objpfx)order.out): Run test with
27347         $(test-program-prefix).
27348         ($(objpfx)order2.out): Likewise.
27349         ($(objpfx)tst-initorder.out): Likewise.
27350         ($(objpfx)tst-initorder2.out): Likewise.
27351         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27352         $(test-program-cmd).
27353         ($(objpfx)tst-array1-static.out): Likewise.
27354         ($(objpfx)tst-array2.out): Likewise.
27355         ($(objpfx)tst-array3.out): Likewise.
27356         ($(objpfx)tst-array4.out): Likewise.
27357         ($(objpfx)tst-array5.out): Likewise.
27358         ($(objpfx)tst-array5-static.out): Likewise.
27359         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27360         $(test-program-cmd).
27361         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27362         $(run-program-prefix) with $(test-program-prefix).
27363         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27364         (test_program_prefix): This.
27365         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27366         $(run-program-prefix) with $(test-program-prefix).
27367         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27368         (test_program_prefix): This.
27369         * iconvdata/tst-tables.sh: Likewise.
27370         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27371         $(run-program-prefix) with $(test-program-prefix).
27372         ($(objpfx)tst-translit.out): Likewise.
27373         ($(objpfx)tst-gettext2.out): Likewise.
27374         ($(objpfx)tst-gettext4.out): Likewise.
27375         ($(objpfx)tst-gettext6.out): Likewise.
27376         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27377         (test_program_prefix): This.
27378         * intl/tst-gettext2.sh: Likewise.
27379         * intl/tst-gettext4.sh  Likewise.
27380         * intl/tst-gettext6.sh: Likewise.
27381         * intl/tst-translit.sh: Likewise.
27382         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27383         with $(test-program-cmd).
27384         * libio/Makefile ($(objpfx)test-freopen.out): Replace
27385         $(run-program-prefix) with $(test-program-prefix).
27386         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27387         (test_program_prefix): This.
27388         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27389         $(run-program-prefix) with $(test-program-prefix).
27390         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27391         (test_program_prefix): This.
27392         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27393         * posix/Makefile ($(objpfx)globtest.out): Replace
27394         $(run-via-rtld-prefix) and $(test-wrapper) with
27395         $(test-program-prefix) and $(test-via-rtld-prefix).
27396         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27397         $(test-program-prefix).
27398         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27399         $(host-test-program-cmd).
27400         (tst-spawn-ARGS): Likewise.
27401         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27402         $(test-program-prefix).
27403         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27404         (test_via_rtld_prefix): This.
27405         (test_wrapper): Renamed to ...
27406         (test_program_prefix): This.
27407         (run_program_prefix): Replaced by test_program_prefix.
27408         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27409         (test_program_prefix): This.
27410         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27411         with $(host-test-program-cmd).
27412         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27413         $(run-program-prefix) with $(test-program-prefix).
27414         ($(objpfx)tst-printf.out): Likewise.
27415         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27416         $(test-program-cmd).
27417         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27418         (test_program_prefix): This.
27419         * stdio-common/tst-unbputc.sh: Likewise.
27420         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27421         $(run-program-prefix) with $(test-program-prefix).
27422         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27423         (test_program_prefix): This.
27424         * string/Makefile ($(objpfx)tst-svc.out):  Replace
27425         $(built-program-cmd) with $(test-program-cmd).
27426
27427 2013-01-11  Andreas Jaeger  <aj@suse.de>
27428
27429         [BZ #15003]
27430         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27431         value. Sync with Linux 3.7.
27432
27433 2013-01-10  David S. Miller  <davem@davemloft.net>
27434
27435         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27436         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27437         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27438
27439 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27440
27441         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27442         never set.
27443         * configure: Regenerated.
27444
27445 2013-01-10  David S. Miller  <davem@davemloft.net>
27446
27447         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27448         sparc V9 rather than using V8 code.
27449         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27450         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27451
27452 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27453
27454         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27455         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27456         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27457         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27458         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27459         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27460         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27461         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27462         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27463         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27464         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27465         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27466         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27467         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27468         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27469         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27470         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27471         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27472         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27473         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27474         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27475         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27476         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27477         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27478         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27479         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27480         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27481
27482 2013-01-10  David S. Miller  <davem@davemloft.net>
27483
27484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27485
27486 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27487
27488         * posix/Makefile (tests-static): New variable.
27489         (tests): Add $(tests-static).
27490         (tst-exec-static-ARGS): New variable.
27491         (tst-spawn-static-ARGS): Likewise.
27492         * posix/tst-exec-static.c: New file.
27493         * posix/tst-spawn-static.c: Likewise.
27494         * posix/tst-exec.c: Support run directly.
27495         * posix/tst-spawn.c: Likewise.
27496
27497 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
27498
27499         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27500         long.
27501         * math/bits/mathcalls.h (llrint): Likewise.
27502         (llround): Likewise.
27503         * stdlib/stdlib.h (struct drand48_data): Likewise.
27504         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27505         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27506         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27507         Likewise.
27508         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27509         Likewise.
27510         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27511         (elf_greg_t): Likewise.
27512         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27513         (__jmp_buf): Likewise.
27514         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27515         definitions.
27516         (llrint): Likewise, for all definitions.
27517         (llrintl): Likewise.
27518
27519         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27520         Remove [__GNUC__] condition.
27521         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27522         condition to just [__USE_ISOC99].
27523         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27524
27525 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27526
27527         [BZ #14200]
27528         * sysdeps/unix/sysv/linux/x86/bits/environments.h
27529         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27530         defined.
27531         (_POSIX_V6_ILP32_OFF32): Likewise.
27532         (_XBS5_ILP32_OFF32): Likewise.
27533         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27534         (__ILP32_OFFBIG_LDFLAGS): Likewise.
27535
27536 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27537
27538         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27539
27540         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27541         doubles __mpexp_twomm1.  Adjust usage.
27542         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27543         Remove.
27544
27545 2013-01-10  Andreas Schwab  <schwab@suse.de>
27546
27547         [BZ #14964]
27548         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27549         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27550
27551 2013-01-09  David S. Miller  <davem@davemloft.net>
27552
27553         [BZ #15003]
27554         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27555         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27556         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27557         (TCP_FASTOPEN): Define.
27558         (tcp_repair_opt): New structure.
27559         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27560         enum values.
27561         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27562         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27563         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27564         (tcp_cookie_transactions): New structure.
27565
27566 2013-01-09  Anton Blanchard  <anton@samba.org>
27567
27568         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27569         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27570         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27571         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27572
27573 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
27574
27575         * include/features.h (__USE_ANSI): Remove.
27576
27577 2013-01-09  Roland McGrath  <roland@hack.frob.com>
27578
27579         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27580
27581         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27582
27583 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27584
27585         * sysdeps/s390/fpu/libm-test-ulps: Update.
27586
27587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27588
27589         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27590         (__acr): Likewise.
27591         (__cpy): Likewise.
27592         (norm): Likewise.
27593         (denorm): Likewise.
27594         (__mp_dbl): Likewise.
27595         (__dbl_mp): Likewise.
27596         (add_magnitudes): Likewise.
27597         (sub_magnitudes): Likewise.
27598         (__add): Likewise.
27599         (__sub): Likewise.
27600         (__mul): Likewise.
27601         (__inv): Likewise.
27602         (__dvd): Likewise.
27603         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27604         (__acr): Likewise.
27605         (__cpy): Likewise.
27606         (norm): Likewise.
27607         (denorm): Likewise.
27608         (__mp_dbl): Likewise.
27609         (__dbl_mp): Likewise.
27610         (add_magnitudes): Likewise.
27611         (sub_magnitudes): Likewise.
27612         (__add): Likewise.
27613         (__sub): Likewise.
27614         (__mul): Likewise.
27615         (__inv): Likewise.
27616         (__dvd): Likewise.
27617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27618         (__acr): Likewise.
27619         (__cpy): Likewise.
27620         (norm): Likewise.
27621         (denorm): Likewise.
27622         (__mp_dbl): Likewise.
27623         (__dbl_mp): Likewise.
27624         (add_magnitudes): Likewise.
27625         (sub_magnitudes): Likewise.
27626         (__add): Likewise.
27627         (__sub): Likewise.
27628         (__mul): Likewise.
27629         (__inv): Likewise.
27630         (__dvd): Likewise.
27631
27632 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
27633
27634         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27635         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27636         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27637         2 && __USE_EXTERN_INLINES]: Likewise.
27638
27639 2013-01-08  Andreas Jaeger  <aj@suse.de>
27640
27641         [BZ# 14985]
27642         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27643         Remove.
27644         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27645         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27646
27647 2013-01-07  Anton Blanchard  <anton@samba.org>
27648
27649         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27650         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27651         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27652         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27653         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27654         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27655         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27656         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27658         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27659         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27660         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27661         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27662         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27663         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27664         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27665         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27666         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27667         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27668         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27669         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27670         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27671         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27672         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27673         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27674         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27675         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27676         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27677         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27678         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27679         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27681         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27682         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27683         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27684         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27685         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27686         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27687         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27688         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27689         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27690         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27691         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27692
27693 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
27694
27695         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27696         (__MALLOC_PMT): Likewise.
27697         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27698         [__GNUC__], only on [_LIBC].
27699         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27700         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27701         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27702         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27703         forward declaration.
27704         (realloc_hook_ini): Likewise.
27705         (memalign_hook_ini): Likewise.
27706         (__libc_memalign): Do not use __MALLOC_PMT in variable
27707         declaration.
27708         (__libc_valloc): Likewise.
27709         (__libc_pvalloc): Likewise.
27710         (__libc_calloc): Likewise.
27711         (__posix_memalign): Likewise.
27712
27713         [BZ #14996]
27714         * math/s_casinh.c: Include <float.h>.
27715         (__casinh): Do not do computation with squaring and square root
27716         for large arguments.
27717         * math/s_casinhf.c: Include <float.h>.
27718         (__casinhf): Do not do computation with squaring and square root
27719         for large arguments.
27720         * math/s_casinhl.c: Include <float.h>.
27721         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27722         (__casinhl): Do not do computation with squaring and square root
27723         for large arguments.
27724         * math/libm-test.inc (casin_test): Add more tests.
27725         (casinh_test): Likewise.
27726         * sysdeps/i386/fpu/libm-test-ulps: Update.
27727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27728
27729 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
27730
27731         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27732         (__x86_64_raw_data_cache_size): Likewise.
27733         (__x86_64_data_cache_size_half): Likewise.
27734         (__x86_64_raw_data_cache_size_half): Likewise.
27735         (__x86_64_shared_cache_size): Likewise.
27736         (__x86_64_raw_shared_cache_size): Likewise.
27737         (__x86_64_shared_cache_size_half): Likewise.
27738         (__x86_64_raw_shared_cache_size_half): Likewise.
27739         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27740         to ...
27741         (__x86_data_cache_size): This.
27742         (__x86_64_raw_data_cache_size): Renamed to ...
27743         (__x86_raw_data_cache_size): This.
27744         (__x86_64_data_cache_size_half): Renamed to ...
27745         (__x86_data_cache_size_half): This.
27746         (__x86_64_raw_data_cache_size_half): Renamed to ...
27747         (__x86_raw_data_cache_size_half): This.
27748         (__x86_64_shared_cache_size): Renamed to ...
27749         (__x86_shared_cache_size): This.
27750         (__x86_64_raw_shared_cache_size): Renamed to ...
27751         (__x86_raw_shared_cache_size): This.
27752         (__x86_64_shared_cache_size_half): Renamed to ...
27753         (__x86_shared_cache_size_half): This.
27754         (__x86_64_raw_shared_cache_size_half): Renamed to ...
27755         (__x86_raw_shared_cache_size_half): This.
27756         * sysdeps/x86_64/memcpy.S: Updated.
27757         * sysdeps/x86_64/memset.S: Likewise.
27758         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27759         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27760         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27761
27762 2013-01-04  David S. Miller  <davem@davemloft.net>
27763
27764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27765
27766 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
27767
27768         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27769         1 to avoid redefinition warning.
27770         (__USE_GNU): Don't define.
27771         (init_signaling_nan): Protoize.
27772
27773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27774
27775 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27776
27777         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27778         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27779         (__cpymn): Likewise.
27780         (norm): Remove commented code.
27781         (denorm): Likewise.
27782         (__mp_dbl): Likewise.
27783         (__inv): Likewise.
27784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27785         (__cpymn): Likewise.
27786         (norm): Remove commented code.
27787         (denorm): Likewise.
27788         (__mp_dbl): Likewise.
27789         (__inv): Likewise.
27790
27791         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27792         mp_no value for 1.0 and 2.0.
27793         (norm): Use RADIXI instead of radixi.d.
27794         (denorm): Likewise.
27795         (__mul): Use 0.0 instead of zero.d.
27796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27797         mp_no value for 1.0 and 2.0.
27798         (norm): Use RADIXI instead of radixi.d.
27799         (denorm): Likewise.
27800         (__mul): Use 0.0 instead of zero.d.
27801
27802 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
27803
27804         [BZ #14994]
27805         * math/s_casinh.c (__casinh): Reduce finite argument to first
27806         quadrant then set signs of results at the end.
27807         * math/s_casinhf.c (__casinhf): Likewise.
27808         * math/s_casinhl.c (__casinhl): Likewise.
27809         * math/libm-test.inc (casin_test): Add more tests.
27810         (casinh_test): Likewise.
27811         * sysdeps/i386/fpu/libm-test-ulps: Update.
27812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27813
27814 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27815
27816         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27817
27818         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27819
27820         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27821         declarations.
27822         (denorm): Likewise.
27823         (__mp_dbl): Likewise.
27824         (__inv): Likewise.
27825
27826         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27827         and adjust the header comment.
27828
27829         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27830         variable name from declaration.
27831
27832 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
27833
27834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27835         Initialize COMMON_CPUID_INDEX_7 element.
27836         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27837         (CPUID_RTM): Likewise.
27838         (HAS_RTM): Likewise.
27839         (COMMON_CPUID_INDEX_7): New enum.
27840
27841 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
27842
27843         [BZ #14981]
27844         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27845         size is zero, record memory as freed.
27846
27847 2013-01-03  Andreas Jaeger  <aj@suse.de>
27848
27849         * po/ia.po: Add new Interlingua translation.
27850
27851 2012-01-03  Allan McRae  <allan@archlinux.org>
27852
27853         * locale/programs/localedef.c: Fix description of '--posix' flag.
27854
27855 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
27856
27857         * NEWS: Update dates in second copyright notice.
27858         * README: Update copyright dates in example.
27859         * manual/libc.texinfo: Update copyright dates.
27860         * scripts/test-installation.pl: Update copyright date in --version
27861         output.
27862
27863         * hurd/ctty-input.c: Fix copyright notice formatting.
27864         * hurd/ctty-output.c: Likewise.
27865         * hurd/dtable.c: Likewise.
27866         * hurd/hurd-raise.c: Likewise.
27867         * hurd/hurdprio.c: Likewise.
27868         * hurd/msgportdemux.c: Likewise.
27869         * misc/sys/file.h: Likewise.
27870         * misc/sys/ioctl.h: Likewise.
27871         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27872         * sysdeps/mach/hurd/chdir.c: Likewise.
27873         * sysdeps/mach/hurd/fchdir.c: Likewise.
27874         * sysdeps/mach/hurd/rename.c: Likewise.
27875         * sysdeps/mach/hurd/rmdir.c: Likewise.
27876         * sysdeps/mach/hurd/seekdir.c: Likewise.
27877         * sysdeps/mach/hurd/setsid.c: Likewise.
27878         * sysdeps/posix/wait3.c: Likewise.
27879
27880         * All files with FSF copyright notices: Update copyright dates
27881         using scripts/update-copyrights.
27882         * intl/plural.c: Regenerated.
27883         * locale/programs/charmap-kw.h: Likewise.
27884         * locale/programs/locfile-kw.h: Likewise.
27885
27886 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27887
27888         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27889         four values.
27890
27891         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27892         calculation loop and add branch prediction.
27893
27894         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27895         check access beyond bounds of m1np.
27896
27897         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27898         MPTWO.
27899         (__inv): Remove local variable MPTWO to use the global
27900         constant.
27901         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27902         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27903         variable MPTWO.
27904         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27905         MP3HALFS static const.
27906
27907 2013-01-01  David S. Miller  <davem@davemloft.net>
27908
27909         * po/ca.po: Update from translation team.
27910
27911 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27912
27913         * scripts/update-copyrights: New file.
27914         * Makeconfig: Reformat copyright notice.
27915         * ctype/ctype.h: Likewise.
27916         * debug/swprintf_chk.c: Likewise.
27917         * elf/dl-cache.c: Likewise.
27918         * elf/dl-debug.c: Likewise.
27919         * elf/dl-object.c: Likewise.
27920         * grp/initgroups.c: Likewise.
27921         * hurd/Makefile: Likewise.
27922         * hurd/hurd/signal.h: Likewise.
27923         * hurd/hurdfault.c: Likewise.
27924         * hurd/hurdioctl.c: Likewise.
27925         * hurd/hurdlookup.c: Likewise.
27926         * hurd/intr-msg.c: Likewise.
27927         * iconv/gconv_open.c: Likewise.
27928         * libio/swprintf.c: Likewise.
27929         * locale/lc-ctype.c: Likewise.
27930         * locale/nl_langinfo.c: Likewise.
27931         * mach/Machrules: Likewise.
27932         * mach/Makefile: Likewise.
27933         * malloc/obstack.h: Likewise.
27934         * manual/Makefile: Likewise.
27935         * manual/tsort.awk: Likewise.
27936         * misc/bits/stab.def: Likewise.
27937         * nis/nis_print_group_entry.c: Likewise.
27938         * nis/nis_table.c: Likewise.
27939         * nis/nss_compat/compat-pwd.c: Likewise.
27940         * nis/nss_compat/compat-spwd.c: Likewise.
27941         * po/Makefile: Likewise.
27942         * posix/fnmatch.c: Likewise.
27943         * posix/regex.h: Likewise.
27944         * resolv/Makefile: Likewise.
27945         * resolv/nss_dns/dns-network.c: Likewise.
27946         * resolv/res_hconf.c: Likewise.
27947         * scripts/gen-sorted.awk: Likewise.
27948         * soft-fp/soft-fp.h: Likewise.
27949         * stdio-common/printf.h: Likewise.
27950         * stdlib/monetary.h: Likewise.
27951         * stdlib/random.c: Likewise.
27952         * stdlib/random_r.c: Likewise.
27953         * sysdeps/generic/Makefile: Likewise.
27954         * sysdeps/gnu/Makefile: Likewise.
27955         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27956         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27957         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27958         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27959         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27960         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27961         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27962         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27963         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27964         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27965         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27966         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27967         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27968         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27969         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27970         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27971         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27972         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27973         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27974         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27975         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27976         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27977         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27978         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27979         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27980         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27981         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27982         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27983         * sysdeps/mach/hurd/errnos.awk: Likewise.
27984         * sysdeps/mach/hurd/fork.c: Likewise.
27985         * sysdeps/mach/hurd/getcwd.c: Likewise.
27986         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27987         * sysdeps/mach/hurd/mmap.c: Likewise.
27988         * sysdeps/mach/hurd/utimes.c: Likewise.
27989         * sysdeps/mach/hurd/xmknod.c: Likewise.
27990         * sysdeps/posix/profil.c: Likewise.
27991         * sysdeps/posix/readdir_r.c: Likewise.
27992         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27993         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27994         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27995         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27996         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27997         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27998         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27999         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28000         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28001         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28002         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28003         * sysdeps/pthread/lio_listio.c: Likewise.
28004         * sysdeps/sparc/dl-procinfo.h: Likewise.
28005         * sysdeps/unix/i386/sysdep.S: Likewise.
28006         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28007         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28008         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28009         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28011         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28012         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28013         * sysdeps/unix/sysv/linux/speed.c: Likewise.
28014         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28015         * sysdeps/wordsize-32/divdi3.c: Likewise.
28016         * time/sys/time.h: Likewise.
28017         * wcsmbs/Makefile: Likewise.
28018
28019 2013-01-01  David S. Miller  <davem@davemloft.net>
28020
28021         * po/fr.po: Update from translation team.
28022
28023         * catgets/gencat.c: Update copyright year.
28024         * csu/version.c: Likewise.
28025         * debug/catchsegv.sh: Likewise.
28026         * debug/pcprofiledump.c: Likewise.
28027         * debug/xtrace.sh: Likewise.
28028         * elf/ldconfig.c: Likewise.
28029         * elf/ldd.bash.in: Likewise.
28030         * elf/pldd.c: Likewise.
28031         * elf/sotruss.ksh: Likewise.
28032         * elf/sprof.c: Likewise.
28033         * iconv/iconv_prog.c: Likewise.
28034         * iconv/iconvconfig.c: Likewise.
28035         * locale/programs/locale.c: Likewise.
28036         * locale/programs/localedef.c: Likewise.
28037         * login/programs/pt_chown.c: Likewise.
28038         * malloc/memusage.sh: Likewise.
28039         * malloc/memusagestat.c: Likewise.
28040         * malloc/mtrace.pl: Likewise.
28041         * nscd/nscd.c: Likewise.
28042         * nss/getent.c: Likewise.
28043         * nss/makedb.c: Likewise.
28044         * posix/getconf.c: Likewise.
28045
28046 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28047
28048         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28049         numbers.
28050
28051 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
28052
28053         * math/bits/mathcalls.h (modf): Use __nonnull.
28054
28055 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28056
28057         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28058         (split): Use macro CN instead of the bare value.
28059         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28060         could be used.
28061         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28062         instead of the bare value.
28063         (power1): Likewise.
28064
28065 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28066
28067         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28068         __ATAN_TWOM.
28069         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28070
28071         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28072         their values.
28073         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28074         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28075         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28076         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28077
28078 2012-12-28  Andreas Jaeger  <aj@suse.de>
28079
28080         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
28081         values are from Linux 3.7.
28082
28083         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28084         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
28085
28086 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28087
28088         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28089         TRUE case.
28090
28091         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28092         (norm): Likewise.
28093         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28094         variables with preprocessor constants.
28095         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28096         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28097         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28098
28099 2012-12-27  Bruno Haible  <bruno@clisp.org>
28100
28101         [BZ #14317]
28102         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28103         only if needed.
28104
28105 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28106
28107         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28108         and use variable directly.
28109         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28110
28111         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28112         MPONE.
28113         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28114         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28115         variable MPONE.
28116         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28117         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28118         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28119         include directive.  Remove local variable MPONE.
28120         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28121         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28122         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28123
28124 2012-12-25  David S. Miller  <davem@davemloft.net>
28125
28126         * version.h (RELEASE): Set to "development".
28127         (VERSION): Set to "2.17.90".
28128         * NEWS: Add 2.18 section.
28129
28130 2012-12-21  David S. Miller  <davem@davemloft.net>
28131
28132         * po/hr.po: Update from translation team.
28133
28134 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28135
28136         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28137
28138 2012-12-19  Steve Ellcey  <sellcey@mips.com>
28139
28140         * NEWS:  Mention new memcpy for MIPS.
28141
28142 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28143
28144         * manual/contrib.texi (Contributors): Spelling correction.
28145
28146 2012-12-15  David S. Miller  <davem@davemloft.net>
28147
28148         * po/ru.po: Update from translation team.
28149
28150 2012-12-13  David S. Miller  <davem@davemloft.net>
28151
28152         * NEWS: Mention IFUNC testsuite enhancements.
28153
28154         * po/pl.po: Update from translation team.
28155         * po/bg.po: Likewise.
28156
28157         * manual/contrib.texi (Contributors): Update entries for Hongjiu
28158         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
28159
28160 2012-12-11  David S. Miller  <davem@davemloft.net>
28161
28162         * po/sv.po: Update from translation team.
28163
28164         * po/vi.po: Update from translation team.
28165
28166         * po/cs.po: Update from translation team.
28167
28168         * po/de.po: Update from translation team.
28169         * po/eo.po: Likewise.
28170         * po/nl.po: Likewise.
28171
28172 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28173
28174         [BZ #14246]
28175         * manual/argp.texi (Argp Helper Functions): Move node to follow
28176         Argp Parsing State.
28177
28178         [BZ #14872]
28179         * manual/conf.texi (Limits on File System Capacity): Mention if
28180         terminating null is included in the max size.
28181
28182 2012-12-10  Andreas Jaeger  <aj@suse.de>
28183
28184         * po/cs.po: Update from translation team.
28185
28186 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28187
28188         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28189         void pointer and cast to uintptr_t.
28190         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28191         path.
28192         * sysdeps/s390/s390-64/memcpy.S: Likewise.
28193         * sysdeps/s390/s390-64/memset.S: Likewise.
28194
28195 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
28196
28197         [BZ #14833]
28198         * menual/message.texi (Message Translation): Fix typos.
28199         (Helper programs for gettext): Likewise.
28200
28201 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
28202
28203         [BZ #14898]
28204         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28205         Change to -1.
28206
28207 2012-12-07  David S. Miller  <davem@davemloft.net>
28208
28209         * po/libc.pot: Update.
28210
28211 2012-12-07  Richard Henderson  <rth@redhat.com>
28212
28213         [BZ #10114]
28214         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28215         normal/normal case to before the switch.
28216         (_FP_DIV): Likewise.
28217
28218 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
28219             Mike Frysinger  <vapier@gentoo.org>
28220
28221         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28222         check for __NR_fadvise64_64.
28223
28224 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
28225
28226         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28227         0, not just to plain "0" as a statement.
28228         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28229         with cw.
28230
28231 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
28232
28233         * NEWS: Use sourceware.org in Bugzilla URL.
28234
28235 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28236
28237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28238         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28239
28240         * stdio-common/tst-put-error.c (do_test): Add newline to the
28241         padded test to ensure flush.
28242
28243 2012-12-05  Jeff Law  <law@redhat.com>
28244
28245         * sunrpc/etc.rpc (fedfs_admin): Add entry.
28246
28247 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
28248
28249         * README: Don't refer to ports add-on as distributed separately.
28250         Mention AArch64 in list of systems supported in the ports add-on.
28251
28252         * LICENSES: Add more non-FSF copyright and license notices.
28253
28254         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28255         ((unused)).
28256
28257         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28258
28259         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28260         10000 as width of padded output.
28261
28262 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28263
28264         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28265
28266         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28267         variable LX with __attribute__ ((unused)).
28268         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28269         Likewise.
28270         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28271         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28272         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28273         with __attribute__ ((unused)).
28274
28275 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
28276
28277         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28278
28279 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28280
28281         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28282         (CFLAGS-nldbl-acos.c): New variable.
28283         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28284         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28285         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28286         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28287         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28288         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28289         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28290         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28291         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28292         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28293         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28294         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28295         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28296         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28297         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28298         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28299         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28300         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28301         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28302         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28303         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28304         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28305         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28306         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28307         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28308         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28309         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28310         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28311         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28312         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28313         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28314         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28315         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28316         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28317         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28318         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28319         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28320         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28321         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28322         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28323         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28324         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28325         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28326         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28327         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28328         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28329         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28330         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28331         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28332         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28333         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28334         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28335         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28336         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28337         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28338         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28339         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28340         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28341         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28342         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28343         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28344         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28345         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28346         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28347         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28348         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28349         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28350         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28351         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28352         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28353         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28354         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28355         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28356         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28357         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28358         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28359         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28360         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28361         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28362         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28363         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28364         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28365         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28366         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28367         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28368         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28369         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28370         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28371         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28372         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28373         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28374         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28375         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28376         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28377         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28378         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28379         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28380
28381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28382         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28383
28384         [BZ #14914]
28385         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28386         whole low double instead of just low 47 bits when splitting values
28387         into two parts.
28388
28389 2012-12-03  Allan McRae  <allan@archlinux.org>
28390
28391         * manual/stdio.texi (Predefined Printf Handlers): Remove
28392         @hsep and @vsep usage.
28393
28394 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
28395
28396         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28397         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28398
28399 2012-12-03  Jeff Law  <law@redhat.com>
28400
28401         * time/sys/time.h (settimeofday): Do not mark TV argument
28402         as __nonnull.
28403
28404 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
28405
28406         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28407         when currently writing and seek to current position when not.
28408         * libio/Makefile (tests): Remove bug-fclose1.
28409         * libio/bug-fclose1.c: Delete.
28410
28411 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
28412
28413         * manual/arith.texi (feenableexcept): Fix typo.
28414         (fedisableexcept): Likewise.
28415
28416 2012-11-30  Roland McGrath  <roland@hack.frob.com>
28417
28418         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28419         second, differently-typed declaration, rather than a cast.
28420
28421 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28422
28423         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28424         * include/rpc/svc.h: ... here.
28425
28426 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
28427
28428         [BZ #13013]
28429         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28430         depending n and resplen2 to catch cases where answer
28431         equals answerp2.
28432
28433 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
28434
28435         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28436         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28437
28438 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
28439
28440         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28441
28442 2012-11-29  Roland McGrath  <roland@hack.frob.com>
28443
28444         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28445
28446 2012-11-28  Jeff Law  <law@redhat.com>
28447
28448         [BZ #13761]
28449         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28450         dataset_temporary.  Track alloca usage into alloca_used.
28451         If dataset is large allocate and release it via malloc/free.
28452
28453 2012-06-04  Florian Weimer  <fweimer@redhat.com>
28454
28455         [BZ #14197]
28456         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28457
28458 2012-11-28  David S. Miller  <davem@davemloft.net>
28459
28460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28461
28462 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28463
28464         [BZ #14803]
28465         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28466         of pi/2 rounded to nearest to 64 bits.
28467         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28468         nearest to 64 bits.
28469         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28470         bits.
28471
28472 2012-11-28  Jeff Law <law@redhat.com>
28473             Martin Osvald <mosvald@redhat.com>
28474
28475         [BZ #14889]
28476         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28477         * sunrpc/svc.c: Include time.h.
28478         (__svc_accept_failed): New function.
28479         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28480         any reason other than EINTR, call __svc_accept_failed.
28481         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28482         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28483
28484 2012-11-28  Andreas Schwab  <schwab@suse.de>
28485
28486         * scripts/abilist.awk: Also handle indirect functions in .opd
28487         section.
28488
28489 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28490
28491         [BZ #13881]
28492         * sysdeps/x86/fpu/powl_helper.c: New file.
28493         * sysdeps/x86/fpu/Makefile: Likewise.
28494         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28495         (p3): New object.
28496         (__ieee754_powl): Use __powl_helper for finite arguments except
28497         integer exponents below 8.
28498         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28499         (p3): New object.
28500         (__ieee754_powl): Use __powl_helper for finite arguments except
28501         integer exponents below 8.
28502         * math/libm-test.inc (pow_test): Add more tests and enable some
28503         previously disabled tests.
28504         * sysdeps/i386/fpu/libm-test-ulps: Update.
28505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28506
28507 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28508             Carlos O'Donell  <carlos_odonell@mentor.com>
28509
28510         * nss/makedb.c (is_prime): Assert that input is odd and greater
28511         than 4.  Note that fact in a comment too.
28512         (next_prime): Add 4 to input.
28513
28514 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28515
28516         [BZ #11741]
28517         * libio/Makefile (tests): Add test case tst-fwrite-error.
28518         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28519         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28520         * libio/tst-fwrite-error.c: New test case.
28521
28522 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
28523
28524         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28525         before casting to void *.
28526         * include/libc-internal.h (__pointer_type): New macro.
28527         (__integer_if_pointer_type_sub): Likewise.
28528         (__integer_if_pointer_type): Likewise.
28529         (cast_to_integer): Likewise.
28530         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28531         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28532         before casting to atomic64_t.
28533         (atomic_exchange_acq): Likewise.
28534         (__arch_exchange_and_add_body): Likewise.
28535         (__arch_add_body): Likewise.
28536         (atomic_add_negative): Likewise.
28537         (atomic_add_zero): Likewise.
28538
28539 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
28540
28541         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28542         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28543         (add_fdes): Likewise.
28544         (linear_search_fdes): Likewise.
28545         (binary_search_unencoded_fdes): Likewise.
28546
28547 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
28548
28549         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28550
28551 2012-11-24  Adam Conrad  <adconrad@0c3.net>
28552
28553         * configure.in: Autodetect C++ header directories.
28554         * configure: Regenerated.
28555
28556 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
28557
28558         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28559
28560 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
28561
28562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28563
28564 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
28565
28566         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28567         LDBL_MANT_DIG == 106]: Disable some tests.
28568         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28569         Likewise.
28570         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28571         Likewise.
28572
28573         [BZ #14871]
28574         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28575         input for small inputs.  Return +/- pi/2 for large inputs.
28576         * math/libm-test.inc (atan_test): Add more tests.
28577
28578         * sysdeps/generic/unwind-dw2-fde-glibc.c
28579         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28580         __attribute__ ((unused)).
28581
28582         [BZ #14645]
28583         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28584         x * y if x and y are nonzero and z is zero.
28585
28586         [BZ #14811]
28587         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28588         nonzero exponents with absolute value below 0x1p-117 to +/-
28589         0x1p-117.
28590
28591         [BZ #14869]
28592         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28593         up arguments below 2**-450, not just those below 2**-500.
28594         * math/libm-test.inc (hypot_test): Add another test.
28595
28596         [BZ #14868]
28597         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28598         Return a+b for ratio over 2**120, not 2**60.
28599         * math/libm-test.inc (hypot_test): Add another test.
28600
28601         * math/libm-test.inc (clog_test): Use
28602         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28603         (clog10_test): Likewise.
28604
28605         [BZ #6778]
28606         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28607
28608 2012-11-22  Andreas Schwab  <schwab@suse.de>
28609
28610         * sysdeps/i386/fpu/libm-test-ulps: Update.
28611
28612 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
28613
28614         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28615         printf output with newline.
28616
28617 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
28618
28619         [BZ #14865]
28620         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28621         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28622         -z nodlopen, -z initfirst and -z execstack support.
28623         * configure: Regenerated.
28624
28625         * elf/elf.h (DF_1_NODIRECT): New macro.
28626         (DF_1_IGNMULDEF): Likewise.
28627         (DF_1_NOKSYMS): Likewise.
28628         (DF_1_NOHDR): Likewise.
28629         (DF_1_EDITED): Likewise.
28630         (DF_1_NORELOC): Likewise.
28631         (DF_1_SYMINTPOSE): Likewise.
28632         (DF_1_GLOBAUDIT): Likewise.
28633         (DF_1_SINGLETON): Likewise.
28634         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28635         DT_1_SUPPORTED_MASK bits.
28636         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28637
28638 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
28639
28640         * sysdeps/unix/make-syscalls.sh: Document prefixes.
28641
28642 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
28643
28644         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28645         macro.
28646
28647         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28648         (sendmmsg): Move declarations...
28649         * socket/sys/socket.h: ... here.
28650         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28651         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28652         include it from...
28653         * socket/recvmmsg.c: ... this new file.
28654         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28655         (sendmmsg): Rename to __sendmmsg, create weak alias and make
28656         definition of __sendmmsg hidden.
28657         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28658         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28659         Move ENOSYS stub into and include it from...
28660         * socket/sendmmsg.c: ... this new file.
28661         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28662         (sysdep_routines): Move recvmmsg and sendmmsg...
28663         * socket/Makefile (routines): ... here.
28664         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28665         (GLIBC_PRIVATE): Add __sendmmsg.
28666         * include/sys/socket.h (__sendmmsg): Add declarations.
28667         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28668         sendmmsg.
28669
28670 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
28671
28672         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28673         variable I1 with __attribute__ ((unused)).
28674         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28675
28676 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28677
28678         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28679         DUMMY variables with __attribute__ ((unused)).
28680
28681         * bits/byteswap.h: Include <bits/types.h>.
28682         (__bswap_64): Use __uint64_t instead of unsigned long long int.
28683
28684 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28685
28686         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28687         string_t.  Do not manually set errno.
28688         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28689         length with __strnlen.  Make sure to both set errno and return it on
28690         failure.
28691
28692 2012-11-19  David S. Miller  <davem@davemloft.net>
28693
28694         With help from Joseph Myers.
28695         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28696         very large arguments properly.
28697         * math/libm-test.inc (atan_test): New tests.
28698         (atan2_test): New tests.
28699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28700         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28701
28702 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28703
28704         [BZ #14856]
28705         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28706         Define to 3.
28707
28708         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28709         [POSIX] (EADDRNOTAVAIL): Likewise.
28710         [POSIX] (EAFNOSUPPORT): Likewise.
28711         [POSIX] (EALREADY): Likewise.
28712         [POSIX] (ECONNABORTED): Likewise.
28713         [POSIX] (ECONNREFUSED): Likewise.
28714         [POSIX] (ECONNRESET): Likewise.
28715         [POSIX] (EDESTADDRREQ): Likewise.
28716         [POSIX] (EDQUOT): Likewise.
28717         [POSIX] (EHOSTUNREACH): Likewise.
28718         [POSIX] (EIDRM): Likewise.
28719         [POSIX] (EISCONN): Likewise.
28720         [POSIX] (ELOOP): Likewise.
28721         [POSIX] (EMULTIHOP): Likewise.
28722         [POSIX] (ENETDOWN): Likewise.
28723         [POSIX] (ENETUNREACH): Likewise.
28724         [POSIX] (ENOBUFS): Likewise.
28725         [POSIX] (ENODATA): Likewise.
28726         [POSIX] (ENOLINK): Likewise.
28727         [POSIX] (ENOMSG): Likewise.
28728         [POSIX] (ENOPROTOOPT): Likewise.
28729         [POSIX] (ENOSR): Likewise.
28730         [POSIX] (ENOSTR): Likewise.
28731         [POSIX] (ENOTCONN): Likewise.
28732         [POSIX] (ENOTSOCK): Likewise.
28733         [POSIX] (EOPNOTSUPP): Likewise.
28734         [POSIX] (EOVERFLOW): Likewise.
28735         [POSIX] (EPROTO): Likewise.
28736         [POSIX] (EPROTONOSUPPORT): Likewise.
28737         [POSIX] (EPROTOTYPE): Likewise.
28738         [POSIX] (ESTALE): Likewise.
28739         [POSIX] (ETIME): Likewise.
28740         [POSIX] (ETXTBSY): Likewise.
28741         [POSIX] (EWOULDBLOCK): Likewise.
28742         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28743         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28744         [POSIX] (SEEK_CUR): Likewise.
28745         [POSIX] (SEEK_END): Likewise.
28746         [POSIX || UNIX98] (mode_t): Do not require.
28747         [POSIX] (off_t): Likewise.
28748         [POSIX] (pid_t): Likewise.
28749         [POSIX] (sys/stat.h): Do not allow header.
28750         [POSIX] (unistd.h): Likewise.
28751         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28752         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28753         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28754         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28755         require.
28756         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28757         sigevent): Specify elements.
28758         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28759         entry.
28760         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28761         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28762
28763         * conform/data/cpio.h-data [POSIX]: Disable whole file.
28764         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28765         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28766         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28767         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28768         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28769         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28770         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28771         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28772         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28773         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28774         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28775         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28776         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28777         Likewise.
28778         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28779         Likewise.
28780         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28781         Likewise.
28782         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28783         Likewise.
28784         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28785         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28786         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28787         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28788         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28789         Specify lower bound on value.
28790         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28791         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28792         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28793         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28794         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28795         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28796         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28797         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28798         value.
28799         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28800         as optional.
28801         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28802         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28803         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28804         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28805         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28806         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28807         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28808         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28809         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28810         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28811         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28812         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28813         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28814         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28815         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28816         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28817         entry.
28818         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28819         optional.
28820         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28821         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28822         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28823         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28824         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28825         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28826         Likewise.
28827         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28828         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28829         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28830         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28831         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
28832         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28833         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28834         as optional.
28835         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28836         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28837         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28838         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28839         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28840         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28841         specify as optional.
28842         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28843         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28844         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28845         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28846         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28847         [XPG3] (NL_LANGMAX): Likewise.
28848         [POSIX || XPG3] (NL_MSGMAX): Likewise.
28849         [POSIX || XPG3] (NL_NMAX): Likewise.
28850         [POSIX || XPG3] (NL_SETMAX): Likewise.
28851         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28852         [XPG3] (NZERO): Likewise.
28853         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28854         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28855         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28856         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28857         (REG_ERANGE): Expect.
28858         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28859         optional-constant.
28860         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28861         Use (void) in prototype.
28862         [POSIX] (*_t): Allow.
28863         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28864         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28865         (WRDE_BADVAL): Expect.
28866
28867         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28868         expect.
28869         [XPG3 || XPG4] (O_RSYNC): Likewise.
28870         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28871         Likewise.
28872         [XPG3 || XPG4] (pthread_sigmask): Likewise.
28873         [XPG3 || XPG4] (sigqueue): Likewise.
28874         [XPG3 || XPG4] (sigtimedwait): Likewise.
28875         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28876         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28877         [XPG3 || XPG4] (vsnprintf): Likewise.
28878         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28879         Likewise.
28880         [XPG3 || XPG4] (blksize_t): Likewise.
28881         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28882         Likewise.
28883         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28884         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28885         [XPG3 || XPG4] (struct itimerspec): Likewise.
28886         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28887         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28888         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28889         [XPG3 || XPG4] (clockid_t): Likewise.
28890         [XPG3 || XPG4] (timer_t): Likewise.
28891         [XPG3 || XPG4] (clock_getres): Likewise.
28892         [XPG3 || XPG4] (clock_gettime): Likewise.
28893         [XPG3 || XPG4] (clock_settime): Likewise.
28894         [XPG3 || XPG4] (nanosleep): Likewise.
28895         [XPG3 || XPG4] (timer_create): Likewise.
28896         [XPG3 || XPG4] (timer_delete): Likewise.
28897         [XPG3 || XPG4] (timer_gettime): Likewise.
28898         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28899         [XPG3 || XPG4] (timer_settime): Likewise.
28900         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28901         [XPG3 || XPG4] (getlogin_r): Likewise.
28902         [XPG3 || XPG4] (pread): Likewise.
28903         [XPG3 || XPG4] (pthread_atfork): Likewise.
28904         [XPG3 || XPG4] (pwrite): Likewise.
28905
28906         [BZ #14835]
28907         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28908         <bits/siginfo.h>.
28909
28910 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28911
28912         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28913         finalizing MALLSTREAM.
28914
28915         * sysdeps/mach/hurd/syncfs.c: New file.
28916
28917 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28918
28919         [BZ #14719]
28920         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28921         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28922         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28923         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28924         (_nss_dns_gethostbyname4_r): Likewise.
28925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28926         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28927
28928 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28929
28930         [BZ #13763]
28931         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28932
28933 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28934
28935         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28936         * elf/cache.c (print_entry): Print ",AArch64" for
28937         FLAG_AARCH64_LIB64
28938
28939         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28940         * elf/cache.c (print_entry): Print ",hard-float" for
28941         FLAG_ARM_LIBHF.
28942
28943 2012-11-18  David S. Miller  <davem@davemloft.net>
28944
28945         With help from Joseph Myers.
28946         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28947         cutoff to 2**-13.
28948         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28949         cutoff to 2**-25.
28950         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28951         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28952         small.
28953         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28954         * math/libm-test.inc (y0_test): New tests.
28955         (y1_test): New tests.
28956         * sysdeps/i386/fpu/libm-test-ulps: Update.
28957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28959
28960 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28961
28962         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28963         64-bit targets.
28964         * configure: Regenerated.
28965
28966 2012-11-17  David S. Miller  <davem@davemloft.net>
28967
28968         [BZ #14811]
28969         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28970         nonzero exponents with absolute value below 0x1p-128 to +/-
28971         0x1p-128.
28972
28973 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28974
28975         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28976
28977         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28978
28979         * posix/getconf-speclist.c: New file.
28980         * posix/posix-envs.def: Likewise.
28981         * posix/confstr.c (START_ENV_GROUP): New macro.
28982         (END_ENV_GROUP): Likewise.
28983         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28984         (KNOWN_PRESENT_ENV_STRING): Likewise.
28985         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28986         (UNKNOWN_ENVIRONMENT): Likewise.
28987         (confstr): Include posix-envs.def instead of handling
28988         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28989         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28990         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28991         (END_ENV_GROUP): Likewise.
28992         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28993         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28994         (UNKNOWN_ENVIRONMENT): Likewise.
28995         (__sysconf): Include posix-envs.def instead of handling associated
28996         cases directly here.
28997         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28998         preprocessing getconf-speclist.c rather than running getconf or
28999         generating empty file.
29000
29001 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
29002
29003         * scripts/check-local-headers.sh: Ignore 'mach' headers.
29004
29005 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
29006
29007         [BZ #14672]
29008         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29009
29010 2012-11-16  David S. Miller  <davem@davemloft.net>
29011
29012         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29013         smaller than LDBL_EPSILON/2.0L, just return xm1.
29014
29015 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
29016
29017         * elf/tst-array1.c (init): Set constructor priority to 1000.
29018         (fini): Set destructor priority to 1000.
29019         * elf/tst-array2dep.c: Likewise.
29020
29021 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29022
29023         [BZ #11741]
29024         * libio/fileops.c (_IO_new_file_write): Correctly return error.
29025         (_IO_new_file_xsputn): Also return EOF if none of the input
29026         data was written when overflow failed.
29027         * libio/iopadn.c (_IO_padn): Likewise.
29028         * libio/iowpadn.c (_IO_wpadn): Likewise.
29029         * stdio-common/tst-put-error.c: Add copyright notice.
29030         (do_test): Add case for printing padded string.
29031         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29032         _IO_padn returned error.
29033         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29034         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29035         return EOF.
29036
29037 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29038
29039         * libio/libioP.h: Add comment note that the references to C++
29040         bits are now obsolete.
29041
29042 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29043
29044         * math/libm-test.inc (check_complex): Use asprintf.
29045
29046 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
29047
29048         * debug/pcprofiledump.c (print_version): Update copyright year.
29049         * malloc/memusagestat.c (print_version): Likewise.
29050
29051 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
29052
29053         [BZ #14831]
29054         * elf/Makefile (tests): Add tst-audit8.
29055         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29056         ($(objpfx)tst-audit8.out): New target.
29057         (tst-audit8-ENV): New variable.
29058         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29059         audit if l_reloc_result is NULL.
29060         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29061         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29062         * elf/tst-audit8.c: New file.
29063
29064 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29065
29066         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29067         * misc/Makefile (CFLAGS-select.c): Define.
29068         * posix/Makefile (CFLAGS-pause.c): Define.
29069
29070 2012-11-13  David S. Miller  <davem@davemloft.net>
29071
29072         * crypt/Makefile: Move test targets after toplevel Rules
29073         inclusion.  Grab any necessary sysdep routines when linking.
29074         * crypt/md5.c (md5_process_block): Remove define, we will always
29075         name it __md5_process_block.
29076         (md5_finish_ctx): Update md5_process_block call.
29077         (md5_stream): Likewise.
29078         (md5_process_bytes): Likewise.
29079         (md5_process_block): Rename to __md5_process_block and move to ...
29080         * crypt/md5-block.c: ... here.
29081         * crypt/sha256.c (sha256_process_block): Move to ...
29082         * crypt/sha256-block.c: ... here.
29083         * crypt/sha512.c (sha512_process_block): Move to ...
29084         * crypt/sha512-block.c: ... here.
29085         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29086         path.
29087         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29088         * sysdeps/sparc/sparc64/multiarch/Makefile
29089         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29090         crypt subdir.
29091         (localedef-aux): Add md5 crypto assembler when in locale subdir.
29092         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29093         multiarch changes.
29094         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29095         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29096         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29097         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29098         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29099         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29100         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29101         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29102         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29103         file.
29104         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29105         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29106         file.
29107         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29108
29109 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
29110
29111         * timezone/tzselect.ksh: Update from tzcode git revision
29112         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29113         * timezone/zdump.c: Likewise.
29114         * timezone/zic.c: Likewise.
29115         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29116         in TZVERSION setting, not $(PKGVERSION).
29117         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
29118         REPORT_BUGS_TO settings.
29119
29120         [BZ #14838]
29121         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29122         macro.
29123
29124 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29125
29126         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29127         detection to immediately after _FP_ROUND().
29128         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29129         bits are 0.
29130
29131 2012-11-11  David S. Miller  <davem@davemloft.net>
29132
29133         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29134         inttypes.h
29135         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29136         __close rather than their public counterparts.
29137
29138 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
29139
29140         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29141         file.
29142         [UNIX98] (sem_timedwait): Do not expect.
29143         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29144         [XPG4 || UNIX98] (sockatmark): Do not expect.
29145         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29146         (clock_getcpuclockid): Do not expect.
29147         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29148         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29149         Do not expect.
29150         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29151         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29152         [UNIX98] (vwscanf): Likewise.
29153         [UNIX98] (vswscanf): Likewise.
29154
29155 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
29156
29157         * timezone/version.h: Remove file.
29158         * timezone/README: Do not refer to version.h.
29159         * timezone/Makefile ($(objpfx)zic.o): New dependency on
29160         $(objpfx)version.h.
29161         ($(objpfx)zdump.o): Likewise.
29162         ($(objpfx)version.h): New target.
29163
29164         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29165         2012i.
29166         * timezone/README: Don't mention modification to tzselect.ksh.
29167         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29168         work on unmodified tzselect.ksh.  Substitute version numbers in
29169         tzselect.ksh.
29170
29171         * Makefile (format-me): Remove.
29172         (INSTALL): Adjust indentation.  Use commands directly instead of
29173         using $(format-me).
29174
29175         * aclocal.m4 (ACX_PKGVERSION): New macro.
29176         (ACX_BUGURL): Likewise.
29177         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29178         (PKGVERSION): New AC_DEFINE_UNQUOTED.
29179         (REPORT_BUGS_TO): Likewise.
29180         * configure: Regenerated.
29181         * config.h.in (PKGVERSION): New macro.
29182         (REPORT_BUGS_TO): Likewise.
29183         * config.make.in (PKGVERSION): New variable.
29184         (PKGVERSION_TEXI): Likewise.
29185         (REPORT_BUGS_TO): Likewise.
29186         (REPORT_BUGS_TEXI): Likewise.
29187         * Makefile (format-me): Use -I$(common-objpfx)manual.
29188         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29189         ($(common-objpfx)manual/%): New target.
29190         (manual/%): Remove target.
29191         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29192         (print_version): Use PKGVERSION.
29193         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29194         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29195         and REPORT_BUGS_TO.
29196         ($(objpfx)xtrace): Likewise.
29197         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29198         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29199         (print_version): Use PKGVERSION.
29200         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29201         (do_version): Use PKGVERSION.
29202         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29203         REPORT_BUGS_TO.
29204         (common-ldd-rewrite): Likewise.
29205         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29206         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29207         (print_version): Use PKGVERSION.
29208         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29209         * elf/pldd.c (argp_program_bug_address): Remove variable.
29210         (more_help): New function.
29211         (argp): Use more_help.
29212         (print_version): Use PKGVERSION.
29213         * elf/sln.c (main): Use PKGVERSION.
29214         (usage): Use REPORT_BUGS_TO.
29215         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29216         (top level): Use PKGVERSION.
29217         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29218         (print_version): Use PKGVERSION.
29219         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29220         (print_version): Use PKGVERSION.
29221         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29222         (print_version): Use PKGVERSION.
29223         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29224         (print_version): Use PKGVERSION.
29225         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29226         (print_version): Use PKGVERSION.
29227         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29228         (print_version): Use PKGVERSION.
29229         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29230         and BUGURL.
29231         ($(objpfx)memusage): Likewise.
29232         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29233         (do_version): Use PKGVERSION.
29234         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29235         (print_version): Use PKGVERSION.
29236         * malloc/mtrace.pl ($PACKAGE): Remove variable.
29237         ($PKGVERSION): New variable.
29238         ($REPORT_BUGS_TO): Likewise.
29239         (usage): Use $REPORT_BUGS_TO.
29240         (top level): Use $PKGVERSION.
29241         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29242         ($(objpfx)pkgvers.texi): New rule.
29243         ($(objpfx)stamp-pkgvers): Likewise.
29244         * manual/install.texi: Include pkgvers.texi.
29245         (--with-pkgversion): Document new configure option.
29246         (--with-bugurl): Likewise.
29247         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29248         than necessarily for this particular distribution.  Use
29249         REPORT_BUGS_TO for where to report bugs.
29250         * INSTALL: Regenerated.
29251         * manual/libc.texinfo: Include pkgvers.texi.
29252         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29253         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29254         (print_version): Use PKGVERSION.
29255         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29256         (print_version): Use PKGVERSION.
29257         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29258         (print_version): Use PKGVERSION.
29259         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29260         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29261         macro.
29262         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29263         (print_version): Use PKGVERSION.
29264         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29265         (print_version): Use PKGVERSION.
29266         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29267         and PKGVERSION.
29268
29269         * timezone/checktab.awk: Update from tzcode 2012i.
29270         * timezone/ialloc.c: Likewise.
29271         * timezone/private.h: Likewise.
29272         * timezone/scheck.c: Likewise.
29273         * timezone/tzfile.h: Likewise.
29274         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29275         (TZVERSION): Hardcode tzcode version number.
29276         * timezone/zdump.c: Update from tzcode 2012i.
29277         * timezone/zic.c: Likewise.
29278         * timezone/version.h: New file.
29279         * timezone/README: Describe version.h.  Update upstream location.
29280
29281         [BZ #14824]
29282         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29283         (mktemp): Enable declaration.
29284         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29285         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29286         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29287         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29288         Likewise.
29289         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29290         Likewise.
29291         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29292         Likewise.
29293         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29294         Likewise.
29295         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29296         Likewise.
29297         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29298         Likewise.
29299
29300         [BZ #14821]
29301         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29302         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
29303         for copies of such integer values.
29304         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29305         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29306
29307 2012-11-09  Andreas Jaeger  <aj@suse.de>
29308
29309         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29310         definitions and declarations that are provided by
29311         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29312
29313 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29314
29315         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29316         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29317         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29318         definition.
29319
29320 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29321
29322         * elf/elf.h: Update comment before AArch64 relocations.
29323
29324 2012-11-07  David S. Miller  <davem@davemloft.net>
29325
29326         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29327         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29328         (__start_context): Declare.
29329         (__makecontext_ret): Delete.
29330         (__makecontext): Hook up __start_context instead of
29331         __makecontext_ret.
29332         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29333         (sysdep_routines): Add __start_context when in stdlib.
29334
29335 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29336
29337         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29338         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29339         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
29340         hardcoded "nm".
29341         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
29342         (READELF): New variable.  Use it instead of hardcoded "readelf".
29343
29344 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
29345
29346         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29347         * sysdeps/x86/Makefile: Here.
29348         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29349         * sysdeps/x86/tst-xmmymm.sh: This.
29350
29351 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29352
29353         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29354         expectations.
29355         [UNIX98] (pthread_barrier_t): Do not expect.
29356         [UNIX98] (pthread_barrierattr_t): Likewise.
29357         [UNIX98] (pthread_spinlock_t): Likewise.
29358         [UNIX98] (pthread_barrier_destroy): Likewise.
29359         [UNIX98] (pthread_barrier_init): Likewise.
29360         [UNIX98] (pthread_barrier_wait): Likewise.
29361         [UNIX98] (pthread_barrierattr_destroy): Likewise.
29362         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29363         [UNIX98] (pthread_barrierattr_init): Likewise.
29364         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29365         [UNIX98] (pthread_getcpuclockid): Likewise.
29366         [UNIX98] (pthread_mutex_timedlock): Likewise.
29367         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29368         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29369         [UNIX98] (pthread_sigmask): Likewise.
29370         [UNIX98] (pthread_spin_destroy): Likewise.
29371         [UNIX98] (pthread_spin_init): Likewise.
29372         [UNIX98] (pthread_spin_lock): Likewise.
29373         [UNIX98] (pthread_spin_trylock): Likewise.
29374         [UNIX98] (pthread_spin_unlock): Likewise.
29375         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29376         Do not expect.
29377         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29378         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29379         [XPG3 || XPG4] (pthread_cond_t): Likewise.
29380         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29381         [XPG3 || XPG4] (pthread_key_t): Likewise.
29382         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29383         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29384         [XPG3 || XPG4] (pthread_once_t): Likewise.
29385         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29386         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29387         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29388         [XPG3 || XPG4] (pthread_t): Likewise.
29389
29390         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29391         not expect.
29392         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29393
29394         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29395         Change function return type to int.
29396
29397         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29398         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29399         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29400         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29401         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29402         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29403         [!POSIX] (posix_madvise): Likewise.
29404         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29405         && !UNIX98].
29406         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29407         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29408         (mode_t): Likewise.
29409         (posix_mem_offset): Likewise.
29410         (posix_typed_mem_get_info): Likewise.
29411         (posix_typed_mem_open): Likewise.
29412
29413         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29414         Change condition to [XOPEN2K8].
29415
29416         * conform/conformtest.pl: Preprocess allow-header data with -x c
29417         instead of from stdin.
29418         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29419         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29420         [C99-based standards] (cerfc): Likewise.
29421         [C99-based standards] (cexp2): Likewise.
29422         [C99-based standards] (cexpm1): Likewise.
29423         [C99-based standards] (clog10): Likewise.
29424         [C99-based standards] (clog1p): Likewise.
29425         [C99-based standards] (clog2): Likewise.
29426         [C99-based standards] (clgamma): Likewise.
29427         [C99-based standards] (ctgamma): Likewise.
29428         [C99-based standards] (cerff): Likewise.
29429         [C99-based standards] (cerfcf): Likewise.
29430         [C99-based standards] (cexp2f): Likewise.
29431         [C99-based standards] (cexpm1f): Likewise.
29432         [C99-based standards] (clog10f): Likewise.
29433         [C99-based standards] (clog1pf): Likewise.
29434         [C99-based standards] (clog2f): Likewise.
29435         [C99-based standards] (clgammaf): Likewise.
29436         [C99-based standards] (ctgammaf): Likewise.
29437         [C99-based standards] (cerfl): Likewise.
29438         [C99-based standards] (cerfcl): Likewise.
29439         [C99-based standards] (cexp2l): Likewise.
29440         [C99-based standards] (cexpm1l): Likewise.
29441         [C99-based standards] (clog10l): Likewise.
29442         [C99-based standards] (clog1pl): Likewise.
29443         [C99-based standards] (clog2l): Likewise.
29444         [C99-based standards] (clgammal): Likewise.
29445         [C99-based standards] (ctgammal): Likewise.
29446         * conform/data/inttypes.h-data [C99-based standards]: Include
29447         stdint.h-data.  Remove all expectations for stdint.h contents.
29448         [C99-based standards] (PRI*): Do not allow.
29449         [C99-based standards] (SCN*): Likewise.
29450         [C99-based standards] (*_t): Likewise.
29451         [C99-based-standards] (PRId8): Expect macro.
29452         [C99-based-standards] (PRIi8): Likewise.
29453         [C99-based-standards] (PRIo8): Likewise.
29454         [C99-based-standards] (PRIu8): Likewise.
29455         [C99-based-standards] (PRIx8): Likewise.
29456         [C99-based-standards] (PRIX8): Likewise.
29457         [C99-based-standards] (SCNd8): Likewise.
29458         [C99-based-standards] (SCNi8): Likewise.
29459         [C99-based-standards] (SCNo8): Likewise.
29460         [C99-based-standards] (SCNu8): Likewise.
29461         [C99-based-standards] (SCNx8): Likewise.
29462         [C99-based-standards] (PRIdLEAST8): Likewise.
29463         [C99-based-standards] (PRIiLEAST8): Likewise.
29464         [C99-based-standards] (PRIoLEAST8): Likewise.
29465         [C99-based-standards] (PRIuLEAST8): Likewise.
29466         [C99-based-standards] (PRIxLEAST8): Likewise.
29467         [C99-based-standards] (PRIXLEAST8): Likewise.
29468         [C99-based-standards] (SCNdLEAST8): Likewise.
29469         [C99-based-standards] (SCNiLEAST8): Likewise.
29470         [C99-based-standards] (SCNoLEAST8): Likewise.
29471         [C99-based-standards] (SCNuLEAST8): Likewise.
29472         [C99-based-standards] (SCNxLEAST8): Likewise.
29473         [C99-based-standards] (PRIdFAST8): Likewise.
29474         [C99-based-standards] (PRIiFAST8): Likewise.
29475         [C99-based-standards] (PRIoFAST8): Likewise.
29476         [C99-based-standards] (PRIuFAST8): Likewise.
29477         [C99-based-standards] (PRIxFAST8): Likewise.
29478         [C99-based-standards] (PRIXFAST8): Likewise.
29479         [C99-based-standards] (SCNdFAST8): Likewise.
29480         [C99-based-standards] (SCNiFAST8): Likewise.
29481         [C99-based-standards] (SCNoFAST8): Likewise.
29482         [C99-based-standards] (SCNuFAST8): Likewise.
29483         [C99-based-standards] (SCNxFAST8): Likewise.
29484         [C99-based-standards] (PRId16): Likewise.
29485         [C99-based-standards] (PRIi16): Likewise.
29486         [C99-based-standards] (PRIo16): Likewise.
29487         [C99-based-standards] (PRIu16): Likewise.
29488         [C99-based-standards] (PRIx16): Likewise.
29489         [C99-based-standards] (PRIX16): Likewise.
29490         [C99-based-standards] (SCNd16): Likewise.
29491         [C99-based-standards] (SCNi16): Likewise.
29492         [C99-based-standards] (SCNo16): Likewise.
29493         [C99-based-standards] (SCNu16): Likewise.
29494         [C99-based-standards] (SCNx16): Likewise.
29495         [C99-based-standards] (PRIdLEAST16): Likewise.
29496         [C99-based-standards] (PRIiLEAST16): Likewise.
29497         [C99-based-standards] (PRIoLEAST16): Likewise.
29498         [C99-based-standards] (PRIuLEAST16): Likewise.
29499         [C99-based-standards] (PRIxLEAST16): Likewise.
29500         [C99-based-standards] (PRIXLEAST16): Likewise.
29501         [C99-based-standards] (SCNdLEAST16): Likewise.
29502         [C99-based-standards] (SCNiLEAST16): Likewise.
29503         [C99-based-standards] (SCNoLEAST16): Likewise.
29504         [C99-based-standards] (SCNuLEAST16): Likewise.
29505         [C99-based-standards] (SCNxLEAST16): Likewise.
29506         [C99-based-standards] (PRIdFAST16): Likewise.
29507         [C99-based-standards] (PRIiFAST16): Likewise.
29508         [C99-based-standards] (PRIoFAST16): Likewise.
29509         [C99-based-standards] (PRIuFAST16): Likewise.
29510         [C99-based-standards] (PRIxFAST16): Likewise.
29511         [C99-based-standards] (PRIXFAST16): Likewise.
29512         [C99-based-standards] (SCNdFAST16): Likewise.
29513         [C99-based-standards] (SCNiFAST16): Likewise.
29514         [C99-based-standards] (SCNoFAST16): Likewise.
29515         [C99-based-standards] (SCNuFAST16): Likewise.
29516         [C99-based-standards] (SCNxFAST16): Likewise.
29517         [C99-based-standards] (PRId32): Likewise.
29518         [C99-based-standards] (PRIi32): Likewise.
29519         [C99-based-standards] (PRIo32): Likewise.
29520         [C99-based-standards] (PRIu32): Likewise.
29521         [C99-based-standards] (PRIx32): Likewise.
29522         [C99-based-standards] (PRIX32): Likewise.
29523         [C99-based-standards] (SCNd32): Likewise.
29524         [C99-based-standards] (SCNi32): Likewise.
29525         [C99-based-standards] (SCNo32): Likewise.
29526         [C99-based-standards] (SCNu32): Likewise.
29527         [C99-based-standards] (SCNx32): Likewise.
29528         [C99-based-standards] (PRIdLEAST32): Likewise.
29529         [C99-based-standards] (PRIiLEAST32): Likewise.
29530         [C99-based-standards] (PRIoLEAST32): Likewise.
29531         [C99-based-standards] (PRIuLEAST32): Likewise.
29532         [C99-based-standards] (PRIxLEAST32): Likewise.
29533         [C99-based-standards] (PRIXLEAST32): Likewise.
29534         [C99-based-standards] (SCNdLEAST32): Likewise.
29535         [C99-based-standards] (SCNiLEAST32): Likewise.
29536         [C99-based-standards] (SCNoLEAST32): Likewise.
29537         [C99-based-standards] (SCNuLEAST32): Likewise.
29538         [C99-based-standards] (SCNxLEAST32): Likewise.
29539         [C99-based-standards] (PRIdFAST32): Likewise.
29540         [C99-based-standards] (PRIiFAST32): Likewise.
29541         [C99-based-standards] (PRIoFAST32): Likewise.
29542         [C99-based-standards] (PRIuFAST32): Likewise.
29543         [C99-based-standards] (PRIxFAST32): Likewise.
29544         [C99-based-standards] (PRIXFAST32): Likewise.
29545         [C99-based-standards] (SCNdFAST32): Likewise.
29546         [C99-based-standards] (SCNiFAST32): Likewise.
29547         [C99-based-standards] (SCNoFAST32): Likewise.
29548         [C99-based-standards] (SCNuFAST32): Likewise.
29549         [C99-based-standards] (SCNxFAST32): Likewise.
29550         [C99-based-standards] (PRId64): Likewise.
29551         [C99-based-standards] (PRIi64): Likewise.
29552         [C99-based-standards] (PRIo64): Likewise.
29553         [C99-based-standards] (PRIu64): Likewise.
29554         [C99-based-standards] (PRIx64): Likewise.
29555         [C99-based-standards] (PRIX64): Likewise.
29556         [C99-based-standards] (SCNd64): Likewise.
29557         [C99-based-standards] (SCNi64): Likewise.
29558         [C99-based-standards] (SCNo64): Likewise.
29559         [C99-based-standards] (SCNu64): Likewise.
29560         [C99-based-standards] (SCNx64): Likewise.
29561         [C99-based-standards] (PRIdLEAST64): Likewise.
29562         [C99-based-standards] (PRIiLEAST64): Likewise.
29563         [C99-based-standards] (PRIoLEAST64): Likewise.
29564         [C99-based-standards] (PRIuLEAST64): Likewise.
29565         [C99-based-standards] (PRIxLEAST64): Likewise.
29566         [C99-based-standards] (PRIXLEAST64): Likewise.
29567         [C99-based-standards] (SCNdLEAST64): Likewise.
29568         [C99-based-standards] (SCNiLEAST64): Likewise.
29569         [C99-based-standards] (SCNoLEAST64): Likewise.
29570         [C99-based-standards] (SCNuLEAST64): Likewise.
29571         [C99-based-standards] (SCNxLEAST64): Likewise.
29572         [C99-based-standards] (PRIdFAST64): Likewise.
29573         [C99-based-standards] (PRIiFAST64): Likewise.
29574         [C99-based-standards] (PRIoFAST64): Likewise.
29575         [C99-based-standards] (PRIuFAST64): Likewise.
29576         [C99-based-standards] (PRIxFAST64): Likewise.
29577         [C99-based-standards] (PRIXFAST64): Likewise.
29578         [C99-based-standards] (SCNdFAST64): Likewise.
29579         [C99-based-standards] (SCNiFAST64): Likewise.
29580         [C99-based-standards] (SCNoFAST64): Likewise.
29581         [C99-based-standards] (SCNuFAST64): Likewise.
29582         [C99-based-standards] (SCNxFAST64): Likewise.
29583         [C99-based-standards] (PRIdMAX): Likewise.
29584         [C99-based-standards] (PRIiMAX): Likewise.
29585         [C99-based-standards] (PRIoMAX): Likewise.
29586         [C99-based-standards] (PRIuMAX): Likewise.
29587         [C99-based-standards] (PRIxMAX): Likewise.
29588         [C99-based-standards] (PRIXMAX): Likewise.
29589         [C99-based-standards] (SCNdMAX): Likewise.
29590         [C99-based-standards] (SCNiMAX): Likewise.
29591         [C99-based-standards] (SCNoMAX): Likewise.
29592         [C99-based-standards] (SCNuMAX): Likewise.
29593         [C99-based-standards] (SCNxMAX): Likewise.
29594         [C99-based-standards] (PRIdPTR): Likewise.
29595         [C99-based-standards] (PRIiPTR): Likewise.
29596         [C99-based-standards] (PRIoPTR): Likewise.
29597         [C99-based-standards] (PRIuPTR): Likewise.
29598         [C99-based-standards] (PRIxPTR): Likewise.
29599         [C99-based-standards] (PRIXPTR): Likewise.
29600         [C99-based-standards] (SCNdPTR): Likewise.
29601         [C99-based-standards] (SCNiPTR): Likewise.
29602         [C99-based-standards] (SCNoPTR): Likewise.
29603         [C99-based-standards] (SCNuPTR): Likewise.
29604         [C99-based-standards] (SCNxPTR): Likewise.
29605         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29606         allow.
29607         * conform/data/stdint.h-data: Update comments to clarify
29608         requirements.
29609         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
29610         type.
29611         [C99-based standards] (INT8_MAX): Likewise.
29612         [C99-based standards] (INT16_MIN): Likewise.
29613         [C99-based standards] (INT16_MAX): Likewise.
29614         [C99-based standards] (INT32_MIN): Likewise.
29615         [C99-based standards] (INT32_MAX): Likewise.
29616         [C99-based standards] (INT64_MIN): Likewise.
29617         [C99-based standards] (INT64_MAX): Likewise.
29618         [C99-based standards] (UINT8_MAX): Likewise.
29619         [C99-based standards] (UINT16_MAX): Likewise.
29620         [C99-based standards] (UINT32_MAX): Likewise.
29621         [C99-based standards] (UINT64_MAX): Likewise.
29622         [C99-based standards] (INT_LEAST8_MIN): Likewise.
29623         [C99-based standards] (INT_LEAST8_MAX): Likewise.
29624         [C99-based standards] (INT_LEAST16_MIN): Likewise.
29625         [C99-based standards] (INT_LEAST16_MAX): Likewise.
29626         [C99-based standards] (INT_LEAST32_MIN): Likewise.
29627         [C99-based standards] (INT_LEAST32_MAX): Likewise.
29628         [C99-based standards] (INT_LEAST64_MIN): Likewise.
29629         [C99-based standards] (INT_LEAST64_MAX): Likewise.
29630         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29631         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29632         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29633         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29634         [C99-based standards] (INT_FAST8_MIN): Likewise.
29635         [C99-based standards] (INT_FAST8_MAX): Likewise.
29636         [C99-based standards] (INT_FAST16_MIN): Likewise.
29637         [C99-based standards] (INT_FAST16_MAX): Likewise.
29638         [C99-based standards] (INT_FAST32_MIN): Likewise.
29639         [C99-based standards] (INT_FAST32_MAX): Likewise.
29640         [C99-based standards] (INT_FAST64_MIN): Likewise.
29641         [C99-based standards] (INT_FAST64_MAX): Likewise.
29642         [C99-based standards] (UINT_FAST8_MAX): Likewise.
29643         [C99-based standards] (UINT_FAST16_MAX): Likewise.
29644         [C99-based standards] (UINT_FAST32_MAX): Likewise.
29645         [C99-based standards] (UINT_FAST64_MAX): Likewise.
29646         [C99-based standards] (INTPTR_MIN): Likewise.
29647         [C99-based standards] (INTPTR_MAX): Likewise.
29648         [C99-based standards] (UINTPTR_MAX): Likewise.
29649         [C99-based standards] (INTMAX_MIN): Likewise.
29650         [C99-based standards] (INTMAX_MAX): Likewise.
29651         [C99-based standards] (UINTMAX_MAX): Likewise.
29652         [C99-based standards] (PTRDIFF_MIN): Likewise.
29653         [C99-based standards] (PTRDIFF_MAX): Likewise.
29654         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29655         [C99-based standards] (SIZE_MAX): Likewise.
29656         [C99-based standards] (WCHAR_MAX): Likewise.
29657         [C99-based standards] (WINT_MAX): Likewise.
29658         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
29659         constraint on value.
29660         [C99-based standards] (WCHAR_MIN): Likewise.
29661         [C99-based standards] (WINT_MIN): Likewise.
29662         [C99-based standards] (*_t): Allow.
29663         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29664         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29665         Include math.h-data and complex.h-data.  Remove all expectations
29666         of math.h and complex.h contents.
29667         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29668         at end of line.
29669         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29670         (struct tm): Expect tag.
29671         [C99-based-standards] (wcstof): Expect function.
29672         [C99-based-standards] (wcstold): Likewise.
29673         [C99-based-standards] (wcstoll): Likewise.
29674         [C99-based-standards] (wcstoull): Likewise.
29675         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29676         macro-int-constant.  Specify type.
29677         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
29678         constraint on value.
29679         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29680         Specify type.
29681         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29682         Specify value.
29683         [ISO C standards]: Do not allow headers.
29684         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29685         wcs[abcdefghijklmnopqrstuvwxyz]*.
29686         [ISO C standards] (*_t): Do not allow.
29687         * conform/data/wctype.h-data [C99-based standards] (iswblank):
29688         Expect function.
29689         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29690         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29691         Specify type.
29692         [ISO C standards]: Do not allow headers.
29693         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29694         is[abcdefghijklmnopqrstuvwxyz]*.
29695         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29696         to[abcdefghijklmnopqrstuvwxyz]*.
29697         [ISO C standards] (*_t): Do not allow.
29698         * conform/data/stdalign.h-data: New file.
29699         * conform/data/stdbool.h-data: Likewise.
29700         * conform/data/stdnoreturn.h-data: Likewise.
29701
29702 2012-11-07  Roland McGrath  <roland@hack.frob.com>
29703
29704         [BZ #14815]
29705         * manual/filesys.texi (Directory Entries): Typo fix.
29706         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29707
29708 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29709
29710         * elf/elf.h (EM_AARCH64): New macro.
29711         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29712         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29713         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29714         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29715         (R_AARCH64_TLSDESC): Likewise.
29716         (NT_ARM_TLS): Likewise.
29717         (NT_ARM_HW_BREAK): Likewise.
29718         (NT_ARM_HW_WATCH): Likewise.
29719
29720 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29721
29722         [BZ #14811]
29723         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29724         (__ieee754_powl): Saturate nonzero exponents with absolute value
29725         below 0x1p-79 to +/- 0x1p-79.
29726         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29727         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29728         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29729         nonzero exponents with absolute value below 0x1p-32 to +/-
29730         0x1p-32.
29731         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29732         (__ieee754_powl): Saturate nonzero exponents with absolute value
29733         below 0x1p-79 to +/- 0x1p-79.
29734         * math/libm-test.inc (pow_test): Add more tests.
29735
29736 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29737
29738         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29739         _dl_s390_cap_flags with kernel. Increase string length.
29740         (_dl_s390_platforms): Add z196 and zEC12.
29741
29742 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29743
29744         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29745         Change XOPEN21K to XOPEN2K.
29746
29747 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
29748
29749         * string/memmove.c: Use memcpy when possible.
29750
29751 2012-11-06  Andreas Jaeger  <aj@suse.de>
29752
29753         * po/eo.po: Update from translation team.
29754
29755 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
29756
29757         [BZ #14793]
29758         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29759         exponent and small x and y exponents, scale x or y up.  Increase
29760         by 2 the exponent used in scaling up.
29761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29762         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29763         * math/libm-test.inc (fma_test): Add more tests.
29764         (fma_test_towardzero): Likewise.
29765         (fma_test_downward): Likewise.
29766         (fma_test_upward): Likewise.
29767
29768 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
29769
29770         [BZ #14805]
29771         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29772         fenv_t *.
29773
29774         [BZ #14801]
29775         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29776         namespace for names of struct fields.
29777         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29778         fenv_t fields.
29779         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29780         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29781
29782 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29783
29784         [BZ #3665]
29785         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29786
29787 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29788
29789         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29790         PTR_DEMANGLE.
29791
29792         [BZ #5246]
29793         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29794         PTR_DEMANGLE.
29795
29796 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
29797
29798         [BZ #14797]
29799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29800         definitely overflow as x * y not x * y + z.
29801         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29802         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29803         * math/libm-test.inc (fma_test): Add more tests.
29804         (fma_test_towardzero): Likewise.
29805         (fma_test_downward): Likewise.
29806         (fma_test_upward): Likewise.
29807
29808 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29809
29810         [BZ #157]
29811
29812         * include/stub-tag.h: Remove file.
29813         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29814         '#include' of it.
29815         * manual/maint.texi (Porting): Don't reference it.
29816         * Makerules ($(objpfx)stubs): Likewise.
29817         * dirent/closedir.c: Don't include <stub-tag.h>.
29818         * dirent/dirfd.c: Likewise.
29819         * dirent/fdopendir.c: Likewise.
29820         * dirent/getdents.c: Likewise.
29821         * dirent/getdents64.c: Likewise.
29822         * dirent/opendir.c: Likewise.
29823         * dirent/readdir.c: Likewise.
29824         * dirent/readdir64.c: Likewise.
29825         * dirent/readdir64_r.c: Likewise.
29826         * dirent/readdir_r.c: Likewise.
29827         * dirent/rewinddir.c: Likewise.
29828         * dirent/seekdir.c: Likewise.
29829         * dirent/telldir.c: Likewise.
29830         * gmon/profil.c: Likewise.
29831         * grp/setgroups.c: Likewise.
29832         * inet/if_index.c: Likewise.
29833         * io/access.c: Likewise.
29834         * io/chdir.c: Likewise.
29835         * io/chmod.c: Likewise.
29836         * io/chown.c: Likewise.
29837         * io/close.c: Likewise.
29838         * io/dup.c: Likewise.
29839         * io/dup2.c: Likewise.
29840         * io/dup3.c: Likewise.
29841         * io/euidaccess.c: Likewise.
29842         * io/faccessat.c: Likewise.
29843         * io/fchdir.c: Likewise.
29844         * io/fchmod.c: Likewise.
29845         * io/fchmodat.c: Likewise.
29846         * io/fchown.c: Likewise.
29847         * io/fchownat.c: Likewise.
29848         * io/fcntl.c: Likewise.
29849         * io/flock.c: Likewise.
29850         * io/fstatfs.c: Likewise.
29851         * io/fstatfs64.c: Likewise.
29852         * io/fstatvfs.c: Likewise.
29853         * io/fstatvfs64.c: Likewise.
29854         * io/futimens.c: Likewise.
29855         * io/fxstat.c: Likewise.
29856         * io/fxstat64.c: Likewise.
29857         * io/fxstatat.c: Likewise.
29858         * io/fxstatat64.c: Likewise.
29859         * io/getcwd.c: Likewise.
29860         * io/isatty.c: Likewise.
29861         * io/lchmod.c: Likewise.
29862         * io/lchown.c: Likewise.
29863         * io/link.c: Likewise.
29864         * io/linkat.c: Likewise.
29865         * io/lseek.c: Likewise.
29866         * io/lseek64.c: Likewise.
29867         * io/lxstat64.c: Likewise.
29868         * io/mkdir.c: Likewise.
29869         * io/mkdirat.c: Likewise.
29870         * io/mkfifo.c: Likewise.
29871         * io/mkfifoat.c: Likewise.
29872         * io/open.c: Likewise.
29873         * io/open64.c: Likewise.
29874         * io/openat.c: Likewise.
29875         * io/openat64.c: Likewise.
29876         * io/pipe.c: Likewise.
29877         * io/pipe2.c: Likewise.
29878         * io/poll.c: Likewise.
29879         * io/posix_fadvise.c: Likewise.
29880         * io/posix_fadvise64.c: Likewise.
29881         * io/posix_fallocate.c: Likewise.
29882         * io/posix_fallocate64.c: Likewise.
29883         * io/read.c: Likewise.
29884         * io/readlink.c: Likewise.
29885         * io/readlinkat.c: Likewise.
29886         * io/rmdir.c: Likewise.
29887         * io/sendfile.c: Likewise.
29888         * io/sendfile64.c: Likewise.
29889         * io/statfs.c: Likewise.
29890         * io/statfs64.c: Likewise.
29891         * io/statvfs.c: Likewise.
29892         * io/statvfs64.c: Likewise.
29893         * io/symlink.c: Likewise.
29894         * io/symlinkat.c: Likewise.
29895         * io/ttyname.c: Likewise.
29896         * io/ttyname_r.c: Likewise.
29897         * io/umask.c: Likewise.
29898         * io/unlink.c: Likewise.
29899         * io/unlinkat.c: Likewise.
29900         * io/utime.c: Likewise.
29901         * io/utimensat.c: Likewise.
29902         * io/write.c: Likewise.
29903         * io/xmknod.c: Likewise.
29904         * io/xmknodat.c: Likewise.
29905         * io/xstat.c: Likewise.
29906         * io/xstat64.c: Likewise.
29907         * login/getpt.c: Likewise.
29908         * login/grantpt.c: Likewise.
29909         * login/unlockpt.c: Likewise.
29910         * math/e_acoshl.c: Likewise.
29911         * math/e_acosl.c: Likewise.
29912         * math/e_asinl.c: Likewise.
29913         * math/e_atan2l.c: Likewise.
29914         * math/e_atanhl.c: Likewise.
29915         * math/e_coshl.c: Likewise.
29916         * math/e_expl.c: Likewise.
29917         * math/e_fmodl.c: Likewise.
29918         * math/e_gammal_r.c: Likewise.
29919         * math/e_hypotl.c: Likewise.
29920         * math/e_j0l.c: Likewise.
29921         * math/e_j1l.c: Likewise.
29922         * math/e_jnl.c: Likewise.
29923         * math/e_lgammal_r.c: Likewise.
29924         * math/e_log10l.c: Likewise.
29925         * math/e_log2l.c: Likewise.
29926         * math/e_logl.c: Likewise.
29927         * math/e_powl.c: Likewise.
29928         * math/e_rem_pio2l.c: Likewise.
29929         * math/e_sinhl.c: Likewise.
29930         * math/e_sqrtl.c: Likewise.
29931         * math/fclrexcpt.c: Likewise.
29932         * math/fedisblxcpt.c: Likewise.
29933         * math/feenablxcpt.c: Likewise.
29934         * math/fegetenv.c: Likewise.
29935         * math/fegetexcept.c: Likewise.
29936         * math/fegetround.c: Likewise.
29937         * math/feholdexcpt.c: Likewise.
29938         * math/fesetenv.c: Likewise.
29939         * math/fesetround.c: Likewise.
29940         * math/feupdateenv.c: Likewise.
29941         * math/fgetexcptflg.c: Likewise.
29942         * math/fraiseexcpt.c: Likewise.
29943         * math/fsetexcptflg.c: Likewise.
29944         * math/ftestexcept.c: Likewise.
29945         * math/k_cosl.c: Likewise.
29946         * math/k_rem_pio2l.c: Likewise.
29947         * math/k_sinl.c: Likewise.
29948         * math/k_tanl.c: Likewise.
29949         * math/s_asinhl.c: Likewise.
29950         * math/s_atanl.c: Likewise.
29951         * math/s_cbrtl.c: Likewise.
29952         * math/s_erfl.c: Likewise.
29953         * math/s_expm1l.c: Likewise.
29954         * math/s_log1pl.c: Likewise.
29955         * math/s_tanhl.c: Likewise.
29956         * misc/acct.c: Likewise.
29957         * misc/brk.c: Likewise.
29958         * misc/chflags.c: Likewise.
29959         * misc/chroot.c: Likewise.
29960         * misc/fchflags.c: Likewise.
29961         * misc/fgetxattr.c: Likewise.
29962         * misc/flistxattr.c: Likewise.
29963         * misc/fremovexattr.c: Likewise.
29964         * misc/fsetxattr.c: Likewise.
29965         * misc/fsync.c: Likewise.
29966         * misc/ftruncate.c: Likewise.
29967         * misc/futimes.c: Likewise.
29968         * misc/futimesat.c: Likewise.
29969         * misc/getdomain.c: Likewise.
29970         * misc/getdtsz.c: Likewise.
29971         * misc/gethostid.c: Likewise.
29972         * misc/gethostname.c: Likewise.
29973         * misc/getloadavg.c: Likewise.
29974         * misc/getpagesize.c: Likewise.
29975         * misc/getsysstats.c: Likewise.
29976         * misc/getxattr.c: Likewise.
29977         * misc/gtty.c: Likewise.
29978         * misc/ioctl.c: Likewise.
29979         * misc/lgetxattr.c: Likewise.
29980         * misc/listxattr.c: Likewise.
29981         * misc/llistxattr.c: Likewise.
29982         * misc/lremovexattr.c: Likewise.
29983         * misc/lsetxattr.c: Likewise.
29984         * misc/lutimes.c: Likewise.
29985         * misc/madvise.c: Likewise.
29986         * misc/mincore.c: Likewise.
29987         * misc/mlock.c: Likewise.
29988         * misc/mlockall.c: Likewise.
29989         * misc/mmap.c: Likewise.
29990         * misc/mprotect.c: Likewise.
29991         * misc/msync.c: Likewise.
29992         * misc/munlock.c: Likewise.
29993         * misc/munlockall.c: Likewise.
29994         * misc/munmap.c: Likewise.
29995         * misc/preadv.c: Likewise.
29996         * misc/preadv64.c: Likewise.
29997         * misc/ptrace.c: Likewise.
29998         * misc/pwritev.c: Likewise.
29999         * misc/pwritev64.c: Likewise.
30000         * misc/readv.c: Likewise.
30001         * misc/reboot.c: Likewise.
30002         * misc/remap_file_pages.c: Likewise.
30003         * misc/removexattr.c: Likewise.
30004         * misc/revoke.c: Likewise.
30005         * misc/select.c: Likewise.
30006         * misc/setdomain.c: Likewise.
30007         * misc/setegid.c: Likewise.
30008         * misc/seteuid.c: Likewise.
30009         * misc/sethostid.c: Likewise.
30010         * misc/sethostname.c: Likewise.
30011         * misc/setregid.c: Likewise.
30012         * misc/setreuid.c: Likewise.
30013         * misc/setxattr.c: Likewise.
30014         * misc/sstk.c: Likewise.
30015         * misc/stty.c: Likewise.
30016         * misc/swapoff.c: Likewise.
30017         * misc/swapon.c: Likewise.
30018         * misc/sync.c: Likewise.
30019         * misc/syncfs.c: Likewise.
30020         * misc/syscall.c: Likewise.
30021         * misc/truncate.c: Likewise.
30022         * misc/ualarm.c: Likewise.
30023         * misc/usleep.c: Likewise.
30024         * misc/ustat.c: Likewise.
30025         * misc/utimes.c: Likewise.
30026         * misc/vhangup.c: Likewise.
30027         * misc/writev.c: Likewise.
30028         * posix/_exit.c: Likewise.
30029         * posix/alarm.c: Likewise.
30030         * posix/execve.c: Likewise.
30031         * posix/fexecve.c: Likewise.
30032         * posix/fork.c: Likewise.
30033         * posix/fpathconf.c: Likewise.
30034         * posix/getaddrinfo.c: Likewise.
30035         * posix/getegid.c: Likewise.
30036         * posix/geteuid.c: Likewise.
30037         * posix/getgid.c: Likewise.
30038         * posix/getgroups.c: Likewise.
30039         * posix/getlogin.c: Likewise.
30040         * posix/getlogin_r.c: Likewise.
30041         * posix/getpgid.c: Likewise.
30042         * posix/getpid.c: Likewise.
30043         * posix/getppid.c: Likewise.
30044         * posix/getresgid.c: Likewise.
30045         * posix/getresuid.c: Likewise.
30046         * posix/getsid.c: Likewise.
30047         * posix/getuid.c: Likewise.
30048         * posix/glob64.c: Likewise.
30049         * posix/nanosleep.c: Likewise.
30050         * posix/pathconf.c: Likewise.
30051         * posix/pause.c: Likewise.
30052         * posix/posix_madvise.c: Likewise.
30053         * posix/pread.c: Likewise.
30054         * posix/pread64.c: Likewise.
30055         * posix/pwrite.c: Likewise.
30056         * posix/pwrite64.c: Likewise.
30057         * posix/sched_getaffinity.c: Likewise.
30058         * posix/sched_getp.c: Likewise.
30059         * posix/sched_gets.c: Likewise.
30060         * posix/sched_primax.c: Likewise.
30061         * posix/sched_primin.c: Likewise.
30062         * posix/sched_rr_gi.c: Likewise.
30063         * posix/sched_setaffinity.c: Likewise.
30064         * posix/sched_setp.c: Likewise.
30065         * posix/sched_sets.c: Likewise.
30066         * posix/sched_yield.c: Likewise.
30067         * posix/setgid.c: Likewise.
30068         * posix/setlogin.c: Likewise.
30069         * posix/setpgid.c: Likewise.
30070         * posix/setresgid.c: Likewise.
30071         * posix/setresuid.c: Likewise.
30072         * posix/setsid.c: Likewise.
30073         * posix/setuid.c: Likewise.
30074         * posix/sleep.c: Likewise.
30075         * posix/spawni.c: Likewise.
30076         * posix/sysconf.c: Likewise.
30077         * posix/times.c: Likewise.
30078         * posix/wait.c: Likewise.
30079         * posix/wait3.c: Likewise.
30080         * posix/wait4.c: Likewise.
30081         * posix/waitpid.c: Likewise.
30082         * resolv/gai_sigqueue.c: Likewise.
30083         * resource/getpriority.c: Likewise.
30084         * resource/getrlimit.c: Likewise.
30085         * resource/getrusage.c: Likewise.
30086         * resource/nice.c: Likewise.
30087         * resource/setpriority.c: Likewise.
30088         * resource/setrlimit.c: Likewise.
30089         * resource/ulimit.c: Likewise.
30090         * rt/aio_cancel.c: Likewise.
30091         * rt/aio_fsync.c: Likewise.
30092         * rt/aio_read.c: Likewise.
30093         * rt/aio_sigqueue.c: Likewise.
30094         * rt/aio_suspend.c: Likewise.
30095         * rt/aio_write.c: Likewise.
30096         * rt/clock_getres.c: Likewise.
30097         * rt/clock_gettime.c: Likewise.
30098         * rt/clock_nanosleep.c: Likewise.
30099         * rt/clock_settime.c: Likewise.
30100         * rt/lio_listio.c: Likewise.
30101         * rt/mq_close.c: Likewise.
30102         * rt/mq_getattr.c: Likewise.
30103         * rt/mq_notify.c: Likewise.
30104         * rt/mq_open.c: Likewise.
30105         * rt/mq_receive.c: Likewise.
30106         * rt/mq_send.c: Likewise.
30107         * rt/mq_setattr.c: Likewise.
30108         * rt/mq_timedreceive.c: Likewise.
30109         * rt/mq_timedsend.c: Likewise.
30110         * rt/mq_unlink.c: Likewise.
30111         * rt/shm_open.c: Likewise.
30112         * rt/shm_unlink.c: Likewise.
30113         * rt/timer_create.c: Likewise.
30114         * rt/timer_delete.c: Likewise.
30115         * rt/timer_getoverr.c: Likewise.
30116         * rt/timer_gettime.c: Likewise.
30117         * rt/timer_settime.c: Likewise.
30118         * setjmp/__longjmp.c: Likewise.
30119         * setjmp/setjmp.c: Likewise.
30120         * signal/kill.c: Likewise.
30121         * signal/killpg.c: Likewise.
30122         * signal/raise.c: Likewise.
30123         * signal/sigaction.c: Likewise.
30124         * signal/sigaltstack.c: Likewise.
30125         * signal/sigblock.c: Likewise.
30126         * signal/sigignore.c: Likewise.
30127         * signal/sigintr.c: Likewise.
30128         * signal/signal.c: Likewise.
30129         * signal/sigpause.c: Likewise.
30130         * signal/sigpending.c: Likewise.
30131         * signal/sigqueue.c: Likewise.
30132         * signal/sigreturn.c: Likewise.
30133         * signal/sigset.c: Likewise.
30134         * signal/sigsetmask.c: Likewise.
30135         * signal/sigstack.c: Likewise.
30136         * signal/sigsuspend.c: Likewise.
30137         * signal/sigtimedwait.c: Likewise.
30138         * signal/sigvec.c: Likewise.
30139         * signal/sigwait.c: Likewise.
30140         * signal/sigwaitinfo.c: Likewise.
30141         * signal/sysv_signal.c: Likewise.
30142         * socket/accept.c: Likewise.
30143         * socket/accept4.c: Likewise.
30144         * socket/bind.c: Likewise.
30145         * socket/connect.c: Likewise.
30146         * socket/getpeername.c: Likewise.
30147         * socket/getsockname.c: Likewise.
30148         * socket/getsockopt.c: Likewise.
30149         * socket/isfdtype.c: Likewise.
30150         * socket/listen.c: Likewise.
30151         * socket/recv.c: Likewise.
30152         * socket/recvfrom.c: Likewise.
30153         * socket/recvmsg.c: Likewise.
30154         * socket/send.c: Likewise.
30155         * socket/sendmsg.c: Likewise.
30156         * socket/sendto.c: Likewise.
30157         * socket/setsockopt.c: Likewise.
30158         * socket/shutdown.c: Likewise.
30159         * socket/sockatmark.c: Likewise.
30160         * socket/socket.c: Likewise.
30161         * socket/socketpair.c: Likewise.
30162         * stdio-common/ctermid.c: Likewise.
30163         * stdio-common/cuserid.c: Likewise.
30164         * stdio-common/remove.c: Likewise.
30165         * stdio-common/rename.c: Likewise.
30166         * stdio-common/renameat.c: Likewise.
30167         * stdio-common/tempname.c: Likewise.
30168         * stdlib/getcontext.c: Likewise.
30169         * stdlib/makecontext.c: Likewise.
30170         * stdlib/setcontext.c: Likewise.
30171         * stdlib/swapcontext.c: Likewise.
30172         * stdlib/system.c: Likewise.
30173         * streams/fattach.c: Likewise.
30174         * streams/fdetach.c: Likewise.
30175         * streams/getmsg.c: Likewise.
30176         * streams/getpmsg.c: Likewise.
30177         * streams/putmsg.c: Likewise.
30178         * streams/putpmsg.c: Likewise.
30179         * sysdeps/unix/bsd/getpt.c: Likewise.
30180         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30181         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30182         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30184         Likewise.
30185         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30186         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30187         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30188         * sysvipc/msgctl.c: Likewise.
30189         * sysvipc/msgget.c: Likewise.
30190         * sysvipc/msgrcv.c: Likewise.
30191         * sysvipc/msgsnd.c: Likewise.
30192         * sysvipc/semctl.c: Likewise.
30193         * sysvipc/semget.c: Likewise.
30194         * sysvipc/semop.c: Likewise.
30195         * sysvipc/semtimedop.c: Likewise.
30196         * sysvipc/shmat.c: Likewise.
30197         * sysvipc/shmctl.c: Likewise.
30198         * sysvipc/shmdt.c: Likewise.
30199         * sysvipc/shmget.c: Likewise.
30200         * termios/tcdrain.c: Likewise.
30201         * termios/tcflow.c: Likewise.
30202         * termios/tcflush.c: Likewise.
30203         * termios/tcgetattr.c: Likewise.
30204         * termios/tcgetpgrp.c: Likewise.
30205         * termios/tcsendbrk.c: Likewise.
30206         * termios/tcsetattr.c: Likewise.
30207         * termios/tcsetpgrp.c: Likewise.
30208         * time/adjtime.c: Likewise.
30209         * time/clock.c: Likewise.
30210         * time/getitimer.c: Likewise.
30211         * time/gettimeofday.c: Likewise.
30212         * time/setitimer.c: Likewise.
30213         * time/settimeofday.c: Likewise.
30214         * time/stime.c: Likewise.
30215         * time/time.c: Likewise.
30216
30217 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
30218
30219         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30220         /usr/old/bin.
30221
30222         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30223         instead of spaces.
30224         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30225
30226 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
30227
30228         [BZ #14796]
30229         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30230         FE_TONEAREST before applying Dekker multiplication and Knuth
30231         addition.  Clear inexact exceptions and check for exact zero
30232         results afterwards.
30233         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30234         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30235         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30236         * math/libm-test.inc (fma_test): Add more tests.
30237         (fma_test_towardzero): Likewise.
30238         (fma_test_downward): Likewise.
30239         (fma_test_upward): Likewise.
30240         * sysdeps/generic/math_private.h (default_libc_fesetround): New
30241         function.
30242         (libc_fesetround): New macro.
30243         (libc_fesetroundf): Likewise.
30244         (libc_fesetroundl): Likewise.
30245         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30246         function.
30247         (libc_fesetround_387): Likewise.
30248         (libc_fesetroundf): New macro.
30249         (libc_fesetround): Likewise.
30250         (libc_fesetroundl): Likewise.
30251         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30252         function.
30253         (libc_fesetroundf): New macro.
30254         (libc_fesetround): Likewise.
30255         (libc_fesetroundl): Likewise.
30256         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30257         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30258         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30259         libm_hidden_ver.
30260         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30261         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30262         libm_hidden_def.
30263         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30264         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30265         libm_hidden_ver.
30266         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30267         libm_hidden_def.
30268
30269         [BZ #3439]
30270         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30271         integer constant usable in #if and use that to give value to enum
30272         constant.
30273         (FE_DIVBYZERO): Likewise.
30274         (FE_UNDERFLOW): Likewise.
30275         (FE_OVERFLOW): Likewise.
30276         (FE_INVALID): Likewise.
30277         (FE_INVALID_SNAN): Likewise.
30278         (FE_INVALID_ISI): Likewise.
30279         (FE_INVALID_IDI): Likewise.
30280         (FE_INVALID_ZDZ): Likewise.
30281         (FE_INVALID_IMZ): Likewise.
30282         (FE_INVALID_COMPARE): Likewise.
30283         (FE_INVALID_SOFTWARE): Likewise.
30284         (FE_INVALID_SQRT): Likewise.
30285         (FE_INVALID_INTEGER_CONVERSION): Likewise.
30286         (FE_TONEAREST): Likewise.
30287         (FE_TOWARDZERO): Likewise.
30288         (FE_UPWARD): Likewise.
30289         (FE_DOWNWARD): Likewise.
30290         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30291         (FE_DIVBYZERO): Likewise.
30292         (FE_OVERFLOW): Likewise.
30293         (FE_UNDERFLOW): Likewise.
30294         (FE_INEXACT): Likewise.
30295         (FE_TONEAREST): Likewise.
30296         (FE_DOWNWARD): Likewise.
30297         (FE_UPWARD): Likewise.
30298         (FE_TOWARDZERO): Likewise.
30299         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30300         (FE_UNDERFLOW): Likewise.
30301         (FE_OVERFLOW): Likewise.
30302         (FE_DIVBYZERO): Likewise.
30303         (FE_INVALID): Likewise.
30304         (FE_TONEAREST): Likewise.
30305         (FE_TOWARDZERO): Likewise.
30306         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30307         (FE_OVERFLOW): Likewise.
30308         (FE_UNDERFLOW): Likewise.
30309         (FE_DIVBYZERO): Likewise.
30310         (FE_INEXACT): Likewise.
30311         (FE_TONEAREST): Likewise.
30312         (FE_TOWARDZERO): Likewise.
30313         (FE_UPWARD): Likewise.
30314         (FE_DOWNWARD): Likewise.
30315         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30316         (FE_DIVBYZERO): Likewise.
30317         (FE_OVERFLOW): Likewise.
30318         (FE_UNDERFLOW): Likewise.
30319         (FE_INEXACT): Likewise.
30320         (FE_TONEAREST): Likewise.
30321         (FE_DOWNWARD): Likewise.
30322         (FE_UPWARD): Likewise.
30323         (FE_TOWARDZERO): Likewise.
30324
30325 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
30326
30327         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30328
30329 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
30330
30331         * scripts/cross-test-ssh.sh (command): Use newlines to separate
30332         commands.  Quote $PWD.
30333         (blacklist_exports): Don't use remove_newlines.  Replace "declare
30334         -x" by "export".
30335         (remove_newlines): Remove.
30336
30337 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
30338
30339         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30340         * stdlib/stdlib.h (atof): Moved to ...
30341         * include/bits/stdlib-float.h: Here.  New file.
30342         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30343         * stdlib/bits/stdlib-float.h: New file.
30344         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30345         -mno-sse -mno-mmx.
30346         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30347         <xmmintrin.h>.
30348
30349 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30350
30351         * conform/conformtest.pl (@headers): Add fenv.h.
30352         * conform/data/fenv.h-data: New file.
30353         * include/fenv.h [_ISOMAC]: Disable all contents of file except
30354         include of <math/fenv.h>.
30355
30356         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30357         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30358         && !UNIX98].  Enables tests for XOPEN2K8.
30359         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30360         POSIX2008]: Likewise.
30361
30362         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30363         (struct rusage): Do not expect type or its members.
30364
30365         [BZ #3439]
30366         * math/math.h (FP_NAN): Define macro to integer constant usable in
30367         #if and use that to give value to enum constant.
30368         (FP_INFINITE): Likewise.
30369         (FP_ZERO): Likewise.
30370         (FP_SUBNORMAL): Likewise.
30371         (FP_NORMAL): Likewise.
30372
30373 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
30374
30375         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30376         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30377         arguments.
30378
30379 2012-11-02  Roland McGrath  <roland@hack.frob.com>
30380
30381         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30382         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30383         autoconf-time if not.
30384         * configure.in: Remove AC_PREREQ.
30385
30386 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30387
30388         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30389         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30390         of the internal implementation.
30391
30392 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30393
30394         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30395         except include of <misc/sys/syslog.h>.
30396
30397 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30398
30399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30400         function returns with a NULL context exit with zero.
30401
30402 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30403
30404         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30405
30406 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
30407
30408         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30409         (run_program_cmd): This.
30410         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30411         (tst_langinfo): New variable.  Use it.
30412
30413 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
30414
30415         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30416         floating point opcodes.
30417
30418 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30419
30420         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30421         variable.
30422
30423         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30424
30425         * sysdeps/mach/hurd/powerpc: Remove directory.
30426         * sysdeps/mach/powerpc: Likewise.
30427
30428 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30429
30430         * scripts/check-local-headers.sh: Ignore c++ headers.
30431
30432 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30433
30434         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30435         __libc_cleanup_region_start argument.
30436
30437 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
30438
30439         [BZ #14784]
30440         [BZ #14785]
30441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30442         x * y using scaling, not as x * y + z.
30443         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30444         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30445         * math/libm-test.inc (fma_test): Add more tests.
30446         (fma_test_towardzero): Likewise.
30447         (fma_test_downward): Likewise.
30448         (fma_test_upward): Likewise.
30449
30450 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30451
30452         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30453
30454 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30455
30456         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30457         New variable.
30458
30459 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
30460
30461         * rt/tst-shm.c (worker): Correct checking for mmap failure.
30462
30463 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30464
30465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30466         Fix sort order.
30467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30468         Likewise.
30469
30470 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30471
30472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30473         Fix the order of the list for glibc 2.17.
30474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30475         Likewise.
30476
30477 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30478
30479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30480
30481 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30482
30483         [BZ #14610]
30484         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30485         for low part of x being zero before using __atanl (y).
30486         * math/libm-test.inc (atan2_test): Add another test.
30487
30488         * manual/install.texi (Configuring and compiling): Document
30489         general use of test-wrapper and test-wrapper-env.
30490         * INSTALL: Regenerated.
30491
30492         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30493         (__fma): Do not extract and scale down low bits on after-rounding
30494         systems when result rounded to normal precision would have normal
30495         exponent.
30496         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30497         (__fmal): Do not extract and scale down low bits on after-rounding
30498         systems when result rounded to normal precision would have normal
30499         exponent.
30500         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30501         (__fmal): Do not extract and scale down low bits on after-rounding
30502         systems when result rounded to normal precision would have normal
30503         exponent.
30504         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30505         macro.
30506         (fma_test): Add more tests.
30507         (fma_test_towardzero): Likewise.
30508         (fma_test_downward): Likewise.
30509         (fma_test_upward): Likewise.
30510
30511 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
30512
30513         * sysdeps/i386/tininess.h: Renamed to ...
30514         * sysdeps/x86/tininess.h: This.
30515         * sysdeps/x86_64/tininess.h: Removed.
30516
30517 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30518
30519         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30520         input.  Use $(build-program-cmd).
30521         ($(objpfx)tst-array1-static.out): Likewise.
30522         ($(objpfx)tst-array2.out): Likewise.
30523         ($(objpfx)tst-array3.out): Likewise.
30524         ($(objpfx)tst-array4.out): Likewise.
30525         ($(objpfx)tst-array5.out): Likewise.
30526         ($(objpfx)tst-array5-static.out): Likewise.
30527
30528 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
30529
30530         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30531         if defined.
30532
30533         * nss/nsswitch.h (nss_interface_function): Provide new
30534         macro for use with NSS functions.
30535         * grp/initgroups.c: Use new macro.
30536         * nss/getXXbyYY.c: Likewise.
30537         * nss/getXXbyYY_r.c: Likewise.
30538         * nss/getXXent.c: Likewise.
30539         * nss/getXXent_r.c: Likewise.
30540         * sysdeps/posix/getaddrinfo.c: Likewise.
30541
30542 2012-10-30  Andreas Jaeger  <aj@suse.de>
30543
30544         * po/ru.po: Update Russion translation from translation project.
30545
30546 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30547
30548         [BZ #14152]
30549         [BZ #14783]
30550         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30551         result and shift together with sticky bit instead of replicating
30552         round-to-nearest rounding.
30553         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30554         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30555         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
30556         missing underflow exceptions.
30557         (fma_test_towardzero): Add more tests.
30558         (fma_test_downward): Likewise.
30559         (fma_test_upward): Likewise.
30560
30561         [BZ #14047]
30562         * sysdeps/generic/tininess.h: New file.
30563         * sysdeps/i386/tininess.h: Likewise.
30564         * sysdeps/sh/tininess.h: Likewise.
30565         * sysdeps/x86_64/tininess.h: Likewise.
30566         * stdlib/tst-strtod-underflow.c: Likewise.
30567         * stdlib/tst-tininess.c: Likewise.
30568         * stdlib/strtod_l.c: Include <tininess.h>.
30569         (round_and_return): Do not set errno for exact underflow cases.
30570         Force an underflow exception when setting errno for underflow.
30571         Determine underflow based on rounding to normal precision if
30572         TININESS_AFTER_ROUNDING.
30573         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30574         ERANGE for exact underflow cases.
30575         * stdlib/Makefile (tests): Add tst-tininess and
30576         tst-strtod-underflow.
30577         ($(objpfx)tst-tininess): Use $(link-libm).
30578         ($(objpfx)tst-strtod-underflow): Likewise.
30579
30580 2012-10-30  Andreas Jaeger  <aj@suse.de>
30581
30582         [BZ#14767]
30583         * elf/Makefile (tests): Remove conditional for have-initfini-array
30584         since this is now always required and the variable does not exist
30585         anymore.
30586         (tests-static): Likewise.
30587         (modules-names): Likewise.
30588
30589         * po/eo.po: Add Esperanto translation from translation project.
30590
30591         * elf/tst-array1.c (fini_array): Make writeable so that it can be
30592         merged with constructor/destructor.
30593         (init_array): Likewise.
30594         * elf/tst-array2dep.c (fini_array): Likewise.
30595         (init_array): Likewise.
30596
30597 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
30598
30599         * manual/message.texi: Delete @cartouche tags.
30600
30601 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
30602
30603         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30604         EOPNOTSUPP.
30605         * sysdeps/mach/hurd/fsync.c: Likewise.
30606
30607         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30608         [_POSIX_REALTIME_SIGNALS]: Change condition to
30609         [_POSIX_REALTIME_SIGNALS > 0].
30610
30611 2012-10-27  Andreas Jaeger  <aj@suse.de>
30612
30613         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30614         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30615         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30616         [__WORDSIZE != 64]: Likewise.
30617
30618 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
30619
30620         *  iconvdata/tst-table.sh: Remove ${SHELL}.
30621         *  iconvdata/tst-tables.sh: Likewise.
30622
30623 2012-10-25  David S. Miller  <davem@davemloft.net>
30624
30625         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30626         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30627         of strtoull.
30628
30629         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30630         ifunc-impl-list.c
30631         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30632         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30633         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30634         file.
30635
30636 2012-10-25  Roland McGrath  <roland@hack.frob.com>
30637
30638         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30639         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30640         __getdirentries.
30641
30642 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
30643             Jim Blandy  <jimb@codesourcery.com>
30644
30645         * scripts/cross-test-ssh.sh: New file.
30646         * manual/install.texi (Configuring and compiling): Document use of
30647         cross-test-ssh.sh.
30648         * INSTALL: Regenerated.
30649
30650 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
30651
30652         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30653         EOPNOTSUPP.
30654
30655 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
30656
30657         * Makeconfig (run-program-prefix): Fix comment.
30658
30659 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30660             Jim Blandy  <jimb@codesourcery.com>
30661
30662         * Makeconfig (test-wrapper): New variable,
30663         (test-wrapper-env): Likewise.
30664         [$(cross-compiling) = yes && $(test-wrapper) != ""]
30665         (run-built-tests): Define to yes.
30666         (run-program-prefix): Use $(test-wrapper).
30667         (built-program-cmd): Likewise.
30668         * Rules (make-test-out): Use $(test-wrapper-env) and
30669         $(host-built-program-cmd).
30670         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30671         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30672         tst-pathopt.sh.
30673         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30674         $(test-wrapper-env) to tst-rtld-load-self.sh.
30675         ($(objpfx)order2.out): Use $(test-wrapper).
30676         ($(objpfx)tst-initorder.out): Likewise.
30677         ($(objpfx)tst-initorder2.out): Likewise.
30678         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30679         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30680         (test_wrapper_env): New variable.  Use it to run ld.so.
30681         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30682         Use it to run ld.so.
30683         (test_wrapper_env): Likewise.
30684         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30685         $(test-wrapper) to run-iconv-test.sh.
30686         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30687         (ICONV): Use $test_wrapper.
30688         * posix/Makefile ($(objpfx)globtest.out): Pass
30689         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30690         globtest.sh, not $(run-program-prefix).
30691         * posix/globtest.sh (run_via_rtld_prefix): New variable.
30692         (test_wrapper): Likewise.
30693         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
30694         set together with run_via_rtld_prefix.
30695         (run_program_prefix): Define in terms of test_wrapper and
30696         run_via_rtld_prefix.
30697
30698 2012-10-24  Roland McGrath  <roland@hack.frob.com>
30699
30700         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30701         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30702         Targets removed.
30703
30704         [BZ #14743]
30705         * include/time.h: Remove librt_hidden_proto (clock_gettime).
30706         Declare __clock_getres, __clock_gettime, __clock_settime,
30707         __clock_nanosleep, and __clock_getcpuclockid.
30708         * rt/clock_gettime.c: Define __clock_gettime as an alias.
30709         Remove librt_hidden_def (clock_gettime).
30710         * sysdeps/unix/clock_gettime.c: Likewise.
30711         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30712         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30713         * rt/clock_getres.c: Define __clock_getres as an alias.
30714         * sysdeps/posix/clock_getres.c: Likewise.
30715         * rt/clock_settime.c: Define __clock_settime as an alias.
30716         * sysdeps/unix/clock_settime.c: Likewise.
30717         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30718         * sysdeps/unix/clock_nanosleep.c: Likewise.
30719         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30720         * rt/clock-compat.c: New file.
30721         * rt/Makefile (librt-routines): Add clock-compat and move
30722         $(clock-routines) to ...
30723         (routines): ... here, new variable.
30724         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30725         Don't add get_clockfreq here.
30726         * rt/Versions (libc: GLIBC_2.17): New version set.
30727         Add clock_* symbols here.
30728         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
30729         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30730         (GLIBC_2.17): Add clock_* symbols.
30731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30733         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30735         Likewise.
30736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30737         Likewise.
30738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30742         * NEWS: Mention the move.
30743
30744         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30745         Use __open, __read, __close rather than their public counterparts.
30746         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30747         (__get_clockfreq_via_cpuinfo): Likewise.
30748         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30749         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30750
30751         * config.h.in (HAVE_IFUNC): New #undef.
30752         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30753         was successful.
30754         * configure: Regenerated.
30755
30756 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30757
30758         * configure.in: Move READELF check to start of file.
30759         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30760         libc_cv_asm_gnu_indirect_function in the process.
30761         * configure: Regenerated.
30762
30763 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30764
30765         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30766         send the output to /dev/null.
30767         (libc_cv_cc_with_libunwind): Likewise.
30768         (libc_cv_as_noexecstack): Likewise.
30769         * configure: Regenerate.
30770
30771 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30772
30773         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30774
30775         * posix/globtest.sh (TMPDIR): Do not set.
30776         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30777         (testout): Likewise.
30778
30779 2012-10-24  Andreas Jaeger  <aj@suse.de>
30780
30781         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30782         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30783         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30784         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30785         posix_fadvise64, posix_fallocate64.
30786
30787         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30788         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30789         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30790         Likewise.
30791         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30792         Likewise.
30793         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30794
30795         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30796         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30797         <bits/fcntl-linux.h>.
30798         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30799
30800         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30801         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30802         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30803         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30804         [__WORDSIZE != 64]: Likewise.
30805
30806 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30807
30808         * Makeconfig (run-built-tests): New variable.
30809         * Rules [$(cross-compiling) = yes]: Change condition to
30810         [$(run-built-tests) = no].
30811         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30812         to [$(run-built-tests) = yes].
30813         * elf/Makefile [$(cross-compiling) = no]: Likewise
30814         * grp/Makefile [$(cross-compiling) = no]: Likewise.
30815         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30816         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30817         * intl/Makefile [$(cross-compiling) = no]: Likewise.
30818         * io/Makefile [$(cross-compiling) = no]: Likewise.
30819         * libio/Makefile [$(cross-compiling) = no]: Likewise.
30820         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30821         * misc/Makefile [$(cross-compiling) = no]: Likewise.
30822         * posix/Makefile [$(cross-compiling) = no]: Likewise.
30823         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30824         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30825         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30826         * string/Makefile [$(cross-compiling) = no]: Likewise.
30827
30828         * posix/Makefile ($(objpfx)globtest.out): Pass
30829         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30830         $(rtld-installed-name).
30831         * posix/globtest.sh (elf_objpfx): Remove variable.
30832         (rtld_installed_name): Likewise.
30833         (library_path): Likewise.
30834         (run_program_prefix): New variable.  Use for running globtest
30835         binary.
30836
30837 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
30838             Joseph Myers  <joseph@codesourcery.com>
30839
30840         * Makeconfig (host-built-program-cmd): New variable.
30841         * elf/Makefile (tst-stackguard1-ARGS): Use
30842         $(host-built-program-cmd).
30843         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30844         (tst-spawn-ARGS): Likewise.
30845         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30846
30847 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30848             Jim Blandy  <jimb@codesourcery.com>
30849
30850         * Makeconfig (run-via-rtld-prefix): New variable.
30851         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30852         (built-program-cmd): Likewise.
30853
30854 2012-10-22  Andreas Jaeger  <aj@suse.de>
30855
30856         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30857         __O_RSYNC if it exists, otherwise to O_SYNC.
30858
30859 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
30860             Joseph Myers  <joseph@codesourcery.com>
30861
30862         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30863         /dev/null.
30864         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30865         from /dev/null
30866         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30867         /dev/null.
30868
30869 2012-10-22  Andreas Jaeger  <aj@suse.de>
30870
30871         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30872         Define always.
30873         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30874
30875         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30876         bits/fcntl-linux.h.
30877
30878         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30879         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30880
30881         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30882         to __O_LARGEFILE.
30883         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30884         to __O_LARGEFILE.
30885
30886 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
30887             Joseph Myers  <joseph@codesourcery.com>
30888
30889         * config.make.in (NM): New variable.
30890
30891 2012-10-21  Andreas Jaeger  <aj@suse.de>
30892
30893         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30894         definitions and declarations that are provided by
30895         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30896
30897 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30898
30899         [BZ #14683]
30900         * elf/Makefile (tests-static): Add tst-leaks1-static.
30901         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30902         ($(objpfx)tst-leaks1-static): New rule.
30903         ($(objpfx)tst-leaks1-static-mem): Likewise.
30904         (tst-leaks1-static-ENV): New macro.
30905         * elf/dl-open.c (dl_open_worker): Check the main application
30906         only if SHARED is defined.
30907         * elf/tst-leaks1-static.c: New file.
30908
30909 2012-10-20  Andreas Jaeger  <aj@suse.de>
30910
30911         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30912         generic values for Linux.
30913         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30914         and declarations that are provided by <bits/fcntl-linux.h> and
30915         include <bits/fcntl-linux.h>.
30916         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30917         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30918
30919 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30920
30921         * io/fcntl.h: Move include of <bits/types.h> to the top and
30922         include it unconditionally.
30923
30924 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30925
30926         * wcsmbs/Makefile (tests-ifunc): New variable.
30927         (tests): Add $(tests-ifunc).
30928         * wcsmbs/test-wcschr-ifunc.c: New file.
30929         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30930         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30931         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30932         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30933         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30934
30935         * string/Makefile (tests-ifunc): New variable.
30936         (tests): Add $(tests-ifunc).
30937         * string/test-memccpy.c (TEST_NAME): New macro.
30938         * string/test-memchr.c (TEST_NAME): Likewise.
30939         * string/test-memcmp.c (TEST_NAME): Likewise.
30940         * string/test-memcpy.c (TEST_NAME): Likewise.
30941         * string/test-memmem.c (TEST_NAME): Likewise.
30942         * string/test-memmove.c (TEST_NAME): Likewise.
30943         * string/test-memset.c (TEST_NAME): Likewise.
30944         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30945         * string/test-stpcpy.c (TEST_NAME): Likewise.
30946         * string/test-stpncpy.c (TEST_NAME): Likewise.
30947         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30948         * string/test-strcasestr.c (TEST_NAME): Likewise.
30949         * string/test-strcat.c (TEST_NAME): Likewise.
30950         * string/test-strchr.c (TEST_NAME): Likewise.
30951         * string/test-strcmp.c(TEST_NAME): Likewise.
30952         * string/test-strcpy.c (TEST_NAME): Likewise.
30953         * string/test-strcspn.c (TEST_NAME): Likewise.
30954         * string/test-strlen.c (TEST_NAME): Likewise.
30955         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30956         * string/test-strncmp.c (TEST_NAME): Likewise.
30957         * string/test-strncpy.c (TEST_NAME): Likewise.
30958         * string/test-strnlen.c (TEST_NAME): Likewise.
30959         * string/test-strpbrk.c (TEST_NAME): Likewise.
30960         * string/test-strrchr.c (TEST_NAME): Likewise.
30961         * string/test-strspn.c (TEST_NAME): Likewise.
30962         * string/test-strstr.c (TEST_NAME): Likewise.
30963         * string/test-bcopy-ifunc.c: New file.
30964         * string/test-bzero-ifunc.c: Likewise.
30965         * string/test-memccpy-ifunc.c: Likewise.
30966         * string/test-memchr-ifunc.c: Likewise.
30967         * string/test-memcmp-ifunc.c: Likewise.
30968         * string/test-memcpy-ifunc.c: Likewise.
30969         * string/test-memmem-ifunc.c: Likewise.
30970         * string/test-memmove-ifunc.c: Likewise.
30971         * string/test-mempcpy-ifunc.c: Likewise.
30972         * string/test-memset-ifunc.c: Likewise.
30973         * string/test-rawmemchr-ifunc.c: Likewise.
30974         * string/test-stpcpy-ifunc.c: Likewise.
30975         * string/test-stpncpy-ifunc.c: Likewise.
30976         * string/test-strcasecmp-ifunc.c: Likewise.
30977         * string/test-strcasestr-ifunc.c: Likewise.
30978         * string/test-strcat-ifunc.c: Likewise.
30979         * string/test-strchr-ifunc.c: Likewise.
30980         * string/test-strchrnul-ifunc.c: Likewise.
30981         * string/test-strcmp-ifunc.c: Likewise.
30982         * string/test-strcpy-ifunc.c: Likewise.
30983         * string/test-strcspn-ifunc.c: Likewise.
30984         * string/test-strlen-ifunc.c: Likewise.
30985         * string/test-strncasecmp-ifunc.c: Likewise.
30986         * string/test-strncat-ifunc.c: Likewise.
30987         * string/test-strncmp-ifunc.c: Likewise.
30988         * string/test-strncpy-ifunc.c: Likewise.
30989         * string/test-strnlen-ifunc.c: Likewise.
30990         * string/test-strpbrk-ifunc.c: Likewise.
30991         * string/test-strrchr-ifunc.c: Likewise.
30992         * string/test-strspn-ifunc.c: Likewise.
30993         * string/test-strstr-ifunc.c: Likewise.
30994
30995         * debug/Makefile (tests-ifunc): New variable.
30996         (tests): Add $(tests-ifunc).
30997         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30998         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30999         * debug/test-stpcpy_chk-ifunc.c: New file.
31000         * debug/test-strcpy_chk-ifunc.c: Likewise.
31001
31002 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31003
31004         [BZ #13601]
31005         * elf/dl-load.c (open_verify): Retry read if the entire ELF
31006         header is not read in.
31007
31008 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
31009
31010         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
31011         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
31012         directly.  Pass built executable to script as
31013         $(built-program-cmd).
31014         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
31015         $testprogram without using LD_LIBRARY_PATH and $ldso.
31016
31017         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31018         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31019         $(rtld-installed-name).
31020         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31021         (rtld_installed_name): Likewise.
31022         (library_path): Likewise.
31023         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
31024         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31025         $(run-program-prefix) to tst-tables.sh.
31026         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
31027         it to run tst-table-from and tst-table-to.
31028         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31029         Pass it to tst-table.sh.
31030         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31031         $(run-program-prefix) to tst-gettext.sh.
31032         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31033         tst-translit.sh.
31034         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31035         tst-gettext2.sh.
31036         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
31037         to run tst-gettext.
31038         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
31039         to run tst-gettext2.
31040         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
31041         to run tst-translit.
31042         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31043         $(run-program-prefix) to tst-mtrace.sh.
31044         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
31045         to run tst-mtrace.
31046         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31047         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31048         $(rtld-installed-name).
31049         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31050         (rtld_installed_name): Likewise.
31051         (run_program_prefix): New variable.  Use it to run wordexp-test.
31052
31053         * Makeconfig (ARCH): Remove all definitions.
31054         (machine): Likewise.
31055         [ARCH]: Remove conditional code.
31056         [!objdir]: Give error.
31057         [!objdir] (objpfx): Remove.
31058         [!objdir] (common-objpfx): Likewise.
31059         [!objdir] (common-objdir): Likewise.
31060         * configure.in (config_makefile): Remove.  Hardcode Makefile in
31061         AC_CONFIG_FILES call.
31062         * configure: Regenerated.
31063
31064         [BZ #13888]
31065         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31066         or TMPDIR.
31067         (testout): Likewise.
31068
31069         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31070         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31071         $(rtld-installed-name).
31072         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31073         (rtld_installed_name): Likwise.
31074         (runit): Remove function.
31075         (run_getconf): New variable,  Use it for running getconf binary.
31076
31077 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
31078
31079         [BZ #14716]
31080         * string/test-memmem.c (check_result): New function.
31081         (do_one_test): Use it.
31082         (check1): New function.
31083         (test_main): Use it.
31084
31085 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
31086
31087         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31088
31089 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
31090
31091         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31092         (_G_LSEEK64): Likewise.
31093         (_G_MMAP64): Likewise.
31094         (_G_FSTAT64): Likewise.
31095         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31096         (_G_LSEEK64): Likewise.
31097         (_G_MMAP64): Likewise.
31098         (_G_FSTAT64): Likewise.
31099         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31100         unconditional.  Call __mmap64 directly.
31101         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31102         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
31103         __lseek64 directly.
31104         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31105         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
31106         __mmap64 directly.
31107         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31108         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31109         __lseek64 directly.
31110         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31111         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31112         __lseek64 directly.
31113         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31114         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
31115         __lseek64 directly.
31116         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31117         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
31118         __fxstat64 directly.
31119         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31120         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31121         unconditional.
31122         (freopen64) [!_G_OPEN64]: Remove conditional code.
31123         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31124         unconditional.
31125         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31126         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31127         unconditional.
31128         (ftello64) [!_G_LSEEK64]: Remove conditional code.
31129         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31130         unconditional.
31131         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31132         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31133         unconditional.
31134         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31135         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31136         unconditional.
31137         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31138         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31139         unconditional.
31140         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31141         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31142         unconditional.
31143         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31144
31145 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31146
31147         [BZ #12140]
31148         * manual/memory.texi (Malloc Tunable Parameters): Add note
31149         about free list pointers overwriting some perturb bytes.
31150         Wording suggested by Roland McGrath.
31151
31152 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
31153
31154         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31155         (lgamma_test): Likewise.
31156         (tgamma_test): Likewise.
31157
31158 2012-10-16  Florian Weimer  <fweimer@redhat.com>
31159
31160         [BZ #14700]
31161         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31162         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31163
31164 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
31165
31166         * NEWS: Mention BZ #14716.
31167         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31168         when removing AVAILABLE1_USES_J macro.
31169
31170 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
31171
31172         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31173         (__bswap_64): __uint64_t for unsigned 64-bit int.
31174
31175 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
31176
31177         * include/string.h (memmem): Declare libc hidden alias.
31178         * string/memmem.c (memmem): Define libc hidden alias.
31179         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31180         __read, __close instead of open, read, close.
31181
31182 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
31183
31184         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31185         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31186         global and hidden.
31187         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31188         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31189         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31190         Likewise.
31191         (__rawmemchr_sse2): Likewise.
31192         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31193         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31194         (__strchr_sse2): Likewise.
31195         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31196         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31197         (__strcasecmp_sse2): Likewise.
31198         (__strncasecmp_sse2): Likewise.
31199         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31200         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31201         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31202         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31203         (__strrchr_sse2): Likewise.
31204         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31205         ifunc-impl-list.c.
31206         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31207         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31208         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31209         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31210         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31211         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31212         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31213         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31214         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31215         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31216         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31217         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31218         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31219         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31220         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31221         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31222         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31223         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31224         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31225         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31226         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31227         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31228         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31229         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31230         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31231         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31232         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31233         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31234         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31235         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31236
31237         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31238         global and hidden.
31239         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31240         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31241         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31242         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31243         Likewise.
31244         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31245         Likewise.
31246         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31247         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31248         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31249         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31250         ifunc-impl-list.c.
31251         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31252         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31253         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31254         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31255         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31256         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31257         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31258         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31259         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31260         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31261         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31262         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31263         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31264         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31265         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31266         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31267         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31268         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31269         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31270         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31271         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31272         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31273         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31274         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31275         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31276         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31277         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31278         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31279         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31280         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31281         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31282         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31283         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31284         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31285         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31286         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31287         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31288         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31289         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31290         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31291         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31292
31293         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31294         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31295         * include/ifunc-impl-list.h: New file.
31296         * misc/ifunc-impl-list.c: Likewise.
31297         * misc/Makefile (routines): Add ifunc-impl-list.
31298         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31299         * string/test-string.h: Include <ifunc-impl-list.h>.
31300         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31301         TEST_NAME]: New variables.
31302         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31303         are defined.
31304         (test_init): Call __libc_ifunc_impl_list to initialize
31305         func_list if TEST_IFUNC and TEST_NAME are defined.
31306
31307         * string/Makefile (strop-tests): Add bcopy and bzero.
31308         * string/test-bcopy.c: New file.
31309         * string/test-bzero.c: Likewise.
31310         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31311         defined.
31312         * string/test-memset.c: Support bzero test if TEST_BZERO is
31313         defined.
31314         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31315         __libc_memmove.
31316         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31317         __libc_memset.
31318         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31319         of memset.
31320
31321 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
31322
31323         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31324         * configure: Regenerated.
31325
31326         * Makeconfig (+link-static-before-libc): Don't include
31327         $(link-static-libc).
31328
31329         * libio/libio.h (_IO_pos_t): Remove.
31330
31331 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31332
31333         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
31334         McGrath.
31335
31336 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31337
31338         * crypt/crypt-entry.c: Include fips-private.h.
31339         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31340         * crypt/md5c-test.c (main): Tolerate disabled MD5.
31341         * sysdeps/unix/sysv/linux/fips-private.h: New file.
31342         * sysdeps/generic/fips-private.h: New file, dummy fallback.
31343
31344 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31345
31346         * crypt/crypt-private.h: Include stdbool.h.
31347         (_ufc_setup_salt_r): Return bool.
31348         * crypt/crypt-entry.c: Include errno.h.
31349         (__crypt_r): Return NULL with EINVAL for bad salt.
31350         * crypt/crypt_util.c (bad_for_salt): New.
31351         (_ufc_setup_salt_r): Check that salt is long enough and within
31352         the specified alphabet.
31353         * crypt/badsalttest.c: New file.
31354         * crypt/Makefile (tests): Add it.
31355         ($(objpfx)badsalttest): New.
31356
31357 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
31358
31359         * NEWS: Add entry for BZ #14602.
31360
31361 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31362
31363         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31364         type-generic.
31365         * math/libm-test.inc: Update comment listing what functions and
31366         macros are tested.
31367         (isgreater_test): New function.
31368         (isgreaterequal_test): Likewise.
31369         (isless_test): Likewise.
31370         (islessequal_test): Likewise.
31371         (islessgreater_test): Likewise.
31372         (isunordered_test): Likewise.
31373         (main): Call the new functions.
31374
31375 2012-10-09  Roland McGrath  <roland@hack.frob.com>
31376
31377         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31378         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31379         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31380         * sysdeps/i386/configure: Regenerated.
31381         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31382         * sysdeps/mach/configure: Regenerated.
31383         * sysdeps/mach/hurd/configure: Regenerated.
31384         * sysdeps/powerpc/configure: Regenerated.
31385         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31386         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31387         * sysdeps/s390/s390-32/configure: Regenerated.
31388         * sysdeps/s390/s390-64/configure: Regenerated.
31389         * sysdeps/sh/configure: Regenerated.
31390         * sysdeps/sparc/configure: Regenerated.
31391         * sysdeps/unix/sysv/linux/configure: Regenerated.
31392         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31393         * sysdeps/x86_64/configure: Regenerated.
31394
31395         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31396         defined.  Don't check if MAP is NULL.
31397
31398 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31399
31400         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31401         (_G_stat64): Likewise.
31402         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31403         (_G_stat64): Likewise.
31404         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31405         instead of struct _G_stat64.
31406         * libio/fileops.c (mmap_remap_check): Likewise.
31407         (decide_maybe_mmap): Likewise.
31408         (_IO_new_file_seekoff): Likewise.
31409         (_IO_file_stat): Likewise.
31410         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31411         _G_off64_t.
31412         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31413         instead of struct _G_stat64.
31414         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31415
31416 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
31417
31418         [BZ #14602]
31419         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31420         Replace with ...
31421         (CHECK_EOL): New macro.
31422         (two_way_short_needle): Check beginning of haystack for EOL.  Use
31423         CHECK_EOL.
31424         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31425         Replace with CHECK_EOL.
31426         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31427         Replace with CHECK_EOL.
31428
31429 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
31430
31431         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31432         type-generic.
31433         * math/libm-test.inc: Update comment listing what functions and
31434         macros are tested.
31435         (finite_test): New function.
31436         (isinf_test): Likewise.
31437         (isnan_test): Likewise.
31438         (fpclassify_test): Test subnormal input.
31439         (isfinite_test): Likewise.
31440         (isnormal_test): Likewise.
31441         (main): Call the new functions.
31442
31443 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
31444
31445         [BZ #14660]
31446         * Makerules (%.dynsym): Force C locale when running
31447         $(OBJDUMP) --dynamic-syms.
31448
31449 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
31450
31451         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31452         <stdint.h>.
31453
31454 2012-10-06  David S. Miller  <davem@davemloft.net>
31455
31456         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31457         upper 32-bits of the length value in %o2 since we use branch-on-register
31458         tests which consider the entire 64-bit register.
31459
31460 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
31461
31462         * string/test-strstr.c (check2): Add a test for page boundary.
31463
31464 2012-10-05  David S. Miller  <davem@davemloft.net>
31465
31466         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31467         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31468         file.
31469         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31470         sysdep_routines.
31471         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31472         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31473         and bzero when HWCAP_SPARC_CRYPTO is present.
31474
31475 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
31476
31477         [BZ #14602]
31478         * string/test-strstr.c (check2): New function.
31479         (test_main): Call check2.
31480
31481         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31482         and bug-strchr1.
31483         * string/bug-strcasestr1.c (do_test): Moved to ...
31484         * string/test-strcasestr.c (check1): Here.  New function.
31485         (do_one_test): Break out result checking code into ...
31486         (check_result): This.  New function.
31487         (do_one_test): Call check_result.
31488         (test_main): Call check1.
31489         * string/bug-strchr1.c (do_test): Moved to ...
31490         * string/test-strchr.c (check1): Here.  New function.
31491         (do_one_test): Break out result checking code into ...
31492         (check_result): This.  New function.
31493         (do_one_test): Call check_result.
31494         (test_main): Call check1.
31495         * string/bug-strstr1.c (main): Moved to ...
31496         * string/test-strstr.c (check1): Here.  New function.
31497         (do_one_test): Break out result checking code into ...
31498         (check_result): This.  New function.
31499         (do_one_test): Call check_result.
31500         (test_main): Call check1.
31501         * string/bug-strcasestr1.c: Removed.
31502         * string/bug-strchr1.c: Likewise.
31503         * string/bug-strstr1.c: Likewise.
31504
31505         * elf/Makefile (dl-routines): Add hwcaps.
31506         * elf/dl-support.c (_dl_important_hwcaps): Removed.
31507         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31508         (_dl_important_hwcaps): Moved to ...
31509         * elf/dl-hwcaps.c: Here.  New file.
31510         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31511
31512         [BZ #14557]
31513         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31514         if IS_IN_rtld isn't defined.
31515
31516         * elf/dl-support.c (_dl_sysinfo_map): New.
31517         Include "get-dynamic-info.h" and "setup-vdso.h".
31518         (_dl_non_dynamic_init): Call setup_vdso.
31519         * elf/dynamic-link.h: Don't include <assert.h>.
31520         (elf_get_dynamic_info): Moved to ...
31521         * elf/get-dynamic-info.h: Here.  New file.
31522         * elf/dynamic-link.h: Include "get-dynamic-info.h".
31523         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31524         * elf/setup-vdso.h: Here.  New file.
31525         * elf/rtld.c: Include "setup-vdso.h".
31526         (dl_main): Call setup_vdso.
31527
31528 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
31529
31530         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31531         creal in comment listing functions tested.  List finite, isinf,
31532         isnan, isless, islessequal, isgreater, isgreaterequal,
31533         islessgreater, isunordered, lgamma_r and pow10 as functions and
31534         macros not tested.  Mention which functions not tested are aliases
31535         for other functions.  Fix typo.  Note that signs of NaNs are not
31536         tested.
31537
31538         * scripts/config.guess: Update from config.git.
31539         * scripts/config.sub: Likewise.
31540
31541 2012-10-04  Roland McGrath  <roland@hack.frob.com>
31542
31543         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31544         * misc/madvise.c (madvise): Renamed to __madvise.
31545         Make madvise a weak alias.
31546         * include/sys/mman.h: Declare __madvise.
31547         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31548         * sysdeps/unix/syscalls.list
31549         (madvise): Make __madvise the strong name, and madvise a weak alias.
31550         * sysdeps/unix/sysv/linux/syscalls.list
31551         (madvise, mmap): Remove redundant entries.
31552         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31553         * malloc/malloc.c (mtrim): Likewise.
31554         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31555
31556 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31557
31558         * sysdeps/mach/hurd/dl-cache.c: File removed.
31559         * config.h.in (USE_LDCONFIG): New #undef.
31560         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31561         * configure: Regenerated.
31562         * elf/Makefile (dl-routines): Add dl-cache only under
31563         [$(use-ldconfig) = yes].
31564         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31565         cache on [USE_LDCONFIG].
31566         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31567         [USE_LDCONFIG].
31568         * elf/rtld.c (dl_main): Likewise.
31569
31570 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
31571
31572         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31573         _SC_LEVEL4_CACHE_LINESIZE.
31574
31575 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31576
31577         * sysdeps/unix/bsd/confstr.h: File removed.
31578
31579 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
31580
31581         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31582         sys/sdt-config.h.
31583
31584 2012-10-02  Roland McGrath  <roland@hack.frob.com>
31585
31586         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31587         Make 'mapoff' field ElfW(Off) rather than off_t.
31588
31589 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
31590
31591         * nscd/Makefile: Remove nscd-cflags and all its users.
31592         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31593         (CFLAGS-nonlib): Add compiler flags for nscd modules.
31594
31595         [BZ #10631]
31596         * malloc.c (malloc_printerr): Clarify error message.
31597
31598 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
31599
31600         [BZ #14648]
31601         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31602         Set bit_FMA_Usable if FMA is supported.
31603         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31604         macro.
31605         (bit_FMA4_Usable): Updated.
31606         (index_FMA_Usable): New macro.
31607         (CPUID_FMA): Likewise
31608         (HAS_FMA): Defined with bit_FMA_Usable.
31609
31610 2012-10-01  Roland McGrath  <roland@hack.frob.com>
31611
31612         * bits/types.h (__swblk_t): Type removed.
31613         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31614         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31615         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31616         (__SWBLK_T_TYPE): Likewise.
31617         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31618         (__SWBLK_T_TYPE): Likewise.
31619         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31620         (__SWBLK_T_TYPE): Likewise.
31621         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31622         (__SWBLK_T_TYPE): Likewise.
31623
31624 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
31625             Honza Horak <hhorak@redhat.com>
31626
31627         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31628         (xdr_mapname): Use YPMAXMAP as maxsize.
31629         (xdr_peername): Use YPMAXPEER as maxsize.
31630         (xdr_keydat): Use YPAXRECORD as maxsize.
31631         (xdr_valdat): Use YPMAXRECORD as maxsize.
31632
31633 2012-10-01  Roland McGrath  <roland@hack.frob.com>
31634
31635         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31636
31637         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31638         * csu/init-first.c: ... here.
31639         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31640         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31641         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31642         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31643         * sysdeps/i386/init-first.c: File removed.
31644         * sysdeps/sh/init-first.c: File removed.
31645
31646 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
31647
31648         [BZ #14645]
31649         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31650         if x * y might underflow to zero and z is zero.
31651         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31652         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31653         * math/libm-test.inc (min_subnorm_value): New variable.
31654         (fma_test): Add more tests.
31655         (fma_test_towardzero): Likewise.
31656         (fma_test_downward): Likewise
31657         (fma_test_upward): Likewise.
31658         (initialize): Set min_subnorm_value.
31659
31660 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
31661
31662         [BZ #14638]
31663         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31664         0 + 0.
31665         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31666         mode for addition resulting in exact zero.
31667         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31668         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31669         exact 0 + 0.
31670         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31671         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31672         * math/libm-test.inc (fma_test): Add more tests.
31673         (fma_test_towardzero): New function.
31674         (fma_test_downward): Likewise.
31675         (fma_test_upward): Likewise.
31676         (main): Call the new functions.
31677
31678 2012-09-28  David S. Miller  <davem@davemloft.net>
31679
31680         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31681
31682 2012-09-28  Roland McGrath  <roland@hack.frob.com>
31683
31684         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31685         instead of SIGALRM.
31686
31687         * sysdeps/gnu/_G_config.h: Moved to ...
31688         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31689         * sysdeps/mach/hurd/_G_config.h: Moved to ...
31690         * sysdeps/generic/_G_config.h: ... here.
31691
31692         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
31693
31694         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31695
31696         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31697         Conditionalize target on [libnss_test1.so-version].
31698
31699         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31700
31701         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31702         (elfobjdir): Move out of conditionals.
31703
31704         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31705         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31706         (__nss_lookup_function): Conditionalize label remove_from_tree on
31707         [!DO_STATIC_NSS || SHARED], matching its only use.
31708
31709 2012-09-28  David S. Miller  <davem@davemloft.net>
31710
31711         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31712         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31713         file.
31714         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31715         sysdep_routines.
31716         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31717         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31718         when HWCAP_SPARC_CRYPTO is present.
31719
31720 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31721
31722         * io/tst-mknodat.c: Create a FIFO instead of a socket.
31723
31724 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
31725
31726         [BZ #6530]
31727         * stdio-common/vfprintf.c (process_string_arg): Revert
31728         2000-07-22 change.
31729
31730 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
31731
31732         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31733         for testcase.
31734         * stdio-common/tst-sprintf.c: Include <locale.h>
31735         (main): Test sprintf's handling of incomplete multibyte
31736         characters.
31737
31738 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
31739
31740         * elf/dl-runtime.c (VERSYMIDX): Removed.
31741         * elf/dl-version.c (VERSYMIDX): Likewise.
31742         * elf/do-rel.h (VERSYMIDX): Likewise.
31743         (VALIDX): Likewise.
31744         * elf/dynamic-link.h (VERSYMIDX): Likewise.
31745         * elf/rtld.c (VALIDX): Likewise.
31746         (ADDRIDX): Likewise.
31747         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31748         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31749         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31750         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31751         (VALIDX): Likewise.
31752         (ADDRIDX): Likewise.
31753
31754 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31755
31756         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31757
31758 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
31759
31760         [BZ #11438]
31761         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31762         to global scope.
31763         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31764         addresses are in the same scope as 192.0.2/24.
31765         * posix/gai.conf: Document new scope table defaults.
31766
31767 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31768
31769         [BZ #5298]
31770         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31771         for ftell.  Compute offsets from write pointers instead.
31772         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31773
31774 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31775
31776         [BZ #14543]
31777         * libio/Makefile (tests): New test case tst-fseek.
31778         * libio/tst-fseek.c: New test case to verify that fseek/ftell
31779         combination works in wide mode.
31780         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31781         state when the external buffer state changes.
31782
31783 2012-09-27  David S. Miller  <davem@davemloft.net>
31784
31785         [BZ #14376]
31786         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31787         pass reloc->r_addend in as the 'high' argument to
31788         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31789
31790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31791
31792 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31793
31794         * rt/tst-aio2.c: Include <pthread.h>.
31795         * rt/tst-aio3.c: Likewise.
31796
31797 2012-09-27  Steve Ellcey  <sellcey@mips.com>
31798
31799         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31800
31801 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
31802
31803         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31804         contents on [SHARED].
31805
31806 2012-09-26  Marek Polacek  <polacek@redhat.com>
31807
31808         [BZ #14530]
31809         [BZ #13741]
31810         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31811         for C++ and GCC <4.3 as well as for non GCC compilers.
31812
31813 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31814
31815         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31816
31817 2012-09-25  Roland McGrath  <roland@hack.frob.com>
31818
31819         * Makefile.in (all, install): Declare with .PHONY.
31820         Reported by Michael Hope <michael.hope@linaro.org>.
31821
31822 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31823
31824         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31825         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31826         system header.
31827         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31828         Likewise.
31829         (sydep_routines): Add the new and the internal functions.
31830         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31831         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31833         (GLIBC_2.17): Add the new function.
31834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31835         (GLIBC_2.17): Likewise.
31836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31837         (GLIBC_2.17): Likewise.
31838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31839         (GLIBC_2.17): Likewise.
31840         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31841
31842 2012-09-25  Alan Modra  <amodra@gmail.com>
31843
31844         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31845         Add release barrier before setting once_control to say
31846         initialisation is done.  Add hints on lwarx.  Use macro in
31847         place of isync.
31848         (clear_once_control): Add release barrier.
31849
31850 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31851
31852         [BZ #13629]
31853         * math/s_clog.c (__clog): Handle more values close to |z| = 1
31854         specially.
31855         * math/s_clog10.c (__clog10): Likewise.
31856         * math/s_clog10f.c (__clog10f): Likewise.
31857         * math/s_clog10l.c (__clog10l): Likewise.
31858         * math/s_clogf.c (__clogf): Likewise.
31859         * math/s_clogl.c (__clogl): Likewise.
31860         * math/Makefile (libm-calls): Add x2y2m1.
31861         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31862         (__x2y2m1): Likewise.
31863         (__x2y2m1l): Likewise.
31864         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31865         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31866         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31867         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31868         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31869         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31870         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31871         * sysdeps/i386/fpu/libm-test-ulps: Update.
31872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31873
31874         [BZ #14621]
31875         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31876         int as type of variable DEPTH.
31877         (glob): Use size_t instead of int as type of variables NEWCOUNT
31878         and OLD_PATHC.
31879
31880 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31881
31882         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31883         Add s_sincosf-sse2.
31884         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31885         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31886         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31887         macros for using routine as __sincosf_ia32.
31888         Use macro for function declaration and weak_alias.
31889         * sysdeps/i386/fpu/libm-test-ulps: Update.
31890
31891         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31892         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31893
31894         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31895         subnormal argument.
31896         * math/s_cexpf.c (__cexpf): Likewise.
31897         * math/s_csinf.c (__csinf): Likewise.
31898         * math/s_csinhf.c (__csinhf): Likewise.
31899         * math/s_ctanf.c (__ctanf): Likewise.
31900         * math/s_ctanhf.c (__ctanhf): Likewise.
31901         * math/s_ccosh.c (__ccoshf): Likewise.
31902         * math/s_cexp.c (__cexpl): Likewise.
31903         * math/s_csin.c (__csin): Likewise.
31904         * math/s_csinh.c (__csinh): Likewise.
31905         * math/s_ctan.c (__ctan): Likewise.
31906         * math/s_ctanh.c (ctanh): Likewise.
31907         * math/s_ccoshl.c (__ccoshl): Likewise.
31908         * math/s_cexpl.c (__cexpl): Likewise.
31909         * math/s_csinl.c (__csinl): Likewise.
31910         * math/s_csinhl.c (__csinhl): Likewise.
31911         * math/s_ctanl.c (__ctanl): Likewise.
31912         * math/s_ctanhl.c (__ctanhl): Likewise.
31913
31914 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31915
31916         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31917         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31918         (_IO_off_t): Define to __off_t, not _G_off_t.
31919         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31920         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31921         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31922         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31923         type of __dummy and __dummy2 fields.
31924         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31925         (_G_ssize_t): Likewise.
31926         (_G_off_t): Likewise.
31927         (_G_pid_t): Likewise.
31928         (_G_uid_t): Likewise.
31929         (_G_wchar_t): Likewise.
31930         (_G_wint_t): Likewise.
31931         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31932         (_G_ssize_t): Likewise.
31933         (_G_off_t): Likewise.
31934         (_G_pid_t): Likewise.
31935         (_G_uid_t): Likewise.
31936         (_G_wchar_t): Likewise.
31937         (_G_wint_t): Likewise.
31938         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31939         (_G_ssize_t): Likewise.
31940         (_G_off_t): Likewise.
31941         (_G_pid_t): Likewise.
31942         (_G_uid_t): Likewise.
31943         (_G_wchar_t): Likewise.
31944         (_G_wint_t): Likewise.
31945
31946 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31947
31948         * malloc/arena.c: Include malloc-sysdep.h.
31949         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31950         is sufficient to shrink the heap or an unmap is needed.
31951         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31952         new function check_may_shrink_heap.
31953         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31954         new function check_may_shrink_heap.
31955
31956 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31957
31958         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31959         comments.
31960
31961 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31962
31963         * catgets/test-gencat.sh: Add "set -e".
31964         * elf/tst-pathopt.sh: Likewise.
31965         * grp/tst_fgetgrent.sh: Likewise.
31966         * iconvdata/run-iconv-test.sh: Likewise.
31967         * intl/tst-gettext.sh: Likewise.
31968         * intl/tst-gettext2.sh: Likewise.
31969         * intl/tst-gettext4.sh: Likewise.
31970         * intl/tst-gettext6.sh: Likewise.
31971         * intl/tst-translit.sh: Likewise.
31972         * io/ftwtest-sh: Likewise.
31973         * libio/test-freopen.sh: Likewise.
31974         * malloc/tst-mtrace.sh: Likewise.
31975         * posix/globtest.sh: Likewise.
31976         * posix/tst-getconf.sh: Likewise.
31977         * posix/wordexp-tst.sh: Likewise.
31978         * stdio-common/tst-printf.sh: Likewise.
31979         * stdio-common/tst-unbputc.sh: Likewise.
31980         * stdlib/tst-fmtmsg.sh: Likewise.
31981         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31982         * catgets/Makefile: Do not specify -e option when running
31983         testsuite shell scripts.
31984         * elf/Makefile: Likewise.
31985         * grp/Makefile: Likewise.
31986         * iconvdata/Makefile: Likewise.
31987         * intl/Makefile: Likewise.
31988         * io/Makefile: Likewise.
31989         * libio/Makefile: Likewise.
31990         * malloc/Makefile: Likewise.
31991         * posix/Makefile: Likewise.
31992         * stdio-common/Makefile: Likewise.
31993         * stdlib/Makefile: Likewise.
31994         * sysdeps/x86_64/Makefile: Likewise.
31995
31996         * io/ftwtest-sh: Add copyright header.
31997         * posix/globtest.sh: Likewise.
31998         * posix/tst-getconf.sh: Likewise.
31999         * posix/wordexp-tst.sh: Likewise.
32000         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32001
32002 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
32003
32004         [BZ #13679]
32005         * Makeconfig (+link): Defined as $(+link-static) if
32006         $(build-shared) isn't yes.
32007         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32008         isn't yes.
32009         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32010
32011         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32012
32013         [BZ #14562]
32014         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32015         new chunk size with MALLOC_ALIGN_MASK.
32016
32017 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
32018
32019         [BZ #5044]
32020         * stdio-common/printf_fphex.c: Include <stdbool.h> and
32021         <rounding-mode.h>.
32022         (__printf_fphex): Determine rounding using get_rounding_mode and
32023         round_away.
32024         * stdio-common/tst-printf-round.c (struct hex_test): New
32025         structure.
32026         (hex_tests): New variable.
32027         (test_hex_in_one_mode): New function.
32028         (do_test): Also run tests for hex float output.
32029
32030 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
32031
32032         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32033         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32034         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32035         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32036         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32037         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32038         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32039         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32040
32041 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
32042
32043         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32044         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32045         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32046         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32047
32048 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
32049
32050         [BZ #14579]
32051         * elf/rtld.c (dl_main): Limit the check for self loading to normal
32052         mode only.
32053         * elf/tst-rtld-load-self.sh: New test.
32054         * elf/Makefile: Run it.
32055
32056 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
32057
32058         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32059         (tst-writev-ENV): Remove.
32060         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32061
32062 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
32063
32064         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32065
32066 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
32067
32068         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32069         unconditional.
32070         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32071         Likewise.
32072         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32073         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32074         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32075         Likewise.
32076
32077 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
32078
32079         [BZ #14587]
32080         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32081         * config.make.in (have-cpp-asm-debuginfo): Removed.
32082         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32083         * configure: Regenerated.
32084
32085 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
32086
32087         [BZ #5044]
32088         * stdio-common/printf_fp.c: Include <stdbool.h> and
32089         <rounding-mode.h>.
32090         (___printf_fp): Determine rounding using get_rounding_mode and
32091         round_away.
32092         * stdio-common/tst-printf-round.c: New file.
32093         * stdio-common/Makefile (tests): Add tst-printf-round.
32094         (link-libm): New variable.
32095         ($(objpfx)tst-printf-round): Depend in $(link-libm).
32096
32097 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
32098
32099         [BZ #14576]
32100         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32101         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32102         Likewise.
32103         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32104         Likewise.
32105
32106 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
32107
32108         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32109         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32110         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32111         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32112
32113 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
32114
32115         [BZ #14518]
32116         * include/rounding-mode.h: New file.
32117         * sysdeps/generic/get-rounding-mode.h: Likewise.
32118         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32119         * stdlib/strtod_l.c: Include <rounding-mode.h>.
32120         (MAX_VALUE): New macro.
32121         (MIN_VALUE): Likewise.
32122         (overflow_value): New function.
32123         (underflow_value): Likewise.
32124         (round_and_return): Use overflow_value and underflow_value to
32125         determine return values in overflow and underflow cases.  Use
32126         round_away to determine rounding depending on rounding mode.
32127         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32128         determine return values in overflow and underflow cases.
32129         * stdlib/tst-strtod-round.c: Include <fenv.h>.
32130         (struct test_results): New structure.
32131         (struct test): Use struct test_results to store expected results
32132         for all rounding modes.
32133         (TEST): Include expected results for all rounding modes.
32134         (test_in_one_mode): New function.
32135         (do_test): Use test_in_one_mode to compute and check results.
32136         Check results for all rounding modes.
32137         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32138         $(link-libm).
32139
32140 2012-12-09  Allan McRae  <allan@archlinux.org>
32141
32142         * sysdeps/i386/fpu/libm-test-ulps: Update
32143
32144 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
32145
32146         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32147         (_G_int32_t): Likewise.
32148         (_G_uint16_t): Likewise.
32149         (_G_uint32_t): Likewise.
32150         (_G_HAVE_BOOL): Likewise.
32151         (_G_HAVE_ATEXIT): Likewise.
32152         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32153         (_G_HAVE_IO_FILE_OPEN): Likewise.
32154         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32155         (_G_int32_t): Likewise.
32156         (_G_uint16_t): Likewise.
32157         (_G_uint32_t): Likewise.
32158         (_G_HAVE_BOOL): Likewise.
32159         (_G_HAVE_ATEXIT): Likewise.
32160         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32161         (_G_HAVE_IO_FILE_OPEN): Likewise.
32162         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32163         (_G_int32_t): Likewise.
32164         (_G_uint16_t): Likewise.
32165         (_G_uint32_t): Likewise.
32166         (_G_HAVE_BOOL): Likewise.
32167         (_G_HAVE_ATEXIT): Likewise.
32168         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32169         (_G_HAVE_IO_FILE_OPEN): Likewise.
32170
32171 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
32172
32173         * csu/libc-tls.c: Update copyright years.
32174
32175 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
32176
32177         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32178         [!_G_USING_THUNKS]: Remove conditional code.
32179         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32180         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32181
32182         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32183         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32184         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32185         (_G_VTABLE_LABEL_PREFIX): Likewise.
32186         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32187         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32188         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32189         (_G_VTABLE_LABEL_PREFIX): Likewise.
32190         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32191         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32192         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32193         (_G_VTABLE_LABEL_PREFIX): Likewise.
32194         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32195
32196 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
32197
32198         * libio/Makefile: Include ../Makeconfig before tests.
32199         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32200         only if $(build-shared) is yes.
32201
32202         * iconv/gconv_db.c: Update copyright years.
32203
32204 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32205
32206         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32207         unwind info if defined PIC. Fix special cases description.
32208         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32209
32210         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32211         DP_HI_MASK entry.
32212         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32213
32214 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
32215
32216         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32217
32218         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32219         is NULL.
32220
32221         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32222         (LDLIBS-tst-chk4): This.
32223         (LDFLAGS-tst-chk5): Renamed to ...
32224         (LDLIBS-tst-chk5): This.
32225         (LDFLAGS-tst-chk6): Renamed to ...
32226         (LDLIBS-tst-chk6): This.
32227         (LDFLAGS-tst-lfschk4): Renamed to ...
32228         (LDLIBS-tst-lfschk4): This.
32229         (LDFLAGS-tst-lfschk5): Renamed to ...
32230         (LDLIBS-tst-lfschk5): This.
32231         (LDFLAGS-tst-lfschk6): Renamed to ...
32232         (LDLIBS-tst-lfschk6): This.
32233
32234         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32235         on $(common-objpfx)soversions.mk.
32236
32237 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
32238
32239         [BZ #10014]
32240         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32241         example host name.
32242
32243 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32244
32245         * malloc/arena.c (arena_get_retry): New function that gets
32246         another arena for the caller to try its request on.
32247         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32248         current arena cannot fulfill the request.
32249         (__libc_memalign): Likewise.
32250         (__libc_memalign): Likewise.
32251         (__libc_pvalloc): Likewise.
32252         (__libc_calloc): Likewise.
32253
32254 2012-09-05  John Tobey  <john.tobey@gmail.com>
32255
32256         [BZ #13542]
32257         * manual/arith.texi (Operations on Complex): Fix description
32258         of carg branch cut.
32259
32260 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32261
32262         [BZ #10014]
32263         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32264         host name.
32265
32266         [BZ #10038]
32267         * manual/memory.texi (Memory): Make order of menu items match
32268         order of sections.
32269
32270 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32271
32272         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32273         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
32274         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32275
32276 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32277
32278         * csu/libc-tls.c (static_dtv): Renamed to ...
32279         (_dl_static_dtv): This.  Make it global.
32280         (_dl_initial_dtv): Removed.
32281         (__libc_setup_tls): Updated.
32282         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32283         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32284         DL_INITIAL_DTV.
32285
32286 2012-09-06  Petr Machata  <pmachata@redhat.com>
32287
32288         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32289         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32290         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32291         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32292
32293 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32294
32295         [BZ #14545]
32296         * csu/libc-tls.c (_dl_initial_dtv): New variable.
32297         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32298         freeing dtv[-1].
32299
32300 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32301
32302         [BZ #14544]
32303         * Makeconfig (link-static-before-libc): Replace $(+prector)
32304         with $(+prectorT).
32305         (link-static-after-libc): Replace $(+postctor) with
32306         $(+postctorT).
32307         (link-bounded): Replace $(+prector)/$(+postctor) with
32308         $(+prectorT)/$(+postctorT).
32309         (+prectorT): New macro.
32310         (+postctorT): Likewise.
32311
32312 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32313
32314         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32315         (round_str): Handle values above the maximum for IBM long double
32316         as inexact.
32317         * stdlib/tst-strtod-round.c (tests): Regenerated.
32318
32319 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32320
32321         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32322         assembler flag.
32323         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32324         zarch_nohighgprs around the zarch optimized routines.
32325         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32326         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32327         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32328         for zarch.
32329
32330 2012-09-05  David S. Miller  <davem@davemloft.net>
32331
32332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32333
32334         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32335         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32336         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32337         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32338         entries.
32339
32340 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32341
32342         * malloc/arena.c: Fold copyright years.
32343         * malloc/mcheck.c, malloc/memusage.c: Likewise.
32344
32345 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32346
32347         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32348
32349 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32350
32351         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
32352
32353 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32354
32355         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32356         change internal state upon failure.
32357
32358 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32359
32360         * malloc/mcheck.c (mcheck_check_all): Fix typo.
32361         * malloc/memusage.c (mmap): Likewise.
32362         (mmap64, mremap): Likewise.  Adjust name in comment.
32363
32364 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32365
32366         * libio/fileops.c: Fix typos in comments.
32367         * libio/oldfileops.c: Likewise.
32368         * libio/wfileops.c: Likewise.
32369
32370 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32371
32372         [BZ #1349]
32373         * malloc/Makefile (tests): Add tst-malloc-usable test case.
32374         (tst-malloc-usable-ENV): Set environment for test case.
32375         * malloc/hooks.c (malloc_check_get_size): New function to get
32376         requested size.
32377         * malloc/malloc.c (musable): Use malloc_check_get_size.
32378         * malloc/tst-malloc-usable.c: New test case.
32379
32380 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32381
32382         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32383
32384 2012-09-05  Allan McRae  <allan@archlinux.org>
32385
32386         [BZ #13966]
32387         * configure.in (CXX_SYSINCLUDES): Use compiler output to
32388         determine header location.
32389         * configure: Regenerated.
32390
32391 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32392
32393         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32394         float format.
32395         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32396         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32397         format.
32398         (test): Regenerate.
32399
32400 2012-09-04  David S. Miller  <davem@davemloft.net>
32401
32402         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32403         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32404         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32405
32406 2012-09-04  Florian Weimer  <fweimer@redhat.com>
32407
32408         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32409         failures.
32410
32411         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32412
32413 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
32414
32415         [BZ #9914]
32416         * libio/iogetdelim.c: Include <limits.h>.
32417         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32418         + len + 1 would overflow.
32419
32420 2012-09-03  Andreas Jaeger  <aj@suse.de>
32421
32422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32423         * sysdeps/i386/fpu/libm-test-ulps: Update.
32424
32425 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32426
32427         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32428         Add s_sinf-sse2, s_conf-sse2.
32429
32430         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32431         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32432         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32433         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32434
32435         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32436         for using routine as __sinf_ia32.
32437         Use macro for function declaration and weak_alias.
32438         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32439         for using routine as __cosf_ia32.
32440         Use macro for function declaration and weak_alias.
32441
32442         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32443         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32444
32445         * sysdeps/x86_64/fpu/s_sinf.S: New file.
32446         * sysdeps/x86_64/fpu/s_cosf.S: New file.
32447         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32448
32449         * math/libm-test.inc (cos_test): Add more test cases.
32450         (sin_test): Likewise.
32451         (sincos_test): Likewise.
32452
32453 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32454
32455         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32456         (IFUNC_RESOLVE): Make pointers to the specialized implementations
32457         hidden.
32458         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32459
32460 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
32461
32462         [BZ #14538]
32463         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32464         first element of the GOT.
32465         (elf_machine_load_address): Return the difference between
32466         the runtime address of _DYNAMIC and elf_machine_dynamic ().
32467
32468 2012-09-01  Allan McRae  <allan@archlinux.org>
32469
32470         [BZ #13412]
32471         * configure.in (AWK): Require gawk version 3.0 or later.
32472         * configure: Regenerated.
32473
32474 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
32475
32476         * sysdeps/unix/sysv/linux/kernel-features.h
32477         (__ASSUME_POSIX_CPU_TIMERS): Remove.
32478         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32479         [__NR_clock_getres]: Make code unconditional.
32480         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32481         (clock_getcpuclockid): Remove code left unreachable by removal of
32482         conditionals.
32483         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32484         code unconditional.
32485         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32486         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32487         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32488         Make code unconditional.
32489         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32490         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32491         * sysdeps/unix/sysv/linux/clock_settime.c
32492         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32493         conditional code.
32494         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32495         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32496
32497 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
32498
32499         [BZ #14476]
32500         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32501         scripts/test-installation.pl.
32502
32503         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32504         and $ld_so_version if it is set.
32505
32506 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32507
32508         [BZ #14516]
32509         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32510         failure if reading from procfs failed.
32511         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32512
32513 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32514
32515         * sysdeps/unix/sysv/linux/kernel-features.h
32516         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32517         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32518         Remove conditional code.
32519         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32520         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32521         Remove conditional code.
32522         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32523         * sysdeps/unix/sysv/linux/i386/fxstat.c
32524         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32525         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32526         * sysdeps/unix/sysv/linux/i386/fxstatat.c
32527         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32528         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32529         * sysdeps/unix/sysv/linux/i386/lxstat.c
32530         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32531         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32532         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32533         Remove conditional code.
32534         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32535         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32536         Remove conditional code.
32537         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32538         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32539         <kernel-features.h>.
32540         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32541         Remove.
32542         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32543         Remove conditional code.
32544         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32545         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32546         Remove conditional.
32547
32548 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
32549
32550         [BZ #5400]
32551         * NEWS: Add fixed bug number.
32552
32553 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32554
32555         [BZ #14519]
32556         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32557         underflowing exponent in case of negative sign.
32558         * stdlib/tst-strtod-round-data: Add more tests.
32559         * stdlib/tst-strtod-round.c (tests): Regenerated.
32560
32561         [BZ #3479]
32562         * stdlib/strtod_l.c (NDIG): Remove.
32563         (HEXNDIG): Likewise.
32564         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32565         smallest representable value.
32566         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32567         lie within an exact representation of 1/2 ulp of the result.
32568         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32569         unconditionally.
32570         (TENS_P9_IDX): Define unconditionally.
32571         (TENS_P9_SIZE): Likewise.
32572         (TENS_P10_IDX): Likewise.
32573         (TENS_P10_SIZE): Likewise.
32574         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32575         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32576         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32577         entries for 10^2^13 and 10^2^14.
32578         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32579         (TENS_P13_IDX): Define.
32580         (TENS_P13_SIZE): Likewise.
32581         (TENS_P14_IDX): Likewise.
32582         (TENS_P14_SIZE): Likewise.
32583         (_fpioconst_pow10): Change array size to
32584         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
32585         unconditional.
32586         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32587         1024]: Add entries for 10^2^13 and 10^2^14.
32588         [LAST_POW10 > _LAST_POW10]: Remove #error.
32589         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32590         (_fpioconst_pow10): Change array size to
32591         FPIOCONST_POW10_ARRAY_SIZE.
32592         * stdlib/gen-fpioconst.c: New file.
32593         * stdlib/gen-tst-strtod-round.c: Likewise.
32594         * stdlib/tst-strtod-round-data: Likewise.
32595         * stdlib/tst-strtod-round.c: Likewise.
32596         * stdlib/Makefile (tests): Add tst-strtod-round.
32597
32598         [BZ #14459]
32599         * stdlib/strtod_l.c: Include <stdint.h>.
32600         (NDEBUG): Do not define.
32601         (round_and_return): Change EXPONENT parameter to type intmax_t.
32602         Rearrange calculations to avoid internal overflow possibilities.
32603         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32604         Rearrange calculations to avoid internal overflow possibilities.
32605         Assert that number fits inside MPNSIZE limbs.
32606         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32607         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
32608         calculations and add assertions to avoid internal overflow
32609         possibilities.  Add casts to avoid signed/unsigned operations.
32610         * stdlib/tst-strtod-overflow.c: New file.
32611         * stdlib/Makefile (tests): Add tst-strtod-overflow.
32612
32613 2012-08-25  Marek Polacek  <polacek@redhat.com>
32614
32615         * time/time.h: Fix some typos in comments.
32616
32617 2012-08-23  Roland McGrath  <roland@hack.frob.com>
32618
32619         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32620         * posix/tst-rfc3484-2.c: Likewise.
32621         * posix/tst-rfc3484-3.c: Likewise.
32622
32623 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
32624
32625         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32626         (EF_ARM_ABI_FLOAT_HARD): Likewise.
32627
32628 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
32629
32630         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32631         #include of fxstatat64.c.
32632
32633 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32634
32635         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32636         * shadow/getspent_r.c: Likewise.
32637         * shadow/getspnam.c: Likewise.
32638         * shadow/getspnam_r.c: Likewise.
32639         * gshadow/getsgent.c: Likewise.
32640         * gshadow/getsgent_r.c: Likewise.
32641         * gshadow/getsgnam.c: Likewise.
32642         * gshadow/getsgnam_r.c: Likewise.
32643         * inet/getnetbyad.c: Likewise.
32644         * inet/getnetbyad_r.c: Likewise.
32645         * inet/getnetbynm.c: Likewise.
32646         * inet/getnetbynm_r.c: Likewise.
32647         * inet/getnetent.c: Likewise.
32648         * inet/getnetent_r.c: Likewise.
32649         * inet/getproto.c: Likewise.
32650         * inet/getproto_r.c: Likewise.
32651         * inet/getprtent.c: Likewise.
32652         * inet/getprtent_r.c: Likewise.
32653         * inet/getprtname.c: Likewise.
32654         * inet/getprtname_r.c: Likewise.
32655         * inet/getrpcbyname.c: Likewise.
32656         * inet/getrpcbyname_r.c: Likewise.
32657         * inet/getrpcbynumber.c: Likewise.
32658         * inet/getrpcbynumber_r.c: Likewise.
32659         * inet/getrpcent.c: Likewise.
32660         * inet/getrpcent_r.c: Likewise.
32661         * inet/getaliasent.c: Likewise.
32662         * inet/getaliasent_r.c: Likewise.
32663         * inet/getaliasname.c: Likewise.
32664         * inet/getaliasname_r.c: Likewise.
32665         * nscd/getgrgid_r.c: Likewise.
32666         * nscd/getgrnam_r.c: Likewise.
32667         * nscd/gethstbyad_r.c: Likewise.
32668         * nscd/gethstbynm3_r.c: Likewise.
32669         * nscd/getpwnam_r.c: Likewise.
32670         * nscd/getpwuid_r.c: Likewise.
32671         * nscd/getsrvbynm_r.c: Likewise.
32672         * nscd/getsrvbypt_r.c: Likewise.
32673         * nscd/gai.c: Likewise.
32674
32675         * configure.in (build_nscd): New substituted variable, set
32676         by --disable-build-nscd and defaults to $use_nscd.
32677         * configure: Regenerated.
32678         * config.make.in (build-nscd): New substituted variable.
32679         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32680         Change conditional to require [$(build-nscd) = yes] as well.
32681         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32682
32683         [BZ# 13696]
32684         * configure.in (use_nscd): New substituted variable, set by
32685         --disable-nscd.  If enabled, define USE_NSCD.
32686         * configure: Regenerated.
32687         * config.h.in: Add USE_NSCD.
32688         * config.make.in (use-nscd): New substituted variable.
32689         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32690         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32691         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32692         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32693         (CFLAGS-getgrnam_r.c): Likewise.
32694         (CFLAGS-initgroups.c): Likewise.
32695         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32696         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32697         Variables removed.
32698         * inet/getnetgrent_r.c
32699         (nscd_setnetgrent): New function, broken out of ...
32700         (setnetgrent): ... here.  Call it.
32701         (innetgr): Conditionalize nscd bits on [USE_NSCD].
32702         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32703         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32704         * nscd/Makefile (routines, aux): Move definitions after include of
32705         Makeconfig.  Conditionalize on [$(use-nscd) != no].
32706         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32707         Conditionalize on [USE_NSCD].
32708         (is_nscd, nscd_init_cb): Likewise.
32709         (nss_load_library): Conditionalize init callback on [USE_NSCD].
32710         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32711         * nss/nss_db/db-init.c: Likewise.
32712         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32713         [USE_NSCD].
32714         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32715         (make_request): Use it.
32716         (cache_valid_p): New function.
32717         (__check_pf): Use it.
32718         * NEWS: Add item for --disable-nscd.
32719
32720 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
32721
32722         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32723         to support sed >= 4.2.1-20-ga9bf076.
32724         * configure: Regenerated.
32725
32726 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32727
32728         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32729         Conditionalize whole body on [IREL].
32730
32731 2012-08-22  Jeff Law <law@redhat.com>
32732
32733         [BZ #14505]
32734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32735         if the family is PF_UNSPEC.
32736
32737 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
32738
32739         * Makerules (lib-version): Rename from V.
32740         (install-lib-nosubdir): Change V to lib-version.
32741
32742 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
32743
32744         [BZ #14252]
32745         * powerpc32/power6/wcschr.c: New file.
32746         * powerpc32/power6/wcscpy.c: New file.
32747         * powerpc32/power6/wcsrchr.c: New file.
32748         * powerpc64/power6/wcschr.c: New file.
32749         * powerpc64/power6/wcscpy.c: New file.
32750         * powerpc64/power6/wcsrchr.c: New file.
32751
32752 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32753
32754         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32755         (two_way_short_needle): Use it.
32756         * string/strstr.c (AVAILABLE1_USES_J): Define.
32757         * string/strcasestr.c: Likewise.
32758
32759         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32760         array references.
32761         * string/strcasestr.c (TOLOWER): Make side-effect safe.
32762
32763         [BZ #11607]
32764         * NEWS: Add an entry.
32765         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32766         define their defaults.
32767         (two_way_short_needle): Detect end-of-string on-the-fly.
32768         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32769         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32770         * string/bug-strcasestr1.c: New test.
32771         * string/Makefile: Run it.
32772
32773 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32774
32775         [BZ #11607]
32776         * string/str-two-way.h (two_way_short_needle): Optimize matching of
32777         the first character.
32778
32779 2012-08-21  Roland McGrath  <roland@hack.frob.com>
32780
32781         * csu/elf-init.c (__libc_csu_irel): Function removed.
32782         * csu/libc-start.c (apply_irel): New function.
32783         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32784
32785 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
32786
32787         * sysdeps/unix/sysv/linux/kernel-features.h
32788         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32789         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32790         <kernel-features.h>.
32791         [__NR_fadvise64_64]: Make code unconditional.
32792         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32793         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32794         !__NR_fadvise64_64)]: Likewise.
32795         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32796         !__NR_fadvise64_64))]: Likewise.
32797         [__NR_fadvise64]: Make code unconditional.
32798         [!__NR_fadvise64]: Remove conditional code.
32799         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32800         <kernel-features.h>.
32801         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32802         unconditional.
32803         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32804         conditional code.
32805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32806         not include <kernel-features.h>.
32807         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32808         unconditional.
32809         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32810         conditional code.
32811         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32812         include <kernel-features.h>.
32813         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32814         unconditional.
32815         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32816         conditional code.
32817
32818 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32819
32820         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32821         slight instruction rearrangements per scrollpipe analysis.
32822         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32823
32824 2012-08-20  Roland McGrath  <roland@hack.frob.com>
32825
32826         * manual/syslog.texi (syslog; vsyslog, closelog):
32827         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32828         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32829
32830         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32831         DSOCAPS to match condition on defining it.
32832
32833 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
32834
32835         * sysdeps/unix/sysv/linux/kernel-features.h
32836         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32838         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32839         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32841         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32842         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32844         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32845         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32846
32847         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32848         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32849
32850         * sysdeps/unix/sysv/linux/kernel-features.h
32851         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32852         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32853         unconditional.
32854         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32855         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32856         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32857         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32858         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32859         Make code unconditional.
32860         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32861         (__mmap64) [!__NR_mmap2]: Likewise.
32862         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32863         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32864         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32865         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32866         [__NR_mmap2]: Make code unconditional.
32867         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32868         (__mmap64) [!__NR_mmap2]: Likewise.
32869
32870 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32871
32872         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32873
32874 2012-08-18  Andreas Jaeger  <aj@suse.de>
32875
32876         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32877
32878 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32879
32880         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32881         * include/unistd.h (__have_sock_cloexec): Likewise.
32882         (__have_pipe2): Likewise.
32883         (__have_dup3): Likewise.
32884
32885 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32886
32887         [BZ #9685]
32888         * include/unistd.h (__have_pipe2): Change define into an extern int.
32889         (__have_dup3): Likewise.
32890         * socket/have_sock_cloexec.c: Include fcntl.h.
32891         (__have_pipe2): New variable.
32892         (__have_dup3): Likewise.
32893
32894 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32895
32896         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32897
32898 2012-08-17  Marek Polacek  <polacek@redhat.com>
32899
32900         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32901         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32902
32903 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32904
32905         * configure.in: Add AC_SUBST for sysheaders.
32906         * configure: Regenerated.
32907         * config.make.in (sysheaders): New substituted variable.
32908
32909         * sysdeps/unix/mkfifo.c: Moved ...
32910         * sysdeps/posix/mkfifo.c: ... here.
32911         * sysdeps/unix/mkfifoat.c: Moved ...
32912         * sysdeps/posix/mkfifoat.c: ... here.
32913
32914         * sysdeps/unix/utime.c: Moved ...
32915         * sysdeps/posix/utime.c: ... here.
32916
32917         * sysdeps/unix/time.c: Moved ...
32918         * sysdeps/posix/time.c: ... here.
32919         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32920         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32921
32922         * sysdeps/unix/nice.c: Moved ...
32923         * sysdeps/posix/nice.c: ... here.
32924
32925         * sysdeps/unix/alarm.c: Moved ...
32926         * sysdeps/posix/alarm.c: ... here.
32927
32928         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32929
32930 2012-08-17  Jeff Law <law@redhat.com>
32931
32932         * intl/Makefile (codeset_mo): New variable.
32933         ($(codeset_mo)): New target.
32934         (tst-codeset.out): Depend on that.  Remove explicit rule.
32935         (tst-gettext3.out, tst-gettext5.out): Likewise.
32936         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32937         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32938         * intl/tst-codeset.sh: Remove.
32939         * intl/tst-gettext3.sh: Likewise.
32940         * intl/tst-gettext5.sh: Likewise.
32941
32942 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32943
32944         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32945         * sysdeps/unix/syscalls.list: ... here.
32946
32947         * sysdeps/posix/getaddrinfo.c
32948         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32949         (gaiconf_init, gaiconf_reload): Use them.
32950         [!_STATBUF_ST_NSEC]
32951         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32952         Define using time_t rather than struct timespec.
32953
32954         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32955         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32956         Macros removed.
32957         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32958         [!NO_THREADS].
32959         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32960         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32961         Likewise.
32962
32963         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32964         __libc_cleanup_push argument.
32965
32966         * bits/param.h: New file.
32967         * misc/sys/param.h: New file.
32968         * include/sys/param.h: New file.
32969         * misc/Makefile (headers): Add bits/param.h.
32970         * sysdeps/generic/sys/param.h: File removed.
32971         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32972         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32973         * sysdeps/mach/hurd/bits/param.h: New file.
32974         * sysdeps/mach/hurd/sys/param.h: File removed.
32975
32976         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32977         last change.
32978
32979         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32980         [_IO_MTSAFE_IO].
32981         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32982         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32983         New macros.
32984
32985         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32986         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32987         rather than -D_IO_MTSAFE_IO conditionally.
32988         * stdio-common/Makefile (CPPFLAGS): Likewise.
32989         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32990         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32991         Use $(libio-mtsafe).
32992         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32993         of -D_IO_MTSAFE_IO.
32994         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32995         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32996         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32997         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32998         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32999         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33000         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33001         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33002         (CFLAGS-fread_u_chk.c): Likewise.
33003         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33004         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33005         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33006         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33007         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33008         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33009         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33010         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33011         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33012
33013         * libio/Makefile: Test [$(libc-reentrant) = yes]
33014         instead of [$(filter %REENTRANT, $(defines)) nonempty].
33015
33016         * Makeconfig
33017         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33018         * sysdeps/pthread/configure: File removed.
33019         * sysdeps/pthread/Makeconfig: New file.
33020         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33021         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33022
33023 2012-08-16  Gary Benson  <gbenson@redhat.com>
33024
33025         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33026         unmapping the first object in a namespace.
33027
33028 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33029
33030         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33031         (__internal_setnetgrent): ... this.  Add internal_function to
33032         definition.  Add libc_hidden_def.
33033         (setnetgrent): Update caller.
33034         (internal_endnetgrent): Renamed to ...
33035         (__internal_endnetgrent): ... this.  Add internal_function to
33036         definition.  Add libc_hidden_def.
33037         (endnetgrent): Update caller.
33038         (internal_getnetgrent_r): Renamed to ...
33039         (__internal_getnetgrent_r): ... this.  Add internal_function to
33040         definition.  Add libc_hidden_def.
33041         (__getnetgrent_r): Update caller.
33042         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
33043
33044 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33045
33046         * stdlib/longlong.h: Update from GCC.
33047
33048 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33049
33050         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33051         on _QL, which is set by umul_ppmm but never used.
33052         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33053         variables, which are set by GMP macros but never used.
33054         * stdio-common/_itowa.c (_itowa): Likewise.
33055         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33056         * stdlib/mod_1.c (mpn_mod_1): Likewise.
33057
33058 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
33059
33060         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33061         struct La_sh_regs is not constant.
33062         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33063         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33064         and struct La_sparc64_regs are not constant.
33065
33066 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33067
33068         * sysdeps/unix/sysv/linux/kernel-features.h
33069         (__ASSUME_POSIX_TIMERS): Remove.
33070         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33071         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33072         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33073         Make code unconditional.
33074         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33075         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33076         Make code unconditional.
33077         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33078         * sysdeps/unix/sysv/linux/clock_nanosleep.c
33079         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33080         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33081         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33082         Make code unconditional.
33083         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33084         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33085         (__libc_missing_posix_timers): Remove.
33086
33087 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33088
33089         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33090         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33091
33092         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33093
33094         * elf/dl-sym.c: Include <stdlib.h>.
33095
33096         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33097         constants, which avoids warnings in 32-bit builds.
33098
33099         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33100         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33101
33102         * misc/lseek.c: File moved to ...
33103         * io/lseek.c: ... here.
33104
33105         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33106
33107         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33108         shifting LEN more than 31 bits at once.
33109
33110 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33111
33112         [BZ #14195]
33113         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33114         segmentation fault for a case of two empty input strings.
33115         * string/test-strncasecmp.c (check1): Renamed to...
33116         (bz12205): ...this.
33117         (bz14195): Add new testcase for two empty input strings and N > 0.
33118         (test_main): Call new testcase, adapt for renamed function.
33119
33120 2012-08-15  Andreas Jaeger  <aj@suse.de>
33121
33122         [BZ #14090]
33123         * crypt/md5test2.c: New test, based on test supplied by Serge
33124         Belyshev <belyshev@depni.sinp.msu.ru>.
33125         * crypt/Makefile (xtests): Add md5test-giant..
33126         * crypt/Makefile ($(objpfx)md5test-giant): Add.
33127
33128 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
33129
33130         [BZ #14090]
33131         * crypt/md5.c (md5_process_block): Don't assume the buffer
33132         length is less than 2**32.
33133         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33134         length is less than 2**64.
33135
33136 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33137
33138         * string/str-two-way.h: Include <sys/param.h>.
33139         (MAX): Macro removed.
33140
33141         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33142         Move #define and #undef of memmove to just before and after
33143         including <string.h>.
33144
33145         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33146         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33147         and after including <string.h>.  Move declarations of
33148         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33149         to before #include "string/memmove.c".
33150
33151         * include/dirent.h: Declare __getdirentries.
33152
33153         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33154         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33155
33156 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
33157
33158         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33159         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33160         * sysdeps/i386/configure: Regenerated.
33161         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33162         STABS_CURRENT_FILE, and STABS_FUN.
33163         (END): Remove call to STABS_FUN_END.
33164         (STABS_CURRENT_FILE1): Delete.
33165         (STABS_CURRENT_FILE): Likewise.
33166         (STABS_FUN): Likewise.
33167         (STABS_FUN_END): Likewise.
33168         (STABS_FUN2): Likewise.
33169         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33170         * sysdeps/x86_64/configure: Regenerated.
33171
33172 2012-08-14  Roland McGrath  <roland@hack.frob.com>
33173
33174         * elf/dl-open.c: Include <atomic.h>.
33175         * elf/dl-lookup.c: Likewise.
33176
33177 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
33178
33179         * sysdeps/unix/sysv/linux/kernel-features.h
33180         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33181         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33182         unconditionally.
33183         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33184         unconditionally.
33185         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33186         condition on __ASSUME_CLONE_THREAD_FLAGS.
33187
33188 2012-08-14  Andreas Jaeger  <aj@suse.de>
33189
33190         * sysdeps/i386/fpu/libm-test-ulps: Update.
33191
33192 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
33193
33194         * include/atomic.h (atomic_exchange_and_add): Split into ...
33195         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33196         New atomic macros.
33197
33198 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
33199
33200         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33201
33202 2012-08-13  Jeff Law <law@redhat.com>
33203
33204         * manual/stdio.texi (snprintf): Clarify handling of the trailing
33205         null byte in the output string.
33206
33207 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
33208
33209         * sysdeps/unix/sysv/linux/kernel-features.h
33210         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33211         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33212         (__ASSUME_ARG_MAX_STACK_BASED): Define.
33213         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33214         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33215         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
33216         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33217
33218 2012-08-09  Jeff Law <law@redhat.com>
33219
33220         [BZ #13939]
33221         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33222         When avoid_arena is set, don't retry in the that arena.  Pick the
33223         next one, whatever it might be.
33224         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33225         (arena_lock): Pass in new parameter to arena_get2.
33226         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33227         arena_get2.
33228         (__libc_malloc): Unify retrying after main arena failure with
33229         __libc_memalign version.
33230         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33231
33232 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33233
33234         [BZ #14166]
33235         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33236         to __redirect_strstr.
33237         (__strstr_sse42): Use typeof __redirect_strstr.
33238         (__strstr_ia32): Likewise.
33239         (__libc_strstr): New prototype.
33240         (strstr): Renamed to ...
33241         (__libc_strstr): This.
33242         (strstr): New strong alias of __libc_strstr.
33243         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33244         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33245         __redirect_time.
33246         Include <time.h>.
33247         (__libc_time): New prototype.
33248         (time_ifunc): Replace time with __libc_time.
33249         (time): New strong alias and hidden definition of __libc_time.
33250         (__GI_time): Remove strong alias.
33251         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33252         Include <stddef.h>.
33253         (memmove): Redefined to __redirect_memmove.
33254         (__memmove_sse2): Use typeof __redirect_memmove.
33255         (__memmove_ssse3): Likewise.
33256         (__memmove_ssse3_back): Likewise.
33257         (__libc_memmove): New prototype.
33258         (memmove): Renamed to ...
33259         (__libc_memmove): This.
33260         (memmove): New strong alias of __libc_memmove.
33261
33262 2012-08-08  Mark Salter  <msalter@redhat.com>
33263
33264         * elf/elf.h
33265         (R_MN10300_TLS_GD): Define.
33266         (R_MN10300_TLS_LD): Likewise.
33267         (R_MN10300_TLS_LDO): Likewise.
33268         (R_MN10300_TLS_GOTIE): Likewise.
33269         (R_MN10300_TLS_IE): Likewise.
33270         (R_MN10300_TLS_LE): Likewise.
33271         (R_MN10300_TLS_DTPMOD): Likewise.
33272         (R_MN10300_TLS_DTPOFF): Likewise.
33273         (R_MN10300_TLS_TPOFF): Likewise.
33274         (R_MN10300_SYM_DIFF): Likewise.
33275         (R_MN10300_ALIGN): Likewise.
33276         (R_MN10300_NUM): Update.
33277
33278 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
33279
33280         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33281         Remove.
33282
33283 2012-08-08  Roland McGrath  <roland@hack.frob.com>
33284
33285         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33286
33287         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33288         sysdeps/unix -> sysdeps/posix move.
33289         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33290
33291 2012-08-07      Allan McRae     <allan@archlinux.org>
33292
33293         [BZ #14303]
33294         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33295         (SUNOS_CPP): Likewise.
33296         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33297         not found.
33298         (open_input): Call CPP using execvp.
33299
33300 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33301
33302         * sysdeps/unix/sysv/linux/kernel-features.h
33303         (__ASSUME_PROT_GROWSUPDOWN): Remove.
33304         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33305         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33306         (__ASSUME_WAITID_SYSCALL): Likewise.
33307         * sysdeps/unix/sysv/linux/dl-execstack.c
33308         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33309         code unconditional.
33310         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33311         conditional code.
33312         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33313         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33314         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33315         code.
33316         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33317         unconditional.
33318         [__ASSUME_WAITID_SYSCALL]: Likewise.
33319         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33320
33321 2012-08-07  Roland McGrath  <roland@hack.frob.com>
33322
33323         * sysdeps/unix/closedir.c: Renamed to ...
33324         * sysdeps/posix/closedir.c: ... here.
33325         * sysdeps/unix/dirfd.c: Renamed to ...
33326         * sysdeps/posix/dirfd.c: ... here.
33327         * sysdeps/unix/dirstream.h: Renamed to ...
33328         * sysdeps/posix/dirstream.h: ... here.
33329         * sysdeps/unix/fdopendir.c: Renamed to ...
33330         * sysdeps/posix/fdopendir.c: ... here.
33331         * sysdeps/unix/opendir.c: Renamed to ...
33332         * sysdeps/posix/opendir.c: ... here.
33333         * sysdeps/unix/readdir.c: Renamed to ...
33334         * sysdeps/posix/readdir.c: ... here.
33335         * sysdeps/unix/readdir_r.c: Renamed to ...
33336         * sysdeps/posix/readdir_r.c: ... here.
33337         * sysdeps/unix/rewinddir.c: Renamed to ...
33338         * sysdeps/posix/rewinddir.c: ... here.
33339         * sysdeps/unix/seekdir.c: Renamed to ...
33340         * sysdeps/posix/seekdir.c: ... here.
33341         * sysdeps/unix/telldir.c: Renamed to ...
33342         * sysdeps/posix/telldir.c: ... here.
33343         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33344         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33345         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33346         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33347
33348         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33349         * bits/fcntl.h: ... here.
33350
33351         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33352         not 0.
33353         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33354         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33355         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33356         (struct flock): Move l_start, l_len to the beginning.
33357         Use __pid_t for l_pid.
33358         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33359         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33360         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33361         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33362         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33363         [__USE_LARGEFILE64] (struct flock64): New type.
33364         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33365
33366         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33367         * bits/dirent.h: ... here.
33368
33369         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33370         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33371
33372 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33373
33374         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33375         Change from 2.6.0 to 2.6.16.
33376         * sysdeps/unix/sysv/linux/configure: Regenerated.
33377         * sysdeps/unix/sysv/linux/kernel-features.h
33378         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33379         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33380         version.
33381         (__ASSUME_UTIMES): Likewise.
33382         (__ASSUME_CLONE_STOPPED): Remove.
33383         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33384         architectures, not kernel version.
33385         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33386         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33387         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33388         (__ASSUME_WAITID_SYSCALL): Likewise.
33389         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33390         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33391         * README: State 2.6.16 as minimum Linux kernel version.  Do not
33392         refer to older versions.
33393
33394 2012-08-06  Roland McGrath  <roland@hack.frob.com>
33395
33396         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33397         Define alphasort64 as an alias.
33398         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33399         Define versionsort64 as an alias.
33400         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33401         Define scandir64 as an alias.
33402         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33403         Define scandirat64 as an alias.
33404         * dirent/alphasort64.c (alphasort64):
33405         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33406         * dirent/versionsort64.c: Likewise.
33407         * dirent/scandir64.c: Likewise.
33408         * dirent/scandirat64.c: Likewise.
33409         * sysdeps/wordsize-64/alphasort.c: File removed.
33410         * sysdeps/wordsize-64/alphasort64.c: File removed.
33411         * sysdeps/wordsize-64/scandir.c: File removed.
33412         * sysdeps/wordsize-64/scandir64.c: File removed.
33413         * sysdeps/wordsize-64/scandirat.c: File removed.
33414         * sysdeps/wordsize-64/scandirat64.c: File removed.
33415         * sysdeps/wordsize-64/versionsort.c: File removed.
33416         * sysdeps/wordsize-64/versionsort64.c: File removed.
33417         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33418         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33419         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33420         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33421         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33422         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33423         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33424         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33425
33426         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33427         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33428         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33429         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33430         [defined __arch64__ || defined __sparcv9]
33431         (__INO_T_MATCHES_INO64_T): New macro.
33432         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33433         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33434         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33435         * sysdeps/unix/sysv/linux/bits/dirent.h
33436         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33437         (_DIRENT_MATCHES_DIRENT64): New macro.
33438
33439         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33440         Define lockf64 as an alias.
33441         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33442         Define fseeko64 as an alias.
33443         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33444         Define ftello64 as an alias.
33445         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33446         Define _IO_fgetpos64 and fgetpos64 as aliases.
33447         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33448         Define _IO_fsetpos64 and fsetpos64 as aliases.
33449         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33450         Conditionalize body on this.
33451         * libio/fseeko64.c: Likewise.
33452         * libio/ftello64.c: Likewise.
33453         * libio/iofgetpos64.c: Likewise.
33454         * libio/iofsetpos64.c: Likewise.
33455         * sysdeps/wordsize-64/lockf.c: File removed.
33456         * sysdeps/wordsize-64/lockf64.c: File removed.
33457         * sysdeps/wordsize-64/fseeko.c: File removed.
33458         * sysdeps/wordsize-64/fseeko64.c: File removed.
33459         * sysdeps/wordsize-64/ftello.c: File removed.
33460         * sysdeps/wordsize-64/ftello64.c: File removed.
33461         * sysdeps/wordsize-64/iofgetpos.c: File removed.
33462         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33463         * sysdeps/wordsize-64/iofsetpos.c: File removed.
33464         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33465         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33466         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33467         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33468         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33469         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33470         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33471         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33472         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33473         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33474         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33475
33476         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33477         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33478         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33479         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33480         [defined __arch64__ || defined __sparcv9]
33481         (__OFF_T_MATCHES_OFF64_T): New macro.
33482         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33483         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33484         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33485         (__OFF_T_MATCHES_OFF64_T): New macro.
33486
33487 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33488
33489         * stdlib/secure-getenv.c (__secure_getenv): Replace
33490         GLIBC_2_16 with GLIBC_2_17.
33491
33492 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33493
33494         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33495         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33496
33497 2012-08-03  David S. Miller  <davem@davemloft.net>
33498
33499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33500
33501 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33502
33503         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33504         Remove.
33505         (__ASSUME_CORRECT_SI_PID): Likewise.
33506         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33507         (__ASSUME_TMPFS_NAME): Likewise.
33508         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33509         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33510         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33511         (HAVE_AUX_SECURE): Make definition unconditional.
33512         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33513         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33514
33515 2012-08-03  Roland McGrath  <roland@hack.frob.com>
33516
33517         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33518         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33519         * sysdeps/mach/hurd/eloop-threshold.h: New file.
33520         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33521         __eloop_threshold instead of SYMLOOP_MAX.
33522
33523         * sysdeps/generic/eloop-threshold.h: New file.
33524         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33525         of MAXSYMLINKS.
33526         * elf/chroot_canon.c (chroot_canon): Likewise.
33527
33528 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33529
33530         [BZ #13717]
33531         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33532         Change to 2.6.0 everywhere.
33533         * sysdeps/unix/sysv/linux/configure: Regenerated.
33534         * sysdeps/unix/sysv/linux/kernel-features.h
33535         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33536         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33537         kernel versions.
33538         (__ASSUME_POSIX_TIMERS): Define unconditionally.
33539         (__ASSUME_FUTEX_REQUEUE): Remove.
33540         (__ASSUME_STATFS64): Define unconditionally.
33541         (__ASSUME_AT_SECURE): Likewise.
33542         (__ASSUME_CORRECT_SI_PID): Likewise.
33543         (__ASSUME_TGKILL): Define without depending on kernel version for
33544         i386.
33545         (__ASSUME_UTIMES): Likewise.
33546         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33547         kernel version.
33548         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33549         (__ASSUME_TMPFS_NAME): Likewise.
33550         * README: Update reference to Linux kernel versions.
33551
33552 2012-08-02  Marek Polacek  <polacek@redhat.com>
33553
33554         [BZ# 14150]
33555         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
33556         libc_cv_asm_type_prefix with %.
33557         * configure: Regenerated.
33558         * include/libc-symbols.h: Remove comment about
33559         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33560         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33561         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33562         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33563         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33564         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33565         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33566         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33567         * elf/tst-unique2mod1.c: Likewise.
33568         * elf/tst-unique1mod2.c: Likewise.
33569         * elf/tst-unique1mod1.c: Likewise.
33570         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33571         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33572         Replace ASM_TYPE_DIRECTIVE with .type.
33573         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33574         * sysdeps/i386/sysdep.h: Likewise.
33575         * sysdeps/x86_64/sysdep.h: Likewise.
33576         * sysdeps/sh/sysdep.h: Likewise.
33577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33578         Do not define ASM_TYPE_DIRECTIVE.
33579         * sysdeps/powerpc/sysdep.h: Likewise.
33580         * sysdeps/powerpc/powerpc32/sysdep.h:
33581         Replace ASM_TYPE_DIRECTIVE with .type.
33582         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33583         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33584         * sysdeps/i386/fpu/e_powf.S: Likewise.
33585         * sysdeps/i386/fpu/e_expl.S: Likewise.
33586         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33587         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33588         * sysdeps/i386/fpu/e_pow.S: Likewise.
33589         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33590         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33591         * sysdeps/i386/fpu/s_expm1.S: Likewise.
33592         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33593         * sysdeps/i386/fpu/e_log2.S: Likewise.
33594         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33595         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33596         * sysdeps/i386/fpu/e_powl.S: Likewise.
33597         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33598         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33599         * sysdeps/i386/fpu/e_logl.S: Likewise.
33600         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33601         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33602         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33603         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33604         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33605         * sysdeps/i386/fpu/e_log.S: Likewise.
33606         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33607         * sysdeps/i386/fpu/e_logf.S: Likewise.
33608         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33609         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33610         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33611         * sysdeps/i386/fpu/e_log10.S: Likewise.
33612         * sysdeps/i386/fpu/s_frexp.S: Likewise.
33613         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33614         * sysdeps/i386/fpu/s_asinh.S: Likewise.
33615         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33616         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33617         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33618         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33619         * sysdeps/i386/i686/strtok.S: Likewise.
33620         * sysdeps/i386/i386-mcount.S: Likewise.
33621         * sysdeps/i386/strtok.S: Likewise.
33622         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33623         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33624         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33625         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33626         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33627         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33628         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33629         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33630         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33631         * sysdeps/x86_64/_mcount.S: Likewise.
33632         * sysdeps/x86_64/strtok.S: Likewise.
33633         * sysdeps/sh/_mcount.S: Likewise.
33634
33635 2012-08-01  Roland McGrath  <roland@hack.frob.com>
33636
33637         * libio/iofopen.c: Include <fcntl.h>.
33638         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33639         (_IO_fopen64, fopen64): Define as aliases.
33640         * libio/iofopen64.c: Include <fcntl.h>.
33641         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33642         Conditionalize body on this.
33643         * sysdeps/wordsize-64/iofopen.c: File removed.
33644         * sysdeps/wordsize-64/iofopen64.c: File removed.
33645
33646 2012-08-01  Marek Polacek  <polacek@redhat.com>
33647
33648         * libc/Makeconfig: Use elf in place of binfmt-subdir.
33649         Use dlfcn directly instead of a variable.
33650         (binfmt-subdir): Do not define.
33651         (dlfcn): Likewise.
33652
33653 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
33654
33655         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33656         Remove all definitions.
33657         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33658         <kernel-features.h>.
33659         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33660         (miss_F_GETOWN_EX): Remove all definitions.
33661         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33662         macro definition.
33663         [!__ASSUME_FCNTL64]: Remove conditional code.
33664         [__ASSUME_FCNTL64]: Make code unconditional.
33665         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33666         <kernel-features.h>.
33667         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33668         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33669         (lockf64) [__NR_fcntl64]: Make code unconditional.
33670         (lockf64) [__ASSUME_FCNTL64]: Likewise.
33671
33672         * sysdeps/unix/sysv/linux/kernel-features.h
33673         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33674         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33675         Make code unconditional.
33676         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33677         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33679         [__NR_vfork]: Make code unconditional.
33680         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33681         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33683         [__NR_vfork]: Make code unconditional.
33684         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33685         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33686
33687 2012-08-01  Roland McGrath  <roland@hack.frob.com>
33688
33689         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33690         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33691
33692         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33693         Define mkstemp64 as an alias.
33694         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33695         Define mkstemps64 as an alias.
33696         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33697         Define mkostemp64 as an alias.
33698         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33699         Define mkostemps64 as an alias.
33700         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33701         Conditionalize body on this.
33702         * misc/mkostemp64.c: Likewise.
33703         * misc/mkostemps64.c: Likewise.
33704         * misc/mkstemps64.c: Likewise.
33705         * sysdeps/wordsize-64/mkstemp64.c: File removed.
33706         * sysdeps/wordsize-64/mkostemp64.c: File removed.
33707         * sysdeps/wordsize-64/mkostemp.c: File removed.
33708         * sysdeps/wordsize-64/mkstemp.c: File removed.
33709         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33710         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33711         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33712         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33713
33714         [BZ #14138]
33715         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33716         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33717         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33718         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33719
33720         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33721         compat_symbol macros from <shlib-compat.h> rather than the underlying
33722         default_symbol_version and symbol_version macros, so that DEFAULT
33723         lines in shlib-versions are respected.
33724         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33725
33726 2012-08-01  Florian Weimer  <fweimer@redhat.com>
33727
33728         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33729         Declare with warn_unused_result.
33730         (setgid, setregid, setegid, setresgid): Likewise.
33731         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33732         Likewise.
33733         * WUR-REPORT: Remove set*id functions.
33734
33735 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
33736
33737         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33738
33739 2012-07-31  Roland McGrath  <roland@hack.frob.com>
33740
33741         [BZ #10191]
33742         * include/sys/socket.h (__libc_accept, __libc_accept4):
33743         Add attribute_hidden.
33744         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33745
33746         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33747         use of PTR_MANGLE.
33748         * inet/getnetgrent_r.c (setup): Likewise.
33749
33750         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33751
33752 2012-07-31  David S. Miller  <davem@davemloft.net>
33753
33754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33755
33756 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
33757
33758         [BZ #13629]
33759         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33760         value between 1.0 and 2.0 and smaller part has absolute value less
33761         than 1.0.
33762         * math/s_clog10.c (__clog10): Likewise.
33763         * math/s_clog10f.c (__clog10f): Likewise.
33764         * math/s_clog10l.c (__clog10l): Likewise.
33765         * math/s_clogf.c (__clogf): Likewise.
33766         * math/s_clogl.c (__clogl): Likewise.
33767         * math/libm-test.inc (clog_test): Add more tests.
33768         (clog10_test): Likewise.
33769         * sysdeps/i386/fpu/libm-test-ulps: Update.
33770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33771
33772 2012-07-31  Florian Weimer  <fweimer@redhat.com>
33773
33774         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33775         Exit with zero in case no suitable GID is found, and write a
33776         message to standard error.
33777
33778 2012-07-30  Roland McGrath  <roland@hack.frob.com>
33779
33780         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33781         rather than to 1.
33782         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33783         (MAXPATHLEN): Removed.
33784         (NOGROUP, NODEV): New macros.
33785         (setbit, clrbit, isset, isclr): New macros.
33786         (howmany, roundup, powerof2): New macros.
33787         (DEV_BSIZE): New macro.
33788
33789         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33790         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33791
33792         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33793         definition on [!__NO_LONG_DOUBLE_MATH].
33794
33795         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33796         PTR_MANGLE and PTR_DEMANGLE.
33797
33798         * socket/accept4.c (accept4): Rename to __libc_accept4.
33799         Define accept4 as a weak alias.
33800
33801         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33802         on [_DIRENT_HAVE_D_TYPE].
33803         * io/ftw.c (ftw_dir): Likewise.
33804
33805         * io/xmknod.c (__xmknod): Don't check PATH for being null.
33806
33807         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33808
33809         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33810         Use the BSD numbers rather than the arbitrary ones we had.
33811         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33812         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33813         (SIGXCPU, SIGXFSZ): New macros.
33814         (_NSIG): Now 32.
33815
33816         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33817         initializer on [_LIBC_REENTRANT].
33818
33819         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33820         definitions inside [_POSIX_MAPPED_FILES].
33821
33822         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33823
33824         * dirent/opendir.c: Include <fcntl.h>.
33825
33826         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33827         (__libc_getspecific): Likewise.
33828         (__libc_key_create): Likewise.
33829
33830         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33831         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33832         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33833         (tmpfile64): Define as alias.
33834         * sysdeps/wordsize-64/tmpfile.c: File removed.
33835         * sysdeps/wordsize-64/tmpfile64.c: File removed.
33836         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33837         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33838
33839         * stdio-common/vfscanf.c: Include <stdbool.h>.
33840         * nss/makedb.c: Likewise.
33841         * stdio-common/_i18n_number.h: Likewise.
33842         * argp/argp-help.c: Likewise.
33843         * posix/wordexp.c: Likewise.
33844         * sysdeps/posix/spawni.c: Likewise.
33845         * nss/nss_files/files-initgroups.c: Likewise.
33846         * stdio-common/reg-modifier.c: Include <stdlib.h>.
33847         * nss/nss_files/files-initgroups.c: Likewise.
33848         * nss/nss_db/db-netgrp.c: Likewise.
33849         * nss/nss_db/db-initgroups.c: Likewise.
33850         * io/fchmodat.c: Include <sys/stat.h>.
33851
33852         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33853         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33854
33855         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33856         [HAVE_MMAP].
33857
33858         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33859         Add multiple inclusion protection.
33860
33861 2012-07-27  David S. Miller  <davem@davemloft.net>
33862
33863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33864
33865 2012-07-27  Gary Benson  <gbenson@redhat.com>
33866
33867         [BZ #14298]
33868         * elf/rtld.c: Include <stap-probe.h>.
33869         (dl_main): Added static probes "init_start" and "init_complete".
33870         * elf/dl-load.c: Include <stap-probe.h>.
33871         (lose): Take new parameter "nsid".
33872         Added static probe "map_failed".
33873         (_dl_map_object_from_fd): Pass namespace id to lose.
33874         Added static probe "map_start".
33875         (open_verify): Pass namespace id to lose.
33876         * elf/dl-open.c: Include <stap-probe.h>.
33877         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33878         and "reloc_complete".
33879         * elf/dl-close.c: Include <stap-probe.h>.
33880         (_dl_close_worker): Added static probes "unmap_start" and
33881         "unmap_complete".
33882         * elf/rtld-debugger-interface.txt: New file documenting the above.
33883
33884 2012-07-26  Roland McGrath  <roland@hack.frob.com>
33885
33886         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33887         rather than a string variable.
33888         * sunrpc/rpc_main.c (h_output): Likewise.
33889         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33890
33891 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33892
33893         * inet/check_native.c: New file.
33894
33895 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33896
33897         [BZ #13629]
33898         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33899         if larger part has absolute value 1.0.
33900         * math/s_clog10.c (__clog10): Likewise.
33901         * math/s_clog10f.c (__clog10f): Likewise.
33902         * math/s_clog10l.c (__clog10l): Likewise.
33903         * math/s_clogf.c (__clogf): Likewise.
33904         * math/s_clogl.c (__clogl): Likewise.
33905         * math/libm-test.inc (clog_test): Add more tests.
33906         (clog10_test): Likewise.
33907         * sysdeps/i386/fpu/libm-test-ulps: Update.
33908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33909
33910         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33911         (pltexit): Likewise.
33912         (La_regs): Likewise.
33913         (La_retval): Likewise.
33914         (int_retval): Likewise.
33915         Update #error for removed macros to refer only to definitions in
33916         tst-audit.h.
33917         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33918         macro.
33919         (pltexit): Likewise.
33920         (La_regs): Likewise.
33921         (La_retval): Likewise.
33922         (int_retval): Likewise.
33923         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33924         macro.
33925         (pltexit): Likewise.
33926         (La_regs): Likewise.
33927         (La_retval): Likewise.
33928         (int_retval): Likewise.
33929         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33930         macro.
33931         (pltexit): Likewise.
33932         (La_regs): Likewise.
33933         (La_retval): Likewise.
33934         (int_retval): Likewise.
33935         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33936         macro.
33937         (pltexit): Likewise.
33938         (La_regs): Likewise.
33939         (La_retval): Likewise.
33940         (int_retval): Likewise.
33941         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33942         macro.
33943         (pltexit): Likewise.
33944         (La_regs): Likewise.
33945         (La_retval): Likewise.
33946         (int_retval): Likewise.
33947         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33948         macro.
33949         (pltexit): Likewise.
33950         (La_regs): Likewise.
33951         (La_retval): Likewise.
33952         (int_retval): Likewise.
33953         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33954         macro definitions in tst-audit.h.
33955         * sysdeps/i386/tst-audit.h: New file.
33956         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33957         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33958         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33959         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33960         * sysdeps/sh/tst-audit.h: Likewise.
33961         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33962         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33963         * sysdeps/x86_64/tst-audit.h: Likewise.
33964
33965 2012-07-26  Andreas Jaeger  <aj@suse.de>
33966
33967         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33968         ptrace.
33969
33970         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33971         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33972         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33973         PTRACE_O_MASK.
33974         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33975         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33976         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33977
33978         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33979         value.
33980
33981         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33982         _sigsys.
33983         (si_call_addr, si_syscall, si_arch): Define new macro.
33984         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33985         _sigsys.
33986         (si_call_addr, si_syscall, si_arch): Define new marcro.
33987         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33988         _sigsys.
33989         (si_call_addr, si_syscall, si_arch): Define new macro.
33990         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33991         _sigsys.
33992         (si_call_addr, si_syscall, si_arch): Define new macro.
33993
33994 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33995
33996         [BZ #13717]
33997         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33998         Change to 2.4.21 where previously 2.4.1.
33999         * sysdeps/unix/sysv/linux/configure: Regenerated.
34000         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34001         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34002         Linux kernel version.
34003         (__ASSUME_STD_AUXV): Remove.
34004         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34005         kernel version.
34006         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34007         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34008         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34009         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34010         (__ASSUME_NETLINK_SUPPORT): Likewise.
34011         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34012         (__no_netlink_support): Remove conditional definition.
34013         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34014         Remove.
34015         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34016         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34017         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34018         (if_nameindex_ioctl): Remove.
34019         (if_nameindex_netlink): Do not handle __no_netlink_support.
34020         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34021         code.
34022         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34023         Remove conditional code.
34024         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34025         code.
34026         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34027         unconditional.
34028         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34029         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34030         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34031         Remove.
34032         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34033         [!__ASSUME_STD_AUXV]: Remove conditional code.
34034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34035         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34036         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34038         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34039         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34040         code.
34041         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34043         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34044         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34045         conditional code.
34046         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34048         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34049         code.
34050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34051         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34052         conditional code.
34053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34054         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34055         code unconditional.
34056         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34057         conditional code.
34058         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34059         unconditional.
34060         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34061         conditional code.
34062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34063         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34064         unconditional.
34065         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34066         conditional code.
34067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34068         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34069         code unconditional.
34070         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34071         conditional code.
34072         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34073         unconditional.
34074         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34075         conditional code.
34076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34077         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34078         code unconditional.
34079         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34080         conditional code.
34081         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34082         unconditional.
34083         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34084         conditional code.
34085
34086 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
34087
34088         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34089         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34090         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34091         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34092         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34093         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34094         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34095         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34096         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34097         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34098         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34099         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34100         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34101         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34102         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34103         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34104         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34105         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34106         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34107         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34108         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34109         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34110         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34111
34112 2012-07-25  Florian Weimer  <fweimer@redhat.com>
34113
34114         * Versions.def: Add GLIBC_2.17.
34115         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34116         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34117         Introduce __libc_secure_getenv.
34118         * stdlib/Versions (2.17): Add secure_getenv
34119         (GLIBC_PRIVATE): Add __libc_secure_getenv.
34120         * stdlib/secure-getenv.c: Rename __secure_getenv to
34121         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
34122         symbol __secure_getenv for GLIBC_2.0.
34123         * stdlib/tst-secure-getenv.c: New.
34124         * stdlib/Makefile (tests): Add testcase.
34125         * manual/startup.texi (Environment Access): Document
34126         secure_getenv.
34127         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34128         __libc_secure_getenv.
34129         * inet/ruserpass.c (ruserpass): Likewise.
34130         * malloc/mtrace.c (mtrace): Likewise.
34131         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34132         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34133         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34134         * sysdeps/posix/tempname.c: Likewise.  Evaluate
34135         HAVE_SECURE_GETENV.
34136         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34137         __secure_getenv to __libc_secure_getenv.
34138         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34140         Likewise.
34141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34142         Likewise.
34143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34145         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34150
34151 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34152
34153         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34154         (struct La_i86_retval): Likewise.
34155         (struct La_x86_64_regs): Likewise.
34156         (struct La_x86_64_retval): Likewise.
34157         (struct La_x32_regs): Likewise.
34158         (struct La_x32_retval): Likewise.
34159         (struct La_ppc32_regs): Likewise.
34160         (struct La_ppc32_retval): Likewise.
34161         (struct La_ppc64_regs): Likewise.
34162         (struct La_ppc64_retval): Likewise.
34163         (struct La_sh_regs): Likewise.
34164         (struct La_sh_retval): Likewise.
34165         (struct La_s390_32_regs): Likewise.
34166         (struct La_s390_32_retval): Likewise.
34167         (struct La_s390_64_regs): Likewise.
34168         (struct La_s390_64_retval): Likewise.
34169         (struct La_sparc32_regs): Likewise.
34170         (struct La_sparc32_retval): Likewise.
34171         (struct La_sparc64_regs): Likewise.
34172         (struct La_sparc64_retval): Likewise.
34173         (struct audit_ifaces): Remove architecture-specific pltenter and
34174         pltexit members.
34175         * sysdeps/i386/ldsodefs.h: New file.
34176         * sysdeps/powerpc/ldsodefs.h: Likewise.
34177         * sysdeps/s390/ldsodefs.h: Likewise.
34178         * sysdeps/sh/ldsodefs.h: Likewise.
34179         * sysdeps/sparc/ldsodefs.h: Likewise.
34180         * sysdeps/x86_64/ldsodefs.h: Likewise.
34181
34182 2012-07-25  Marek Polacek  <polacek@redhat.com>
34183
34184         [BZ #6808]
34185         * math/libm-test.inc (yn_test): Add another test.
34186         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34187         to ERANGE when the result is +-Inf.
34188         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34189         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34190         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34191         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34192
34193 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
34194
34195         * conform/data/time.h-data (NULL): Use macro-constant.  Require
34196         equal to 0.
34197         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
34198         clock_t.
34199         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
34200
34201 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
34202
34203         * configure.in <sysdeps resolving>: Correct printing
34204         Implies_before.
34205         * configure: Regenerate.
34206
34207 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
34208
34209         * math/w_ilogb.c: Include <limits.h>.
34210         * math/w_ilogbl.c: Likewise.
34211
34212 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34213
34214         * manual/lang.texi (__va_copy): Document primarily as ISO C99
34215         va_copy.  Document allowing for unavailable va_copy only as
34216         pre-C99 compatibility.
34217         * manual/string.texi (Copying and Concatenation): Use va_copy
34218         instead of __va_copy in concat example.
34219
34220 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
34221
34222         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34223         (__sendto): Use create_address_port.  Initialize APORT and deallocate
34224         it if not null.
34225
34226         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34227         with O_NOLINK passed to __file_name_lookup.
34228
34229         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34230         with O_NOLINK passed to __file_name_lookup.
34231
34232         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34233         negative N or less than NGIDS.
34234
34235         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34236         type to string_t.  Set ERANGE as errno and return it if NAME is not big
34237         enough.  Use memcpy instead of strncpy.
34238
34239 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34240
34241         * elf/Makefile (check-data): Remove.
34242         (localplt.data): New vpath directive.
34243         ($(objpfx)check-localplt.out): Use localplt.data from vpath
34244         instead of $(check-data).
34245         * scripts/data/localplt-generic.data: Move to ...
34246         * sysdeps/generic/localplt.data: ... here.
34247         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34248         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34249         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34251         ... here.
34252         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34254         ... here.
34255         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34257         ... here.
34258         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34260         ... here.
34261         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34263         ... here.
34264         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34266         ... here.
34267
34268 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34269
34270         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34271         PPC32 and PPC64 files.
34272         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34273         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34274
34275 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34276
34277         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34278         __makecontext_ret to ...
34279         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34280         ... here and call exit if uc_link is NULL.  New file.
34281         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34282         __makecontext_ret.S.
34283         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34284         __makecontext_ret to ...
34285         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34286         ... here and call exit if uc_link is NULL.  New file.
34287         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34288         __makecontext_ret.S.
34289
34290 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34291
34292         * elf/elf.h (R_390_IRELATIVE): New definition.
34293         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34294         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
34295         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34296         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34297         (elf_machine_lazy_rel): Likewise.
34298         * sysdeps/s390/dl-irel.h: New file.
34299         * sysdeps/s390/s390-64/memcpy.S: New asm code.
34300         * sysdeps/s390/s390-64/memset.S: New asm code.
34301         * sysdeps/s390/s390-64/memcmp.S: New asm code.
34302         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34303         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34304         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34305         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34306         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34307         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34308         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34309         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34310         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34311         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34312         * sysdeps/s390/s390-32/memcpy.S: New asm code.
34313         * sysdeps/s390/s390-32/memset.S: New asm code.
34314         * sysdeps/s390/s390-32/memcmp.S: New asm code.
34315
34316 2012-07-17  Marek Polacek  <polacek@redhat.com>
34317
34318         [BZ #14349]
34319         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34320         * sysdeps/s390/s390-64/configure.in: Likewise.
34321         * sysdeps/sparc/configure.in: Likewise.
34322         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34323         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34324         * sysdeps/i386/configure.in: Likewise.
34325         * sysdeps/x86_64/configure.in: Likewise.
34326         * sysdeps/sh/configure.in: Likewise.
34327         * sysdeps/s390/s390-32/configure: Regenerated.
34328         * sysdeps/s390/s390-64/configure: Likewise.
34329         * sysdeps/x86_64/configure: Likewise.
34330         * sysdeps/sh/configure: Likewise.
34331         * sysdeps/powerpc/powerpc64/configure: Likewise.
34332         * sysdeps/powerpc/powerpc32/configure: Likewise.
34333         * sysdeps/sparc/configure: Likwise.
34334         * sysdeps/i386/configure: Likewise.
34335
34336         * elf/dl-open.c: Comment fixes.
34337
34338 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
34339
34340         * Makefile [CXX] (check-data): Remove.
34341         [CXX] (c++-types.data): New vpath directive.
34342         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34343         vpath.  Do not allow for C++ type data being missing.
34344         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34345         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34346         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34347         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34348         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34349         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34350         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34352         ... here.
34353         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34355         ... here.
34356         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34358         ... here.
34359         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34361         ... here.
34362         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34364         ... here.
34365         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34367         ... here.
34368         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34370         ... here.
34371         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34373
34374         * elf/tls-macros.h (TLS_LE): Move architecture-specific
34375         definitions to architecture-specific files.
34376         (TLS_IE): Likewise.
34377         (TLS_LD): Likewise.
34378         (TLS_GD): Likewise.
34379         * sysdeps/i386/tls-macros.h: New file.
34380         * sysdeps/powerpc/tls-macros.h: Likewise.
34381         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34382         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34383         * sysdeps/sh/tls-macros.h: Likewise.
34384         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34385         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34386         * sysdeps/x86_64/tls-macros.h: Likewise.
34387
34388 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34389
34390         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34391         zero value for regular exit case.
34392
34393         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34394         (__start_context): Preserve zero value for regular exit case.
34395
34396 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34397             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34398
34399         * manual/setjmp.texi (setcontext): Clarify normal process
34400         termination when uc_link is the null pointer.
34401         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34402         exit call.
34403
34404 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
34405
34406         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34407         preprocessor.  Test for each exception mask separately.
34408
34409 2012-07-16  Andreas Jaeger  <aj@suse.de>
34410
34411         * po/ru.po: Update from translation team.
34412
34413 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
34414
34415         * conform/data/string.h-data (NULL): Use macro-constant.  Require
34416         equal to 0.
34417         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34418         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34419         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34420         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34421         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34422
34423 2012-07-13  Andreas Jaeger  <aj@suse.de>
34424
34425         * po/fr.po: Update from translation team.
34426
34427 2012-07-12  Marek Polacek  <polacek@redhat.com>
34428
34429         [BZ #14173]
34430         * math/libm-test.inc (yn_test): Add test for BZ #14173.
34431         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34432         loop condition.
34433
34434 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
34435
34436         [BZ #13717]
34437         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34438         Change to 2.4.1 where previously 2.4.0.
34439         * sysdeps/unix/sysv/linux/configure: Regenerated.
34440         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34441         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34442         version.
34443         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34444         (__ASSUME_AT_CLKTCK): Remove.
34445         (__ASSUME_AT_PAGESIZE): Likewise.
34446         (__ASSUME_AT_XID): Likewise.
34447         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34448         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34449         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34450         unconditionally.
34451         (HAVE_AUX_PAGESIZE): Likewise.
34452         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34453         [__ASSUME_AT_CLKTCK]: Make code unconditional.
34454         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34455
34456 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
34457
34458         [BZ #14307]
34459         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34460         the temporary buffer used to invoke __gethostbyname2_r,
34461         __gethostbyaddr_r and gethostbyname4_r to make room for struct
34462         host_data / struct gaih_addrtuple.
34463         * resolv/nss_dns/dns-host.c (global scope): Move definition of
34464         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34465         header file nss/nsswitch.h.
34466         * nss/nsswitch.h (global scope): Add definition of implementation
34467         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34468         resolv/nss_dns/dns-host.c).
34469
34470 2012-07-11  Andreas Jaeger  <aj@suse.de>
34471
34472         * po/fr.po: Update from translation team.
34473
34474         * po/sv.po: Update from translation team
34475         * po/fr.po: Another update from translation team.
34476
34477 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34478
34479         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34480         for subnormals or multiply small sinh result by itself.
34481         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34483
34484 2012-07-11  David S. Miller  <davem@davemloft.net>
34485
34486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34487
34488 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
34489
34490         [BZ #14347]
34491         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34492         (INTERNAL_MARK): Shift it here.
34493
34494 2012-07-10  Marek Polacek  <polacek@redhat.com>
34495
34496         [BZ #14151]
34497         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
34498         libc_cv_asm_global_directive with .globl.
34499         * configure: Regenerated.
34500         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34501         with .globl.
34502         * sysdeps/i386/configure: Regenerated.
34503         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34504         with .globl.
34505         * sysdeps/x86_64/configure: Regenerated.
34506         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34507         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34508         * elf/tst-unique2mod2.c: Likewise.
34509         * elf/tst-unique2mod1.c: Likewise.
34510         * elf/tst-unique1mod2.c: Likewise.
34511         * elf/tst-unique1mod1.c: Likewise.
34512         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34513         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34514         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34515         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34516         * sysdeps/mach/sysdep.h: Likewise.
34517         * sysdeps/i386/sysdep.h: Likewise.
34518         * sysdeps/i386/i386-mcount.S: Likewise.
34519         * sysdeps/x86_64/_mcount.S: Likewise.
34520         * sysdeps/x86_64/sysdep.h: Likewise.
34521         * sysdeps/sh/_mcount.S: Likewise.
34522         * sysdeps/sh/sysdep.h: Likewise.
34523         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34524         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34525         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34526         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34527         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34528         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34529         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34530         * locale/localeinfo.h: Likewise.
34531         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34532         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34533
34534 2012-07-09  Roland McGrath  <roland@hack.frob.com>
34535
34536         [BZ #14336]
34537         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34538         system".
34539         * manual/message.texi (The Uniforum approach): Likewise.
34540         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34541         (glibc iconv Implementation): Likewise.
34542
34543 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
34544
34545         [BZ #14337]
34546         * math/s_clog.c (__clog): Avoid scaling a value down where that
34547         could result in underflow.
34548         * math/s_clog10.c (__clog10): Likewise.
34549         * math/s_clog10f.c (__clog10f): Likewise.
34550         * math/s_clog10l.c (__clog10l): Likewise.
34551         * math/s_clogf.c (__clogf): Likewise.
34552         * math/s_clogl.c (__clogl): Likewise.
34553         * math/libm-test.inc (clog_test): Add more tests.
34554         (clog10_test): Likewise.
34555         * sysdeps/i386/fpu/libm-test-ulps: Update.
34556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34557
34558 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
34559
34560         [BZ #14283]
34561         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34562         by 7 not 8 to examine high bit of fractional part.
34563
34564         [BZ #14042]
34565         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34566         for call to __mcount_internal.
34567         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34568         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34569         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34570
34571 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
34572
34573         [BZ #14154]
34574         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34575         approximation for values within 0x1p-13f of an odd multiple of
34576         pi/4.
34577         * math/libm-test.inc (tan_test): Do not allow spurious underflow
34578         exception.  Add more tests.
34579         * sysdeps/i386/fpu/libm-test-ulps: Update.
34580
34581         [BZ #6778]
34582         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34583         inputs and return -1 for them.  Do not check for +Inf in case not
34584         reachable for +Inf.
34585         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34586         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34587         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34588         and return -1 for them.  Do not check for +Inf in case not
34589         reachable for +Inf.
34590         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34591         define.
34592         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34593         and return -1 for them.  Do not check for +Inf in case not
34594         reachable for +Inf.
34595         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
34596         spurious underflow.
34597         * sysdeps/i386/fpu/libm-test-ulps: Update.
34598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34599
34600 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
34601
34602         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34603
34604 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
34605
34606         [BZ #14157]
34607         [BZ #14331]
34608         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34609         could result in spurious underflow.  Scale down values above
34610         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34611         * math/s_csqrtf.c (__csqrtf): Likewise.
34612         * math/s_csqrtl.c (__csqrtl): Likewise.
34613         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
34614         spurious underflow.
34615         * sysdeps/i386/fpu/libm-test-ulps: Update.
34616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34617
34618 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
34619
34620         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34621         xopen-msg.sed.
34622         * catgets/xopen-msg.awk: New file.
34623         * catgets/xopen-msg.sed: Removed.
34624
34625         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34626         po2text.sed.
34627         * intl/po2test.awk: New file.
34628         * intl/po2test.sed: Removed.
34629
34630 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
34631
34632         [BZ #14328]
34633         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34634         or multiply small sinh result by itself.
34635         * math/s_ctanf.c (__ctanf): Likewise.
34636         * math/s_ctanh.c (__ctanh): Likewise.
34637         * math/s_ctanhf.c (__ctanhf): Likewise.
34638         * math/s_ctanhl.c (__ctanhl): Likewise.
34639         * math/s_ctanl.c (__ctanl): Likewise.
34640         * math/libm-test.inc (ctan_test_tonearest): New function.
34641         (ctan_test_towardzero): Likewise.
34642         (ctan_test_downward): Likewise.
34643         (ctan_test_upward): Likewise.
34644         (ctanh_test_tonearest): Likewise.
34645         (ctanh_test_towardzero): Likewise.
34646         (ctanh_test_downward): Likewise.
34647         (ctanh_test_upward): Likewise.
34648         (main): Call these new functions.
34649         * sysdeps/i386/fpu/libm-test-ulps: Update.
34650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34651
34652 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
34653
34654         * .gitignore: Delete /ports entry.
34655
34656 2012-07-03  Andreas Jaeger  <aj@suse.de>
34657
34658         * po/bg.po: Update from translation team.
34659         * po/cs.po: Likewise.
34660         * po/de.po: Likewise.
34661         * po/hr.po: Likewise.
34662         * po/nl.pl: Likewise.
34663         * po/pl.po: Likewise.
34664         * po/vi.po: Likewise.
34665
34666 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
34667
34668         * Makeconfig [!+link] (+link-before-libc): New variable.
34669         [!+link] (+link-after-libc): Likewise.
34670         [!+link] (+link-tests): Likewise.
34671         [!+link] (+link): Define in terms of $(+link-before-libc) and
34672         $(+link-after-libc).
34673         [!+link-static] (+link-static-before-libc): New variable.
34674         [!+link-static] (+link-static-after-libc): Likewise.
34675         [!+link-static] (+link-static-tests): Likewise.
34676         [!+link-static] (+link-static): Define in terms of
34677         $(+link-static-before-libc) and $(+link-static-after-libc).
34678         [build-shared] (link-libc-before-gnulib): New variable.
34679         [build-shared] (link-libc-tests): Likewise.
34680         [build-shared] (link-libc): Define in terms of
34681         $(link-libc-before-gnulib).
34682         [!build-shared] (link-libc-tests): New variable.
34683         (link-libc-static-tests): New variable.
34684         [!gnulib] (gnulib-arch): New variable.
34685         [!gnulib] (gnulib-tests): Likewise.
34686         [!gnulib] (static-gnulib-arch): Likewise.
34687         [!gnulib] (static-gnulib-tests): Likewise.
34688         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
34689         Define with "=" instead of ":=".
34690         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
34691         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
34692         * Rules (binaries-all-notests): New variable.
34693         (binaries-all-tests): Likewise.
34694         (binaries-static-notests): Likewise.
34695         (binaries-static-tests): Likewise.
34696         (binaries-all): Define using $(binaries-all-notests) and
34697         $(binaries-all-tests).
34698         (binaries-static): Define using $(binaries-static-notests) and
34699         $(binaries-static-tests).
34700         (binaries-shared-tests): New variable.
34701         (binaries-shared-notests): Likewise.
34702         (binaries-shared): Remove variable.
34703         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34704         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34705         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34706         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34707         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34708         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34709         * elf/Makefile (sln-modules): New variable.
34710         (extra-objs): Add $(sln-modules:=.o).
34711         (ldconfig-modules): Add static-stubs.
34712         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34713         * elf/static-stubs.c: New file.
34714
34715         [BZ #14283]
34716         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34717         by 7 not 8 to examine high bit of fractional part.  Use volatile
34718         variables when splitting into final array of floats if
34719         __FLT_EVAL_METHOD__ != 0.
34720         * math/libm-test.inc (cos_test): Add another test.
34721         (sin_test): Likewise.
34722         * sysdeps/i386/fpu/libm-test-ulps: Update.
34723
34724         [BZ #14273]
34725         * math/libm-test.inc (cosh_test): Add more tests.
34726
34727         * version.h (RELEASE): Set to "development".
34728         (VERSION): Set to "2.16.90".
34729
34730 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
34731
34732         * NEWS: Update copyright. Remove last-updated date.
34733         Mention math library bug fixes and timezone data changes.
34734         * README: Mention GNU/Hurd, x32, and HPPA support status.
34735
34736 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
34737
34738         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34739
34740 2012-06-27  Andreas Jaeger  <aj@suse.de>
34741
34742         * manual/contrib.texi (Contributors): Add Samuel Thibault.
34743
34744 2012-06-25  Andreas Jaeger  <aj@suse.de>
34745
34746         * sysdeps/s390/fpu/libm-test-ulps: Update.
34747
34748 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
34749             Thomas Schwinge  <thomas@codesourcery.com>
34750
34751         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34752         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34753         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34754         fanotify_mark.
34755
34756 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
34757
34758         * sysdeps/mach/start.c: Remove file.
34759         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34760         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34761         * sysdeps/sh/init-first.c: Likewise.
34762
34763         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34764         registers for frame unwinding purposes, add CFI directives.
34765         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34766         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34767         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34768         Likewise.
34769
34770         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34771         __fortify_fail returning.
34772         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34773
34774         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34775         sysdeps/sh/____longjmp_chk.S.
34776         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34777         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34778         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34779         (gen-as-const-headers): Append sigaltstack-offsets.sym.
34780
34781         * sysdeps/sh/abort-instr.h: New file.
34782         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34783         process in case exit returns.
34784
34785         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34786         initialize the GOT register before use.
34787
34788         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34789         calculation of ARGC > 4.
34790
34791         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34792         meaningful names to some local labels.
34793
34794 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34795             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34796
34797         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34798         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34799         (__arch_compare_and_exchange_val_16_acq): Likewise.
34800         (__arch_compare_and_exchange_val_32_acq): Likewise.
34801         (atomic_exchange_and_add): Fix gUSA sequence.
34802         (atomic_add): Likewise.
34803         (atomic_add_negative): Likewise.
34804         (atomic_add_zero): Likewise.
34805         (atomic_bit_test_set): Likewise.
34806
34807 2012-06-22  Andreas Schwab  <schwab@redhat.com>
34808
34809         [BZ #13579]
34810         * include/link.h (struct link_map): Add l_free_initfini.
34811         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34812         l_initfini.
34813         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34814         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34815         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34816         set.
34817
34818 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
34819
34820         * configure.in: Use AC_LANG_SOURCE.
34821         * configure: Regenerate.
34822
34823 2012-06-22  Roland McGrath  <roland@hack.frob.com>
34824
34825         * configure.in (libc_cv_localstatedir): New substituted variable.
34826         * configure: Regenerated.
34827         * config.make.in (localstatedir): New variable, substituted from
34828         libc_cv_localstatedir.
34829         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34830         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34831         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34832         * sysdeps/gnu/configure: Regenerated.
34833
34834 2012-06-21  Jeff Law  <law@redhat.com>
34835
34836         [BZ #14277]
34837         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34838         free.  Simplify list management for _LIBC case.
34839
34840 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
34841
34842         [BZ #14273]
34843         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34844         Clear sign bit of 64-bit integer value before comparing against
34845         overflow value.
34846
34847         * sysdeps/mach/configure: Regenerated.
34848
34849 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
34850
34851         [BZ #14278]
34852         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34853
34854 2012-06-21  Jeff Law  <law@redhat.com>
34855
34856         [BZ #13882]
34857         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
34858         uint16_t for elements in the "seen" array to avoid char overflows.
34859         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34860         * elf/dl-open.c (dl_open_worker): Likewise.
34861
34862 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
34863
34864         * scripts/list-sources.sh: Scan PORTS for translations.
34865         * po/libc.pot: Regenerated.
34866
34867 2012-06-21  Andreas Jaeger  <aj@suse.de>
34868
34869         [BZ #12194]
34870         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34871         warning.
34872         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34873         * bits/byteswap-16.h (__bswap_16): Likewise.
34874         * bits/byteswap.h (__bswap_constant_16): Likewise.
34875
34876 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34877
34878         [BZ #14117]
34879         * sysdeps/i386/fpu_control.h: Removed.
34880         * sysdeps/x86_64/fpu_control.h: Moved to ...
34881         * sysdeps/x86/fpu_control.h: Here.
34882
34883         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34884         (_FPU_SETCW): Likewise.
34885
34886 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
34887
34888         [BZ #14117]
34889         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34890         * sysdeps/x86/fpu/bits/mathinline.h: This.
34891         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34892
34893         [BZ #14050]
34894         [BZ #14117]
34895         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34896         functions if __x86_64__ is defined.
34897
34898 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34899
34900         * string/endian.h: Add !__ASSEMBLER__ condition for including
34901         conversion interfaces.
34902
34903 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34904
34905         [BZ #14241]
34906         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34907         of ABS(x) in calculating zero to negative powers other than odd
34908         integers.
34909         * math/libm-test.inc (pow_test): Add more tests.
34910
34911 2012-06-15  Andreas Jaeger  <aj@suse.de>
34912
34913         * manual/contrib.texi (Contributors): Update entry of Liubov
34914         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34915         Machado Filho.
34916
34917 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34918
34919         * string/string.h: Add __wur to GNU version of strerror_r.
34920
34921 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34922
34923         [BZ #14229]
34924         * string/Makefile (tests): Add tst-strtok_r.
34925         * string/tst-strtok_r.c: New file.
34926         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34927         RAX_LP/RDX_LP on SAVE_PTR.
34928
34929 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34930
34931         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34932
34933 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34934
34935         * libm_test.inc (csqrt_test): Allow more spurious underflow
34936         exceptions.
34937         (j0_test): Likewise.
34938         (j1_test): Likewise.
34939         (y0_test): Likewise.
34940         (y1_test): Likewise.
34941
34942 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34943
34944         * po/Makefile (libc.pot): Use UTF-8 charset.
34945
34946 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34947
34948         [BZ #14210]
34949         Suppress sign-conversion warning from FD_SET.
34950         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34951         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34952         not unsigned long int.
34953         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34954
34955 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34956
34957         [BZ #14050]
34958         [BZ #14117]
34959         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34960         __extern_always_inline instead of __extern_inline.
34961         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34962         (__signbit): Likewise.
34963         (__signbitl): Support C++ namespace.
34964         (lrintf): New inline function.
34965         (lrint): Likewise.
34966         (llrintf): Likewise.
34967         (llrint): Likewise.
34968         (fmaxf): Likewise.
34969         (fmax): Likewise.
34970         (fminf): Likewise.
34971         (fmin): Likewise.
34972         (rint): Likewise.
34973         (rintf): Likewise.
34974         (ceil): Likewise.
34975         (ceilf): Likewise.
34976         (floor): Likewise.
34977         (floorf): Likewise.
34978         (nearbyint): Likewise.
34979         (nearbyintf): Likewise.
34980
34981 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34982
34983         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34984         non-default versions.
34985
34986 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34987
34988         [BZ #14218]
34989         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34990
34991 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34992
34993         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34994         (FE_UPWARD, FE_DOWNWARD): Don't define.
34995         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34996         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34997
34998         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34999         reading it.
35000         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35001         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35002
35003 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35004
35005         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35006         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35007         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35008         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35009
35010 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
35011
35012         [BZ #14117]
35013         * sysdeps/i386/fpu/bits/fenv.h: Removed.
35014         * sysdeps/i386/fpu/Implies: New file.
35015         * sysdeps/x86_64/fpu/Implies: Likewise.
35016         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35017         * sysdeps/x86/fpu/bits/fenv.h: This.
35018
35019         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35020         __SSE_MATH__.
35021
35022 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35023
35024         [BZ #14134]
35025         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35026         character 0xffff that matches the last element of the
35027         conversion table.
35028
35029 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35030
35031         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35032         fmodl commit.
35033
35034 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35035
35036         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35037         values higher than 25.6283.
35038
35039 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35040
35041         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35042         subnormal exponent extraction and add some __builtin_expect.
35043         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35044         Fix for subnormal mantissa calculation.
35045
35046 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
35047
35048         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35049         cpu2 is -1 and errno is not ENOSYS.
35050
35051 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
35052
35053         [BZ #14117]
35054         * sysdeps/i386/i486/bits/string.h: Renamed to ...
35055         * sysdeps/x86/bits/string.h: This.
35056         * sysdeps/x86_64/bits/string.h: Removed.
35057
35058         * sysdeps/i386/i486/bits/string.h: Define inline functions only
35059         if not compiling for x86-64, but compiling for >= i486.
35060
35061         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35062         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35063
35064         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35065         New macro from Linux kernel 3.4.0.
35066         (FP_XSTATE_MAGIC2): Likewise.
35067         (FP_XSTATE_MAGIC2_SIZE): Likewise.
35068         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35069         (struct _fpx_sw_bytes): New struct.
35070         (struct _xsave_hdr): Likewise.
35071         (struct _ymmh_state): Likewise.
35072         (struct _xstate): Likewise.
35073
35074         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35075         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35076         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35077         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35078         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35079         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35080
35081         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35082         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35083         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35084         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35085         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35086         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35087
35088 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35089
35090         [BZ #13743]
35091         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35092         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35093         (sysdep_headers): Include sys/platform/ppc.h.
35094         * sysdeps/powerpc/test-gettimebase.c: Test for
35095         __ppc_get_timebase() to catch future ISA opcode/insn changes.
35096         * manual/Makefile (appendices): Include platform.texi.
35097         * manual/contrib.texi (Contributors): Update @node pointers.
35098         * manual/maint.texi (Maintenance): Likewise.
35099         (Platform): New node.
35100         * manual/platform.texi: New file.  Document the new features.
35101
35102 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35103             Jakub Jelinek  <jakub@redhat.com>
35104
35105         [BZ #14188]
35106         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35107         where __builtin_expect is unavailable.
35108
35109 2012-06-03  David S. Miller  <davem@davemloft.net>
35110
35111         * stdlib/longlong.h: Updated from GCC.
35112
35113 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
35114
35115         [BZ #14042]
35116         * sysdeps/powerpc/powerpc32/mcount.c: New file.
35117         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35118         __mcount_internal.
35119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35120         (GLIBC_2.16): Likewise.
35121
35122 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35123
35124         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35125
35126 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35127
35128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35129         (default-abi): New variable.
35130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35131         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35132         variable.
35133         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35134         Likewise.
35135         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35136         Likewise.
35137         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35138         Likewise.
35139
35140         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35141         definition.  Document in comment.
35142
35143 2012-06-01  David S. Miller  <davem@davemloft.net>
35144
35145         * stdlib/longlong.h: Updated from GCC.
35146
35147 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35148
35149         [BZ #14117]
35150         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35151         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35152         sys/debugreg.h sys/io.h here.
35153         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35154         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35155         sys/io.h.
35156         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35157         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35158         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35159         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35160         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35161         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35162
35163         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35164         Define only if __x86_64__ is defined.
35165
35166 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35167
35168         [BZ #14048]
35169         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35170         Use int64_t for variable i.
35171         * math/libm-test.inc (fmod_test): Add more tests.
35172
35173         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35174         z computation is not scheduled after fetestexcept.
35175         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35176         Use math_force_eval instead of asm to ensure calculation scheduled
35177         before exception test.
35178         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35179         Ensure a1 + u.d computation is not scheduled after fetestexcept.
35180
35181 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
35182
35183         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35184         computation is not scheduled after fetestexcept.
35185
35186 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35187
35188         [BZ #14117]
35189         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35190         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35191
35192 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35193
35194         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35195         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35196
35197 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35198
35199         [BZ #14117]
35200         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35201         <bits/wordsize.h>.
35202         (__WCHAR_MIN): Support __WORDSIZE == 64.
35203         (__WCHAR_MAX): Likewise.
35204
35205         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35206         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35207
35208         [BZ #14183]
35209         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35210         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35211
35212         [BZ #14117]
35213         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35214         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35215
35216         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35217         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35218
35219         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35220         Defined to 1 if __x86_64__ isn't defined.
35221         (_STAT_VER_LINUX_OLD): New.
35222         (st_atime): Remove duplicate.
35223         (st_mtime): Likewise.
35224         (st_ctime): Likewise.
35225
35226 2012-05-31  David S. Miller  <davem@davemloft.net>
35227
35228         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35229         entries.
35230
35231 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
35232
35233         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35234         gen-libm-test.pl.
35235
35236         [BZ #14132]
35237         * elf/dl-reloc.c: Include <_itoa.h>.
35238         (_dl_reloc_bad_type): Remove use of INTUSE.
35239         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35240         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35241         * stdio-common/psiginfo.c (psiginfo): Likewise.
35242         * stdio-common/psignal.c (psignal): Likewise.
35243         * string/strsignal.c (strsignal): Likewise.
35244         * include/signal.h (_sys_siglist): Declare hidden proto.
35245         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
35246         INTVARDEF with libc_hidden_data_def.
35247         * stdio-common/itoa-udigits.c: Likewise.
35248         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35249         (_itoa_lower_digits_internal): Remove declaration.
35250         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35251         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35252         (_sys_sigabbrev_internal): Remove aliases.
35253         (_sys_siglist): Define hidden alias.
35254
35255 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
35256
35257         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35258         bits/sysctl.h.
35259
35260 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35261
35262         [BZ #14117]
35263         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35264         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35265
35266         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35267         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35268         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35269         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35270         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35271         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35272
35273         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35274         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35275         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35276
35277         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35278         with __addr.
35279         (insw): Likewise.
35280         (insl): Likewise.
35281         (outsb): Likewise.
35282         (outsw): Likewise.
35283         (outsl): Likewise.
35284
35285         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35286         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35287         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35288
35289         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35290         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35291         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35292         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35293         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35294         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35295
35296         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35297         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35298
35299         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35300         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35301
35302         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35303         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35304         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35305
35306         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35307         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35308         to ...
35309         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35310
35311         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35312         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35313         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35314
35315         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35316         for x86-64.
35317         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35318
35319 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
35320
35321         * math/math.h (M_El): Use two more decimal places.
35322         (M_LOG2El): Likewise.
35323         (M_LOG10El): Likewise.
35324         (M_LN2l): Likewise.
35325         (M_LN10l): Likewise.
35326         (M_PIl): Likewise.
35327         (M_PI_2l): Likewise.
35328         (M_PI_4l): Likewise.
35329         (M_1_PIl): Likewise.
35330         (M_2_PIl): Likewise.
35331         (M_2_SQRTPIl): Likewise.
35332         (M_SQRT2l): Likewise.
35333         (M_SQRT1_2l): Likewise.
35334
35335 2012-05-31  David S. Miller  <davem@davemloft.net>
35336
35337         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35338         values between float registers.
35339         * sysdeps/sparc/sparc64/memset.S: Likewise.
35340         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35341
35342 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
35343
35344         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35345         -D_FORTIFY_SOURCE=1.
35346         (CPPFLAGS-tst-longjmp_chk.c): Define.
35347         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35348         (CPPFLAGS-tst-longjmp_chk2.c): Define.
35349         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35350         CFLAGS-tst-wchar-h.c.
35351
35352 2012-05-31  Marek Polacek  <polacek@redhat.com>
35353
35354         [BZ #14132]
35355         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35356         __endmntent_internal): Remove declaration.
35357         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35358         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35359         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35360
35361 2012-05-30  David S. Miller  <davem@davemloft.net>
35362
35363         * sysdeps/sparc/sparc32/soft-fp/q_util.c
35364         (___Q_simulate_exceptions): Use real FP ops rather than writing
35365         into the %fsr.
35366         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35367         Likewise.
35368
35369 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35370
35371         [BZ #14117]
35372         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35373         * sysdeps/x86/bits/xtitypes.h: This.
35374
35375         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35376         * sysdeps/x86/bits/wordsize.h: This.
35377
35378         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35379         * sysdeps/x86/bits/huge_vall.h: This.
35380
35381         * sysdeps/i386/bits/select.h: Removed.
35382         * sysdeps/x86_64/bits/select.h: Renamed to ...
35383         * sysdeps/x86/bits/select.h: This.
35384
35385         * sysdeps/i386/bits/setjmp.h: Removed.
35386         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35387         * sysdeps/x86/bits/setjmp.h: This.
35388
35389         * sysdeps/i386/bits/mathdef.h: Removed.
35390         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35391         * sysdeps/x86/bits/mathdef.h: This.
35392
35393 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
35394
35395         [BZ #14132]
35396         * include/sys/socket.h (__connect_internal)
35397         (__libc_sa_len_internal): Remove declaration.
35398         (__connect, __libc_sa_len): Declare hidden_proto.
35399         (SA_LEN): Remove use of INTUSE.
35400         * socket/connect.c: Add libc_hidden_def.
35401         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35402         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35403         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35404         alias.
35405         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35406         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35407         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35408         of adding _internal alias.
35409
35410 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35411
35412         [BZ #14117]
35413         * sysdeps/i386/bits/link.h: Removed.
35414         * sysdeps/i386/bits/linkmap.h: Likewise.
35415         * sysdeps/x86_64/bits/link.h: Renamed to ...
35416         * sysdeps/x86/bits/link.h: This.
35417         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35418         * sysdeps/x86/bits/linkmap.h: This.
35419
35420         * sysdeps/i386/bits/endian.h: Removed.
35421         * sysdeps/x86_64/bits/endian.h: Renamed to ...
35422         * sysdeps/x86/bits/endian.h: This.
35423
35424         * sysdeps/i386/bits/byteswap.h: Removed.
35425         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35426         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35427         * sysdeps/x86/bits/byteswap.h: This.
35428         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35429         * sysdeps/x86/bits/byteswap-16.h: This.
35430         * sysdeps/i386/Implies: Add x86.
35431         * sysdeps/x86_64/Implies: Likewise.
35432
35433 2012-05-30  David S. Miller  <davem@davemloft.net>
35434
35435         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35436         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35437         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35438         (FP_TRAPPING_EXCEPTIONS): Define.
35439         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35440         (FP_TRAPPING_EXCEPTIONS): Define.
35441         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35442         subnormals only when inexact has been signalled or underflow
35443         exceptions are enabled.
35444         (_FP_PACK_CANONICAL): Likewise.
35445
35446 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35447
35448         [BZ #14183]
35449         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35450         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35451
35452 2012-05-30  Richard Henderson  <rth@twiddle.net>
35453
35454         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35455         with #ifndef NOT_IN_libc.
35456
35457         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
35458         marked to avoid plt entry.
35459
35460 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35461
35462         [BZ #14112]
35463         * Makeconfig (default-abi): New macro.
35464         (abi-includes): Likewise.
35465         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
35466         $(abi-$(default-abi)-lib-soname) for soname if defined.
35467         ($(common-objpfx)gnu/lib-names.stmp): Generate from
35468         abi-variants.
35469         * Makefile (installed-stubs): Likewise.
35470         * include/stubs-biarch.h: Removed.
35471         * scripts/lib-names.awk: Only handle one library at a time.
35472         * scripts/soversions.awk: Remove WORDSIZE support.
35473         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35474         entries.
35475         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35476         Removed.
35477         (syscall-list-default-condition): Likewise.
35478         (syscall-list-default-condition): Likewise.
35479         (syscall-list-includes): Likewise.
35480         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35481         syscall-list-* with abi-*.  Handle undefined abi-variants.
35482         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35483         * sysdeps/unix/sysv/linux/i386/Implies: New file.
35484         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35485         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35486         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35487         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35488         Removed.
35489         (syscall-list-32-options): Likewise.
35490         (syscall-list-32-condition): Likewise.
35491         (syscall-list-64-options): Likewise.
35492         (syscall-list-64-condition): Likewise.
35493         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35494         macro.
35495         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35496         Renamed to ...
35497         (abi-*): This.
35498         (abi-64-ld-soname): New macro.
35499         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35500         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35501         Renamed to ...
35502         (abi-*): This.
35503         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35504         * sysdeps/x86_64/x32/shlib-versions: Likewise.
35505
35506 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
35507
35508         * sysdeps/unix/sysv/linux/kernel-features.h
35509         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35510         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35511         include <kernel-features.h>.
35512         [!__NR_ftruncate64]: Remove conditional code.
35513         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35514         [__NR_ftruncate64]: Make code unconditional.
35515         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35516         * sysdeps/unix/sysv/linux/truncate64.c: Do not
35517         include <kernel-features.h>.
35518         [!__NR_ftruncate64]: Remove conditional code.
35519         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35520         [__NR_ftruncate64]: Make code unconditional.
35521         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35523         include <kernel-features.h>.
35524         [!__NR_ftruncate64]: Remove conditional code.
35525         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35526         [__NR_ftruncate64]: Make code unconditional.
35527         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35529         include <kernel-features.h>.
35530         [!__NR_ftruncate64]: Remove conditional code.
35531         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35532         [__NR_ftruncate64]: Make code unconditional.
35533         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35534
35535         * configure.in (libc_cv_fpie): Weaken to a compile test using
35536         LIBC_TRY_CC_OPTION.
35537         * configure: Regenerated.
35538
35539 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35540
35541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35545         Refreshed.
35546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35552         Refreshed.
35553
35554 2012-05-27  David S. Miller  <davem@davemloft.net>
35555
35556         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35557         (___Q_zero): New.
35558         (__Q_simulate_exceptions): Return void.  Change to simulate
35559         exceptions by writing into the %fsr.
35560         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35561         (__Qp_handle_exceptions): Likewise.
35562         (numbers): Delete.
35563         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35564         __Qp_handle_exceptions.
35565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35566         __Qp_handle_exceptions.
35567         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35568         as unused and give dummy FP_RND_NEAREST initializer.
35569         (FP_INHIBIT_RESULTS): Define.
35570         (___Q_simulate_exceptions): Update declaration.
35571         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35572         formatting.
35573         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35574         as unused and give dummy FP_RND_NEAREST initializer.
35575         (__Qp_handle_exceptions): Update declaration.
35576         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35577         formatting.
35578
35579 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
35580
35581         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35582         the temporary FPU control word.
35583         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35584         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35585         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35586         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35587         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35588         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35589         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35590         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35591         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35592         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35593         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35594
35595 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35596
35597         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35598         fields.
35599
35600 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
35601
35602         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35603         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35604         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35605         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35606         Likewise.
35607         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35608         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35609         Likewise.
35610
35611 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
35612
35613         * po/h.po: Update from translation team.
35614
35615 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
35616
35617         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35618
35619         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35620         handling of denormals.
35621         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35622         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35623         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35624         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35625         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35626         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35627         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35628         Likewise.
35629
35630 2012-05-26  Marek Polacek  <polacek@redhat.com>
35631
35632         [BZ #14152]
35633         * math/libm-test.inc (fma_test): Don't always expect underflow
35634         exception.
35635
35636 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35637
35638         [BZ #12416]
35639         * elf/tst-execstack.c: Include stackinfo.h.
35640         (do_test): Adjust test case to ensure that pthread_getattr_np
35641         behaviour remains the same after marking stack executable.
35642
35643 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
35644
35645         * sysdeps/unix/sysv/linux/kernel-features.h
35646         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35647         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35648         kernel-features.h.
35649         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35650         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35651         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35652         kernel-features.h.
35653         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35654         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35655
35656 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
35657
35658         * configure.in: Define the default includes to being none.
35659         * configure: Regenerated.
35660
35661 2012-05-25  Roland McGrath  <roland@hack.frob.com>
35662
35663         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35664         * sysdeps/x86_64/setjmp.S: Likewise.
35665         * sysdeps/i386/bsd-setjmp.S: Likewise.
35666         * sysdeps/i386/bsd-_setjmp.S: Likewise.
35667         * sysdeps/i386/setjmp.S: Likewise.
35668         * sysdeps/i386/__longjmp.S: Likewise.
35669         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35670         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35671
35672         * include/stap-probe.h: New file.
35673         * configure.in: Handle --enable-systemtap.
35674         * configure: Regenerated.
35675         * config.h.in (USE_STAP_PROBE): New #undef.
35676         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35677         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35678         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35679
35680 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
35681
35682         [BZ #13717]
35683         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35684         to 2.4.0 where earlier.
35685         * sysdeps/unix/sysv/linux/configure: Regenerated.
35686         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35687         <kernel-features.h>.
35688         [__ASSUME_32BITUIDS]: Make code unconditional.
35689         [!__ASSUME_32BITUIDS]: Remove conditional code.
35690         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35691         <kernel-features.h>.
35692         [__ASSUME_32BITUIDS]: Make code unconditional.
35693         [!__ASSUME_32BITUIDS]: Remove conditional code.
35694         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35695         [__ASSUME_32BITUIDS]: Make code unconditional.
35696         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35697         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35698         <kernel-features.h>.
35699         [__ASSUME_32BITUIDS]: Make code unconditional.
35700         [!__ASSUME_32BITUIDS]: Remove conditional code.
35701         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35702         <kernel-features.h>.
35703         [__ASSUME_32BITUIDS]: Make code unconditional.
35704         [!__ASSUME_32BITUIDS]: Remove conditional code.
35705         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35706         <kernel-features.h>.
35707         [__ASSUME_32BITUIDS]: Make code unconditional.
35708         [!__ASSUME_32BITUIDS]: Remove conditional code.
35709         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35710         <kernel-features.h>.
35711         [__ASSUME_32BITUIDS]: Make code unconditional.
35712         [!__ASSUME_32BITUIDS]: Remove conditional code.
35713         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35714         <kernel-features.h>.
35715         [__ASSUME_32BITUIDS]: Make code unconditional.
35716         [!__ASSUME_32BITUIDS]: Remove conditional code.
35717         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35718         <kernel-features.h>.
35719         [__ASSUME_32BITUIDS]: Make code unconditional.
35720         [!__ASSUME_32BITUIDS]: Remove conditional code.
35721         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35722         <kernel-features.h>.
35723         [__ASSUME_32BITUIDS]: Make code unconditional.
35724         [!__ASSUME_32BITUIDS]: Remove conditional code.
35725         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35726         <kernel-features.h>.
35727         [__ASSUME_32BITUIDS]: Make code unconditional.
35728         [!__ASSUME_32BITUIDS]: Remove conditional code.
35729         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35730         <kernel-features.h>.
35731         [__ASSUME_32BITUIDS]: Make code unconditional.
35732         [!__ASSUME_32BITUIDS]: Remove conditional code.
35733         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35734         <kernel-features.h>.
35735         [__ASSUME_32BITUIDS]: Make code unconditional.
35736         [!__ASSUME_32BITUIDS]: Remove conditional code.
35737         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35738         <kernel-features.h>.
35739         [__NR_setresgid] (__setresgid): Do not declare.
35740         [__ASSUME_32BITUIDS]: Make code unconditional.
35741         [!__ASSUME_32BITUIDS]: Remove conditional code.
35742         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35743         <kernel-features.h>.
35744         [__NR_setresuid] (__setresuid): Do not declare.
35745         [__ASSUME_32BITUIDS]: Make code unconditional.
35746         [!__ASSUME_32BITUIDS]: Remove conditional code.
35747         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35748         <kernel-features.h>.
35749         [__ASSUME_32BITUIDS]: Make code unconditional.
35750         [!__ASSUME_32BITUIDS]: Remove conditional code.
35751         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35752         <kernel-features.h>.
35753         [__ASSUME_32BITUIDS]: Make code unconditional.
35754         [!__ASSUME_32BITUIDS]: Remove conditional code.
35755         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35756         <kernel-features.h>.
35757         [__ASSUME_32BITUIDS]: Make code unconditional.
35758         [!__ASSUME_32BITUIDS]: Remove conditional code.
35759         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35760         <kernel-features.h>.
35761         [__ASSUME_32BITUIDS]: Make code unconditional.
35762         [!__ASSUME_32BITUIDS]: Remove conditional code.
35763         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35764         <kernel-features.h>.
35765         [__ASSUME_32BITUIDS]: Make code unconditional.
35766         [!__ASSUME_32BITUIDS]: Remove conditional code.
35767         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35768         <kernel-features.h>.
35769         [__ASSUME_32BITUIDS]: Make code unconditional.
35770         [!__ASSUME_32BITUIDS]: Remove conditional code.
35771         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35772         <kernel-features.h>.
35773         [__ASSUME_32BITUIDS]: Make code unconditional.
35774         [!__ASSUME_32BITUIDS]: Remove conditional code.
35775         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35776         <kernel-features.h>.
35777         [__ASSUME_32BITUIDS]: Make code unconditional.
35778         [!__ASSUME_32BITUIDS]: Remove conditional code.
35779         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35780         <kernel-features.h>.
35781         [__ASSUME_32BITUIDS]: Make code unconditional.
35782         [!__ASSUME_32BITUIDS]: Remove conditional code.
35783         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35784         <kernel-features.h>.
35785         [__ASSUME_32BITUIDS]: Make code unconditional.
35786         [!__ASSUME_32BITUIDS]: Remove conditional code.
35787         * sysdeps/unix/sysv/linux/kernel-features.h
35788         (__ASSUME_SETRESUID_SYSCALL): Remove.
35789         (__ASSUME_SETRESGID_SYSCALL): Likewise.
35790         (__ASSUME_32BITUIDS): Likewise.
35791         (__ASSUME_LDT_WORKS): Likewise.
35792         (__ASSUME_O_DIRECTORY): Likewise.
35793         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35794         architecture but not kernel version.
35795         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35796         (__ASSUME_MMAP2_SYSCALL): Likewise.
35797         (__ASSUME_STAT64_SYSCALL): Likewise.
35798         (__ASSUME_IPC64): Likewise.
35799         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35800         <kernel-features.h>.
35801         [__ASSUME_32BITUIDS]: Make code unconditional.
35802         [!__ASSUME_32BITUIDS]: Remove conditional code.
35803         * sysdeps/unix/sysv/linux/opendir.c: Do not include
35804         <kernel-features.h>.
35805         [__ASSUME_O_DIRECTORY]: Make code unconditional.
35806         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35807         132096]: Remove conditional code.
35808         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35809         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35810         <kernel-features.h>.
35811         [__ASSUME_32BITUIDS]: Make code unconditional.
35812         [!__ASSUME_32BITUIDS]: Remove conditional code.
35813         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
35818         <kernel-features.h>.
35819         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35820         unconditional.
35821         (__setresgid): Do not declare.
35822         [__ASSUME_32BITUIDS]: Make code unconditional.
35823         [!__ASSUME_32BITUIDS]: Remove conditional code.
35824         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35825         <kernel-features.h>.
35826         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35827         unconditional.
35828         (__setresuid): Do not declare.
35829         [__ASSUME_32BITUIDS]: Make code unconditional.
35830         [!__ASSUME_32BITUIDS]: Remove conditional code.
35831         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35832         <kernel-features.h>.
35833         [__ASSUME_32BITUIDS]: Make code unconditional.
35834         [!__ASSUME_32BITUIDS]: Remove conditional code.
35835         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35836         <kernel-features.h>.
35837         [__ASSUME_32BITUIDS]: Make code unconditional.
35838         [!__ASSUME_32BITUIDS]: Remove conditional code.
35839
35840 2012-05-25  Richard Henderson  <rth@twiddle.net>
35841
35842         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35843         dl_hwcap to ifunc resolver.
35844         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35845         elf_ifunc_invoke.
35846         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35847         dl_hwcap to ifunc resolver.
35848         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35849
35850 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35851
35852         [BZ #14153]
35853         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35854         for |x| <= 2**-26, not 2**-57.
35855         * math/libm-test.inc (acos_test): Do not allow spurious underflow
35856         exception.
35857
35858 2012-05-24  Jeff Law  <law@redhat.com>
35859
35860         * stdio-common/Makefile (tests): Add bug25.
35861         * stdio-common/bug25.c: New test.
35862
35863 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35864
35865         [BZ #13576]
35866         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35867         multiple of MALLOC_ALIGNMENT in size.
35868         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35869
35870 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35871
35872         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35873         Require >= 256.
35874         (FILENAME_MAX): Use macro-int-constant.
35875         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35876         (_IOFBF): Use macro-int-constant.
35877         (_IOLBF): Likewise.
35878         (_IONBF): Likewise.
35879         (SEEK_CUR): Likewise.
35880         (SEEK_END): Likewise.
35881         (SEEK_SET): Likewise.
35882         (TMP_MAX): Likewise.
35883         (EOF): Use macro-int-constant.  Require < 0.
35884         (NULL): Use macro-constant.  Require == 0.
35885         (stdin): Require type to be FILE *.
35886         (stdout): Likewise.
35887         (stderr): Likewise.
35888         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35889         macro-int-constant.
35890         (EXIT_SUCCESS): Likewise.
35891         (NULL): Use macro-constant.  Require == 0.
35892         (RAND_MAX): Use macro-int-constant.
35893         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35894         [C99-based standards] (strtof): Require function.
35895         [C99-based standards] (strtold): Likewise.
35896         [C99-based standards] (strtoll): Likewise.
35897         [C99-based standards] (strtoull): Likewise.
35898         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35899         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35900         [ISO || ISO99 || ISO11] (math.h): Likewise.
35901         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35902         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35903         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35904
35905 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35906
35907         [BZ #14132]
35908         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35909         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35910         * intl/dgettext.c (DCGETTEXT): Likewise.
35911         * intl/gettext.c (DCGETTEXT): Likewise.
35912         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35913         * posix/regex_internal.h (gettext): Likewise.
35914         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35915         Remove declaration.
35916         * include/argz.h (__argz_count_internal)
35917         (__argz_stringify_internal): Remove declaration.
35918         (__argz_count, __argz_stringify): Declare hidden proto.
35919         * intl/dcgettext.c: Remove use of INTDEF.
35920         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35921         * string/argz-stringify.c: Likewise.
35922         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35923         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35924         Declare hidden proto.
35925         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35926         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35927         Declare hidden proto.
35928         * include/stdio.h (__asprintf_internal): Don't declare.
35929         (__asprintf): Don't define as macro.  Declare hidden proto.
35930         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35931         (__fsetlocking): Declare hidden proto.
35932         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35933         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35934         hidden proto.
35935         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35936         (_IO_setlinebuf): Remove use of INTUSE.
35937         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35938         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35939         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35940         Remove declaration.
35941         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35942         (_IO_do_flush): Remove use of INTUSE.
35943         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35944         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35945         (_IO_adjust_column, _IO_least_wmarker)
35946         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35947         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35948         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35949         (_IO_default_doallocate, _IO_wdefault_doallocate)
35950         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35951         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35952         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35953         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35954         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35955         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35956         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35957         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35958         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35959         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35960         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35961         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35962         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35963         proto.
35964         (_IO_flush_all_internal, _IO_adjust_column_internal)
35965         (_IO_default_uflow_internal, _IO_default_finish_internal)
35966         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35967         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35968         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35969         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35970         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35971         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35972         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35973         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35974         (_IO_file_close_internal, _IO_file_close_it_internal)
35975         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35976         (_IO_file_init_internal, _IO_file_attach_internal)
35977         (_IO_file_fopen_internal, _IO_file_read_internal)
35978         (_IO_file_sync_internal, _IO_file_seek_internal)
35979         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35980         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35981         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35982         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35983         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35984         (_IO_list_all_internal, _IO_link_in_internal)
35985         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35986         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35987         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35988         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35989         (_IO_do_write_internal, _IO_padn_internal)
35990         (_IO_getline_info_internal, _IO_getline_internal)
35991         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35992         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35993         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35994         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35995         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35996         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35997         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35998         with libc_hidden_ver, remove use of INTUSE.
35999         * libio/genops.c: Likewise.
36000         * libio/freopen.c: Likewise.
36001         * libio/freopen64.c: Likewise.
36002         * libio/iofclose.c: Likewise.
36003         * libio/iofdopen.c: Likewise.
36004         * libio/iofflush.c: Likewise.
36005         * libio/iofflush_u.c: Likewise.
36006         * libio/iofgets.c: Likewise.
36007         * libio/iofgets_u.c: Likewise.
36008         * libio/iofopen.c: Likewise.
36009         * libio/iofopncook.c: Likewise.
36010         * libio/iofread.c: Likewise.
36011         * libio/iofread_u.c: Likewise.
36012         * libio/ioftell.c: Likewise.
36013         * libio/iofwrite.c: Likewise.
36014         * libio/iogetline.c: Likewise.
36015         * libio/iogets.c: Likewise.
36016         * libio/iogetwline.c: Likewise.
36017         * libio/iopadn.c: Likewise.
36018         * libio/iopopen.c: Likewise.
36019         * libio/ioseekoff.c: Likewise.
36020         * libio/ioseekpos.c: Likewise.
36021         * libio/iosetbuffer.c: Likewise.
36022         * libio/iosetvbuf.c: Likewise.
36023         * libio/ioungetc.c: Likewise.
36024         * libio/ioungetwc.c: Likewise.
36025         * libio/iovdprintf.c: Likewise.
36026         * libio/iovsprintf.c: Likewise.
36027         * libio/iovsscanf.c: Likewise.
36028         * libio/memstream.c: Likewise.
36029         * libio/obprintf.c: Likewise.
36030         * libio/oldfileops.c: Likewise.
36031         * libio/oldiofclose.c: Likewise.
36032         * libio/oldiofdopen.c: Likewise.
36033         * libio/oldiofopen.c: Likewise.
36034         * libio/oldiopopen.c: Likewise.
36035         * libio/oldstdfiles.c: Likewise.
36036         * libio/putc.c: Likewise.
36037         * libio/setbuf.c: Likewise.
36038         * libio/setlinebuf.c: Likewise.
36039         * libio/stdfiles.c: Likewise.
36040         * libio/strops.c: Likewise.
36041         * libio/vasprintf.c: Likewise.
36042         * libio/vscanf.c: Likewise.
36043         * libio/vsnprintf.c: Likewise.
36044         * libio/vswprintf.c: Likewise.
36045         * libio/wfiledoalloc.c: Likewise.
36046         * libio/wfileops.c: Likewise.
36047         * libio/wgenops.c: Likewise.
36048         * libio/wmemstream.c: Likewise.
36049         * libio/wstrops.c: Likewise.
36050         * libio/__fpurge.c: Likewise.
36051         * libio/__fsetlocking.c: Likewise.
36052         * assert/assert.c: Likewise.
36053         * debug/fgets_chk.c: Likewise.
36054         * debug/fgets_u_chk.c: Likewise.
36055         * debug/fread_chk.c: Likewise.
36056         * debug/fread_u_chk.c: Likewise.
36057         * debug/gets_chk.c: Likewise.
36058         * debug/obprintf_chk.c: Likewise.
36059         * debug/vasprintf_chk.c: Likewise.
36060         * debug/vdprintf_chk.c: Likewise.
36061         * debug/vsnprintf_chk.c: Likewise.
36062         * debug/vsprintf_chk.c: Likewise.
36063         * malloc/mtrace.c: Likewise.
36064         * misc/error.c: Likewise.
36065         * misc/syslog.c: Likewise.
36066         * stdio-common/asprintf.c: Likewise.
36067         * stdio-common/fxprintf.c: Likewise.
36068         * stdio-common/getw.c: Likewise.
36069         * stdio-common/isoc99_fscanf.c: Likewise.
36070         * stdio-common/isoc99_scanf.c: Likewise.
36071         * stdio-common/isoc99_vfscanf.c: Likewise.
36072         * stdio-common/isoc99_vscanf.c: Likewise.
36073         * stdio-common/isoc99_vsscanf.c: Likewise.
36074         * stdio-common/printf-prs.c: Likewise.
36075         * stdio-common/printf_fp.c: Likewise.
36076         * stdio-common/printf_fphex.c: Likewise.
36077         * stdio-common/printf_size.c: Likewise.
36078         * stdio-common/putw.c: Likewise.
36079         * stdio-common/scanf.c: Likewise.
36080         * stdio-common/sprintf.c: Likewise.
36081         * stdio-common/tmpfile.c: Likewise.
36082         * stdio-common/vfprintf.c: Likewise.
36083         * stdio-common/vfscanf.c: Likewise.
36084         * stdlib/strfmon_l.c: Likewise.
36085         * sunrpc/openchild.c: Likewise.
36086         * sunrpc/xdr_stdio.c: Likewise.
36087         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36088         * sysdeps/mach/hurd/tmpfile.c: Likewise.
36089
36090 2012-05-24  Roland McGrath  <roland@hack.frob.com>
36091
36092         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36093
36094         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36095         in the third column, to generate for the shared library an IFUNC
36096         that uses _dl_vdso_vsym.
36097         * Makerules (COMPILE.c, compile-stdin.c): New variables.
36098         * Makeconfig (object-suffixes-noshared): New variable.
36099
36100         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36101         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36102         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36103         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36104
36105         [BZ #14132]
36106         * include/sys/time.h (__gettimeofday): Remove macro.
36107         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36108         * time/gettimeofday.c (__gettimeofday): Remove #undef.
36109         Remove INTDEF.
36110         (__gettimeofday): Add libc_hidden_def.
36111         (gettimeofday): Add libc_hidden_weak.
36112         * sysdeps/mach/gettimeofday.c: Likewise.
36113         * sysdeps/posix/gettimeofday.c: Likewise.
36114         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36115         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36116         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36117         (__gettimeofday_internal): Remove strong_alias.
36118         (__gettimeofday): Add libc_hidden_def.
36119         (gettimeofday): Add libc_hidden_weak.
36120         * sysdeps/unix/syscalls.list (gettimeofday):
36121         Remove __gettimeofday_internal alias.
36122
36123 2012-05-24  Daniel Jacobowitz  <drow@false.org>
36124             H.J. Lu  <hongjiu.lu@intel.com>
36125
36126         [BZ #12495]
36127         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36128         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36129         (largebin_index_32_big): New.
36130         (largebin_index): Use it for 16-byte alignment.
36131         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
36132         correction with front_misalign.
36133
36134 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36135
36136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36138         Likewise.
36139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36140         Likewise.
36141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36142         Likewise.
36143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36144         Likewise.
36145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36146         Likewise.
36147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36148         Likewise.
36149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36150         Likewise.
36151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36152         Likewise.
36153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36154         Likewise.
36155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36156         Likewise.
36157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36158         Likewise.
36159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36160         Likewise.
36161
36162         * scripts/data/c++-types-x32-linux-gnu.data: New file.
36163         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36164
36165 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36166
36167         [BZ #10846]
36168         [BZ #14036]
36169         * math/libm-test.inc (exp_test): Add test from bug 14036.
36170         (pow_test): Add test from bug 10846.
36171
36172         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36173         and other flags.
36174         (special_function): Do not include flags in test name.
36175         (parse_args): Likewise.
36176         * sysdeps/i386/fpu/libm-test-ulps: Update.
36177         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36178         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36179         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36181
36182         * math/gen-libm-test.pl (%beautify): Add entries for underflow
36183         exceptions.
36184         * math/libm-test.inc ("Philosophy"): Update comment about
36185         exception testing.
36186         (UNDERFLOW_EXCEPTION): New macro.
36187         (UNDERFLOW_EXCEPTION_OK): Likewise.
36188         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36189         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36190         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36191         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36192         (INVALID_EXCEPTION_OK): Update value.
36193         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36194         (OVERFLOW_EXCEPTION_OK): Likewise.
36195         (IGNORE_ZERO_INF_SIGN): Likewise.
36196         (test_exceptions): Handle underflow exceptions.
36197         (acos_test): Update for underflow exception expectations.
36198         (cexp_test): Likewise.
36199         (clog_test): Likewise.
36200         (clog10_test): Likewise.
36201         (csqrt_test): Likewise.
36202         (ctan_test): Likewise.
36203         (ctanh_test): Likewise.
36204         (exp_test): Likewise.
36205         (exp10_test): Likewise.
36206         (exp2_test): Likewise.
36207         (expm1_test): Likewise.
36208         (fma_test): Likewise.
36209         (j0_test): Likewise.
36210         (jn_test): Likewise.
36211         (nexttoward_test): Likewise.
36212         (pow_test): Likewise.
36213         (scalbn_test): Likewise.
36214         (scalbln_test): Likewise.
36215         (tan_test): Likewise.
36216         (y1_test): Likewise.
36217         * sysdeps/i386/fpu/libm-test-ulps: Update.
36218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36219
36220 2012-05-23  David S. Miller  <davem@davemloft.net>
36221
36222         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36223         (__libc_sigaction): Remove unused local variables.
36224
36225 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36226
36227         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36228
36229 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
36230
36231         mktime: avoid signed integer overflow
36232         * time/mktime.c (__mktime_internal): Do not mishandle the case
36233         where diff == INT_MIN.
36234
36235         mktime: simplify computation of average
36236         * time/mktime.c (ranged_convert): Use new time_t_avg function
36237         instead of rolling our own (probably-slower) code.
36238
36239         mktime: do not assume signed right shift propagates sign bit
36240         * time/mktime.c (isdst_differ): New static function.
36241         (__mktime_internal): No need to normalize tm_isdst now.
36242         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36243         tm_isdst values.
36244
36245         mktime: merge another wrapv change from gnulib
36246         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36247         from some compilers.
36248
36249         mktime: remove incorrect attempt at unusual arithmetics
36250         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36251         The code didn't really work on such machines anyway.
36252         (TYPE_MINIMUM): Assume two's complement.
36253         (twos_complement_arithmetic): Verify that long_int and time_t
36254         are two's complement (or unsigned, in the latter case).
36255
36256         mktime: check signed shifts on long_int and time_t, too
36257         * time/mktime.c (SHR): Check that shifts work as desired
36258         on the types long_int and time_t too, as SHR is used on
36259         such types.
36260
36261         mktime: do not assume 'long' is wide enough
36262         * time/mktime.c (verify): Move decl up.
36263         (long_int): New type.
36264         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36265         to remove assumption in the code that 'long' is wide enough to
36266         store year values.  This assumption is not true on x32 and on
36267         some non-glibc platforms.
36268
36269         mktime: merge wrapv change from gnulib
36270         * time/mktime.c (WRAPV): New macro.
36271         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36272         (guess_time_tm, __mktime_internal): Do not assume that signed
36273         integer overflow wraps around; modern compilers generate code
36274         where this assumption is no longer valid.
36275
36276 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36277
36278         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36279         Replace "jmp L(pseudo_end)" with "ret".
36280         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36281         Likewise.
36282
36283 2012-05-23  Andreas Jaeger  <aj@suse.de>
36284
36285         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36286         * sysdeps/unix/sysv/linux/poll.c: Remove file.
36287
36288 2012-05-23  Andreas Jaeger  <aj@suse.de>
36289             Maximilian Attems  <max@stro.at>
36290
36291         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36292         New macros.
36293
36294 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36295
36296         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36297         code so that pseudo_end is just ret and the stack pointer is
36298         correct also for static library in error case.
36299
36300 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
36301
36302         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36303         move to syscalls.list.
36304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36308
36309         * manual/install.texi (Running make install): Do not mention Linux
36310         kernel version for which pt_chown is not needed.
36311         (Linux): Do not mention problems with nscd with 2.0 kernels.
36312         * INSTALL: Regenerated.
36313
36314 2012-05-23  Andreas Jaeger  <aj@suse.de>
36315
36316         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36317         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36318         macro.
36319         * sysdeps/unix/sysv/linux/s390/bits/mman.h
36320         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36321         * sysdeps/unix/sysv/linux/sh/bits/mman.h
36322         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36323         * sysdeps/unix/sysv/linux/i386/bits/mman.h
36324         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36325         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36326         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36327         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36328         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36329         * sysdeps/unix/sysv/linux/bits/in.h
36330         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36331
36332 2012-05-22  Roland McGrath  <roland@hack.frob.com>
36333
36334         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36335         (PREPARE_VERSION): Just use assert instead, it will be elided
36336         under [NDEBUG] anyway.
36337
36338 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36339
36340         * sysdeps/unix/sysv/linux/Makefile: Include
36341         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36342         (sysdep_routines): Remove sysctl.
36343         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36344         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36345         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36346         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36347         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36348
36349 2012-05-22  Andreas Jaeger  <aj@suse.de>
36350
36351         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36352         that pseudo_end is just ret and the stack pointer is correct also
36353         for static library in error case.
36354
36355 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36356
36357         [BZ #14122]
36358         * nss/nsswitch.c (defconfig_entries): New variable.
36359         (__nss_database_lookup): Don't leak defconfig entries.
36360         (nss_parse_service_list): Don't leak on error paths.
36361         (free_database_entries): New function.
36362         (free_defconfig): New function.
36363         (free_mem): Move common code to free_database_entries.
36364
36365 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36366
36367         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36368         Add arch_prctl.
36369         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36370
36371         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36372         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36373         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36374         New macro.
36375         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36376         (INTERNAL_SYSCALL_TYPES): Likewise.
36377         (LOAD_ARGS_TYPES_[1-6]): Likewise.
36378         (LOAD_REGS_TYPES_[1-6]): Likewise.
36379         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36380         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36381
36382 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36383
36384         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36385         copysignl for GLIBC_2_0.
36386         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36387         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36388         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36389         logbl for GLIBC_2_0.
36390         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36391         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36392
36393 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36394
36395         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36396         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36397
36398         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36399         Use "neg %eax".
36400
36401         * time/mktime.c: Update copyright years.
36402
36403 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36404
36405         mktime: merge comment-quoting-style change from gnulib
36406         * time/mktime.c: Quote 'like this' in comments.
36407         The GNU coding standards suggest that we no longer quote `like this',
36408         as "`" and "'" are typically rendered asymmetrically nowadays.
36409         The typical gnulib style is to quote 'like this' when quoting
36410         code, and "like this" when quoting English.
36411
36412         * time/mktime.c (compile-command): Add "-I.".
36413
36414         mktime: merge mktime-internal.h change from gnulib
36415         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36416
36417         mktime: merge time_r change from gnulib
36418         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36419
36420         mktime: merge DEBUG change from gnulib
36421         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36422         case system <time.h> has a #define.
36423
36424         mktime: merge <sys/types.h> change from gnulib
36425         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36426         since <time.t> is now guaranteed to define time_t.
36427
36428         mktime: merge HAVE_CONFIG_H change from gnulib
36429         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36430
36431 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36432
36433         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36434         Use "neg %eax".
36435
36436         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36437         __rlim_t cast.
36438         (struct rusage): Use anonymous union to pad each field to
36439         __syscall_slong_t.
36440
36441 2012-05-21  David S. Miller  <davem@davemloft.net>
36442
36443         * Makefules (o-iterator): Remove .s cases.
36444         (compile-command.s): Delete.
36445         (COMPILE.s): Delete.
36446         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36447
36448 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
36449
36450         * configure.in (libc_cv_predef_stack_protector): Only consider
36451         "foobar" and "__stack_chk_fail" lines in libc_undefs.
36452         * configure: Regenerated.
36453
36454 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36455
36456         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36457         New macro.  Use R*LP on int and pointer.
36458         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36459         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36460         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36461         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36462
36463         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36464         [__WORDSIZE_TIME64_COMPAT32] instead of
36465         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36466         (struct utmp): Likewise.
36467         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36468         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36469         Renamed to ...
36470         (__WORDSIZE_TIME64_COMPAT32): This.
36471         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36472         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36473         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36474         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36475         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36476         (__WORDSIZE_TIME64_COMPAT32): New macro.
36477
36478 2012-05-21  Andreas Jaeger  <aj@suse.de>
36479
36480         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36481         only if [SHARED]. Add prototype for __wcschr_ia32.
36482
36483 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36484
36485         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36486         of %rbp unmolested in the jmp_buf while mangling the low bits.
36487         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36488         unmolested high bits of %rbp while demangling the low bits.
36489         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36490
36491 2012-05-21  Andreas Jaeger  <aj@suse.de>
36492
36493         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36494         * sunrpc/svc_simple.c: Use it for registerrpc.
36495         * sunrpc/xcrypt.c: Use it for passwd2des.
36496
36497         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36498
36499 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36500
36501         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36502         Don't define if [__SYSCALL_WORDSIZE != 32].
36503         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36504         New macro.
36505
36506 2012-05-21  Bruno Haible  <bruno@clisp.org>
36507             Andreas Jaeger  <aj@suse.de>
36508
36509         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36510         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36511         inptr and inend for must_buffer_ch.
36512         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36513         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36514         * stdio-common/Makefile (tests): Remove bug15.
36515         (bug15-ENV): Remove macro.
36516         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36517         anymore.
36518
36519 2012-05-19  Andreas Jaeger  <aj@suse.de>
36520             Roland McGrath  <roland@hack.frob.com>
36521
36522         * manual/contrib.texi: Completely rewritten. It contains now an
36523         alphabetical list of contributors and their contributions.
36524
36525 2012-05-21  Richard Henderson  <rth@twiddle.net>
36526
36527         * misc/getauxval.c (__getauxval): Use unsigned long int.
36528         * misc/sys/auxv.h: Include <sys/cdefs.h>.
36529         (getauxval): Use unsigned long int.
36530
36531 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36532
36533         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36534
36535 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36536
36537         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36538         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36539         __alignof__ (long double).
36540
36541 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36542
36543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36544
36545 2012-05-20  Richard Henderson  <rth@twiddle.net>
36546
36547         * misc/getauxval.c: New file.
36548         * misc/sys/auxv.h: New file.
36549         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36550         (routines): Add getauxval.
36551         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36552         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36553         * elf/dl-sysdep.c (_dl_auxv): Remove.
36554         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36555         * elf/dl-support.c (_dl_auxv): New variable.
36556         (_dl_aux_init): Initialize it.
36557         * manual/startup.texi (Auxiliary Vector): New node.
36558         * sysdeps/generic/bits/hwcap.h: New file.
36559         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36560         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
36561         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36562         * sysdeps/sparc/sysdep.h: ... here.  Include it.
36563         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36564         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36566         Update.
36567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36570         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36575
36576 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36577
36578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36579
36580 2012-05-19  David S. Miller  <davem@davemloft.net>
36581
36582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36583
36584 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
36585
36586         [BZ #14123]
36587         * math/s_ccosh.c: Include <float.h>
36588         (__ccosh): Avoid internal overflow calculating sinh and cosh
36589         values before multiplying by sin and cos values.
36590         * math/s_ccoshf.c: Likewise.
36591         * math/s_ccoshl.c: Likewise.
36592         * math/s_csin.c: Likewise.
36593         * math/s_csinf.c: Likewise.
36594         * math/s_csinl.c: Likewise.
36595         * math/s_csinh.c: Likewise.
36596         * math/s_csinhf.c: Likewise.
36597         * math/s_csinhl.c: Likewise.
36598         * math/libm-test.inc (ccos_test): Add more tests.
36599         (ccosh_test): Likewise.
36600         (csin_test): Likewise.
36601         (csinh_test): Likewise.
36602         * sysdeps/i386/fpu/libm-test-ulps: Update.
36603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36604
36605 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
36606
36607         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36608         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36609
36610         * sysdeps/x86_64/x32/_itoa.h: Add comment.
36611
36612 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
36613
36614         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36615         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36616         * sysdeps/powerpc/soft-fp/Versions: Likewise.
36617         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36618         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36619         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36620         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36621         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36622         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36623         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36624         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36625         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36626         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36627         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36628         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36629         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36630         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36631         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36632         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36633         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36634         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36635         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36636         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36637         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36638         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36639         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36640         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36641         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36642         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36643         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36644         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36645
36646 2012-05-18  Andreas Jaeger  <aj@suse.de>
36647
36648         * csu/.gitignore: Delete.
36649
36650 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36651
36652         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36653         (timex): Use __syscall_slong_t.
36654
36655 2012-05-18  Andreas Jaeger  <aj@suse.de>
36656             Carlos O'Donell  <carlos_odonell@mentor.com>
36657
36658         * manual/install.texi (Configuring and compiling): Update
36659         description about files modified in the source directory.
36660         * INSTALL: Regenerated.
36661
36662 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36663
36664         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36665         value.  Use "or" to set return value to -1.
36666         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36667         negate return value.
36668
36669 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36670
36671         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36672         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
36673         failure if the compiler has Graphite support disabled.
36674         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36675         Likewise.
36676         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36677         (CFLAGS-memmove.c): Likewise.
36678         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36679         Likewise.
36680
36681 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36682
36683         * sysdeps/x86_64/x32/_itoa.h: New file.
36684
36685         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36686         getdents system call only if kernel and user dirents have the
36687         same d_ino and d_off.
36688
36689         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36690         LLONG_MAX != LONG_MAX.
36691         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36692         (_fitoa_word): Likewise.
36693
36694         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36695         years.
36696         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36697         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36698         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36699
36700         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36701         include <bits/wordsize.h>.  Check __x86_64__ instead of
36702         __WORDSIZE.
36703         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36704         if __x86_64__ is defined.  Use anonymous union on fpstate.
36705
36706         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36707         anonymous union.
36708
36709 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
36710
36711         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36712         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36713         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36714         Refer to _rtld_local_ro instead of _rtld_global_ro.
36715         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36716         Likewise.
36717         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36718         Likewise.
36719         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36720         Likewise.
36721         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36722         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36723         of _rtld_global, and rtld_progname instead of _dl_argv[0].
36724
36725         * sysdeps/powerpc/powerpc32/dl-machine.c
36726         (__elf_machine_runtime_setup) [PROF]: Don't reference
36727         _dl_prof_resolve.
36728
36729 2012-05-18  Andreas Jaeger  <aj@suse.de>
36730
36731         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36732         function only available for GCCs before 3.4 since GCC 3.4
36733         introduced a builtin.
36734         (lrint): Likewise.
36735         (llrintf): Likewise.
36736         (llrint): Likewise.
36737         (fmaxf): Likewise.
36738         (fmax): Likewise.
36739         (fminf): Likewise.
36740         (fmin): Likewise.
36741         (rint): Likewise.
36742         (rintf): Likewise.
36743         (nearbyint): Likewise.
36744         (nearbyintf): Likewise.
36745         (ceil): Likewise.
36746         (ceilf): Likewise.
36747         (floor): Likewise.
36748         (floorf): Likewise.
36749
36750 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36751
36752         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36753         on both fields and cast pointer to __syscall_ulong_t.
36754
36755         * bits/types.h (__fsword_t): New type.
36756         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36757         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36758         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36759         (__FSWORD_T_TYPE): Likewise.
36760         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36761         (__FSWORD_T_TYPE): Likewise.
36762         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36763         (__FSWORD_T_TYPE): Likewise.
36764         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36765         (__FSWORD_T_TYPE): Likewise.
36766         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36767         __SWORD_TYPE with __fsword_t.
36768         (statfs64): Likewise.
36769
36770 2012-05-17  David S. Miller  <davem@davemloft.net>
36771
36772         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36773
36774 2012-05-17  Andreas Jaeger  <aj@suse.de>
36775
36776         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36777         warning.
36778
36779 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36780
36781         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36782
36783 2012-05-17  Andreas Jaeger  <aj@suse.de>
36784
36785         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36786         when it is used.
36787
36788 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36789
36790         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36791
36792 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36793
36794         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36795         * sysdeps/x86_64/tst-mallocalign1.c: New file.
36796
36797 2012-05-17  Andreas Jaeger  <aj@suse.de>
36798             Carlos O'Donell  <carlos_odonell@mentor.com>
36799
36800         [BZ #14059]
36801         * sysdeps/x86_64/multiarch/init-arch.h
36802         (bit_YMM_Usable): Rename to...
36803         (bit_AVX_Usable): ... this.
36804         (bit_FMA4_Usable): New macro.
36805         (bit_XMM_state): New macro.
36806         (bit_YMM_state): New macro.
36807         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36808         [__ASSEMBLER__] (index_AVX_Usable): ... this.
36809         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36810         (CPUID_OSXSAVE): New macro.
36811         (CPUID_AVX): New macro.
36812         (CPUID_FMA4): New macro.
36813         (index_YMM_Usable): Rename to...
36814         (index_AVX_Usable): ... this.
36815         (HAS_AVX): Use HAS_ARCH_FEATURE.
36816         (HAS_FMA4): Likewise.
36817         (HAS_YMM_USABLE): Remove.
36818         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36819         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36820         are present.
36821         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36822         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36823         * sysdeps/x86_64/multiarch/Makefile: Likewise.
36824         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36825         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36826
36827 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36828
36829         * math/libm-test.c: Support platforms without multiple rounding modes.
36830         * math/bug-nextafter.c: Support platforms without FP exceptions.
36831         * math/bug-nexttoward.c: Likewise.
36832         * math/test-fenv.c: Likewise.
36833         * math/test-misc.c: Likewise.
36834         * stdlib/bug-getcontext.c: Likewise.
36835
36836 2012-05-17  Andreas Jaeger  <aj@suse.de>
36837
36838         * manual/examples/search.c (critter_cmp): Change signature to
36839         avoid warnings.
36840         * manual/string.texi (Collation Functions): Likewise.
36841
36842 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36843
36844         * bits/types.h: Fold copyright years.
36845         * bits/typesizes.h: Likewise.
36846         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36847         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36848         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36849         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36850         * time/time.h: Likewise.
36851
36852 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
36853
36854         [BZ #208]
36855         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36856         in instead of returning them.  Return void.
36857         (__libc_mallinfo): Accumulate over all arenas.
36858         (__malloc_stats): Adjust for change in int_mallinfo interface.
36859
36860 2012-05-16  Roland McGrath  <roland@hack.frob.com>
36861
36862         [BZ #10375]
36863         * configure.in (NM): Add AC_CHECK_TOOL for it.
36864         (libc_extra_cflags): New substituted variable.
36865         Check for -fstack-protector being used implicitly.
36866         * configure: Regenerated.
36867         * config.make.in (config-extra-cflags): New variable,
36868         gets @libc_extra_cflags@.
36869         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36870
36871         [BZ #10375]
36872         * configure.in: Check for _FORTIFY_SOURCE being predefined.
36873         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36874         * configure: Regenerated.
36875         * config.make.in (CPPUNDEFS): New substituted variable.
36876         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36877         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36878         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36879
36880 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36881
36882         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36883         (mq_attr): Use __syscall_slong_t.
36884
36885 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36886
36887         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36888         Check __x86_64__ instead of __WORDSIZE.
36889         (_STAT_VER_LINUX): Likewise.
36890         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36891         __syscall_ulong_t and __syscall_slong_t.
36892         (stat64): Likewise.
36893
36894 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36895
36896         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36897
36898 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36899
36900         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36901
36902 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36903
36904         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36905         __syscall_ulong_t.
36906
36907         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36908         include <bits/wordsize.h>.  Check __x86_64__ instead of
36909         __WORDSIZE.
36910         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36911         defined.
36912         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36913
36914         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36915         include <bits/wordsize.h>.  Check __x86_64__ instead of
36916         __WORDSIZE.
36917         (user_regs_struct): Use "__extension__ unsigned long long"
36918         instead of "unsigned long" if __x86_64__ is defined.
36919         (user): Likewise.  Pad after pointer field if __ILP32__ is
36920         defined.
36921
36922 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36923
36924         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36925         versions 5 to 9.
36926         * configure: Regenerated.
36927         * manual/install.texi (texinfo): Increase version requirement to
36928         4.5 or later.
36929         * INSTALL: Regenerated.
36930
36931         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36932
36933 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36934
36935         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36936
36937         * sysdeps/x86_64/x32/ffs.c: New file.
36938
36939         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36940         __syscall_ulong_t.
36941         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36942         defined.  Use __syscall_ulong_t.
36943         (shminfo): Use __syscall_ulong_t.
36944         (shm_info): Likewise.
36945
36946         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36947         __syscall_ulong_t.
36948
36949         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36950         <bits/wordsize.h>.
36951         (msgqnum_t): Use __syscall_ulong_t.
36952         (msglen_t): Likewise.
36953         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36954         __syscall_ulong_t.
36955
36956         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36957         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36958
36959         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36960
36961         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36962         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36963
36964         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36965         __syscall_slong_t.
36966
36967         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36968         include <bits/wordsize.h>.  Check __x86_64__ instead of
36969         __WORDSIZE.
36970
36971         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36972         "unsigned long long int" if __x86_64__ is defined.
36973         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36974
36975         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36976         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36977         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36978
36979         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36980         <stdint.h>.
36981         (GET_PC): Cast to uintptr_t first.
36982         (GET_FRAME): Likewise.
36983         (GET_STACK): Likewise.
36984
36985         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36986         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36987         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36988         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36989         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36990         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36991         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36992         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36993         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36994         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36995         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36996         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36997         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36998         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36999         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37000         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37001         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37002         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37003         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37004         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37005         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37006         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37007         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37008         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37009         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37010         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37011         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37012         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37013         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37014
37015 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
37016
37017         * Makerules (+depfiles): Also collect depfiles from .oS in
37018         $(extra-objs).
37019         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37020         .oS, $(libnldbl-routines)).
37021
37022         * Makerules (native-compile-mkdep-flags): Define.
37023         * sunrpc/Makefile (extra-objs): Add $(addprefix
37024         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37025         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37026         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
37027         calling $(make-target-directory).
37028
37029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37030
37031         * bits/types.h (__snseconds_t): Removed.
37032         * time/time.h (struct timespec): Replace __snseconds_t with
37033         __syscall_slong_t.
37034         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37035         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37036         Likewise.
37037         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37038         (__SNSECONDS_T_TYPE): Likewise.
37039         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37040         (__SNSECONDS_T_TYPE): Likewise.
37041         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37042         (__SNSECONDS_T_TYPE): Likewise.
37043
37044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37045
37046         * sysdeps/mach/hurd/bits/typesizes.h
37047         (__SYSCALL_SLONG_TYPE): New macro.
37048         (__SYSCALL_ULONG_TYPE): Likewise.
37049
37050 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37051
37052         * bits/types.h (__syscall_slong_t): New type.
37053         (__syscall_ulong_t): Likewise.
37054
37055         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37056         (__SYSCALL_ULONG_TYPE): Likewise.
37057         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37058         (__SYSCALL_SLONG_TYPE): Likewise.
37059         (__SYSCALL_ULONG_TYPE): Likewise.
37060         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37061         (__SYSCALL_SLONG_TYPE): Likewise.
37062         (__SYSCALL_ULONG_TYPE): Likewise.
37063         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37064         (__SYSCALL_SLONG_TYPE): Likewise.
37065         (__SYSCALL_ULONG_TYPE): Likewise.
37066
37067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37068
37069         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37070         Add sigaltstack-offsets.sym.
37071         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37072         <sigaltstack-offsets.h>.
37073         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
37074         longjmp_msg pointer.
37075         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
37076         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37077         signal stack.
37078         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37079
37080 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37081
37082         * elf/stackguard-macros.h: Remove file.
37083         * sysdeps/generic/stackguard-macros.h: New file.
37084         * sysdeps/i386/stackguard-macros.h: Likewise.
37085         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37086         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37087         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37088         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37089         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37090         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37091         * sysdeps/x86_64/stackguard-macros.h: Likewise.
37092         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37093         <elf/stackguard-macros.h>.
37094
37095         [BZ #14109]
37096         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37097         __aligned__ in attribute.
37098         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37099         (gregset_t): Likewise.
37100
37101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37102
37103         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37104         * sysdeps/x86_64/64/Implies-after: Here.  New file.
37105         * sysdeps/x86_64/x32/Implies-after: New file.
37106
37107 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37108
37109         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37110         and access return value for _dl_profile_fixup.  Use R10_LP to
37111         load frame size.
37112
37113 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37114
37115         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37116
37117 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37118
37119         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37120         * sysdeps/x86_64/x32/sysdep.h: New file.
37121
37122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37123
37124         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37125         * sysdeps/x86_64/setjmp.S: Likewise.
37126
37127 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37128
37129         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37130         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37131         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37132         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37133         remove unused global constant.
37134
37135 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
37136
37137         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37138         include of <not-cancel.h>.
37139
37140 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37141
37142         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37143
37144 2012-05-15  Jeff Law  <law@redhat.com>
37145             Andreas Jaeger  <aj@suse.de>
37146
37147         [BZ #13594]
37148         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37149         out from...
37150         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37151         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37152         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37153         code changing __hst_map_handle.map.
37154
37155 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37156
37157         * configure.in (sysnames): Look for Implies-before and Implies-after
37158         files.
37159         * configure: Regenerated.
37160
37161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37162
37163         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37164         8-byte data alignment with LP_SIZE alignment.
37165
37166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37167
37168         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37169         into R10_LP.
37170
37171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37172
37173         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37174
37175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37176
37177         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37178         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37179         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37180         Likewise.
37181         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37182
37183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37184
37185         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37186         (stackinfo_sub_sp): Likewise.
37187
37188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37189
37190         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37191         RAX_LP.
37192
37193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37194
37195         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37196         into R*_LP.
37197
37198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37199
37200         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37201         sizes into R*_LP.
37202
37203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37204
37205         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37206
37207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37208
37209         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37210         into R11_LP and load __x86_64_shared_cache_size_half into
37211         R8_LP.
37212
37213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37214
37215         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37216         R8_LP.
37217
37218 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37219
37220         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37221         logb for POWER7.
37222         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37223         logbf for POWER7.
37224         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37225         logbl for POWER7.
37226         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37227         powerpc32/power7/fpu/s_logb.c via #include.
37228         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37229         powerpc32/power7/fpu/s_logbf.c via #include.
37230         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37231         powerpc32/power7/fpu/s_logbl.c via #include.
37232
37233 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37234
37235         * README.libm: Remove file.
37236
37237 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37238
37239         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37240         count for x32.  Use R*_LP and omit operand-size suffix.
37241
37242 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37243
37244         * shlib-versions: Move x86_64-.*-linux.* entries to ...
37245         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
37246         * sysdeps/x86_64/x32/shlib-versions: New file.
37247
37248 2012-05-14  Roland McGrath  <roland@hack.frob.com>
37249
37250         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37251         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37252         Use _dl_fatal_printf instead.
37253
37254 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37255
37256         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37257         set if not set by the user.  Do not allow for being unset.
37258         * sysdeps/unix/sysv/linux/configure: Regenerated.
37259
37260 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37261
37262         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37263         the `q' suffix from lea and replace .quad with ASM_ADDR.
37264
37265 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37266
37267         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37268         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
37269         instead of $17.
37270         (PTR_DEMANGLE): Likewise.
37271
37272 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37273
37274         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37275         (LP_OP): Likewise.
37276         (ASM_ADDR): Likewise.
37277         (RAX_LP): Likewise.
37278         (RBP_LP): Likewise.
37279         (RBX_LP): Likewise.
37280         (RCX_LP): Likewise.
37281         (RDI_LP): Likewise.
37282         (RSI_LP): Likewise.
37283         (RSP_LP): Likewise.
37284         (R8_LP): Likewise.
37285         (R9_LP): Likewise.
37286         (R10_LP): Likewise.
37287         (R10_LP): Likewise.
37288         (R11_LP): Likewise.
37289         (R12_LP): Likewise.
37290         (R13_LP): Likewise.
37291         (R14_LP): Likewise.
37292         (R15_LP): Likewise.
37293
37294 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37295
37296         * sysdeps/x86_64/x32/dl-machine.h: New file.
37297
37298 2012-05-14  Andreas Jaeger  <aj@suse.de>
37299
37300         * manual/Makefile (subdir): Remove export of subdir.
37301         (all): Remove target.
37302         (.PHONY): Remove all from list.
37303         (mkinstalldirs): Remove.
37304         (.PHONY): Remove installdirs from list.
37305         ($(inst_infodir)/libc.info): Use make-target-directory.
37306         (installdirs): Remove.
37307         (subdir_%): Remove.
37308         (glibc-targets): Remove.
37309         (lib): Remove.
37310         (stubs): Remove.
37311         ($(objpfx)stubs ../po/manual.pot): Remove.
37312         ($(objpfx)stamp%): Remove.
37313         (make-target-directory): Remove.
37314         (subdir_install): Remove.
37315         (routines): Remove.
37316         (aux): Remove.
37317         (sources): Remove.
37318         (objects): Remove.
37319         (headers): Remove.
37320
37321         [BZ #13750]
37322         * manual/.gitignore: Remove, it's not needed anymore.
37323         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37324         all files in it.
37325         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37326         directory.
37327         (texis): Renamed to $(objpfx)texis.
37328         (texis-path): New, contains path to generated files.
37329         (chapters.%): Use texis-path for complete path, add extra argument
37330         libc-texinfo.sh.
37331         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37332         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37333         (summary,texi, stamp-summary): Use complete path of
37334         files. Generate files in build dir.
37335         (dir-add.texi): Build in build dir.
37336         (libm-err.texi,stamp-libm-err): Likewise.
37337         (version.texi, stamp-version): Likewise.
37338         (.%c.texi): Likewise.
37339         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37340         (mostlyclean): Remove target.
37341         (realclean): Remove target.
37342         (generated): Add new variable with contents from mostlyclean and
37343         realclean, remove entries duplicated in common-mostlyclean, add
37344         stamp-libm-err and stamp-version.
37345         (generated-dirs): Add libc directory.
37346         ($(inst_infodir)/libc.info): Install files from build dir.
37347
37348         * manual/install.texi (Configuring and compiling): Adjust since
37349         the info files are not part of the tar ball anymore.
37350
37351 2012-05-14  Andreas Jaeger  <aj@suse.de>
37352
37353         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37354         variable.
37355
37356 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37357
37358         [BZ #13717]
37359         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37360         to 2.2.0 where earlier.
37361         * sysdeps/unix/sysv/linux/configure: Regenerated.
37362         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37363         Remove conditional code.
37364         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37365         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37366         Remove conditional code.
37367         [!__NR_lchown]: Likewise.
37368         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37369         [__NR_lchown]: Likewise.
37370         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37371         comment referencing __ASSUME_LCHOWN_SYSCALL.
37372         * sysdeps/unix/sysv/linux/i386/sigaction.c
37373         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37374         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37375         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37376         Remove conditional code.
37377         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37378         (__protocol_available): Remove #if 0 code.
37379         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37380         conditional code.
37381         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37382         * sysdeps/unix/sysv/linux/kernel-features.h
37383         (__ASSUME_GETCWD_SYSCALL): Don't define.
37384         (__ASSUME_REALTIME_SIGNALS): Likewise.
37385         (__ASSUME_PREAD_SYSCALL): Likewise.
37386         (__ASSUME_PWRITE_SYSCALL): Likewise.
37387         (__ASSUME_POLL_SYSCALL): Likewise.
37388         (__ASSUME_LCHOWN_SYSCALL): Likewise.
37389         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37390         non-SPARC.
37391         (__ASSUME_SIOCGIFNAME): Don't define.
37392         (__ASSUME_MSG_NOSIGNAL): Likewise.
37393         (__ASSUME_SENDFILE): Define unconditionally.
37394         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37395         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37396         conditional code.
37397         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37398         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37399         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37400         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37401         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37402         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37403         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37405         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37406         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37408         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37409         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37411         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37412         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37414         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37415         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37417         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37418         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37420         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37421         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37423         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37424         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37426         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37427         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37428         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37429         Remove conditional code.
37430         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37431         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37432         Remove conditional code.
37433         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37434         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37435         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37436         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37437         Remove conditional code.
37438         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37439         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37440         Remove conditional code.
37441         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37442         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37443         Remove conditional code.
37444         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37445         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37446         Remove conditional code.
37447         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37448         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37449         Remove conditional code.
37450         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37451         * sysdeps/unix/sysv/linux/sh/pwrite64.c
37452         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37453         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37454         * sysdeps/unix/sysv/linux/sigaction.c
37455         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37456         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37457         * sysdeps/unix/sysv/linux/sigpending.c
37458         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37459         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37460         * sysdeps/unix/sysv/linux/sigprocmask.c
37461         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37462         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37463         * sysdeps/unix/sysv/linux/sigsuspend.c
37464         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37465         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37466         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37467         (__libc_missing_rt_sigs): Remove.
37468         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37469         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37470         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37471         Remove conditional code.
37472         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37473         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37474         return 1.
37475         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37476         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37477         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37478         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37479
37480 2012-05-14  Andreas Jaeger  <aj@suse.de>
37481
37482         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37483         it's not used in glibc.
37484         (__coshm1): Likewise.
37485         (__acosh1p): Likewise.
37486         (__sgn): Likewise.
37487
37488         * manual/string.texi (Copying and Concatenation): Add missing
37489         variable in concat example.
37490         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37491
37492 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37493
37494         [BZ #14103]
37495         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37496         __builtin_clzl with __builtin_clzll.
37497
37498 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37499
37500         [BZ #14104]
37501         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37502         libc_freeres_ptr.
37503
37504 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37505
37506         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37507         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37508         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37509         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37510
37511 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
37512
37513         * NEWS: Update ia64 info.
37514
37515 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
37516
37517         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37518         used as bcopy.
37519
37520 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
37521
37522         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37523         * sysdeps/unix/syscalls.list (dup3): Likewise.
37524         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37525         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37526
37527 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37528
37529         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37530         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37531
37532 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37533
37534         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37535         thread pointer.
37536         (TLS_IE): Use mov/add instead of movq/addq to load thread
37537         pointer.
37538         (TLS_GD_PREFIX): New.
37539         (TLS_GD): Use it.
37540
37541 2012-05-11  David S. Miller  <davem@davemloft.net>
37542
37543         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37544         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37545         (_FPU_SETCW): Likewise.
37546
37547 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37548
37549         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37550         is 32-byte aligned.
37551
37552 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
37553
37554         [BZ #11837]
37555         * iconvdata/gb18030.c: Update tables.
37556         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
37557         characters specially.
37558         (BODY for TO_LOOP): Add encoding of missing ranges.
37559
37560 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
37561
37562         [BZ #13673]
37563         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37564         * sysdeps/mach/hurd/dup3.c: Likewise.
37565         * sysdeps/mach/hurd/readlinkat.c: Likewise.
37566         * sysdeps/powerpc/memmove.c:: Likewise.
37567
37568 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37569
37570         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37571         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37572
37573 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37574
37575         * elf/elf.h (R_X86_64_RELATIVE64): New.
37576         (R_X86_64_NUM): Updated.
37577         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37578         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
37579         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37580         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37581         tst-quad1pie tst-quad2pie
37582         (modules-names): Add tst-quadmod1 tst-quadmod2.
37583         ($(objpfx)tst-quad1): New dependency.
37584         ($(objpfx)tst-quad2): Likewise.
37585         ($(objpfx)tst-quad1pie): Likewise.
37586         ($(objpfx)tst-quad2pie): Likewise.
37587         * sysdeps/x86_64/tst-quad1.c: New file.
37588         * sysdeps/x86_64/tst-quad1pie.c: New file.
37589         * sysdeps/x86_64/tst-quad2.c: Likewise.
37590         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37591         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37592         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37593         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37594         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37595
37596 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37597
37598         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37599         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37600         * streams/stropts.h (t_scalar_t): Define type.
37601
37602         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37603         (_PATH_PRESERVE): Set to "/var/lib".
37604         (_PATH_RWHODIR): Set to "/var/spool/rwho".
37605
37606         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37607         instead of int.
37608
37609         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37610         if __dir_mkfile succeeded.
37611
37612         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37613         checking for _hurd_dtablesize.  Unlock it right after having
37614         finished _hurd_dtable allocation.
37615
37616 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37617
37618         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37619         * sysdeps/mach/hurd/configure: Regenerated.
37620         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37621         special-casing to...
37622         * sysdeps/gnu/configure.in: ... this new file.
37623         * sysdeps/unix/sysv/linux/configure: Regenerated.
37624         * sysdeps/gnu/configure: New generated file.
37625
37626         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37627         for Linux: use nsec instead of usec, as well as:
37628         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37629         members of type struct timespec.
37630         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37631         New macros.
37632         (struct stat64): Likewise.
37633         (_STATBUF_ST_NSEC): New macro.
37634         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37635
37636         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37637         __strtoul_internal rather than strtoul.
37638
37639 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37640
37641         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37642         and reject them.
37643
37644 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37645
37646         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37647         which preserves existing values.
37648         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37649
37650 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37651
37652         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37653         TIMEOUT values.  Return EINVAL for NFDS values either negative or
37654         greater than FD_SETSIZE.
37655
37656 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37657
37658         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37659         allocated, call __vm_protect to finish enabling the existing space, and
37660         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37661         allocate the remainder.
37662
37663 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37664
37665         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37666         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
37667
37668 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37669
37670         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37671         sysdeps/mach/hurd/readlink.c.
37672
37673         * posix/tst-sysconf.c (posix_options): Only use
37674         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37675         _POSIX_SYNCHRONIZED_IO when they are defined
37676         * sysdeps/mach/hurd/bits/posix_opt.h:
37677         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37678         (_XOPEN_REALTIME): Undefine macro.
37679         (_XOPEN_REALTIME_THREADS): Undefine macro.
37680         (_XOPEN_SHM): Undefine macro.
37681         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37682         macro to -1.
37683         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37684         macro to -1.
37685         (_POSIX_ASYNC_IO): Undefine macro.
37686         (_POSIX_PRIORITIZED_IO): Undefine macro.
37687         (_POSIX_SPIN_LOCKS): Define macro to -1.
37688
37689         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37690         SA_NODEFER, SA_RESETHAND.
37691         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37692         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37693         F_DUPFD_CLOEXEC.
37694
37695 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37696
37697         * elf/Makefile (pldd-modules): Define unconditionally.
37698
37699 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37700
37701         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37702
37703 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37704
37705         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37706         Return ENOENT when name is empty.
37707         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37708
37709 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37710
37711         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37712
37713         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37714
37715 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37716
37717         Fix mlock in all cases except non-readable pages.
37718         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37719         instead of VM_PROT_ALL as parameter to __vm_wire function.
37720
37721         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37722         (__mkdir): When path is `/', just fail with EEXIST.
37723         * sysdeps/mach/hurd/mkdirat.c: Likewise.
37724
37725 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37726
37727         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37728         <sys/uio.h> (for writev).
37729         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37730         and <sys/param.h> (for MIN).
37731
37732 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37733
37734         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37735         REQUESTED_TIME.  Properly set the remaining time and return EINTR
37736         if interrupted.
37737
37738 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37739
37740         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37741         Depend on against $(link-rpcuserlibs).
37742
37743 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37744
37745         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37746         (__libc_stack_end): Do not use attribute_relro.
37747         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37748         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37749         to libthread-provided value.
37750         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37751         attribute_relro.
37752
37753 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37754
37755         [BZ #3748]
37756         * bits/libc-lock.h (__libc_once_get): New macro.
37757         * sysdeps/mach/bits/libc-lock.h: Likewise.
37758         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37759         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37760         instead of using implementation details.
37761
37762         * libio/fileops.c: Unconditionally include <kernel-features.h>.
37763         * libio/freopen.c: Likewise.
37764         * libio/freopen64.c: Likewise.
37765         * misc/syslog.c: Likewise.
37766         * nscd/connections.c: Likewise.
37767         * nscd/netgroupcache.c: Likewise.
37768         * sysdeps/posix/getcwd.c: Likewise.
37769
37770 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37771
37772         * math/w_ilogbf.c: Add #include <limits.h>.
37773
37774 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37775
37776         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37777         path instead of returning without unlocking.
37778
37779         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37780         immediate-write ioctls.
37781         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37782
37783 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37784
37785         * sysdeps/mach/hurd/i386/init-first.c (init): Use
37786         __builtin_frame_address instead of making assumptions about the
37787         location of the return address relative to DATA.  Force early load of
37788         the return address.
37789         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37790         __builtin_frame_address.
37791
37792         dup3 for GNU Hurd.
37793         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37794         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
37795         implement dup3 and do some further code clean-ups.
37796         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37797         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37798
37799 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37800
37801         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37802
37803         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37804         HURD_CRITICAL_END around holding _hurd_dtable_lock.
37805         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37806         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37807         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37808         d->port.lock.
37809
37810         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37811         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
37812         when handler == SIG_ERR, not when handler != SIG_ERR.
37813
37814 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37815
37816         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37817         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37818         definitions.
37819
37820         accept4 for GNU Hurd.
37821         * include/sys/socket.h (__libc_accept4): New prototype.
37822         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
37823         to implement __libc_accept4.
37824         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37825         __libc_accept4.
37826         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37827
37828         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37829         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37830         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37831         signal-defines.sym.
37832
37833 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37834
37835         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37836
37837 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37838
37839         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37840         assertion on O_CLOEXEC flag.
37841         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37842         * hurd/intern-fd.c: Likewise.
37843         * hurd/port2fd.c: Likewise.
37844
37845 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37846
37847         [BZ #3906]
37848         * bits/in.h (IPV6_PKTINFO): Define new macro.
37849         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37850
37851 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37852
37853         [BZ #13954]
37854         [BZ #13955]
37855         [BZ #13956]
37856         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37857         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37858         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37859         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37860         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37861         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37862         * math/libm-test.inc (logb_test) : Additional logb tests.
37863
37864 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
37865             Andreas Jaeger  <aj@suse.de>
37866
37867         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37868         * configure: Regenerated.
37869         * config.h.in (LINK_OBSOLETE_RPC): New macro.
37870         * config.make.in (link-obsolete-rpc): New substituted variable.
37871         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37872         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37873         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37874         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37875         so that libc.a contains the symbols.
37876         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37877         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37878         * sunrpc/auth_none.c: Likewise.
37879         * sunrpc/auth_unix.c: Likewise.
37880         * sunrpc/authdes_prot.c: Likewise.
37881         * sunrpc/authuxprot.c: Likewise.
37882         * sunrpc/clnt_gen.c: Likewise.
37883         * sunrpc/clnt_perr.c: Likewise.
37884         * sunrpc/clnt_raw.c: Likewise.
37885         * sunrpc/clnt_simp.c: Likewise.
37886         * sunrpc/clnt_tcp.c: Likewise.
37887         * sunrpc/clnt_udp.c: Likewise.
37888         * sunrpc/clnt_unix.c: Likewise.
37889         * sunrpc/des_crypt.c: Likewise.
37890         * sunrpc/des_soft.c: Likewise.
37891         * sunrpc/get_myaddr.c: Likewise.
37892         * sunrpc/key_call.c: Likewise.
37893         * sunrpc/key_prot.c: Likewise.
37894         * sunrpc/netname.c: Likewise.
37895         * sunrpc/pm_getmaps.c: Likewise.
37896         * sunrpc/pm_getport.c: Likewise.
37897         * sunrpc/pmap_clnt.c: Likewise.
37898         * sunrpc/pmap_prot.c: Likewise.
37899         * sunrpc/pmap_prot2.c: Likewise.
37900         * sunrpc/pmap_rmt.c: Likewise.
37901         * sunrpc/publickey.c: Likewise.
37902         * sunrpc/rpc_cmsg.c: Likewise.
37903         * sunrpc/rpc_common.c: Likewise.
37904         * sunrpc/rpc_dtable.c: Likewise.
37905         * sunrpc/rpc_prot.c: Likewise.
37906         * sunrpc/rpc_thread.c: Likewise.
37907         * sunrpc/rtime.c: Likewise.
37908         * sunrpc/svc.c: Likewise.
37909         * sunrpc/svc_auth.c: Likewise.
37910         * sunrpc/svc_raw.c: Likewise.
37911         * sunrpc/svc_run.c: Likewise.
37912         * sunrpc/svc_tcp.c: Likewise.
37913         * sunrpc/svc_udp.c: Likewise.
37914         * sunrpc/svc_unix.c: Likewise.
37915         * sunrpc/svcauth_des.c: Likewise.
37916         * sunrpc/xcrypt.c: Likewise.
37917         * sunrpc/xdr.c: Likewise.
37918         * sunrpc/xdr_array.c: Likewise.
37919         * sunrpc/xdr_float.c: Likewise.
37920         * sunrpc/xdr_intXX_t.c: Likewise.
37921         * sunrpc/xdr_mem.c: Likewise.
37922         * sunrpc/xdr_rec.c: Likewise.
37923         * sunrpc/xdr_ref.c: Likewise.
37924         * sunrpc/xdr_sizeof.c: Likewise.
37925         * sunrpc/xdr_stdio.c: Likewise.
37926
37927 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37928
37929         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37930         change.  Update copyright years.
37931
37932 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37933
37934         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37935
37936 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37937             Joseph Myers  <joseph@codesourcery.com>
37938             Paul Pluzhnikov  <ppluzhnikov@google.com>
37939
37940         [BZ #14012]
37941         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37942         requiring rpcgen.
37943         [cross-compiling] (extra-libs): Likewise.
37944         [cross-compiling] (extra-libs-others): Likewise.
37945         [cross-compiling] (librpcsvc-routines): Likewise.
37946         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37947         [cross-compiling] (omit-deps): Likewise.
37948         (sunrpc-CPPFLAGS): New variable.
37949         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37950         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37951         (cross-rpcgen-objs): New variable.
37952         (extra-objs): Append $(cross-rpcgen-objs).
37953         ($(cross-rpcgen-objs)): New rule.
37954         ($(objpfx)cross-rpcgen): Likewise.
37955         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37956         comment.
37957         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37958         ($(objpfx)x%.stmp): Likewise.
37959         * sunrpc/proto.h [IS_IN_build] (_): Define.
37960         [IS_IN_build] (_libc_intl_domainname): Likewise.
37961
37962 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37963
37964         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37965         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37966         and R_X86_64_TPOFF64.
37967
37968 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37969
37970         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37971         sysdeps/unix/sysv/syscalls.list.
37972         (stime): Likewise.
37973         (utime): Likewise.
37974         * sysdeps/unix/sysv/syscalls.list: Remove file.
37975
37976 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37977
37978         [BZ #3440]
37979         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37980         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37981         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37982         (__LC_IDENTIFICATION): Make these macros useful in #if
37983         expressions, as required by C99.
37984
37985 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37986
37987         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37988         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37989         after this.
37990
37991 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37992
37993         * stdlib/longlong.h: Updated from GCC.
37994
37995 2012-05-09  Andreas Jaeger  <aj@suse.de>
37996
37997         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37998         default is first entry.
37999         (run_mode): Set type.
38000         (main): Remove informal message about syslog.
38001         (options): Fix typo.
38002
38003         [BZ #14053]
38004         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38005         to asm.
38006         (lrint): Likewise.
38007         (llrintf): Likewise.
38008         (llrint): Likewise.
38009         (rint): Likewise.
38010         (rintf): Likewise.
38011         (nearbyint): Likewise.
38012         (nearbyintf): Likewise.
38013
38014 2012-05-09  Andreas Jaeger  <aj@suse.de>
38015             Pedro Alves  <palves@redhat.com>
38016
38017         * nscd/nscd.c (run_mode): Use enum.
38018         (main): Cleanup coding style issue.
38019
38020 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
38021             Andreas Jaeger  <aj@suse.de>
38022
38023         * nscd/nscd.c (go_background): Replaced with...
38024         (run_mode): ... this.
38025         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38026         (options): Add -F --foreground.
38027         (main): Implement it.
38028         (parse_opt): Parse it.
38029
38030 2012-05-09  Andreas Jaeger  <aj@suse.de>
38031
38032         [BZ #14083]
38033         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38034         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38035         -Wconversion warning.
38036         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38037         Likewise.
38038
38039 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
38040
38041         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
38042         == 0.
38043         (LC_ALL): Use macro-int-constant.
38044         (LC_COLLATE): Likewise.
38045         (LC_CTYPE): Likewise.
38046         (LC_MESSAGES): Likewise.
38047         (LC_MONETARY): Likewise.
38048         (LC_NUMERIC): Likewise.
38049         (LC_TIME): Likewise.
38050         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38051         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38052         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38053         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38054         Specify type.
38055         [C99-based standards] (float_t): Expect type.
38056         [C99-based standards] (double_t): Expect type.
38057         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
38058         type.
38059         [C99-based standards] (HUGE_VALL): Likewise.
38060         [C99-based standards] (INFINITY): Likewise.
38061         [C99-based standards] (NAN): Likewise.
38062         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38063         [C99-based standards] (FP_NAN): Likewise.
38064         [C99-based standards] (FP_NORMAL): Likewise.
38065         [C99-based standards] (FP_SUBNORMAL): Likewise.
38066         [C99-based standards] (FP_ZERO): Likewise.
38067         [C99-based standards] (FP_FAST_FMA): Use
38068         optional-macro-int-constant.  Specify type.  Require == 1.
38069         [C99-based standards] (FP_FAST_FMAF): Likewise.
38070         [C99-based standards] (FP_FAST_FMAL): Likewise.
38071         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38072         [C99-based standards] (FP_ILOGBNAN): Likewise.
38073         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38074         Specify type.
38075         [C99-based standards] (MATH_ERREXCEPT): Likewise.
38076         [C99-based standards] (math_errhandling): Specify type.
38077         [ISO99 || ISO11] (signgam): Do not allow.
38078         [non-C99-based standards] (copysignf): Do not allow.
38079         [non-C99-based standards] (exp2f): Likewise.
38080         [non-C99-based standards] (log2f): Likewise.
38081         [non-C99-based standards] (modff): Allow.
38082         [non-C99-based standards] (erff): Do not allow.
38083         [non-C99-based standards] (erfcf): Likewise.
38084         [non-C99-based standards] (gammaf): Likewise.
38085         [non-C99-based standards] (hypotf): Likewise.
38086         [non-C99-based standards] (j0f): Likewise.
38087         [non-C99-based standards] (j1f): Likewise.
38088         [non-C99-based standards] (jnf): Likewise.
38089         [non-C99-based standards] (lgammaf): Likewise.
38090         [non-C99-based standards] (tgammaf): Likewise.
38091         [non-C99-based standards] (y0f): Likewise.
38092         [non-C99-based standards] (y1f): Likewise.
38093         [non-C99-based standards] (ynf): Likewise.
38094         [non-C99-based standards] (isnanf): Likewise.
38095         [non-C99-based standards] (acoshf): Likewise.
38096         [non-C99-based standards] (asinhf): Likewise.
38097         [non-C99-based standards] (atanhf): Likewise.
38098         [non-C99-based standards] (cbrtf): Likewise.
38099         [non-C99-based standards] (expm1f): Likewise.
38100         [non-C99-based standards] (ilogbf): Likewise.
38101         [non-C99-based standards] (log1pf): Likewise.
38102         [non-C99-based standards] (logbf): Likewise.
38103         [non-C99-based standards] (nextafterf): Likewise.
38104         [non-C99-based standards] (remainderf): Likewise.
38105         [non-C99-based standards] (rintf): Likewise.
38106         [non-C99-based standards] (scalbf): Likewise.
38107         [non-C99-based standards] (copysignl): Likewise.
38108         [non-C99-based standards] (exp2l): Likewise.
38109         [non-C99-based standards] (log2l): Likewise.
38110         [non-C99-based standards] (modfl): Allow.
38111         [non-C99-based standards] (erfl): Do not allow.
38112         [non-C99-based standards] (erfcl): Likewise.
38113         [non-C99-based standards] (gammal): Likewise.
38114         [non-C99-based standards] (hypotl): Likewise.
38115         [non-C99-based standards] (j0l): Likewise.
38116         [non-C99-based standards] (j1l): Likewise.
38117         [non-C99-based standards] (jnl): Likewise.
38118         [non-C99-based standards] (lgammal): Likewise.
38119         [non-C99-based standards] (tgammal): Likewise.
38120         [non-C99-based standards] (y0l): Likewise.
38121         [non-C99-based standards] (y1l): Likewise.
38122         [non-C99-based standards] (ynl): Likewise.
38123         [non-C99-based standards] (isnanl): Likewise.
38124         [non-C99-based standards] (acoshl): Likewise.
38125         [non-C99-based standards] (asinhl): Likewise.
38126         [non-C99-based standards] (atanhl): Likewise.
38127         [non-C99-based standards] (cbrtl): Likewise.
38128         [non-C99-based standards] (expm1l): Likewise.
38129         [non-C99-based standards] (ilogbl): Likewise.
38130         [non-C99-based standards] (log1pl): Likewise.
38131         [non-C99-based standards] (logbl): Likewise.
38132         [non-C99-based standards] (nextafterl): Likewise.
38133         [non-C99-based standards] (remainderl): Likewise.
38134         [non-C99-based standards] (rintl): Likewise.
38135         [non-C99-based standards] (scalbl): Likewise.
38136         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38137         [non-C99-based standards] (FP_*): Do not allow.
38138         [C99-based standards] (FP_*): Change to
38139         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38140         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38141         allow.
38142         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38143         (SIG_ERR): Likewise.
38144         [X/Open-based standards] (SIG_HOLD): Likewise.
38145         (SIG_IGN): Likewise.
38146         (SIGABRT): Use macro-int-constant.  Specify type.  Require
38147         positive value.
38148         (SIGFPE): Likewise.
38149         (SIGILL): Likewise.
38150         (SIGINT): Likewise.
38151         (SIGSEGV): Likewise.
38152         (SIGTER): Likewise.
38153         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38154         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38155         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38156         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38157         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38158         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38159         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38160         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38161         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38162         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38163         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38164         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38165         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38166         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38167         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38168         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38169         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38170         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38171         [X/Open-based standards] (SIGTRAP): Likewise.
38172         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38173         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38174         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38175         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38176         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38177         allow.
38178
38179 2012-05-08  Ian Wienand  <ianw@vmware.com>
38180
38181         [BZ #14080]
38182         * time/tzset.c (__tzset_parse_tz): Update default rules for
38183         daylight time changes in the Energy Policy Act of 2005.
38184
38185 2012-05-09  Andreas Jaeger  <aj@suse.de>
38186
38187         [BZ #13983]
38188         * elf/ldconfig.c (parse_conf): Change string to make clear that
38189         ldconfig only issued a warning if ld.so.conf does not exist.
38190
38191 2012-05-08  David S. Miller  <davem@davemloft.net>
38192
38193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38194         movxtod instead of popping the value on the stack.
38195
38196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38197
38198 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
38199
38200         * config.h.in: Add HAVE_ARM_PCS_VFP.
38201
38202 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
38203
38204         [BZ #13979]
38205         * include/features.h: Warn if user requests __FORTIFY_SOURCE
38206         checking but the checks are disabled for any reason.
38207
38208 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
38209
38210         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38211         and ELF64_R_TYPE with ELFW(R_TYPE).
38212
38213 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
38214
38215         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38216         (ulimit): Likewise.
38217
38218         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38219         (settimeofday): Likewise.
38220
38221 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
38222
38223         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
38224         a struct th_u2 inside the union, and move tu_block/tu_code into
38225         a new th_u3 union of tu_block/tu_code inside of that.  Move
38226         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
38227         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
38228         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38229         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38230         (th_stuff): Change to th_u1.tu_stuff.
38231         (th_data): Define.
38232         (th_msg): Change to th_u1.th_u2.tu_data.
38233
38234 2012-05-07  David S. Miller  <davem@davemloft.net>
38235
38236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38237
38238         [BZ #14074]
38239         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38240         (SETUP_PIC_REG): Use it.
38241         (SETUP_PIC_REG_LEAF): Use it.
38242
38243 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
38244
38245         [BZ #13885]
38246         [BZ #13923]
38247         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38248         USE_AS_EXPM1L.
38249         (EXPL_FINITE): Likewise.
38250         (FLDLOG): Likewise.
38251         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38252         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38253         e_expl.S.
38254         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38255         USE_AS_EXPM1L.
38256         (EXPL_FINITE): Likewise.
38257         (FLDLOG): Likewise.
38258         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38259         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38260         e_expl.S.
38261         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
38262         test of -max_value argument for long double.
38263         * sysdeps/i386/fpu/libm-test-ulps: Update.
38264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38265
38266 2012-05-06  David S. Miller  <davem@davemloft.net>
38267
38268         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38269         quad soft-float symbols whose references which are compiler
38270         generated.
38271         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38272
38273 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
38274
38275         [BZ #13884]
38276         [BZ #13914]
38277         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38278         USE_AS_EXP10L.
38279         (EXPL_FINITE): Likewise.
38280         (FLDLOG): Likewise.
38281         (c0): Likewise.
38282         (c1): Likewise.
38283         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38284         Adjust comments for base varying.
38285         (__expl_finite): Change alias to EXPL_FINITE.
38286         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38287         e_expl.S.
38288         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38289         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38290         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38291         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38292         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38293         USE_AS_EXP10L.
38294         (EXPL_FINITE): Likewise.
38295         (FLDLOG): Likewise.
38296         (c0): Likewise.
38297         (c1): Likewise.
38298         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38299         Adjust comments for base varying.
38300         (__expl_finite): Change alias to EXPL_FINITE.
38301         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
38302         tests for bugs.
38303         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38304
38305         [BZ #14064]
38306         * math/libm-test.inc (check_float_internal): Correct ulp
38307         calculation for subnormal expected results.
38308
38309 2012-05-06  Andreas Jaeger  <aj@suse.de>
38310
38311         * Makeconfig (+math-flags): New, set to -frounding-math.
38312         (+cflags): Add +math-flags so that all of glibc gets compiled with
38313         it.
38314
38315         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38316
38317 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
38318
38319         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38320         Disable one test.
38321
38322         [BZ #13787]
38323         [BZ #13922]
38324         [BZ #14036]
38325         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38326         (__ieee754_expl): Allow for and saturate large arguments.
38327         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38328         (u_threshold): Likewise.
38329         (__exp): Call __ieee754_exp before checking for overflow and
38330         underflow.
38331         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38332         (u_threshold): Likewise.
38333         (__expf): Call __ieee754_expf before checking for overflow and
38334         underflow.
38335         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38336         (u_threshold): Likewise.
38337         (__expl): Call __ieee754_expl before checking for overflow and
38338         underflow.
38339         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38340         (__ieee754_expl): Allow for and saturate large arguments.
38341         * math/libm-test.inc (exp_test): Add another test.  Do not allow
38342         missing overflow exception on overflow.
38343         (expm1_test): Do not allow missing overflow exception on overflow.
38344
38345         * sysdeps/i386/fpu/e_expl.c: Move to ...
38346         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
38347         rather than using inline asm.
38348         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38349         * sysdeps/x86_64/fpu/e_expl.S: Copy from
38350         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38351
38352         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38353         (nice): Likewise.
38354         (poll): Likewise.
38355         (signal): Likewise.
38356         (time): Likewise.
38357         (times): Likewise.
38358
38359 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38360
38361         * sysdeps/unix/syscalls.list (adjtime): Add entry from
38362         sysdeps/unix/common/syscalls.list.
38363         (fchmod): Likewise.
38364         (fchown): Likewise.
38365         (ftruncate): Likewise.
38366         (getrusage): Likewise.
38367         (gettimeofday): Likewise.
38368         (setpgid): Likewise.
38369         (setregid): Likewise.
38370         (setreuid): Likewise.
38371         (sigaction): Likewise.
38372         (truncate): Likewise.
38373         (vhangup): Likewise.
38374         * sysdeps/unix/common/syscalls.list: Remove file.
38375         * sysdeps/unix/bsd/Implies: Don't include unix/common.
38376         * sysdeps/unix/sysv/linux/Implies: Likewise.
38377
38378 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
38379
38380         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38382         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38383         Moved to ...
38384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38385         Here.
38386         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38387         to ...
38388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38389         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38390         to ...
38391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38392         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38393         to ...
38394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38395         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38396         to ...
38397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38398         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38399         to ...
38400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38401         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38402         to ...
38403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38404         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38405         to ...
38406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38407         Here.
38408         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38409         to ...
38410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38411         Here.
38412         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38413         to ...
38414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38415         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38416         Moved to ...
38417         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38418         Here.
38419         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38420         to ...
38421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38422
38423 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38424
38425         * sysdeps/unix/common/bits/dirent.h: Remove file.
38426         * sysdeps/unix/common/bits/fcntl.h: Likewise.
38427
38428         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38429         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38430         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38431         * sysdeps/unix/bsd/isatty.c: Likewise.
38432         * sysdeps/unix/bsd/tcdrain.c: Likewise.
38433         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38434         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38435
38436 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38437
38438         [BZ #13563]
38439         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38440         long double comparison inaccuracies.
38441         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38443
38444 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
38445
38446         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38447         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38448
38449 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38450
38451         [BZ #14049]
38452         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38453         nonzero digits before rounding a hex value.
38454         * stdlib/tst-strtod.c (tests): Add another test.
38455
38456 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38457
38458         * sysdeps/s390/fpu/libm-test-ulps: Update.
38459
38460 2012-05-03  Andreas Jaeger  <aj@suse.de>
38461
38462         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38463         does not get optimized out.
38464         (malloc_opt_barrier): New.
38465
38466 2012-05-03  Andreas Jaeger  <aj@suse.de>
38467             Roland McGrath  <roland@hack.frob.com>
38468
38469         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38470         intermediate file deletion.
38471         (generated): Add .symlist files.
38472
38473 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
38474
38475         [BZ #13775]
38476         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38477         Redirect under this condition.
38478         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38479         [__USE_GNU] (__dprintf_chk): Not under this condition.
38480         [__USE_GNU] (__vdprintf_chk): Likewise.
38481         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38482         under this condition.
38483         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38484         [__USE_XOPEN2K8] (dprintf): Define under this condition.
38485         [__USE_XOPEN2K8] (vdprintf): Likewise.
38486         [__USE_GNU] (__dprintf_chk): Not under this condition.
38487         [__USE_GNU] (__vdprintf_chk): Likewise.
38488         [__USE_GNU] (dprintf): Likewise.
38489         [__USE_GNU] (vdprintf): Likewise.
38490
38491 2012-05-03  Roland McGrath  <roland@hack.frob.com>
38492
38493         * elf/Makefile (common-generated): Set this instead of generated for
38494         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
38495         $(all-built-dso)-derived lists.
38496
38497 2012-05-03  Andreas Jaeger  <aj@suse.de>
38498
38499         * sysdeps/i386/fpu/libm-test-ulps: Update.
38500
38501         * FAQ: Removed.
38502         * FAQ.in: Likewise.
38503         * scripts/gen-FAQ.pl: Likewise.
38504         * manual/install.texi (Installation): Point to online location of
38505         FAQ.
38506         * Makefile (files-for-dist): Remove FAQ.
38507         (FAQ): Remove.
38508
38509 2012-05-02  Allan McRae  <allan@archlinux.org>
38510
38511         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38512         (LDFLAGS-reldepmod5.so): Likewise.
38513         (LDFLAGS-reldep6mod1.so): Likewise.
38514         (LDFLAGS-reldep6mod4.so): Likewise.
38515         (LDFLAGS-reldep8mod3.so): Likewise.
38516         (LDFLAGS-unload4mod1.so): Likewise.
38517         (LDFLAGS-unload4mod2.so): Likewise.
38518         (LDFLAGS-tst-initorder): Likewise.
38519         (LDFLAGS-tst-initordera2.so): Likewise.
38520         (LDFLAGS-tst-initordera3.so): Likewise.
38521         (LDFLAGS-tst-initordera4.so): Likewise.
38522         (LDFLAGS-tst-initorderb2.so): Likewise.
38523         (LDFLAGS-noload): Likewise.
38524         (LDFLAGS-next): Likewise.
38525         (LDFLAGS-order2mod1.so): Likewise.
38526         (LDFLAGS-order2mod2.so): Likewise.
38527         (LDFLAGS-tst-initorder2): Likewise.
38528         (LDFLAGS-tst-initorder2a.so): Likewise.
38529         (LDFLAGS-tst-initorder2b.so): Likewise.
38530         (LDFLAGS-tst-initorder2c.so): Likewise.
38531         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38532
38533 2012-05-02  David S. Miller  <davem@davemloft.net>
38534
38535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38536
38537 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
38538
38539         [BZ #14055]
38540         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38541
38542 2012-05-02  Andreas Jaeger  <aj@suse.de>
38543
38544         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38545         since we manipulate rounding mode.
38546         (CPPFLAGS-test-idouble.c): Likewise.
38547         (CPPFLAGS-test-ifloat.c): Likewise.
38548         (CFLAGS-test-ldouble.c): Likewise.
38549         (CFLAGS-test-double.c): Likewise.
38550         (CFLAGS-test-float.c): Likewise.
38551         (CFLAGS-test-misc.c): Likewise.
38552         (CFLAGS-test-test-fenv.c): Likewise.
38553
38554 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38555
38556         [BZ #2550]
38557         [BZ #2570]
38558         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38559         comparisons to determine direction to adjust input.
38560
38561 2012-05-01  Roland McGrath  <roland@hack.frob.com>
38562
38563         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38564         output to the target.
38565
38566         * scripts/localplt.awk: New file.
38567         * elf/Makefile ($(objpfx)check-localplt): Target removed.
38568         (check-localplt-CFLAGS): Variable removed.
38569         ($(all-built-dso:=.jmprel)): New static pattern rule.
38570         (generated): Add those targets.
38571         (localplt-built-dso): New variable.
38572         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38573
38574         * elf/check-localplt.c: File removed.
38575
38576         * scripts/check-execstack.awk: New file.
38577         * elf/Makefile ($(objpfx)check-execstack): Target removed.
38578         (check-execstack-CFLAGS): Variable removed.
38579         ($(objpfx)check-execstack.h): Target removed.
38580         ($(objpfx)execstack-default): New target.
38581         (generated): Add that instead of check-execstack.h.
38582         ($(all-built-dso:=.phdr)): New static pattern rule.
38583         (generated): Add those targets.
38584         * elf/check-execstack.c: File removed.
38585
38586         * scripts/check-textrel.awk: New file.
38587         * elf/Makefile ($(objpfx)check-textrel): Target removed.
38588         (check-textrel-CFLAGS): Variable removed.
38589         (all-built-dso): Use := to define.o
38590         ($(all-built-dso:=.dyn)): New static pattern rule.
38591         (generated): Add those targets.
38592         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38593         * config.make.in (READELF): New substituted variable.
38594         * elf/check-textrel.c: File removed.
38595
38596 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38597
38598         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38599         allow.
38600         * conform/data/ctype.h-data [C99-based standards] (isblank):
38601         Expect function.
38602         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38603         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38604         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38605         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38606         Specify type.  Require positive value.
38607         (EILSEQ): Likewise.
38608         (ERANGE): Likewise.
38609         [ISO || POSIX] (EILSEQ): Do not expect.
38610         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38611         Specify type.  Require positive value.
38612         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38613         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38614         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38615         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38616         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38617         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38618         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38619         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38620         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38621         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38622         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38623         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38624         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38625         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38626         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38627         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38628         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38629         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38630         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38631         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38632         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38633         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38634         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38635         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38636         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38637         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38638         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38639         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38640         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38641         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38642         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38643         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38644         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38645         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38646         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38647         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38648         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38649         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38650         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38651         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38652         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38653         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38654         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38655         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38656         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38657         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38658         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38659         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38660         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38661         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38662         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38663         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38664         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38665         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38666         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38667         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38668         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38669         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38670         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38671         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38672         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38673         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38674         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38675         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38676         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38677         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38678         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38679         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38680         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38681         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38682         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38683         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38684         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38685         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38686         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38687         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38688         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38689         Require >= 2.
38690         (FLT_ROUNDS): Expect as macro, not constant.
38691         (FLT_MANT_DIG): Use macro-int-constant.
38692         (DBL_MANT_DIG): Likewise.
38693         (LDBL_MANT_DIG): Likewise.
38694         (FLT_DIG): Likewise.
38695         (DBL_DIG): Likewise.
38696         (LDBL_DIG): Likewise.
38697         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
38698         (DBL_MIN_EXP): Likewise.
38699         (LDBL_MIN_EXP): Likewise.
38700         (FLT_MAX_EXP): Use macro-int-constant.
38701         (DBL_MAX_EXP): Likewise.
38702         (LDBL_MAX_EXP): Likewise.
38703         (FLT_MAX_10_EXP): Likewise.
38704         (DBL_MAX_10_EXP): Likewise.
38705         (LDBL_MAX_10_EXP): Likewise.
38706         (FLT_MAX): Use macro-constant.
38707         (DBL_MAX): Likewise.
38708         (LDBL_MAX): Likewise.
38709         (FLT_EPSILON): Use macro-constant.  Give upper bound.
38710         (DBL_EPSILON): Likewise.
38711         (LDBL_EPSILON): Likewise.
38712         (FLT_MIN): Likewise.
38713         (DBL_MIN): Likewise.
38714         (LDBL_MIN): Likewise.
38715         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38716         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38717         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38718         [ISO11] (FLT_HAS_SUBNORM): Likewise.
38719         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38720         [ISO11] (DBL_DECIMAL_DIG): Likewise.
38721         [ISO11] (FLT_DECIMAL_DIG): Likewise.
38722         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38723         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38724         [ISO11] (FLT_TRUE_MIN): Likewise.
38725         [ISO11] (LDBL_TRUE_MIN): Likewise.
38726         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38727         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38728         (SCHAR_MIN): Use macro-int-constant.  Specify type.
38729         (SCHAR_MAX): Likewise.
38730         (UCHAR_MAX): Likewise.
38731         (CHAR_MIN): Likewise.
38732         (CHAR_MAX): Likewise.
38733         (MB_LEN_MAX): Use macro-int-constant.
38734         (SHRT_MIN): Use macro-int-constant.  Specify type.
38735         (SHRT_MAX): Likewise.
38736         (USHRT_MAX): Likewise.
38737         (INT_MAX): Likewise.
38738         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
38739         bound negative.
38740         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38741         bound with "U".
38742         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38743         bound with "L".
38744         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
38745         bound negative.  Suffix upper bound with "L".
38746         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38747         bound with "UL".
38748         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38749         Specify type.
38750         [C99-based standards] (LLONG_MAX): Likewise.
38751         [C99-based standards] (ULLONG_MAX): Likewise.
38752         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
38753         == 0.
38754         [ISO11] (max_align_t): Require type.
38755         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38756
38757         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38758         from $CFLAGS, without defining away __attribute__ calls.
38759         (checknamespace): Use $CFLAGS_namespace.
38760
38761         * conform/conformtest.pl (@keywords): Only include C99 keywords
38762         for standards based on C99 or C11.
38763
38764         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38765         Disable tests.
38766         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38767         UNIX98]: Likewise.
38768
38769         * conform/conformtest.pl: Handle "macro-int-constant" and test for
38770         usability of symbols in #if.
38771
38772         * conform/conformtest.pl: If macro or constant types start
38773         "promoted:", expect the symbol to be of the following type
38774         promoted by the integer promotions.
38775
38776         * conform/conformtest.pl: Parse all "constant" and "macro" lines
38777         in one place.  Also handle "macro-constant".
38778
38779         * conform/conformtest.pl: Only accept expected macro values with
38780         "==".  Parse all "macro" lines in one place.
38781         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38782
38783         * conform/conformtest.pl: Handle braced types on "constant" lines
38784         instead of handling "typed-constant".
38785         * conform/data/signal.h-data: Use "constant" instead of
38786         "typed-constant".
38787
38788         * conform/conformtest.pl: Handle "optional-" at start of lines in
38789         one place rather than duplicating several cases.  Handle each
38790         format of "macro" line with initial "optional-".
38791
38792         * conform/conformtest.pl: Only accept expected constant or
38793         optional-constant values with "==".  Parse all "constant" lines in
38794         one place.  Parse all "optional-constant" lines in one place.
38795         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38796         * conform/data/fmtmsg.h-data: Likewise.
38797         * conform/data/netinet/in.h-data: Likewise.
38798         * conform/data/tar.h-data: Likewise.
38799         * conform/data/limits.h-data: Use "==" form on "constant" and
38800         "optional-constant" lines.
38801
38802         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38803         Use -std=c99 for XOPEN2K.
38804         (@knownproblems): Remove.
38805         (newtoken): Don't check %isknown.
38806
38807         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38808         Do not expect macro.
38809         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38810         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38811         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38812         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38813         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38814         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38815         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38816         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38817         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38818         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38819         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38820         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38821         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38822         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38823         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38824         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38825         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38826         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38827         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38828         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38829         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38830         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38831         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38832         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38833         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38834         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38835         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38836         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38837         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38838         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38839         [XPG3] (acosh): Likewise.
38840         [XPG3] (asinh): Likewise.
38841         [XPG3] (atanh): Likewise.
38842         [XPG3] (cbrt): Likewise.
38843         [XPG3] (expm1): Likewise.
38844         [XPG3] (ilogb): Likewise.
38845         [XPG3] (log1p): Likewise.
38846         [XPG3] (logb): Likewise.
38847         [XPG3] (nextafter): Likewise.
38848         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38849         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38850         [XPG3] (remainder): Likewise.
38851         [XPG3] (rint): Likewise.
38852         [XPG3 || XPG4 || UNIX98] (round): Likewise.
38853         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38854         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38855         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38856         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38857         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38858         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38859         [UNIX98 || XOPEN2K] (scalb): Expect.
38860         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38861         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38862         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38863         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38864         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38865         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38866         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38867         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38868         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38869         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38870         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38871         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38872         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38873         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38874         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38875         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38876         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38877         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38878         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38879         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38880         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38881         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38882         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38883         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38884         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38885         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38886         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38887         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38888         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38889         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38890         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38891         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38892         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38893         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38894         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38895         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38896         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38897         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38898         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38899         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38900         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38901         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38902         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38903         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38904         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38905         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38906         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38907         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38908         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38909         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38910         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38911         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38912         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38913         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38914         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38915         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38916         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38917         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38918         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38919         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38920         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38921         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38922         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38923         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38924         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38925         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38926         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38927         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38928         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38929         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38930         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38931         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38932         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38933         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38934         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38935         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38936         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38937         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38938         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38939         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38940         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38941         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38942         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38943         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38944         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38945         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38946         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38947         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38948         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38949         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38950         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38951         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38952         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38953         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38954         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38955         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38956         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38957         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38958         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38959         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38960         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38961         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38962         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38963         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38964         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38965         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38966         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38967         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38968         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38969         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38970         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38971         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38972         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38973         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38974         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38975         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38976         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38977         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38978         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38979         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38980         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38981         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38982         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38983         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38984         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38985         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38986         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38987         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38988         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38989         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38990         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38991         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38992         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38993         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38994         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38995         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38996         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38997
38998         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38999         _XOPEN_SOURCE_EXTENDED for XPG4.
39000
39001         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39002
39003         * Makeconfig (localtime): Remove variable.
39004         (inst_localtime-file): Likewise.
39005
39006 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39007
39008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39009         Update.
39010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39011         Update.
39012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39013         Update.
39014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39015         Update.
39016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39017         Update.
39018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39019         Update.
39020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39021         Update.
39022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39023         Update.
39024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39025         Update.
39026
39027 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39028
39029         [BZ #2550]
39030         [BZ #2570]
39031         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39032         comparisons to determine direction to adjust input.
39033         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39034         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39035         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39036         Likewise.
39037         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39038         Likewise.
39039         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39040         Likewise.
39041         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39042         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39043         Likewise.
39044         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39045         Likewise.
39046         * math/libm-test.inc (nexttoward_test): Add more tests.
39047
39048 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39049
39050         [BZ #14040]
39051         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39052         in version GLIBC_2.1, not GLIBC_2.0.
39053         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39054         Likewise.
39055
39056 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
39057
39058         [BZ #13942]
39059         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39060         (1 - x) * (1 + x).
39061         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39062         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39063         * math/libm-test.inc (acos_test): Add more tests.
39064         (asin_test): Likewise.
39065         * sysdeps/i386/fpu/libm-test-ulps: Update.
39066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39067
39068         [BZ #14034]
39069         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39070         of square root.
39071         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39072         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39073         * math/libm-test.inc (acos_test_tonearest): New function.
39074         (acos_test_towardzero): Likewise.
39075         (acos_test_downward): Likewise.
39076         (acos_test_upward): Likewise.
39077         (asin_test_tonearest): Likewise.
39078         (asin_test_towardzero): Likewise.
39079         (asin_test_downward): Likewise.
39080         (asin_test_upward): Likewise.
39081         (main): Call the new functions.
39082         * sysdeps/i386/fpu/libm-test-ulps: Update.
39083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39084
39085         [BZ #13884]
39086         [BZ #13924]
39087         * math/e_exp10.c: Include <float.h>.
39088         (__ieee754_exp10): Handle underflow here rather than multiplying
39089         large negative argument by M_LN10.
39090         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39091         of __ieee754_expf.
39092         * math/e_exp10l.c: Include <float.h>.
39093         (__ieee754_exp10l): Handle underflow here rather than multiplying
39094         large negative argument by M_LN10l.
39095         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
39096         spurious overflow exception on underflow.
39097
39098 2012-04-29  Marek Polacek  <polacek@redhat.com>
39099
39100         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39101         (__fortify_function): New macro.
39102         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39103         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39104         __extern_always_inline.
39105         * libio/bits/stdio2.h: Likewise.
39106         * libio/bits/stdio.h: Likewise.
39107         * string/string.h: Likewise.
39108         * string/bits/string3.h: Likewise.
39109         * include/stdio.h: Likewise.
39110         * stdlib/bits/stdlib.h: Likewise.
39111         * stdlib/stdlib.h: Likewise.
39112         * rt/bits/mqueue2.h: Likewise.
39113         * rt/mqueue.h: Likewise.
39114         * posix/bits/unistd.h: Likewise.
39115         * posix/unistd.h: Likewise.
39116         * io/bits/poll2.h: Likewise.
39117         * io/bits/fcntl2.h: Likewise.
39118         * io/fcntl.h: Likewise.
39119         * io/sys/poll.h: Likewise.
39120         * misc/bits/syslog.h: Likewise.
39121         * misc/bits/syslog-ldbl.h: Likewise.
39122         * misc/sys/syslog.h: Likewise.
39123         * socket/bits/socket2.h: Likewise.
39124         * socket/sys/socket.h: Likewise.
39125         * debug/tst-chk1.c: Likewise.
39126         * wcsmbs/bits/wchar2.h: Likewise.
39127         * wcsmbs/bits/wchar-ldbl.h: Likewise.
39128         * wcsmbs/wchar.h: Likewise.
39129
39130 2012-04-29  Andreas Jaeger  <aj@suse.de>
39131
39132         * Makerules (tests): Remove enable-check-abi protection.
39133         (check-abi-warn): Remove.
39134         (check-abi-%): Remove check-abi-warn usage.
39135
39136         * configure.in: Remove check-abi configure option.
39137         * configure: Regenerated.
39138         * config.make.in (enable-check-abi): Remove.
39139
39140 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
39141
39142         [BZ #14033]
39143         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39144         double functions to double *_finite functions.
39145
39146         [BZ #13941]
39147         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39148         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39149         LDBL_MIN_EXP.
39150         * stdio-common/Makefile (tests): Add tst-sprintf3.
39151         * stdio-common/tst-sprintf3.c: New file.
39152
39153         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39154         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39155
39156 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39157
39158         * conform/conformtest.pl: Remove duplicate typed-constant
39159         handling.
39160
39161 2012-04-28  David S. Miller  <davem@davemloft.net>
39162
39163         * Makerules (%.abilist): Add vpath on sysdep_dirs.
39164         (check-abi-%): Remove AWK script prerequisite and explicit
39165         abilist directory.
39166         (check-abi): Rewrite to just diff the symlist with the abilist.
39167         (config-tls, config-abi-config): Delete, no longer used.
39168         (update-abi-%): Remove AWK script and explicit abilist directory.
39169         (update-abi): Rewrite to simply compare and conditionally copy the
39170         symlist and the sysdep abilist file.  Remove update-abi-config
39171         checks.
39172         * abilist/ld.abilist: Remove.
39173         * abilist/libBrokenLocale.abilist: Remove.
39174         * abilist/libanl.abilist: Remove.
39175         * abilist/libcrypt.abilist: Remove.
39176         * abilist/libdl.abilist: Remove.
39177         * abilist/librt.abilist: Remove.
39178         * abilist/libthread_db.abilist: Remove.
39179         * abilist/libutil.abilist: Remove.
39180         * scripts/extract-abilist.awk: Remove.
39181         * scripts/merge-abilist.awk: Remove.
39182         * sysdeps/generic/libcidn.abilist: New file.
39183         * sysdeps/generic/libnss_compat.abilist: New file.
39184         * sysdeps/generic/libnss_db.abilist: New file.
39185         * sysdeps/generic/libnss_dns.abilist: New file.
39186         * sysdeps/generic/libnss_files.abilist: New file.
39187         * sysdeps/generic/libnss_hesiod.abilist: New file.
39188         * sysdeps/generic/libnss_nis.abilist: New file.
39189         * sysdeps/generic/libnss_nisplus.abilist: New file.
39190         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39191         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39192         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39193         file.
39194         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39195         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39196         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39197         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39198         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39199         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39200         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39201         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39202         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39203         file.
39204         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39205         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39206         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39207         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39208         file.
39209         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39210         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39211         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39212         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39213         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39214         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39215         file.
39216         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39217         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39218         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39219         file.
39220         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39221         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39222         New file.
39223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39224         New file.
39225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39226         New file.
39227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39228         New file.
39229         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39230         New file.
39231         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39232         New file.
39233         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39234         New file.
39235         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39236         New file.
39237         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39238         New file.
39239         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39240         New file.
39241         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39242         New file.
39243         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39244         New file.
39245         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39246         New file.
39247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39248         file.
39249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39250         New file.
39251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39252         New file.
39253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39254         file.
39255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39256         New file.
39257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39258         New file.
39259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39260         file.
39261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39262         New file.
39263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39264         New file.
39265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39266         New file.
39267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39268         New file.
39269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39270         New file.
39271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39272         New file.
39273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39275         file.
39276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39277         New file.
39278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39279         file.
39280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39281         file.
39282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39283         file.
39284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39285         file.
39286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39287         file.
39288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39289         New file.
39290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39291         file.
39292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39293         file.
39294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39295         New file.
39296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39297         file.
39298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39300         file.
39301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39302         New file.
39303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39304         file.
39305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39306         file.
39307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39308         file.
39309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39310         file.
39311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39312         file.
39313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39314         New file.
39315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39316         file.
39317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39318         file.
39319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39320         New file.
39321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39322         file.
39323         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39324         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39325         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39326         file.
39327         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39328         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39329         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39330         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39331         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39332         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39333         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39334         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39335         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39336         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39339         file.
39340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39341         New file.
39342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39343         file.
39344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39345         file.
39346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39347         file.
39348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39349         file.
39350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39351         file.
39352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39353         New file.
39354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39355         New file.
39356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39357         file.
39358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39359         New file.
39360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39361         file.
39362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39364         file.
39365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39366         New file.
39367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39368         file.
39369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39370         file.
39371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39372         file.
39373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39374         file.
39375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39376         file.
39377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39378         New file.
39379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39380         New file.
39381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39382         file.
39383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39384         New file.
39385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39386         file.
39387
39388 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39389
39390         * conform/conformtest.pl: Fix typo in handling typed-constant from
39391         allow-header.
39392
39393 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39394
39395         * README: Cut down references to pre-2.6 Linux kernels and
39396         Linuxthreads.  Update lists of configurations in libc and ports
39397         and sort alphabetically.  Say "or newer" with Linux kernel version
39398         requirements.
39399
39400         * config.h.in [IS_IN_build]: Allow compiling without optimization.
39401
39402 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39403
39404         [BZ #887]
39405         * math/libm-test.inc (logb_test_downward): New test to expose
39406         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39407         rounding mode.
39408
39409 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39410
39411         [BZ #14027]
39412         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39413         to be done.
39414         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39415         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39416
39417 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
39418
39419         * sysdeps/unix/i386/brk.S: Remove file.
39420         * sysdeps/unix/i386/dl-brk.S: Likewise.
39421         * sysdeps/unix/i386/pipe.S: Likewise.
39422         * sysdeps/unix/i386/sigreturn.S: Likewise.
39423         * sysdeps/unix/i386/syscall.S: Likewise.
39424         * sysdeps/unix/i386/vfork.S: Likewise.
39425         * sysdeps/unix/i386/wait.S: Likewise.
39426
39427         * sysdeps/unix/common/tcsendbrk.c: Move to ...
39428         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39429
39430         * configure.in (arm*-none*): Do not allow without
39431         --enable-hacker-mode.
39432         (netbsd*): Remove case setting base_os.
39433         (386bsd*): Likewise.
39434         (freebsd*): Likewise.
39435         (bsdi*): Likewise.
39436         (osf*): Likewise.
39437         (sunos*): Likewise.
39438         (ultrix*): Likewise.
39439         (newsos*): Likewise.
39440         (dynix*): Likewise.
39441         (*bsd*): Likewise.
39442         (sysv*): Likewise.
39443         (isc*): Likewise.
39444         (esix*): Likewise.
39445         (sco*): Likewise.
39446         (minix*): Likewise.
39447         (irix4*): Likewise.
39448         (irix6*): Likewise.
39449         (solaris[2-9]*): Likewise.
39450         (none): Likewise.
39451         * configure: Regenerated.
39452
39453 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39454
39455         [BZ #11521]
39456         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39457         overflow or cancellation in calculating denominator.
39458         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39459         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39460         down expression to avoid unexpected rounding in newer GCCs.
39461         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39462
39463 2012-04-26  David S. Miller  <davem@davemloft.net>
39464
39465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39466         long-double compat symbols.
39467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39480
39481 2012-04-25  David S. Miller  <davem@davemloft.net>
39482
39483         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39484         HWCAP_* values only after the memory barriers have been defined.
39485         (atomic_full_barrier): Define.
39486         (atomic_read_barrier): Define.
39487         (atomic_write_barrier): Define.
39488
39489 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39490
39491         * shlib-versions: Add libgcc_s version information.
39492         * sysdeps/generic/libgcc_s.h: Remove.
39493         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39494         libgcc_s.h.
39495         * sysdeps/gnu/unwind-resume.c: Likewise.
39496         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39497
39498 2012-04-25  David S. Miller  <davem@davemloft.net>
39499
39500         * sysdeps/unix/sparc/brk.S: Delete.
39501         * sysdeps/unix/sparc/dl-brk.S: Delete.
39502         * sysdeps/unix/sparc/pipe.S: Delete.
39503         * sysdeps/unix/sparc/sysdep.S: Delete.
39504         * sysdeps/unix/sparc/sysdep.h: Delete.
39505         * sysdeps/unix/sparc/vfork.S: Delete.
39506         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39507         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39508         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39509         (ret_ERRVAL, r0, r1, MOVE): Define.
39510         (JUMPTARGET): Remove.
39511         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39512         sysdeps/unix/sparc/sysdep.h
39513         (ENTRY, END): Remove.
39514         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39515
39516 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
39517
39518         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39519         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39520         -DIS_IN_build.
39521
39522         * timezone/README: Update upstream location and email address for
39523         tzcode and tzdata.
39524         * timezone/zdump.c: Update from tzcode 2012b.
39525         * timezone/zic.c: Likewise.
39526
39527         * configure.in (libc_cv_as_needed): Remove test.
39528         * configure: Regenerated.
39529         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39530         conditional definition.
39531         [$(have-as-needed) != yes] (no-as-needed): Likewise.
39532         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39533         * config.make.in (have-as-needed): Remove variable.
39534
39535 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39536             Paul Pluzhnikov  <ppluzhnikov@google.com>
39537
39538         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39539         strings correctly.
39540
39541 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
39542
39543         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39544         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39545         * sysdeps/sh/strlen.S: Likewise.
39546
39547 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39548
39549         * sysdeps/unix/fork.S: Remove file.
39550         * sysdeps/unix/i386/fork.S: Likewise.
39551         * sysdeps/unix/sparc/fork.S: Likewise.
39552
39553         * sysdeps/unix/system.c: Remove file.
39554         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39555
39556         * sysdeps/unix/getegid.S: Remove file.
39557         * sysdeps/unix/geteuid.S: Likewise.
39558
39559 2012-04-24  Roland McGrath  <roland@hack.frob.com>
39560
39561         * scripts/check-localplt.awk: New file.
39562         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39563         of diff.
39564         * scripts/data/localplt-generic.data: Add a comment.
39565
39566         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39567         NODE when __dir_mkfile failed.
39568         * sysdeps/mach/hurd/symlinkat.c: Likewise.
39569         Reported by Ludovic Courtès <ludo@gnu.org>.
39570
39571 2012-04-24  Andreas Jaeger  <aj@suse.de>
39572
39573         * Makerules (common-clean): Also remove gen-as-const-headers
39574         files.
39575
39576 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39577
39578         * Makerules (native-compile): Do not change working directory for
39579         build.  Use $(OUTPUT_OPTION) in command.
39580         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39581
39582 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39583
39584         [BZ #13886]
39585         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39586         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39587         * math/libm-test.inc (floor_test): Add more tests.
39588         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39589
39590 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39591
39592         * sysdeps/unix/getdents.c: Remove file.
39593         * sysdeps/unix/sysv/getdents.c: Likewise.
39594         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39595
39596         * sysdeps/unix/syscalls.list (madvise): Add syscall from
39597         sysdeps/unix/mman/syscalls.list.
39598         (mmap): Likewise.
39599         (mprotect): Likewise.
39600         (msync): Likewise.
39601         (munmap): Likewise.
39602         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39603         * sysdeps/unix/mman/syscalls.list: Remove.
39604         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39605
39606         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39607         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39608         * configure: Regenerated.
39609         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39610         $(libgcc_s_suffix).
39611         * config.make.in (libgcc_s_suffix): Remove variable.
39612
39613 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
39614
39615         * sysdeps/unix/sysv/gethostname.c: Move to ...
39616         * sysdeps/posix/gethostname.c: ... here.
39617
39618         * sysdeps/unix/execve.S: Remove file.
39619
39620         * sysdeps/unix/_exit.S: Remove file.
39621
39622 2012-04-23  Andreas Jaeger  <aj@suse.de>
39623
39624         [BZ #13739]
39625         * manual/Makefile: Remove make dist support, there's no
39626         need for a stand-alone documentation tar ball.
39627         (TEXI2DVI): Define always, it's not in Makeconfig.
39628         (dist): Removed.
39629         (tar-it): Removed.
39630         (edition): Removed.
39631         (glibc-doc-$(edition).tar): Removed
39632         (%.Z): Removed.
39633         (%.gz): Removed.
39634         (%.uu): Removed.
39635         (ETAGS): Remove, it's in Makeconfig.
39636         (move-if-change): Remove, it's in Makeconfig.
39637
39638 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
39639
39640         [BZ #13970]
39641         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39642         (strtod, strtof, strtold, strtol, strtoul, strtoq)
39643         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39644         (strtod_l, strtof_l, strtold_l): Remove __wur.
39645         It is not necessarily an error to ignore strtol's return value.
39646         One can reliably look at the stored endptr to decide whether
39647         the number had valid syntax.
39648
39649 2012-04-21  Andreas Jaeger  <aj@suse.de>
39650
39651         [BZ #13739]
39652         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39653
39654 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
39655
39656         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39657         * sysdeps/unix/sysv/Versions: Remove file.
39658
39659 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
39660
39661         [BZ #13927]
39662         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39663
39664 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
39665
39666         [BZ #7064]
39667         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39668         version from __vm86.
39669
39670 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
39671
39672         * sysdeps/unix/common/lxstat.c: Remove file.
39673         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39674
39675         * sysdeps/unix/sysv/Makefile: Remove file.
39676
39677         * sysdeps/unix/sysv/direct.h: Remove file.
39678
39679         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39680         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39681         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39682         * sysdeps/unix/sysv/bits/signum.h: Likewise.
39683         * sysdeps/unix/sysv/bits/stat.h: Likewise.
39684         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39685         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39686
39687         * sysdeps/unix/sysv/setrlimit.c: Remove file.
39688
39689         * sysdeps/unix/xmknod.c: Remove file.
39690         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39691
39692         * sysdeps/unix/sysv/settimeofday.c: Remove file.
39693
39694         * sysdeps/unix/sysv/i386/time.S: Remove file.
39695
39696         * sysdeps/unix/fxstat.c: Remove file.
39697         * sysdeps/unix/xstat.c: Likewise.
39698         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39699
39700         * sysdeps/unix/sysv/sigaction.c: Remove file.
39701
39702         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39703         (sysdep_headers): Remove variable.
39704         [termio.h not in sysdep_headers] (generated): Likewise.
39705         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39706         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39707         * sysdeps/unix/sysv/tcdrain.c: Likewise.
39708         * sysdeps/unix/sysv/tcflow.c: Likewise.
39709         * sysdeps/unix/sysv/tcflush.c: Likewise.
39710         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39711         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39712         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39713         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39714         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39715
39716         * sysdeps/unix/siglist.c: Remove file.
39717
39718         * sysdeps/unix/getppid.S: Remove file.
39719
39720         * sysdeps/unix/mkdir.c: Remove file.
39721         * sysdeps/unix/rmdir.c: Likewise.
39722
39723 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
39724
39725         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39726         ERR_MAX value.
39727         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39728         errlist-compat value.
39729
39730 2012-04-18  David S. Miller  <davem@davemloft.net>
39731
39732         * sysdeps/generic/memcopy.h (reg_char): Delete.
39733         * debug/strcat_chk.c: Use char, not reg_char.
39734         * debug/strcpy_chk.c: Likewise.
39735         * debug/strncat_chk.c: Likewise.
39736         * debug/strncpy_chk.c: Likewise.
39737         * string/memchr.c: Likewise.
39738         * string/memrchr.c: Likewise.
39739         * string/rawmemchr.c: Likewise.
39740         * string/strcat.c: Likewise.
39741         * string/strchr.c: Likewise.
39742         * string/strchrnul.c: Likewise.
39743         * string/strcmp.c: Likewise.
39744         * string/strcpy.c: Likewise.
39745         * string/strncat.c: Likewise.
39746         * string/strncmp.c: Likewise.
39747         * string/strncpy.c: Likewise.
39748
39749 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39750
39751         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39752         __builtin_memcopy is called when src and dest ranges are known to not
39753         overlap.
39754
39755 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39756
39757         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39758         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39759         fwd_align_merge macro call.
39760         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39761         bwd_align_merge macro call.
39762         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39763
39764 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39765
39766         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39767         bwd_align_merge macros.
39768         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39769         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39770         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39771
39772 2012-04-18  David S. Miller  <davem@davemloft.net>
39773
39774         * sysdeps/sparc/sparc64/memcopy.h: Delete.
39775
39776 2012-04-18  Andreas Jaeger  <aj@suse.de>
39777
39778         [BZ# 6794]
39779         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39780         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39781         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39782
39783         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39784         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39785         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39786
39787         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39788         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39789         Adjust for changed ldbl-128 files.
39790
39791         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39792         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39793         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39794
39795 2012-04-17  David S. Miller  <davem@davemloft.net>
39796
39797         * sysdeps/sparc/sparc32/memcopy.h: Delete.
39798
39799 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
39800
39801         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39802         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39803         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39804         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39805         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39806         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39807
39808 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39809
39810         [BZ #6794]
39811         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39812         * math/libm-test.inc: Add ilogb errno and exception tests.
39813         * math/w_ilogb.c: New file: ilogb wrapper.
39814         * math/w_ilogbf.c: New file: ilogbf wrapper.
39815         * math/w_ilogbl.c: New file: ilogbl wrapper.
39816         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39817         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39818         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39819         exception being thrown with 0.0 as argument.
39820         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39821         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39822         exception being thrown with 0.0 as argument.
39823         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39824         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39825         exception being thrown with 0.0 as argument.
39826         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39827         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39828         exception being thrown with 0.0 as argument.
39829         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39830         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39831         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39832         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39833         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39834         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39835         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39836         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39837         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39838
39839 2012-04-17  Petr Baudis  <pasky@ucw.cz>
39840
39841         * include/sys/uio.h: Change __vector to __iovec to avoid clash
39842         with altivec.
39843
39844 2012-04-16  Marek Polacek  <polacek@redhat.com>
39845
39846         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39847
39848 2012-04-16  Marek Polacek  <polacek@redhat.com>
39849
39850         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39851         operands of fdivp instruction.
39852
39853 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39854
39855         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39856         * elf/tst-auditmod3b.c: Likewise.
39857         * elf/tst-auditmod4b.c: Likewise.
39858         * elf/tst-auditmod5b.c: Likewise.
39859         * elf/tst-auditmod6b.c: Likewise.
39860         * elf/tst-auditmod6c.c: Likewise.
39861         * elf/tst-auditmod7b.c: Likewise.
39862         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39863         * sysdeps/x86_64/preconfigure.in: Likewise.
39864         * sysdeps/x86_64/preconfigure: Regenerated.
39865
39866 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39867
39868         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39869         __ILP32__.
39870
39871 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
39872
39873         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39874         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39875
39876 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39877
39878         [BZ #13973]
39879         * locale/iso-639.def: Fix gl language name. Spotted by
39880         Yaron Shahrabani.
39881
39882 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39883
39884         [BZ #2074]
39885         * libio/libio.h (__io_write_fn): Update comment.
39886
39887 2012-04-12  Petr Baudis  <pasky@ucw.cz>
39888
39889         [BZ #2074]
39890         * stdio.texi (Hook Functions): The user provided writer function
39891         is not allowed to return -1.
39892
39893 2012-04-11  David S. Miller  <davem@davemloft.net>
39894
39895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39896
39897 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39898
39899         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39900         Add a leading slash to rtkaio.
39901
39902 2012-04-11  Jim Meyering  <meyering@redhat.com>
39903
39904         [BZ #11959]
39905         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39906         It is not necessarily an error to ignore fwrite's return
39907         value.  One can reliably use ferror to test for errors after
39908         the fact.
39909
39910 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39911
39912         * bits/types.h (__snseconds_t): New type.
39913         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39914
39915         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39916         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39917         (__SNSECONDS_T_TYPE): Likewise.
39918         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39919         (__SNSECONDS_T_TYPE): Likewise.
39920         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39921         (__SNSECONDS_T_TYPE): Likewise.
39922
39923 2012-04-10  Andreas Jaeger  <aj@suse.de>
39924
39925         [BZ #2636]
39926         * manual/time.texi (Processor Time): Return type of times is
39927         elapsed real time since an arbitrary point in the past.
39928         (CPU Time): Move CLK_TCK from here...
39929         (Processor Time): ...to here.  Correct description.
39930         * manual/conf.texi (Constants for Sysconf): Correct description of
39931         _SC_CLK_TCK.
39932
39933 2012-04-10  David S. Miller  <davem@davemloft.net>
39934
39935         [BZ #13967]
39936         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39937         where the is a gap between DT_REL(A) and DT_JMPREL.
39938
39939 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39940
39941         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39942         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39943         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39944
39945 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39946
39947         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39948         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39949         (dl_main): Handle --inhibit-cache.
39950         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39951         _dl_inhibit_cache.
39952         * elf/dl-load.c (_dl_map_object): Use it.
39953         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39954
39955 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39956
39957         [BZ #13872]
39958         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39959         (__ieee754_powl): Saturate large exponents rather than testing for
39960         overflow of y*log2(x).
39961         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39962         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39963         exceptions.
39964
39965         [BZ #11521]
39966         * math/s_ctan.c: Include <float.h>.
39967         (__ctan): Avoid internal overflow or cancellation in calculating
39968         denominator.
39969         * math/s_ctanf.c: Likewise.
39970         * math/s_ctanl.c: Likewise.
39971         * math/s_ctanh.c: Likewise.
39972         * math/s_ctanhf.c: Likewise.
39973         * math/s_ctanhl.c: Likewise.
39974         * math/libm-test.inc (ctan_test): Add more tests.
39975         (ctanh_test): Likewise.
39976         * sysdeps/i386/fpu/libm-test-ulps: Update.
39977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39978
39979 2012-04-09  Andreas Jaeger  <aj@suse.de>
39980
39981         [BZ #6894]
39982         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39983         is an optional BSD extension.
39984
39985         [BZ #10254]
39986         * manual/stdio.texi (Opening Streams): Document additional fopen
39987         parameters.
39988
39989 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39990
39991         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39992         %eax without telling the compiler.
39993
39994 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39995
39996         [BZ # 13963]
39997         * manual/install.texi: Use sourceware.org.
39998
39999 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40000
40001         [BZ #13873]
40002         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40003         (__ieee754_pow): Generate overflow and underflow using huge*huge
40004         and tiny*tiny rather than just returning constant infinity or zero
40005         for large exponents.
40006         * math/libm-test.inc (pow_test): Require overflow exceptions for
40007         applicable cases of large exponents.
40008
40009         [BZ #706]
40010         * sysdeps/i386/fpu/e_pow.S (p10): New object.
40011         (__ieee754_pow): Use iterative multiplication algorithm only for
40012         integer exponents with absolute value below 1024.  Check for odd
40013         integer exponents when using algorithm for real exponents.
40014         * math/libm-test.inc (pow_test): Add more tests.
40015         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40016
40017 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
40018
40019         [BZ #13705]
40020         * math/libm-test.inc (exp_test): Do not allow overflow exception
40021         on underflow test.
40022
40023 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
40024
40025         [BZ #13705]
40026         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40027         instead of __kernel_standard_f.
40028
40029 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
40030
40031         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40032         * sysdeps/x86_64/memset_chk.S: Likewise.
40033
40034 2012-04-08  Andreas Jaeger  <aj@suse.de>
40035
40036         [BZ #10153]
40037         * manual/startup.texi (Environment Access): Describe return value
40038         for putenv and setenv.
40039
40040         [BZ #6895]
40041         * manual/filesys.texi (Directory Entries): Add description for
40042         DT_LNK.
40043
40044         [BZ #6890]
40045         * manual/filesys.texi (Directory Entries): Clarify that it's file
40046         system not operating system in the description of DT_UNKNOWN.
40047
40048         [BZ #6578]
40049         * manual/syslog.texi (closelog): Fix reference, it's openlog.
40050
40051 2012-04-08  Stephen Compall  <s11@member.fsf.org>
40052
40053         [BZ #6649]
40054         * manual/llio.texi (Opening and Closing Files): Add cross
40055         reference to explain mode argument.
40056
40057 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
40058
40059         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40060         * sysdeps/x86_64/memset_chk.S: Likewise.
40061
40062 2012-04-07  David S. Miller  <davem@davemloft.net>
40063
40064         * elf/elf.h (R_SPARC_WDISP10): Define.
40065         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40066         R_SPARC_SIZE32.
40067         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40068         R_SPARC_SIZE64 and R_SPARC_H34.
40069
40070 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
40071
40072         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40073         conditions and remove no longer applicable assertion.
40074
40075 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40076
40077         * bits/byteswap.h: Include <features.h>.
40078         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40079         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40080
40081 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40082
40083         * bits/byteswap.h (__bswap_16): Removed.
40084         Include <bits/byteswap-16.h> to get __bswap_16.
40085         * sysdeps/i386/bits/byteswap.h: Likewise.
40086         * sysdeps/s390/bits/byteswap.h: Likewise.
40087         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40088         * bits/byteswap-16.h: New file.
40089         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40090         * sysdeps/s390/bits/byteswap-16.h: Likewise.
40091         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40092         * string/Makefile (headers): Add bits/byteswap-16.h.
40093
40094 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40095
40096         [BZ #13895]
40097         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40098         extra indirection.
40099         * nss/Makefile (tests-static, tests): Add tst-nss-static.
40100         * nss/tst-nss-static.c: New.
40101
40102 2012-04-06  Robert Millan  <rmh@gnu.org>
40103
40104         [BZ #6486]
40105         * manual/llio.texi (File Position Primitive): lseek
40106         refers to WHENCE when it really means OFFSET.
40107
40108 2012-04-06  Andreas Jaeger  <aj@suse.de>
40109
40110         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40111         strncmp declarations.
40112
40113         * abilist/libc.abilist: Add __poll and __ppoll.
40114
40115 2012-04-05  David S. Miller  <davem@davemloft.net>
40116
40117         * scripts/check-local-headers.sh: Accept a host triplet in the
40118         path matched by the exclude regexp.
40119
40120         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40121         definition.
40122         * sysdeps/powerpc/powerpc32/dl-machine.h
40123         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40124         * sysdeps/s390/s390-32/dl-machine.h
40125         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40126         * sysdeps/sparc/sparc32/dl-machine.h
40127         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40128         * sysdeps/sparc/sparc64/dl-machine.h
40129         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40130
40131         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40132         lazy binding.
40133         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40134         undefined symbol errors.
40135
40136         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40137         DT_NEEDED entries.
40138
40139 2012-04-05  Michael Matz  <matz@suse.de>
40140
40141         [BZ #13592]
40142         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40143
40144 2012-04-05  Andreas Jaeger  <aj@suse.de>
40145
40146         [BZ #13908]
40147         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40148         comment.
40149
40150 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40151
40152         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40153         which ROUND is no valid rounding mode.
40154
40155 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40156
40157         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40158         read again.
40159         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40160
40161 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40162
40163         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40164         an exception using FPU order intentionally.
40165
40166 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40167
40168         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40169         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40170         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40171         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40172
40173 2012-04-05  Simon Josefsson  <simon@josefsson.org>
40174
40175         [BZ #12340]
40176         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40177         EINVAL when BUFLEN is too smal.
40178
40179 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
40180
40181         [BZ #13553]
40182         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40183         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40184
40185 2012-04-03  Andreas Jaeger  <aj@suse.de>
40186
40187         [BZ #13938]
40188         * manual/setjmp.texi (System V contexts): Fix sentence.
40189
40190         [BZ #13926]
40191         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40192         New macro for this case.
40193         [!__GNUC__] (__bswap_64): New inline function for this case.
40194         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40195         * bits/byteswap.h: Likewise.
40196         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40197         ull, guard with __GLIBC_HAVE_LONG_LONG.
40198
40199         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40200         __GLIBC_HAVE_LONG_LONG.
40201
40202         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40203         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40204
40205 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40206
40207         [BZ #13691]
40208         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40209         inptr and inend, rather than using last_ch.
40210
40211 2012-04-02  David S. Miller  <davem@davemloft.net>
40212
40213         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40214         * stdio-common/printf-parse.h (read_int): Change return type to
40215         'int', return -1 on INT_MAX overflow.
40216         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40217         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
40218         overflows INT_MAX.  Check for overflow of in-format-string precision
40219         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
40220         SIZE_MAX not INT_MAX for integer overflow test.
40221         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40222         skip the construct in the format string but do not record anything.
40223         * stdio-common/bug22.c: Adjust to test both width/prevision
40224         INT_MAX overflow as well as total length INT_MAX overflow.  Check
40225         explicitly for proper errno values.
40226
40227 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
40228
40229         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40230         CHAR_MAX.
40231         * string/test-strcmp.c [! WIDE]: Likewise.
40232         * time/tst-mktime2.c: Likewise for INT_MAX.
40233         * string/test-string.h: #include <sys/param.h> for MIN.
40234
40235         * csu/init-first.c (__libc_init_first): Call __ctype_init.
40236         * sysdeps/i386/init-first.c (init): Likewise.
40237         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40238         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40239         * sysdeps/sh/init-first.c (init): Likewise.
40240
40241 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
40242
40243         * po/ru.po: Update from translation team.
40244         * po/vi.po: Likewise.
40245
40246 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40247
40248         * resolv/nss_dns/dns-host.c: Merge copyright years.
40249
40250 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40251
40252         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40253         Optimize memcpy with prefetch if
40254         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
40255         src, dst pointers have unequal 16 byte alignments.
40256
40257 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40258
40259         [BZ #13928]
40260         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40261         from a CNAME entry and return the minimum ttl for the query.
40262         (gaih_getanswer_slice): Likewise.
40263
40264 2012-03-30  Jeff Law  <law@redhat.com>
40265
40266         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40267         due to long keys.
40268         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40269         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40270
40271         * resolv/nss_dns/dns-host.c: Update copyright year.
40272
40273 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
40274
40275         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40276         requests to save a system call.  Fix check that all bytes are sent.
40277
40278         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40279         comments for sendmmsg.
40280
40281 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40282
40283         [BZ #13691]
40284         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40285         with only 1 character between 0x0041 and 0x01b0.
40286         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40287         * wcsmbs/tst-mbsnrtowcs.c: New file.
40288
40289 2012-03-29  David S. Miller  <davem@davemloft.net>
40290
40291         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40292         small copies by hand.
40293
40294 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40295
40296         [BZ #13761]
40297         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40298         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40299         group memberships.
40300
40301 2012-03-28  David S. Miller  <davem@davemloft.net>
40302
40303         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40304         that branches into memcpy.
40305         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40306         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40307         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40308         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40309         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40310         bits.
40311         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40312         implementation too.
40313         * sysdeps/sparc/mempcpy.S: New file.
40314
40315         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40316         the IFUNC routine in the libc case.
40317         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40318
40319         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40320         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40321         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40322         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40323         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40324         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40325         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40326         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40327
40328         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40329         loop to 256 bytes instead of 64 bytes and fix test signedness.
40330
40331         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40332         * sysdeps/sparc/sparc32/Makefile: rather than here...
40333         * sysdeps/sparc/sparc64/Makefile: and here.
40334
40335 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
40336
40337         * malloc/mallocbug.c: Avoid warnings about unused variables.
40338
40339 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40340
40341         [BZ #13760]
40342         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40343         in the right place. Discard and retry query if response is
40344         larger than input buffer size.
40345
40346 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
40347
40348         [BZ #369]
40349         [BZ #2678]
40350         [BZ #3866]
40351         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40352         x for large integer exponent.
40353         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40354         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
40355         sign of result as needed afterwards.
40356         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40357         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40358         result for underflowing pow the same as for overflow.
40359         (__kernel_standard_l): Handle powl overflow and underflow here
40360         rather than calling __kernel_standard.
40361         * math/libm-test.inc (pow_test): Add more tests.
40362
40363         [BZ #3868]
40364         [BZ #13879]
40365         [BZ #13910]
40366         [BZ #13911]
40367         [BZ #13912]
40368         [BZ #13913]
40369         [BZ #13915]
40370         [BZ #13916]
40371         [BZ #13917]
40372         [BZ #13918]
40373         [BZ #13919]
40374         [BZ #13920]
40375         [BZ #13921]
40376         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40377         * sysdeps/ieee754/k_standard.c: Include <float.h>.
40378         (__kernel_standard_l): New function.
40379         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40380         __kernel_standard.
40381         * math/w_acosl.c (__acosl): Likewise.
40382         * math/w_asinl.c (__asinl): Likewise.
40383         * math/w_atan2l.c (__atan2l): Likewise.
40384         * math/w_atanhl.c (__atanhl): Likewise.
40385         * math/w_coshl.c (__coshl): Likewise.
40386         * math/w_exp10l.c (__exp10l): Likewise.
40387         * math/w_exp2l.c (__exp2l): Likewise.
40388         * math/w_fmodl.c (__fmodl): Likewise.
40389         * math/w_hypotl.c (__hypotl): Likewise.
40390         * math/w_j0l.c (__j0l, __y0l): Likewise.
40391         * math/w_j1l.c (__j1l, __y1l): Likewise.
40392         * math/w_jnl.c (__jnl, __ynl): Likewise.
40393         * math/w_lgammal.c (__lgammal): Likewise.
40394         * math/w_log10l.c (__log10l): Likewise.
40395         * math/w_log2l.c (__log2l): Likewise.
40396         * math/w_logl.c (__logl): Likewise.
40397         * math/w_powl.c (__powl): Likewise.
40398         * math/w_remainderl.c (__remainderl): Likewise.
40399         * math/w_scalbl.c (sysv_scalbl): Likewise.
40400         * math/w_sinhl.c (__sinhl): Likewise.
40401         * math/w_sqrtl.c (__sqrtl): Likewise.
40402         * math/w_tgammal.c (__tgammal): Likewise.
40403         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40404         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40405         * math/libm-test.inc (acos_test): Add more tests.
40406         (acosh_test): Likewise.
40407         (asin_test): Likewise.
40408         (atanh_test): Likewise.
40409         (exp_test): Likewise.
40410         (exp10_test): Likewise.
40411         (exp2_test): Likewise.
40412         (expm1_test): Likewise.
40413         (lgamma_test): Likewise.
40414         (log_test): Likewise.
40415         (log10_test): Likewise.
40416         (log1p_test): Likewise.
40417         (log2_test): Likewise.
40418         (pow_test): Do not allow some spurious overflow exceptions.
40419         (sqrt_test): Add more tests.
40420         (tgamma_test): Likewise.
40421         (y0_test): Likewise.
40422         (y1_test): Likewise.
40423         (yn_test): Likewise.
40424
40425 2012-03-27  Anton Blanchard  <anton@samba.org>
40426
40427         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40428         MAP_HUGETLB.
40429         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40430         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40431         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40432
40433 2012-03-27  David S. Miller  <davem@davemloft.net>
40434
40435         * conform/Makefile: Run run-conformtest.sh using $(BASH).
40436
40437         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40438         have-as-vis3 check.
40439
40440 2012-03-27  Andreas Jaeger  <aj@suse.de>
40441
40442         * sysdeps/x86_64/elf/configure.in: Moved to ...
40443         * sysdeps/x86_64/configure.in: ... here.
40444         * sysdeps/x86_64/elf/start.S: Moved to ...
40445         * sysdeps/x86_64/start.S: ... here.
40446         * sysdeps/x86_64/elf/configure: Delete.
40447
40448         * sysdeps/x86_64/configure.in: Merge contents from
40449         sysdeps/i386/configure.in (without i686 check).
40450
40451         * sysdeps/i386/elf/Versions: Merge into ...
40452         * sysdeps/i386/Versions: ... this.
40453         * sysdeps/i386/elf/Versions: Delete file.
40454         * sysdeps/i386/elf/start.S: Moved to ...
40455         * sysdeps/i386/start.S: ...here.
40456         * sysdeps/i386/elf/configure.in: Merge into...
40457         * sysdeps/i386/configure.in: ...here.
40458         * sysdeps/i386/elf/configure.in: Delete file.
40459         * sysdeps/i386/elf/configure: Delete file.
40460
40461         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40462         * debug/backtracesyms.c: ... here.
40463         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40464         * debug/backtracesymsfd.c: ... here.
40465         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40466         * sysdeps/generic/ifunc-sel.h: ... here.
40467
40468         * sysdeps/unix/i386/start.c: Delete file.
40469         * sysdeps/unix/sparc/start.c: Delete file.
40470         * sysdeps/unix/start.c: Delete file.
40471
40472         * sysdeps/sh/elf/configure.in: Moved to ...
40473         * sysdeps/sh/configure.in: ... here.
40474         * sysdeps/sh/elf/start.S: Moved to ...
40475         * sysdeps/sh/start.S: ... here.
40476         * sysdeps/sh/elf/configure: Delete file.
40477
40478         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40479         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40480         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40481         * sysdeps/powerpc/powerpc64/entry.h: ... here.
40482         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40483         * sysdeps/powerpc/powerpc64/start.S: here.
40484         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40485         * sysdeps/powerpc/powerpc64/Makefile: ... this.
40486         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40487         * sysdeps/powerpc/powerpc64/configure.in: ... this.
40488         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40489
40490         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40491         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40492         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40493         * sysdeps/powerpc/powerpc32/start.S: ... here.
40494         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40495         * sysdeps/powerpc/powerpc32/configure.in: ... this.
40496         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40497
40498         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40499         * sysdeps/powerpc/ifunc-sel.h: ... here.
40500         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40501         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40502
40503         * sysdeps/sparc/elf/configure.in: Moved to ...
40504         * sysdeps/sparc/configure.in: ... here.
40505         * sysdeps/sparc/elf/configure: Delete file.
40506         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40507         * sysdeps/sparc/sparc32/start.S: ... here.
40508         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40509         * sysdeps/sparc/sparc64/start.S: ... here.
40510         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40511         * sysdeps/sparc/sparc32/Makefile: ... this.
40512         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40513         * sysdeps/sparc/sparc64/Makefile: ... this.
40514
40515         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40516         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40517         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40518         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40519         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40520         * sysdeps/s390/s390-32/setjmp.S: ... here.
40521         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40522         * sysdeps/s390/s390-32/configure.in: ... here.
40523         * sysdeps/s390/s390-32/elf/configure: Delete file.
40524         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40525         * sysdeps/s390/s390-32/start.S: ... here.
40526
40527         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40528         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40529         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40530         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40531         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40532         * sysdeps/s390/s390-64/setjmp.S: ... here.
40533         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40534         * sysdeps/s390/s390-64/configure.in: ... here
40535         * sysdeps/s390/s390-64/elf/configure: Delete file.
40536         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40537         * sysdeps/s390/s390-64/start.S: ... here.
40538         * sysdeps/s390/s390-64/elf/configure: Delete.
40539
40540         * configure.in: Remove support for elf directories in sysdeps.
40541
40542         * configure: Regenerated.
40543         * sysdeps/i386/configure: Regenerated.
40544         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40545         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40546         * sysdeps/s390/s390-32/configure: Regenerated.
40547         * sysdeps/s390/s390-64/configure: Regenerated.
40548         * sysdeps/sh/configure: Regenerated.
40549         * sysdeps/sparc/configure: Regenerated.
40550         * sysdeps/x86_64/configure: Regenerated.
40551
40552 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
40553
40554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40555
40556         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40557         denormal result into account.
40558
40559 2012-03-25  Roland McGrath  <roland@hack.frob.com>
40560
40561         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40562         Reported by Allan McRae <allan@archlinux.org>.
40563
40564 2012-03-23  Jeff Law  <law@redhat.com>
40565
40566         * nss/getnssent.c (__nss_getent): Fix typo.
40567
40568 2012-03-23  David S. Miller  <davem@davemloft.net>
40569
40570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40571
40572 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
40573
40574         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40575         to pad to uint64_t for each field.
40576         (dl_tls_index): Replace unsigned long with uint64_t.
40577
40578 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
40579         Paul Pluzhnikov  <ppluzhnikov@google.com>
40580
40581         [BZ #6528]
40582         * grp/Makefile (otherlibs): Don't set it.
40583         * inet/Makefile (otherlibs): Likewise.
40584         * login/Makefile (otherlibs): Likewise.
40585         * nscd/Makefile (otherlibs): Likewise.
40586         * posix/Makefile (otherlibs): Likewise.
40587         * pwd/Makefile (otherlibs): Likewise.
40588         * rt/Makefile (otherlibs): Likewise.
40589         * sunrpc/Makefile (otherlibs): Likewise.
40590         * nss/Makefile (otherlibs): Likewise.
40591         Add libnss_files to routines and static-only-routines.
40592         ($(objpfx)getent): Remove rule.
40593         * resolv/Makefile: Add libnss_dns and libresolv to routines and
40594         static-only-routines.
40595
40596 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
40597
40598         [BZ #13892]
40599         * math/s_cexp.c: Include <float.h>.
40600         (__cexp): Handle exp result overflowing not necessarily
40601         overflowing both real and imaginary parts of result.
40602         * math/s_cexpf.c: Likewise.
40603         * math/s_cexpl.c: Likewise.
40604         * math/libm-test.inc (cexp_test): Add more tests.
40605         * sysdeps/i386/fpu/libm-test-ulps: Update.
40606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40607
40608 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40609
40610         * include/link.h (ELFW): New macro.
40611         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40612         Replace ELF64_R_TYPE with ELFW(R_TYPE).
40613
40614 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40615
40616         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40617         with uint64_t.
40618
40619 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40620
40621         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40622         declaration.
40623         (struct La_x32_retval): Likewise.
40624
40625 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40626
40627         * sysdeps/x86_64/preconfigure.in: New file.
40628         * sysdeps/x86_64/preconfigure: New generated file.
40629
40630 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
40631
40632         [BZ #13824]
40633         * math/e_exp2l.c: Include <float.h>.
40634         (__ieee754_exp2l): Handle overflow and underflow cases
40635         separately.  Only pass fractional part of argument to
40636         __ieee754_expl.
40637         * math/libm-test.inc (exp2_test): Add more tests.
40638
40639         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40640         negating x to take absolute value.
40641         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40642         Likewise.
40643         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40644         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40645         Likewise.
40646         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40647         computing low part if x was negated.
40648         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40649
40650 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40651
40652         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40653         la_x32_gnu_pltexit.
40654         (pltexit): Cast int_retval to ptrdiff_t.
40655         * elf/tst-auditmod3b.c: Likewise.
40656         * elf/tst-auditmod4b.c: Likewise.
40657         * elf/tst-auditmod5b.c: Likewise.
40658         * elf/tst-auditmod6b.c: Likewise.
40659         * elf/tst-auditmod6c.c: Likewise.
40660         * elf/tst-auditmod7b.c: Likewise.
40661
40662         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40663         and x32_gnu_pltexit.
40664
40665         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40666         __ELF_NATIVE_CLASS.
40667         (La_x32_regs): New macro.
40668         (La_x32_retval): Likewise.
40669         (la_x32_gnu_pltenter): New function prototype.
40670         (la_x32_gnu_pltexit): Likewise.
40671
40672 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
40673
40674         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40675         exponent.
40676
40677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40678
40679         * configure.in (libc_cv_cc_nofma): Check for option to disable
40680         generation of FMA instructions.
40681         * configure: Regenerate.
40682         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40683         * sysdeps/ieee754/dbl-64/Makefile: New file.
40684         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40685         Remove brandred-fma4.
40686         (CFLAGS-brandred-fma4.c): Remove.
40687         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40688         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40689         define.
40690         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40691         define.
40692
40693 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40694
40695         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40696         LLONG_MAX != LONG_MAX.
40697         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40698         (_fitoa_word): Likewise.
40699         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40700         LLONG_MAX != LONG_MAX.
40701         * stdio-common/_itowa.h: Include <_itoa.h>.
40702         (_itowa_word): Use _ITOA_WORD_TYPE on value.
40703         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
40704         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
40705         only if not defined.
40706         (_ITOA_WORD_TYPE): Likewise.
40707         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40708         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40709
40710 2012-03-21  David S. Miller  <davem@davemloft.net>
40711
40712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40713
40714 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40715
40716         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40717         of x86_64 when setting libc_cv_slibdir, libdir and
40718         libc_cv_localedir.
40719         * sysdeps/unix/sysv/linux/configure: Regenerated.
40720
40721 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40722
40723         * manual/lang.texi (Old Varargs): Remove section.
40724         (How Variadic): Update menu.
40725         (va_start): Do not mention varargs.h.
40726
40727 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40728             Joseph Myers  <joseph@codesourcery.com>
40729
40730         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40731         link test.
40732         * configure: Regenerated.
40733
40734 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40735
40736         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40737         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40738         conformtest.pl
40739
40740 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40741
40742         * NOTES: Remove.
40743         * Makefile (files-for-dist): Remove NOTES.
40744         (NOTES): Remove rule.
40745         * README: Don't refer to NOTES.
40746         * manual/creature.texi: Don't include macros.texi.
40747         * manual/intro.texi (creature.texi): Remove comment referring to
40748         NOTES.
40749
40750         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40751         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40752         * configure: Regenerated.
40753         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40754         LIBC_TRY_CC_OPTION.
40755         (libc_cv_as_i686): Likewise.
40756         (libc_cv_cc_avx): Likewise.
40757         (libc_cv_cc_sse2avx): Likewise.
40758         (libc_cv_cc_fma4): Likewise.
40759         (libc_cv_cc_novzeroupper): Likewise.
40760         * sysdeps/i386/configure: Regenerated.
40761
40762         [BZ #13883]
40763         * sysdeps/i386/fpu/s_cexp.S: Remove.
40764         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40765         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40766         * math/libm-test.inc (cexp_test): Add more tests.
40767         * sysdeps/i386/fpu/libm-test-ulps: Update.
40768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40769
40770 2012-03-21  Allan McRae  <allan@archlinux.org>
40771
40772         * timezone/Makefile: Do not install iso3166.tab and zone.tab
40773
40774 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40775
40776         [BZ #13871]
40777         * math/w_exp2.c: Do not include <float.h>.
40778         (o_threshold, u_threshold): Remove.
40779         (__exp2): Calculate result before checking finiteness and calling
40780         __kernel_standard.
40781         * math/w_exp2f.c: Likewise.
40782         * math/w_exp2l.c: Likewise.
40783         * math/libm-test.inc (exp2_test): Require overflow exception for
40784         1e6 input.
40785
40786         [BZ #3866]
40787         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40788         range of signed 64-bit integers before using fistpll.  Remove
40789         checks for whether integers fit in mantissa bits.
40790         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40791         the range of signed 32-bit integers before using fistpl.  Remove
40792         checks for whether integers fit in mantissa bits.
40793         * sysdeps/i386/fpu/e_powl.S (p64): New object.
40794         (__ieee754_powl): Test for y outside the range of signed 64-bit
40795         integers before using fistpll.  Reduce 64-bit values to 63-bit
40796         ones as needed.
40797         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40798         divide-by-zero is raised for zero to large negative powers.
40799         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40800         (__ieee754_powl): Test for y outside the range of signed 64-bit
40801         integers before using fistpll.  Reduce 64-bit values to 63-bit
40802         ones as needed.
40803         * math/libm-test.inc (pow_test): Add more tests.
40804
40805 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40806
40807         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40808         <stdio-common/_itoa.h>.
40809         * debug/segfault.c: Likewise.
40810         * elf/dl-cache.c: Likewise.
40811         * elf/dl-minimal.c: Likewise.
40812         * elf/dl-misc.c: Likewise.
40813         * elf/dl-sysdep.c: Likewise.
40814         * elf/dl-version.c: Likewise.
40815         * elf/rtld.c: Likewise.
40816         * hurd/hurdsock.c: Likewise.
40817         * hurd/lookup-retry.c: Likewise.
40818         * malloc/malloc.c: Likewise.
40819         * malloc/mtrace.c: Likewise.
40820         * nscd/nscd_getgr_r.c: Likewise.
40821         * nscd/nscd_getpw_r.c: Likewise.
40822         * nscd/nscd_getserv_r.c: Likewise.
40823         * posix/getopt_init.c: Likewise.
40824         * posix/wordexp.c: Likewise.
40825         * stdio-common/_itoa.c: Likewise.
40826         * stdio-common/printf_fphex.c: Likewise.
40827         * stdio-common/vfprintf.c: Likewise.
40828         * string/_strerror.c: Likewise.
40829         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40830         * sysdeps/i386/i686/hp-timing.h: Likewise.
40831         * sysdeps/mach/_strerror.c: Likewise.
40832         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40833         * sysdeps/mach/hurd/sethostid.c: Likewise.
40834         * sysdeps/mach/hurd/xmknodat.c: Likewise.
40835         * sysdeps/mach/xpg-strerror.c: Likewise.
40836         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40837         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40838         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40839         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40840         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40841         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40842         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40843         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40844         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40845         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40846         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40847         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40848         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40849         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40850         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40851         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40852         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40853         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40854         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40855         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40856         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40857
40858         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40859
40860         * stdio-common/_itoa.h: Moved to ...
40861         * sysdeps/generic/_itoa.h: Here.
40862
40863         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40864
40865         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40866         instead of "_itoa.h" and "_itowa.h".
40867         * stdio-common/vfprintf.: Likewise.
40868
40869 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40870
40871         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40872         <bits/wordsize.h>.
40873         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40874         (__signbit): Likwise.
40875         (llrintf): Likwise.
40876         (llrint): Likwise.
40877
40878 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40879
40880         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40881         __WORDSIZE != 64.
40882
40883 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
40884
40885         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40886         OVERFLOW_EXCEPTION_OK.
40887         * math/libm-test.inc ("Philosophy"): Update comment about
40888         exception testing.
40889         (OVERFLOW_EXCEPTION): Define.
40890         (OVERFLOW_EXCEPTION_OK): Likewise.
40891         (INVALID_EXCEPTION_OK): Renumber.
40892         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40893         (IGNORE_ZERO_INF_SIGN): Likewise.
40894         (test_exceptions): Handle FE_OVERFLOW.
40895         (exp10_test): Expect overflow exceptions.
40896         (exp2_test): Likewise.
40897         (expm1_test): Likewise.
40898         (nextafter_test): Likewise.
40899         (pow_test): Likewise.
40900         (scalbn_test): Likewise.
40901         (scalbln_test): Likewise.
40902
40903 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40904
40905         * sysdeps/x86_64/bits/atomic.h
40906         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40907         64bit integer.
40908         (atomic_exchange_acq): Likewise.
40909         (__arch_exchange_and_add_body): Likewise.
40910         (__arch_add_body): Likewise.
40911         (atomic_add_negative): Likewise.
40912         (atomic_add_zero): Likewise.
40913
40914 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40915
40916         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40917         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40918
40919 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40920
40921         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40922         Check __x86_64__ instead of __WORDSIZE.
40923
40924 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40925
40926         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40927
40928 2012-03-19  David S. Miller  <davem@davemloft.net>
40929
40930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40931
40932         * sysdeps/sparc/fpu/fenv_private.h: New file.
40933         * sysdeps/sparc/fpu/math_private.h: Use it.
40934         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40935         Remove.
40936         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40937         (libc_feholdexcept_setroundl): Remove.
40938         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40939         Remove.
40940         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40941         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40942
40943 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40944
40945         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40946         int64_t instead of long int.
40947         (INSERT_WORDS64): Likwise.
40948
40949 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40950
40951         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40952         _Unwind_GetCFA return to _Unwind_Ptr first.
40953
40954 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40955
40956         [BZ #13629]
40957         * math/s_clog.c: Include <float.h>.
40958         (__clog): Scale large or subnormal inputs.
40959         * math/s_clogf.c: Likewise.
40960         * math/s_clogl.c: Likewise.
40961         * math/s_clog10.c: Include <float.h>.
40962         (M_LOG10_2): Define.
40963         (__clog10): Scale large or subnormal inputs.
40964         * math/s_clog10f.c: Likewise.
40965         * math/s_clog10l.c: Likewise.
40966         * math/libm-test.inc (clog_test): Add more tests.
40967         (clog10_test): Likewise.
40968         * sysdeps/i386/fpu/libm-test-ulps: Update.
40969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40970
40971         [BZ #11451]
40972         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40973         x and y.
40974         * math/libm-test.inc (atan2_test): Add another test.
40975
40976         * Makerules (common-objdir-compile): Remove.
40977         * sysdeps/unix/Makefile (config-generated): Do not add
40978         $(unix-generated) to variable.
40979         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40980         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40981         Remove rule.
40982         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40983         Likewise.
40984         [generic bits/local_lim.h] (before-compile): Do not append to
40985         variable.
40986         [generic bits/local_lim.h] (common-generated): Likewise.
40987         [generic sys/param.h] (before-compile): Do not append to variable.
40988         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40989         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40990         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40991         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40992         include.
40993         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40994         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40995         [generic sys/param.h] ($(addprefix
40996         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40997         [generic sys/param.h] (common-generated): Do not append to
40998         variable.
40999         [generic sys/param.h] (sysdep_headers): Likewise.
41000         [generic bits/errno.h] (before-compile): Do not append to
41001         variable.
41002         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41003         rule.
41004         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41005         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41006         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41007         [generic bits/errno.h] (common-generated): Do not append to
41008         variable.
41009         [generic bits/ioctls.h] (before-compile): Do not append to
41010         variable.
41011         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41012         rule.
41013         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41014         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41015         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41016         rule.
41017         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41018         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41019         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41020         [generic bits/ioctls.h] (common-generated): Do not append to
41021         variable.
41022         [generic sys/syscall.h] (syscall.h): Remove variable.
41023         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41024         rule.
41025         [generic sys/syscall.h] (before-compile): Do not append to
41026         variable.
41027         [generic sys/syscall.h] (common-generated): Likewise.
41028         * sysdeps/unix/errnos-tmpl.c: Remove file.
41029         * sysdeps/unix/errnos.awk: Likewise.
41030         * sysdeps/unix/ioctls-tmpl.c: Likewise.
41031         * sysdeps/unix/ioctls.awk: Likewise.
41032         * sysdeps/unix/mk-local_lim.c: Likewise.
41033         * sysdeps/unix/snarf-ioctls: Likewise.
41034
41035 2012-03-19  Richard Henderson  <rth@twiddle.net>
41036
41037         * sysdeps/i386/fpu/fenv_private.h: New file.
41038         * sysdeps/i386/fpu/math_private.h: Use it.
41039         (math_opt_barrier, math_force_eval): Remove.
41040         (libc_feholdexcept_setround_53bit): Remove.
41041         (libc_feupdateenv_53bit): Remove.
41042         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41043         (math_opt_barrier, math_force_eval): Remove.
41044         (libc_feholdexcept): Remove.
41045         (libc_feholdexcept_setround): Remove.
41046         (libc_fetestexcept, libc_fesetenv): Remove.
41047         (libc_feupdateenv_test): Remove.
41048         (libc_feupdateenv, libc_feholdsetround): Remove.
41049         (libc_feresetround): Remove.
41050
41051         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41052         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41053
41054         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41055         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41056         (libc_feupdateenv_testl): New.
41057         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41058         (libc_feupdateenv_testf): New.
41059         (libc_feupdateenv): Use libc_feupdateenv_test.
41060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41061         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41062
41063         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41064         (libc_feholdsetroundf, libc_feholdsetroundl): New.
41065         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41066         (libc_feresetround_noex): New.
41067         (libc_feresetround_noexf): New.
41068         (libc_feresetround_noexl): New.
41069         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41070         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41071         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41072         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41073         SET_RESTORE_ROUND.
41074         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41075         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41076         (__cos): Likewise.
41077         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41078         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41079         SET_RESTORE_ROUND_NOEX.
41080         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41081         SET_RESTORE_ROUND_NOEXF.
41082         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41083         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41084         (libc_feholdsetroundf): New.
41085         (libc_feresetround, libc_feresetroundf): New.
41086
41087         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41088         (libc_feholdexcept_setround_53bit): Convert from macro to function.
41089         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
41090
41091         * sysdeps/generic/math_private.h: Include <fenv.h>.
41092         (default_libc_feholdexcept): New.
41093         (default_libc_feholdexcept_setround): New.
41094         (default_libc_fesetenv, default_libc_feupdateenv): New.
41095         (libc_feholdexcept): Only define if undefined.
41096         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41097         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41098         (libc_feholdexcept_setroundl): Likewise.
41099         (libc_feholdexcept_setround_53bit): Likewise.
41100         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41101         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41102         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41103         (libc_feupdateenv_53bit): Likewise.
41104         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41105         (libc_feholdexcept): Convert from macro to inline function.
41106         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41107         (libc_fesetenv, libc_feupdateenv): Likewise.
41108
41109         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41110         not previously defined.
41111         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41112         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41113         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41114         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41115         * sysdeps/ieee754/flt-32/math_private.h: New file.
41116         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41117         math_private.h below SET_FLOAT_WORD.
41118         (__isnan, __isinf_ns, __finite): Remove.
41119         (__isnanf, __isinf_nsf, __finitef): Remove.
41120
41121 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
41122
41123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41124
41125 2012-03-17  David S. Miller  <davem@davemloft.net>
41126
41127         [BZ #6471]
41128         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41129         for 2.16.
41130
41131 2012-03-16  David S. Miller  <davem@davemloft.net>
41132
41133         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41134         warnings.
41135
41136         [BZ #6471]
41137         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41138         properly.
41139         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41140         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41141         sysdep_routines when subdir is sysvipc.
41142         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41143         __getshmlba helper.
41144
41145         * sysdeps/sparc/fpu/libm-test/ulps: Update.
41146
41147 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41148
41149         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41150         [__LP64__].
41151
41152 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41153
41154         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41155         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41156         (__lround): Renamed to ...
41157         (__llround): This.  Replace long int with long long int.
41158         Define lround functions as aliases of llround functions.
41159         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41160
41161 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41162
41163         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41164         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
41165         adresses to uintptr_t.  Replace "long int" and "unsigned long
41166         int" with "greg_t" on va_arg.
41167
41168 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41169
41170         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41171         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41172
41173         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41174         Move e_machine check before EI_CLASS check.  Handle x32
41175         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41176         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41177         SKIP_EM_IA_64 and include
41178         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41179
41180         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41181         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41182         (add_system_dir): New macro.
41183
41184         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41185         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41186
41187 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41188
41189         [BZ #2551]
41190         [BZ #2552]
41191         [BZ #2553]
41192         [BZ #2554]
41193         [BZ #2562]
41194         [BZ #2563]
41195         [BZ #2565]
41196         [BZ #2566]
41197         [BZ #2576]
41198         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41199         (y0): Likewise.
41200         * math/w_j0f.c (j0f): Likewise.
41201         (y0f): Likewise.
41202         * math/w_j0l.c (__j0l): Likewise.
41203         (__y0l): Likewise.
41204         * math/w_j1.c (j1): Likewise.
41205         (y1): Likewise.
41206         * math/w_j1f.c (j1f): Likewise.
41207         (y1f): Likewise.
41208         * math/w_j1l.c (__j1l): Likewise.
41209         (__y1l): Likewise.
41210         * math/w_jn.c (jn): Likewise.
41211         (yn): Likewise.
41212         * math/w_jnf.c (jnf): Likewise.
41213         (ynf): Likewise.
41214         * math/w_jnl.c (__jnl): Likewise.
41215         (__ynl): Likewise.
41216         * math/libm-test.inc (j0_test): Add more tests.
41217         (j1_test): Likewise.
41218         (jn_test): Likewise.  Add trailing semicolon to existing test.
41219         (y0_test): Likewise.
41220         (y1_test): Likewise.
41221         * sysdeps/i386/fpu/libm-test-ulps: Update.
41222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41223
41224         [BZ #13851]
41225         [BZ #13854]
41226         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41227         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41228         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41229         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41230         (__tanl): Set errno for infinite argument.
41231         * sysdeps/i386/fpu/mptan.c: Remove.
41232         * sysdeps/i386/fpu/s_tan.S: Likewise.
41233         * sysdeps/i386/fpu/s_tanl.S: Likewise.
41234         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41235         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41236         * math/libm-test.inc (tan_test): Add more tests and enable more
41237         tests for double and long double.
41238         * sysdeps/i386/fpu/libm-test-ulps: Update.
41239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41240
41241 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
41242
41243         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41244         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41245
41246 2012-03-16  Roland McGrath  <roland@hack.frob.com>
41247
41248         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41249         * configure.in: Use it for both main tree and add-ons.
41250         * configure: Regenerated.
41251
41252 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41253
41254         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41255
41256 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41257
41258         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41259         in comment.
41260
41261         [BZ #13851]
41262         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41263         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41264         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41265         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41266         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41267         infinite argument.
41268         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41269         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41270         != 0 for prec == 2.
41271         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41272         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41273         * sysdeps/i386/fpu/s_cosl.S: Likewise.
41274         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41275         * sysdeps/i386/fpu/s_sinl.S: Likewise.
41276         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41277         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41278         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41279         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41280         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41281         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41282         * math/libm-test.inc (cos_test): Add more tests and enable more
41283         tests for long double.
41284         (sin_test): Likewise.
41285         (sincos_test): Likewise.
41286         * sysdeps/i386/fpu/libm-test-ulps: Update.
41287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41288
41289 2012-03-16  David S. Miller  <davem@davemloft.net>
41290
41291         * sysdeps/sparc/fpu/math_private.h: New file.
41292
41293 2012-03-15  David S. Miller  <davem@davemloft.net>
41294
41295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41296         file.
41297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41299         file.
41300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41301         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41302         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41305         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41306         sysdep routines.
41307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41308
41309         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41310         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41311
41312         * sysdeps/sparc/sparc-ifunc.h: New file.
41313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41314         sparc-ifunc.h
41315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41317         Likewise.
41318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41319         Likewise.
41320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41324         Likewise.
41325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41330         Likewise.
41331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41332         Likewise.
41333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41337         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41338         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41339         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41340         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41341         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41342         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41347         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41348         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41349         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41350         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41351         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41352         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41353         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41354         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41355         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41356         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41357
41358 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41359
41360         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41361         scaling.
41362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41363
41364 2012-03-15  Andreas Jaeger  <aj@suse.de>
41365
41366         [BZ #13852]
41367         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41368         ieee754/flt-32 implementation for sin, cos and sincos.
41369         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41370         * sysdeps/i386/fpu/s_cosf.S: Likewise.
41371         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41372         * sysdeps/i386/fpu/s_sinf.S: Likewise.
41373         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41374         ieee754/flt-32 implementation for tan.
41375
41376         * math/libm-test.inc (cos_test): Enable some large input tests for
41377         float as well
41378         (sin_test): Likewise.
41379         (sincos_test): Likewise.
41380         (tan_test): Add tests for large input.
41381
41382         * sysdeps/i386/fpu/libm-test-ulps: Update.
41383
41384 2012-03-15  Andreas Jaeger  <aj@suse.de>
41385
41386         [BZ #13658]
41387         * math/libm-test.inc (cos_test): Add more test cases.
41388         (sin_test): Likewise.
41389         (sincos_test): Likewise.
41390
41391 2012-03-15  Andreas Jaeger  <aj@suse.de>
41392
41393         [BZ #13837]
41394         * math/libm-test.inc (cos_test): Add a test case for large input
41395         value.
41396         (sin_test): Likewise.
41397         (sincos_test): Likewise.
41398
41399 2012-03-15  Andreas Jaeger  <aj@suse.de>
41400             Joseph Myers  <joseph@codesourcery.com>
41401
41402         [BZ #13658]
41403         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41404         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41405         * sysdeps/i386/fpu/branred.c: Likewise.
41406         * sysdeps/i386/fpu/dosincos.c: Likewise.
41407         * sysdeps/i386/fpu/mpa.c: Likewise.
41408         * sysdeps/i386/fpu/s_cos.S: Likewise.
41409         * sysdeps/i386/fpu/s_sin.S: Likewise.
41410         * sysdeps/i386/fpu/s_sincos.S: Likewise.
41411         * sysdeps/i386/fpu/sincos32.c: Likewise.
41412
41413         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41414         Define.
41415         (libc_feupdateenv_53bit): Define.
41416         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41417         Define.
41418         (libc_feupdateenv_53bit): Define.
41419
41420         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41421         53 bit (without extend i386 double precision).
41422
41423         * math/libm-test.inc (sincos_test): Add tests for large input.
41424         (sin): Likewise.
41425         (cos): Likewise.
41426
41427         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41428
41429 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41430
41431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41432
41433 2012-03-15  David S. Miller  <davem@davemloft.net>
41434
41435         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41436         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41437         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41438         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41444         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41445         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41446         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41448         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41451         file.
41452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41454         file.
41455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41457         file.
41458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41460         file.
41461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41462         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41463         fmin/fmax sysdep routines.
41464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41465
41466 2012-03-14  David S. Miller  <davem@davemloft.net>
41467
41468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41471         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41472         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41473         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41474         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41475         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41476         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41477         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41480         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41481         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41482         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41483         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41484         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41485         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41486         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41487         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41488         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41489         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41490         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41491         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41492         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41493         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41494         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41495         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41496         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41497         routines.
41498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41499         file.
41500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41502         file.
41503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41505         file.
41506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41508         file.
41509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41511         file.
41512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41514         file.
41515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41516         file.
41517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41518         file.
41519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41520         file.
41521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41522         New file.
41523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41524         file.
41525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41526         file.
41527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41529         file.
41530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41532         file.
41533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41535         file.
41536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41538         VIS3 routines.
41539
41540         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41541         New file.
41542
41543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41544
41545         * sysdeps/sparc/configure.in: New file.
41546         * sysdeps/sparc/configure: Generate.
41547         * configure.in (libc_cv_sparc_as_vis3): Substitute.
41548         * configure: Regenerate.
41549         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41550         * config.make.in (have-as-vis3): New.
41551         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41552         available use -Av9d instead of -Av9a.
41553         * sysdeps/sparc/sparc64/Makefile: Likewise.
41554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41556         New file.
41557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41558         file.
41559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41560         New file.
41561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41562         file.
41563         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41564         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41565         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41566         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41567         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41568
41569         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41570         fzeros/fnegs to load 0x80000000 into a float register instead of
41571         using the stack.
41572         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41573
41574 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
41575
41576         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41577         bits/syscall.h.
41578         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41579         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41580         ($(inst_includedir)/bits/syscall.h): Remove rule.
41581         ($(objpfx)bits/syscall.d): Include instead of
41582         $(objpfx)syscall-list.d.
41583         (generated): Change syscall-list.h and syscall-list.d to
41584         bits/syscall.h and bits/syscall.d.
41585
41586 2012-03-14  Roland McGrath  <roland@hack.frob.com>
41587
41588         [BZ #13846]
41589         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41590
41591 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
41592
41593         [BZ #13841]
41594         * math/s_csqrt.c: Include <float.h>.
41595         (__csqrt): Scale large or subnormal inputs.
41596         * math/s_csqrtf.c: Likewise.
41597         * math/s_csqrtl.c: Likewise.
41598         * math/libm-test.inc (csqrt_test): Add more tests.
41599         * sysdeps/i386/fpu/libm-test-ulps: Update.
41600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41601
41602         [BZ #13840]
41603         * math/libm-test.inc (hypot_test): Add more tests.
41604
41605 2012-03-13  David S. Miller  <davem@davemloft.net>
41606
41607         [BZ #13840]
41608         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41609         double-precision for the calculation instead of scaling.
41610
41611 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
41612
41613         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41614         manipulate bits before adding and subtracting TWO52[sx].
41615         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41616         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41617         Likewise.
41618         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41619
41620 2012-03-13  David S. Miller  <davem@davemloft.net>
41621
41622         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41623         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41624         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41625         rtld-global-offsets.h
41626         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41627
41628         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41629         large parameters.
41630
41631         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41632
41633         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41634         'err' in the ifdef scope in which it is actually used.
41635
41636         * nss/nss_db/db-init.c: Include string.h
41637
41638 2012-03-12  David S. Miller  <davem@davemloft.net>
41639
41640         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41641         masking out of the most significant byte of random value used.
41642         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41643         Fix coding style in previous change.
41644
41645         * sysdeps/unix/sysv/linux/kernel-features.h
41646         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41647         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41648         expression.
41649         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41650         later.
41651
41652 2012-03-11  David S. Miller  <davem@davemloft.net>
41653
41654         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41655         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41656         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41657         for 'resultvar' otherwise things get truncated on 64-bit.
41658
41659         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41660         Fix masking out of the most significant byte of random value used.
41661
41662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41663
41664 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
41665
41666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41667
41668 2012-03-09  David S. Miller  <davem@davemloft.net>
41669
41670         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41671         variables with appropriate CPP guards.
41672         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41673         from the frame pointer, not the stack pointer.  Correct layout
41674         comments.  Fix test on resulting framesize and the management of
41675         the outregs buffer for pltexit.  Preserve floating point return
41676         values across _dl_call_pltexit call.
41677         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41678         framesize and the management of the outregs buffer for pltexit.
41679         Preserve floating point return values across _dl_call_pltexit
41680         call.
41681         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41682         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41683         (la_sparc64_gnu_pltexit): New functions.
41684         (print_exit): Fix format string for return register value.
41685
41686 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
41687
41688         * sunrpc/Makefile (others): Add rpcgen.
41689         ($(objpfx)rpcgen): Remove special build rule and dependency on
41690         libc.
41691         * sunrpc/rpcgen.c: New file.
41692
41693 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
41694
41695         [BZ #13673]
41696         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41697         * stdio-common/bug-vfprintf-nargs.c: Likewise.
41698         * sysdeps/i386/crti.S: Likewise.
41699         * sysdeps/i386/crtn.S: Likewise.
41700         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41701         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41702         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41703         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41704         * sysdeps/sh/crti.S: Likewise.
41705         * sysdeps/sh/crtn.S: Likewise.
41706         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41707
41708         [BZ #13673]
41709         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41710         with URL.
41711         * locale/programs/locfile-kw.gperf: Likewise.
41712         * locale/programs/charmap-kw.h: Regenerated.
41713         * locale/programs/locfile-kw.h: Likewise.
41714
41715         [BZ #13673]
41716         * intl/plural.y: Replace FSF snail mail address with URL.
41717         * intl/plural.c: Regenerated.
41718
41719 2012-03-09  Richard Henderson  <rth@twiddle.net>
41720
41721         * include/math_private.h: Remove file.
41722         * math/math_private.h: Move file ...
41723         * sysdeps/generic/math_private.h: ... here.
41724
41725         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41726         * sysdeps/powerpc/fpu/math_private.h: Likewise.
41727         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41728
41729         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41730         and <math_private.h>.
41731         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41732         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41733         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41734         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41735         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41736         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41737         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41738         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41739         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41740         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41741         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41742         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41743         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41744         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41745         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41746         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41747         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41748         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41749         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41750         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41751         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41752         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41753         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41754         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41755         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41756         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41757         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41758         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41760         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41761         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41762         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41763         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41764         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41765         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41766         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41767         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41768         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41769         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41770         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41771         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41772         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41773         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41774         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41775         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41776         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41777         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41778         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41779         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41780         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41781         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41782         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41783         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41784         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41785         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41786         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41787         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41788         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41789         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41790         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41791         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41792         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41793         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41794         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41795         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41796         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41797         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41798         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41799         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41800         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41801         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41802         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41803         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41804         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41805         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41806         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41807         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41808         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41809         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41810         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41811         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41812         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41813         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41814         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41815         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41816         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41817         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41818         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41819         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41820         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41821         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41822         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41823         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41824         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41825         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41826         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41827         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41828         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41829         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41830         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41831         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41832         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41833         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41834         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41835         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41836         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41837         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41838         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41839         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41840         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41841         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41842         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41843         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41844         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41845         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41846         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41847         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41848         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41849         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41850         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41851         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41852         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41853         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41854         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41855         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41856         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41857         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41858         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41859         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41860         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41861         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41862         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41863         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41864         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41865         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41866         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41867         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41868         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41869         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41870         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41871         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41872         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41873         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41874         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41875         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41876         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41877         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41878         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41879         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41880         * sysdeps/ieee754/k_standard.c: Likewise.
41881         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41882         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41883         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41884         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41885         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41886         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41887         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41888         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41889         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41890         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41891         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41892         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41893         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41894         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41895         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41896         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41897         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41898         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41899         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41900         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41901         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41902         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41903         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41904         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41905         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41906         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41907         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41908         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41909         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41910         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41911         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41912         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41913         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41914         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41915         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41916         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41917         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41918         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41919         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41920         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41921         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41922         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41923         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41924         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41925         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41926         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41927         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41928         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41929         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41930         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41931         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41932         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41933         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41934         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41935         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41936         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41937         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41938         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41939         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41940         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41941         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41942         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41943         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41944         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41945         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41946         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41947         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41948         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41949         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41950         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41951         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41952         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41953         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41954         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41955         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41956         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41957         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41958         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41959         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41960         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41961         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41962         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41963         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41964         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41965         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41966         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41967         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41968         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41969         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41970         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41971         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41972         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41973         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41974         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41975         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41976         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41977         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41978         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41979         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41980         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41981         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41982         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41983         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41984         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41985         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41986         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41987         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41988         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41989         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41990         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41991         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41992         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41993         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41994         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41995         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41996         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41997         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41998         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41999         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42000         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42001         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42002         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42003         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42004         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42005         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42006         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42007         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42008         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42009         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42010         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42011         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42012         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42013         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42014         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42015         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42016         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42017         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42018         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42019         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42020         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42021         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42022         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42023         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42024         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42025         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42026         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42027         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42028         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42029         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42030         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42031         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42032         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42033         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42034         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42035         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42036         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42037         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42038         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42039         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42040         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42041         * sysdeps/ieee754/s_lib_version.c: Likewise.
42042         * sysdeps/ieee754/s_matherr.c: Likewise.
42043         * sysdeps/ieee754/s_signgam.c: Likewise.
42044         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42045         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42046         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42047         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42048         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42049         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42050         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42051         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42052         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42053         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42054         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42055         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42056         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42057         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42058         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42059         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42060         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42061         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42062         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42063         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42064         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42065
42066 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42067
42068         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42069         * sunrpc/rpc_main.c: Likewise.
42070         * sunrpc/rpc_svcout.c: Likewise.
42071
42072 2012-03-09  David S. Miller  <davem@davemloft.net>
42073
42074         * include/math_private.h: New file.
42075
42076 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42077
42078         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42079         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42080         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42081         from <bits/socket_type.h>.
42082         (enum __socket_type): Don't define here.
42083         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42084         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42085         bits/socket_type.h.
42086
42087         [BZ #13566]
42088         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42089         checking __USE_GNU.
42090
42091         * Makerules ($(inst_includedir)/%.h): New rule.
42092         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42093         (install-others): Remove variable setting.
42094         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42095
42096 2012-03-08  Richard Henderson  <rth@twiddle.net>
42097
42098         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42099         from macro to inline function; merge with the
42100         !__LIBC_INTERNAL_MATH_INLINES version.
42101         (__ieee754_sqrtf): Likewise.
42102
42103         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42104         to inline function.
42105         (__rintf, __floor, __floorf): Likewise.
42106
42107         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42108         macro to inline function.
42109         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42110
42111         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42112         not <math/math_private.h>.
42113
42114 2012-03-08  David S. Miller  <davem@davemloft.net>
42115
42116         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42117         copyright year.
42118         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42119
42120 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
42121
42122         * resolv/gai_misc.c (handle_requests): Fix struct timespec
42123         normalization.
42124         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42125         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42126
42127 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
42128
42129         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
42130         be defined individually, they must be defined as a block.  Define
42131         S for printing a string instead of hidint the different by using a
42132         macro for adding the 'l'.
42133         * stdio-common/tst-fphex-wide.c: Adjust.
42134
42135 2012-03-07  Marek Polacek  <polacek@redhat.com>
42136
42137         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42138
42139 2012-03-08  Marek Polacek  <polacek@redhat.com>
42140
42141         [BZ #13806]
42142         * stdio-common/Makefile (tests): Add tst-fphex-wide.
42143         * stdio-common/tst-fphex.c: Define a few macros to make the
42144         test reusable.  Use them.
42145         * stdio-common/tst-fphex-wide.c: New file.
42146
42147 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
42148
42149         [BZ #6911]
42150         * manual/macros.texi (gnusystems): New macro.
42151         (nongnusystems): Likewise.
42152         (gnulinuxhurdsystems): Likewise.
42153         (gnuhurdsystems): Likewise..
42154         (gnulinuxsystems): Likewise.
42155         * manual/charset.texi: Use new macros or @theglibc{} to refer to
42156         variants of the GNU system, not "GNU system".
42157         * manual/conf.texi: Likewise.
42158         * manual/errno.texi: Likewise.  Update example of errno macro
42159         expansion.
42160         * manual/filesys.texi: Likewise.
42161         (getumask): Document as specific to GNU/Hurd.
42162         * manual/install.texi: Likewise.  Reword some references to
42163         GNU/Linux.
42164         * manual/intro.texi: Likewise.
42165         * manual/io.texi: Likewise.
42166         (File Name Portability): Detail which constraints are inapplicable
42167         to all GNU systems and which are only inapplicable to GNU/Hurd.
42168         * manual/job.texi: Likewise.
42169         * manual/llio.texi: Likewise.
42170         (O_NOCTTY): Document as present on GNU/Linux.
42171         * manual/maint.texi: Likewise.
42172         * manual/memory.texi: Likewise.
42173         * manual/pattern.texi: Likewise.
42174         * manual/pipe.texi: Likewise.
42175         * manual/process.texi: Likewise.
42176         * manual/resource.texi: Likewise.
42177         (RUSAGE_CHILDREN): Remove statement about specifying a particular
42178         child on GNU/Hurd.
42179         * manual/setjmp.texi: Likewise.
42180         * manual/signal.texi: Likewise.
42181         * manual/startup.texi: Likewise.
42182         * manual/stdio.texi: Likewise.
42183         * manual/terminal.texi: Likewise.
42184         (ONLCR): Document as POSIX.
42185         (OXTABS): Document availability on GNU/Linux as XTABS.
42186         (ONOEOT): Document availability separately from other bits.
42187         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42188         * manual/time.texi: Likewise.
42189         * manual/users.texi: Likewise.
42190         * INSTALL: Regenerated.
42191         * sysdeps/gnu/errlist.c: Regenerated.
42192
42193         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42194         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42195         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
42196         puts.
42197         * configure: Regenerated.
42198
42199 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
42200
42201         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42202         default includes instead of AC_HEADER_CHECK.
42203         * sysdeps/i386/configure: Regenerated.
42204
42205         [BZ #10716]
42206         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42207         * math/s_cacoshf.c (__cacoshf): Likewise.
42208         * math/s_cacoshl.c (__cacoshl): Likewise.
42209         * math/s_casinh.c (__casinh): Set signs of result from argument.
42210         * math/s_casinhf.c (__casinhf): Likewise.
42211         * math/s_casinhl.c (__casinhl): Likewise.
42212         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42213         (casinh_test): Add more tests.
42214         * sysdeps/i386/fpu/libm-test-ulps: Update.
42215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42216
42217 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
42218
42219         * po/zh_TW.po: Update from translation team.
42220
42221         * login/Makefile (distribute): Remove variable.
42222         * catgets/Makefile: Likewise.
42223         * mach/Makefile: Likewise.
42224         * malloc/Makefile: Likewise.
42225         * misc/Makefile: Likewise.
42226         * iconv/Makefile: Likewise.
42227         * nscd/Makefile: Likewise.
42228         * hurd/Makefile: Likewise.
42229         * manual/Makefile: Likewise.
42230         * locale/Makefile: Likewise.
42231         * intl/Makefile: Likewise.
42232         * conform/Makefile: Likewise.
42233         * nss/Makefile: Likewise.
42234         * time/Makefile: Likewise.
42235         * soft-fp/Makefile: Likewise.
42236         * dirent/Makefile: Likewise.
42237         * gmon/Makefile: Likewise.
42238         * po/Makefile: Likewise.
42239         * rt/Makefile: Likewise.
42240         * socket/Makefile: Likewise.
42241         * math/Makefile: Likewise.
42242         * signal/Makefile: Likewise.
42243         * debug/Makefile: Likewise.
42244         * elf/Makefile: Likewise.
42245         * timezone/Makefile: Likewise.
42246         * stdlib/Makefile: Likewise.
42247         * iconvdata/Makefile: Likewise.
42248         * sunrpc/Makefile: Likewise.
42249         * io/Makefile: Likewise.
42250         * argp/Makefile: Likewise.
42251         * inet/Makefile: Likewise.
42252         * hesiod/Makefile: Likewise.
42253         * grp/Makefile: Likewise.
42254         * csu/Makefile: Likewise.
42255         * wctype/Makefile: Likewise.
42256         * crypt/Makefile: Likewise.
42257         * libio/Makefile: Likewise.
42258         * string/Makefile: Likewise.
42259         * nis/Makefile: Likewise.
42260         * resolv/Makefile: Likewise.
42261         * stdio-common/Makefile: Likewise.
42262         * wcsmbs/Makefile: Likewise.
42263         * dlfcn/Makefile: Likewise.
42264         * posix/Makefile: Likewise.
42265
42266         [BZ #6959]
42267         * timezone/Makefile: Don't install timezone files, just the programs
42268         and scripts.
42269
42270 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
42271
42272         * nss/databases.def: Add missing gshadow entry.
42273
42274         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
42275
42276 2012-03-06  Marek Polacek  <polacek@redhat.com>
42277
42278         [BZ #13726]
42279         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42280         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42281         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42282         * stdio-common/tst-long-dbl-fphex.c: New file.
42283
42284 2012-03-06  David S. Miller  <davem@davemloft.net>
42285
42286         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42287         (set_obp_int): New function.
42288         (get_obp_int): New function.
42289         (__get_clockfreq_via_dev_openprom): Likewise.
42290         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42291         Avoid unused variable warnings on 'val' and use builtin_expect.
42292         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42293         __builtin_expect.
42294         (INLINE_CLONE_SYSCALL): Likewise.
42295
42296 2012-03-05  David S. Miller  <davem@davemloft.net>
42297
42298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42299
42300 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
42301
42302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42303
42304         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42305         only for |x| >= 40.
42306         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42307
42308 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
42309
42310         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42311         Replace gettimeofday with __vdso_gettimeofday.
42312
42313         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42314         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42315         __vdso_clock_gettime and __vdso_getcpu.
42316
42317         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42318         time with __vdso_time.
42319
42320 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42321
42322         * manual/lang.texi (size_t): Note types to which size_t may be
42323         equivalent with the GNU C Library, but do not describe when
42324         differences between them are significant.
42325
42326 2012-03-05  Andreas Jaeger  <aj@suse.de>
42327
42328         * sysdeps/i386/fpu/libm-test-ulps: Update.
42329
42330 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42331
42332         [BZ #3976]
42333         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42334         (__ieee754_pow): Save and restore rounding mode and use
42335         round-to-nearest for main computations.
42336         * math/libm-test.inc (pow_test_tonearest): New function.
42337         (pow_test_towardzero): Likewise.
42338         (pow_test_downward): Likewise.
42339         (pow_test_upward): Likewise.
42340         (main): Call the new functions.
42341         * sysdeps/i386/fpu/libm-test-ulps: Update.
42342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42343
42344         [BZ #3976]
42345         * math/libm-test.inc (cosh_test_tonearest): New function.
42346         (cosh_test_towardzero): Likewise.
42347         (cosh_test_downward): Likewise.
42348         (cosh_test_upward): Likewise.
42349         (sinh_test_tonearest): Likewise.
42350         (sinh_test_towardzero): Likewise.
42351         (sinh_test_downward): Likewise.
42352         (sinh_test_upward): Likewise.
42353         (main): Call the new functions.
42354         * sysdeps/i386/fpu/libm-test-ulps: Update.
42355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42356
42357 2012-03-05  Tom de Vries  <tom@codesourcery.com>
42358
42359         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42360         default stack guard is set in last bytes.
42361         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42362
42363 2012-03-05  Kees Cook  <keescook@chromium.org>
42364
42365         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42366
42367         [BZ #13656]
42368         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42369         possibly allocate from heap instead of stack.
42370         * stdio-common/bug-vfprintf-nargs.c: New file.
42371         * stdio-common/Makefile (tests): Add nargs overflow test.
42372
42373 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
42374
42375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42376
42377 2012-03-03  Marek Polacek  <polacek@redhat.com>
42378
42379         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42380         * math/math_private.h: Likewise.
42381         * stdlib/tst-strtod.c: Likewise.
42382         * sysdeps/i386/i486/bits/atomic.h: Likewise.
42383         * sysdeps/x86_64/bits/atomic.h: Likewise.
42384
42385 2012-03-02  David S. Miller  <davem@davemloft.net>
42386
42387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42391         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42392         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42393         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42394         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42395
42396 2012-03-02  Roland McGrath  <roland@hack.frob.com>
42397
42398         [BZ #13792]
42399         * manual/examples/README: New file, says the example source files
42400         can be used under GPL>=2.
42401         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42402         line containing just "*/".
42403         * manual/examples/add.c: Add copyright header (GPL>=2).
42404         * manual/examples/argp-ex1.c: Likewise.
42405         * manual/examples/argp-ex2.c: Likewise.
42406         * manual/examples/argp-ex3.c: Likewise.
42407         * manual/examples/argp-ex4.c: Likewise.
42408         * manual/examples/atexit.c: Likewise.
42409         * manual/examples/db.c: Likewise.
42410         * manual/examples/dir.c: Likewise.
42411         * manual/examples/dir2.c: Likewise.
42412         * manual/examples/execinfo.c: Likewise.
42413         * manual/examples/filecli.c: Likewise.
42414         * manual/examples/filesrv.c: Likewise.
42415         * manual/examples/fmtmsgexpl.c: Likewise.
42416         * manual/examples/genpass.c: Likewise.
42417         * manual/examples/inetcli.c: Likewise.
42418         * manual/examples/inetsrv.c: Likewise.
42419         * manual/examples/isockad.c: Likewise.
42420         * manual/examples/longopt.c: Likewise.
42421         * manual/examples/memopen.c: Likewise.
42422         * manual/examples/memstrm.c: Likewise.
42423         * manual/examples/mkfsock.c: Likewise.
42424         * manual/examples/mkisock.c: Likewise.
42425         * manual/examples/mygetpass.c: Likewise.
42426         * manual/examples/pipe.c: Likewise.
42427         * manual/examples/popen.c: Likewise.
42428         * manual/examples/rprintf.c: Likewise.
42429         * manual/examples/search.c: Likewise.
42430         * manual/examples/select.c: Likewise.
42431         * manual/examples/setjmp.c: Likewise.
42432         * manual/examples/sigh1.c: Likewise.
42433         * manual/examples/sigusr.c: Likewise.
42434         * manual/examples/stpcpy.c: Likewise.
42435         * manual/examples/strdupa.c: Likewise.
42436         * manual/examples/strftim.c: Likewise.
42437         * manual/examples/strncat.c: Likewise.
42438         * manual/examples/subopt.c: Likewise.
42439         * manual/examples/swapcontext.c: Likewise.
42440         * manual/examples/termios.c: Likewise.
42441         * manual/examples/testopt.c: Likewise.
42442         * manual/examples/testpass.c: Likewise.
42443         * manual/examples/timeval_subtract.c: Likewise.
42444
42445         [BZ #13792]
42446         * manual/time.texi (Elapsed Time): Move timeval_subtract example
42447         function to ...
42448         * manual/timeval_subtract.c.texi: ... here, new file.
42449
42450 2012-03-02  David S. Miller  <davem@davemloft.net>
42451
42452         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42453
42454 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
42455
42456         [BZ #3976]
42457         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42458         (__sin): Save and restore rounding mode and use round-to-nearest
42459         for all computations.
42460         (__cos): Save and restore rounding mode and use round-to-nearest
42461         for all computations.
42462         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42463         <fenv.h>.
42464         (tan): Save and restore rounding mode and use round-to-nearest for
42465         all computations.
42466         * math/libm-test.inc (cos_test_tonearest): New function.
42467         (cos_test_towardzero): Likewise.
42468         (cos_test_downward): Likewise.
42469         (cos_test_upward): Likewise.
42470         (sin_test_tonearest): Likewise.
42471         (sin_test_towardzero): Likewise.
42472         (sin_test_downward): Likewise.
42473         (sin_test_upward): Likewise.
42474         (tan_test_tonearest): Likewise.
42475         (tan_test_towardzero): Likewise.
42476         (tan_test_downward): Likewise.
42477         (tan_test_upward): Likewise.
42478         (main): Call the new functions.
42479         * sysdeps/i386/fpu/libm-test-ulps: Update.
42480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42481
42482         [BZ #10135]
42483         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42484         small n, then large n, before computing and testing k+n.
42485         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42486         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42487         Likewise.
42488         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42489         Likewise.
42490         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42491         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42492         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42493         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42494         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42495         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42496         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42497         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42498         * math/libm-test.inc (scalbn_test): Add more tests.
42499         (scalbln_test): Likewise.
42500
42501         * manual/filesys.texi (mode_t): Describe constraints on size and
42502         signedness, not exact equivalence to a particular type.
42503         (ino_t): Likewise.
42504         (ino64_t): Likewise.
42505         (dev_t): Likewise.
42506         (nlink_t): Likewise.
42507         (blkcnt_t): Likewise.
42508         (blkcnt64_t): Likewise.
42509         * manual/llio.texi (off_t): Likewise.
42510
42511         [BZ #3976]
42512         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42513         (__ieee754_exp): Save and restore rounding mode and use
42514         round-to-nearest for all computations.
42515         * math/libm-test.inc (exp_test_tonearest): New function.
42516         (exp_test_towardzero): Likewise.
42517         (exp_test_downward): Likewise.
42518         (exp_test_upward): Likewise.
42519         (main): Call the new functions.
42520         * sysdeps/i386/fpu/libm-test-ulps: Update.
42521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42522
42523 2012-03-01  Chris Demetriou  <cgd@google.com>
42524
42525         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42526         have predictable order.
42527
42528 2012-03-01  David S. Miller  <davem@davemloft.net>
42529
42530         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42531
42532         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42533         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42534         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42535         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42536
42537         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42538         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42539         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42541         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42542         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42543         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42544         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42545         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42546
42547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42548
42549         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42550         * sysdeps/sparc/fpu/libm-test-ulps: to here.
42551         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42552
42553         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42554         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42555         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42556         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42557         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42558         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42559         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42560         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42561         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42562         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42563         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42564         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42566         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42567         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42568         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42569         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42570         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42571         * sysdeps/sparc/elf/configure: Regenerated.
42572
42573 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
42574
42575         * configure.in (AS, LD): Require binutils 2.20 or later.
42576         * configure: Regenerated.
42577         * manual/install.texi (Tools for Compilation): Give binutils 2.20
42578         as required minimum version.
42579         * INSTALL: Regenerated.
42580
42581         [BZ #2541]
42582         [BZ #4108]
42583         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42584         before squaring exponent.
42585         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42586         bottom long double and 27 bits of top long double before squaring
42587         exponent.
42588         * math/libm-test.inc (erfc_test): Add more tests.
42589         * sysdeps/i386/fpu/libm-test-ulps: Update.
42590         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42592
42593 2012-03-01  Kai Tietz  <ktietz@redhat.com>
42594
42595         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42596         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42597         containing bit-fields.
42598         * soft-fp/extended.h (_FP_UNION_E): Likewise.
42599         * soft-fp/single.h (_FP_UNION_S): Likewise.
42600         * soft-fp/double.h (_FP_UNION_D): Likewise.
42601
42602 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
42603
42604         [BZ #13786]
42605         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42606         not include ../strcmp.S.
42607         [USE_AS_STRNCASECMP_L]: Likewise.
42608         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42609         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42610         * sysdeps/i386/i686/multiarch/strncase_l-c.c
42611         (__strncasecmp_l_ia32): Define as alias to
42612         __strncasecmp_l_nonascii.
42613
42614         [BZ #5794]
42615         * math/libm-test.inc (expm1_test): Add test for bug 5794.
42616         * sysdeps/i386/fpu/libm-test-ulps: Update.
42617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42618
42619         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42621
42622 2012-02-29  Jeff Law  <law@redhat.com>
42623
42624         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42625         out of bounds read.
42626
42627 2012-02-29  Marek Polacek  <polacek@redhat.com>
42628
42629         [BZ #13706]
42630         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42631         * elf/Makefile: Add rules to run tst-unused-dep.out.
42632
42633 2012-02-28  David S. Miller  <davem@davemloft.net>
42634
42635         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42636         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42637         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42638         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42639         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42640         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42641
42642 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
42643
42644         * math/libm-test.inc (llround_test): Move one test from
42645         lround_test.  Use TEST_f_L in moved test.
42646         (lround_test): Move misplaced test to llround_test.  Add testcase
42647         from bug 2561.
42648
42649 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
42650
42651         * sysdeps/x86_64/fpu/e_expf.S: New file.
42652         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42653
42654 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
42655
42656         [BZ #13637]
42657         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42658         of remain_len that may cause incomplete multi-byte character and
42659         false match.
42660         * posix/bug-regex33.c: New file.
42661         * posix/Makefile (tests): Add bug-regex33.
42662
42663 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
42664
42665         * manual/macros.texi: New file.
42666         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42667         * manual/libc.texinfo: Include macros.texi.
42668         * manual/creatute.texi: Likewise.
42669         * manual/install.texi: Likewise.
42670         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42671         @glibcadj{} in references to the GNU C Library.
42672         * manual/charset.texi: Likewise.
42673         * manual/conf.texi: Likewise.
42674         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
42675         when not using those macros.
42676         * manual/creature.texi: Likewise.
42677         * manual/crypt.texi: Likewise.
42678         * manual/errno.texi: Likewise.
42679         * manual/filesys.texi: Likewise.
42680         * manual/header.texi: Likewise.
42681         * manual/install.texi: Likewise.
42682         * manual/intro.texi: Likewise.
42683         * manual/io.texi: Likewise.
42684         * manual/job.texi: Likewise.
42685         * manual/lang.texi: Likewise.
42686         * manual/libc.texiinfo: Likewise.
42687         * manual/llio.texi: Likewise.
42688         * manual/locale.texi: Likewise.
42689         * manual/maint.texi: Likewise.
42690         * manual/math.texi: Likewise.
42691         * manual/memory.texi: Likewise.
42692         * manual/message.texi: Likewise.
42693         * manual/nss.texi: Likewise.
42694         * manual/pattern.texi: Likewise.
42695         * manual/process.texi: Likewise.
42696         * manual/resource.texi: Likewise.
42697         * manual/search.texi: Likewise.
42698         * manual/setjmp.texi: Likewise.
42699         * manual/signal.texi: Likewise.
42700         * manual/socket.texi: Likewise.
42701         * manual/startup.texi: Likewise.
42702         * manual/stdio.texi: Likewise.
42703         * manual/string.texi: Likewise.
42704         * manual/sysinfo.texi: Likewise.
42705         * manual/syslog.texi: Likewise.
42706         * manual/terminal.texi: Likewise.
42707         * manual/time.texi: Likewise.
42708         * manual/users.texi: Likewise.
42709         * INSTALL: Regenerated.
42710         * NOTES: Regenerated.
42711         * sysdeps/gnu/errlist.c: Regenerated.
42712
42713 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
42714
42715         * include/dirent.h: Include <dirstream.h> before
42716         <dirent/dirent.h>.
42717
42718 2012-02-28  David S. Miller  <davem@davemloft.net>
42719
42720         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42721         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42722         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42723         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42724
42725 2012-02-27  David S. Miller  <davem@davemloft.net>
42726
42727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42729         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42730         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42731
42732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42733         frame pointer instead of stack pointer relative arg slot.
42734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42735         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42736         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42737
42738 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
42739
42740         [BZ #3992]
42741         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42742
42743 2012-02-27  David S. Miller  <davem@davemloft.net>
42744
42745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42749         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42750         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42751         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42752         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42753
42754 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42755
42756         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42757         later.  Allow versions 5-9.
42758         * configure: Regenerated.
42759         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42760         required minimum version and 4.6 as recommended version.  Do not
42761         mention bugs in GCC 2.7 and 2.8.
42762         * INSTALL: Regenerated.
42763
42764 2012-02-27  David S. Miller  <davem@davemloft.net>
42765
42766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42770         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42771         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42772         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42773         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42774
42775         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42776         manipulate bits before adding and subtracting TWO112[sx].
42777         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42778
42779 2012-02-27  Roland McGrath  <roland@hack.frob.com>
42780
42781         [BZ #13775]
42782         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42783         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42784         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42785         being in POSIX, because they are in 1003.1-2008.
42786
42787         * rt/tst-aio.c: Include <fcntl.h>.
42788         * rt/tst-aio7.c: Likewise.
42789         * rt/tst-aio64.c: Likewise.
42790
42791         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42792
42793 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42794
42795         * manual/install.texi (--with-headers): Describe headers as
42796         interface headers, not private headers.
42797         (Specific advice for GNU/Linux systems): Describe use of headers
42798         from "make headers_install", not private headers from older
42799         kernels.
42800         * INSTALL: Regenerated.
42801         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42802         Change to 2.6.19.
42803         * sysdeps/unix/sysv/linux/configure: Regenerated.
42804
42805         * manual/llio.texi (fclean): Remove documentation.
42806
42807         * manual/Makefile (libc-texi-generated): New variable.  Include
42808         version.texi.
42809         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42810         $(libc-texi-generated), not duplicated list of files.
42811         (version.texi, stamp-version): New rules.
42812         (realclean): Remove $(libc-texi-generated), not individual files
42813         from that list.  Do not remove dir-add.texinfo.
42814         * manual/libc.texinfo: Comment out uses of edition numbers and
42815         references to printed manual.  Remove last-updated dates.
42816         (EDITION): Comment out.
42817         (ISBN): Likewise.
42818         (VERSION, UPDATED): Remove.
42819         (version.texi): Include.
42820
42821 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
42822
42823         * sysdeps/posix/spawni.c: Include <signal.h>.
42824         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42825         * sysdeps/pthread/aio_fsync.c: Likewise.
42826
42827 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
42828
42829         * conform/Makefile (tests): Run only when not cross-compiling and
42830         when fast-check is not defined.
42831
42832         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42833         * conform/data/limits.h-data: Fixes for POSIX2008.
42834         * conform/run-conformtest.sh: Run all tests.
42835         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42836         headers.
42837         * include/bits/dlfcn.h: Likewise.
42838         * include/langinfo.h: Likewise.
42839         * include/monetary.h: Likewise.
42840         * include/sys/poll.h: Likewise.
42841
42842         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42843         for __USE_GNU.
42844         * posix/spawn.h: Define __need_sigset_t.
42845         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42846         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42847         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
42848         to get sigevent_t only.
42849         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42850         only for __USE_GNU.
42851         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42852         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42853         process_vm_writev only for __USE_GNU.
42854         * termios/termios.h: Declare tcgetsid also for POSIX2008.
42855
42856         * conform/Makefile: For now ignore errors from run-conformtest.
42857         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
42858         POSIX to avoid namespace pollution.  Don't prepend headers.
42859         * conform/data/aio.h-data: Fixes for POSIX testing.
42860         * conform/data/fcntl.h-data: Likewise.
42861         * conform/data/glob.h-data: Likewise.
42862         * conform/data/grp.h-data: Likewise.
42863         * conform/data/pthread.h-data: Likewise.
42864         * conform/data/pwd.h-data: Likewise.
42865         * conform/data/signal.h-data: Likewise.
42866         * conform/data/spawn.h-data: Likewise.
42867         * conform/data/stdio.h-data: Likewise.
42868         * conform/data/stdlib.h-data: Likewise.
42869         * conform/data/stropts.h-data: Likewise.
42870         * conform/data/sys/mman.h-data: Likewise.
42871         * conform/data/sys/stat.h-data: Likewise.
42872         * conform/data/sys/types.h-data: Likewise.
42873         * conform/data/sys/wait.h-data: Likewise.
42874         * conform/data/time.h-data: Likewise.
42875         * conform/data/unistd.h-data: Likewise.
42876         * conform/data/utime.h-data: Likewise.
42877
42878         * io/sys/stat.h: fchmod was always in POSIX.
42879         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42880         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42881         * rt/aio.h: Define __need_timespec before including <time.h>.
42882         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42883         struct.  Add forward declaration of pthread_attr_t and use it in
42884         sigevent.
42885         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42886         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42887         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42888         always remove CLK_TCK definition.
42889
42890 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42891
42892         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42893
42894 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42895
42896         * conform/run-conformtest.sh: New file.
42897         * conform/Makefile: Run run-conformtest for tests.
42898         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42899         support.
42900
42901         * conform/data/uchar.h-data: New file.
42902         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42903         * conform/data/arpa/inet.h-data: Likewise.
42904         * conform/data/assert.h-data: Likewise.
42905         * conform/data/complex.h-data: Likewise.
42906         * conform/data/cpio.h-data: Likewise.
42907         * conform/data/ctype.h-data: Likewise.
42908         * conform/data/dirent.h-data: Likewise.
42909         * conform/data/dlfcn.h-data: Likewise.
42910         * conform/data/errno.h-data: Likewise.
42911         * conform/data/fcntl.h-data: Likewise.
42912         * conform/data/float.h-data: Likewise.
42913         * conform/data/fmtmsg.h-data: Likewise.
42914         * conform/data/fnmatch.h-data: Likewise.
42915         * conform/data/ftw.h-data: Likewise.
42916         * conform/data/glob.h-data: Likewise.
42917         * conform/data/grp.h-data: Likewise.
42918         * conform/data/iconv.h-data: Likewise.
42919         * conform/data/inttypes.h-data: Likewise.
42920         * conform/data/langinfo.h-data: Likewise.
42921         * conform/data/libgen.h-data: Likewise.
42922         * conform/data/limits.h-data: Likewise.
42923         * conform/data/locale.h-data: Likewise.
42924         * conform/data/math.h-data: Likewise.
42925         * conform/data/monetary.h-data: Likewise.
42926         * conform/data/mqueue.h-data: Likewise.
42927         * conform/data/ndbm.h-data: Likewise.
42928         * conform/data/net/if.h-data: Likewise.
42929         * conform/data/netdb.h-data: Likewise.
42930         * conform/data/netinet/in.h-data: Likewise.
42931         * conform/data/nl_types.h-data: Likewise.
42932         * conform/data/poll.h-data: Likewise.
42933         * conform/data/pthread.h-data: Likewise.
42934         * conform/data/pwd.h-data: Likewise.
42935         * conform/data/regex.h-data: Likewise.
42936         * conform/data/sched.h-data: Likewise.
42937         * conform/data/search.h-data: Likewise.
42938         * conform/data/semaphore.h-data: Likewise.
42939         * conform/data/setjmp.h-data: Likewise.
42940         * conform/data/signal.h-data: Likewise.
42941         * conform/data/spawn.h-data: Likewise.
42942         * conform/data/stdarg.h-data: Likewise.
42943         * conform/data/stdio.h-data: Likewise.
42944         * conform/data/stdlib.h-data: Likewise.
42945         * conform/data/string.h-data: Likewise.
42946         * conform/data/strings.h-data: Likewise.
42947         * conform/data/stropts.h-data: Likewise.
42948         * conform/data/sys/ipc.h-data: Likewise.
42949         * conform/data/sys/mman.h-data: Likewise.
42950         * conform/data/sys/msg.h-data: Likewise.
42951         * conform/data/sys/resource.h-data: Likewise.
42952         * conform/data/sys/select.h-data: Likewise.
42953         * conform/data/sys/sem.h-data: Likewise.
42954         * conform/data/sys/shm.h-data: Likewise.
42955         * conform/data/sys/socket.h-data: Likewise.
42956         * conform/data/sys/stat.h-data: Likewise.
42957         * conform/data/sys/statvfs.h-data: Likewise.
42958         * conform/data/sys/time.h-data: Likewise.
42959         * conform/data/sys/timeb.h-data: Likewise.
42960         * conform/data/sys/times.h-data: Likewise.
42961         * conform/data/sys/types.h-data: Likewise.
42962         * conform/data/sys/uio.h-data: Likewise.
42963         * conform/data/sys/un.h-data: Likewise.
42964         * conform/data/sys/utsname.h-data: Likewise.
42965         * conform/data/sys/wait.h-data: Likewise.
42966         * conform/data/syslog.h-data: Likewise.
42967         * conform/data/tar.h-data: Likewise.
42968         * conform/data/termios.h-data: Likewise.
42969         * conform/data/utime.h-data: Likewise.
42970         * conform/data/utmpx.h-data: Likewise.
42971         * conform/data/varargs.h-data: Likewise.
42972         * conform/data/wchar.h-data: Likewise.
42973         * conform/data/wctype.h-data: Likewise.
42974         * conform/data/wordexp.h-data: Likewise.
42975
42976         * include/stropts.h: New file.
42977         * include/uchar.h: New file.
42978         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42979         * include/assert.h: Likewise.
42980         * include/ctype.h: Likewise.
42981         * include/dirent.h: Likewise.
42982         * include/dlfcn.h: Likewise.
42983         * include/fcntl.h: Likewise.
42984         * include/fnmatch.h: Likewise.
42985         * include/glob.h: Likewise.
42986         * include/grp.h: Likewise.
42987         * include/libio.h: Likewise.
42988         * include/locale.h: Likewise.
42989         * include/math.h: Likewise.
42990         * include/net/if.h: Likewise.
42991         * include/netdb.h: Likewise.
42992         * include/netinet/in.h: Likewise.
42993         * include/pthread.h: Likewise.
42994         * include/pwd.h: Likewise.
42995         * include/regex.h: Likewise.
42996         * include/sched.h: Likewise.
42997         * include/search.h: Likewise.
42998         * include/setjmp.h: Likewise.
42999         * include/signal.h: Likewise.
43000         * include/stdio.h: Likewise.
43001         * include/stdlib.h: Likewise.
43002         * include/string.h: Likewise.
43003         * include/sys/cdefs.h: Likewise.
43004         * include/sys/mman.h: Likewise.
43005         * include/sys/msg.h: Likewise.
43006         * include/sys/resource.h: Likewise.
43007         * include/sys/select.h: Likewise.
43008         * include/sys/socket.h: Likewise.
43009         * include/sys/stat.h: Likewise.
43010         * include/sys/statvfs.h: Likewise.
43011         * include/sys/time.h: Likewise.
43012         * include/sys/times.h: Likewise.
43013         * include/sys/uio.h: Likewise.
43014         * include/sys/utsname.h: Likewise.
43015         * include/sys/wait.h: Likewise.
43016         * include/termios.h: Likewise.
43017         * include/time.h: Likewise.
43018         * include/ulimit.h: Likewise.
43019         * include/unistd.h: Likewise.
43020         * include/utime.h: Likewise.
43021         * include/wchar.h: Likewise.
43022         * include/wctype.h: Likewise.
43023         * include/wordexp.h: Likewise.
43024
43025         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43026
43027         * time/time.h: TIME_UTC must be a macro.
43028         Make timespec_get available for ISO C11 only as well.
43029
43030 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
43031
43032         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43033         Reported by Peng Haitao <penght@cn.fujitsu.com>.
43034
43035 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43036
43037         * configure.in: Use -o not -a in test for unsupported multi-arch.
43038
43039 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43040
43041         * manual/texinfo.tex: Update to version 2012-01-19.16.
43042
43043 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43044
43045         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43046
43047 2012-02-24  Roland McGrath  <roland@hack.frob.com>
43048
43049         [BZ #13738]
43050         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43051         * manual/fdl-1.3.texi: New file.
43052         * manual/fdl-1.1.texi: File removed.
43053
43054         [BZ #13738]
43055         * manual/libc.texinfo (FDL_VERSION): New @set.
43056         Use it for mention of FDL in cover text.
43057         (Documentation License): Use it in @include file name.
43058
43059 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43060             Roland McGrath  <roland@hack.frob.com>
43061
43062         [BZ #5461]
43063         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43064         (not LONG_LONG_MAX and LONG_LONG_MIN.
43065         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43066         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
43067         name.
43068         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43069
43070 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43071
43072         [BZ #2547]
43073         [BZ #11365]
43074         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43075         manipulate bits before adding and subtracting TWO23[sx].
43076         * math/libm-test.inc (nearbyint_test): Add more tests.
43077
43078 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43079
43080         [BZ #2548]
43081         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43082         bits before adding and subtracting TWO23[sx].
43083         * math/libm-test.inc (rint_test): Add more tests.
43084         (rint_test_tonearest): Likewise.
43085         (rint_test_towardzero): Likewise.
43086         (rint_test_downward): Likewise.
43087         (rint_test_upward: Likewise.
43088
43089 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43090
43091         [BZ #10110]
43092         * include/stdc-predef.h: New file.  Extracted from features.h.
43093         * include/features.h: Include stdc-predef.h.
43094         * Makefile (headers): Add stdc-predef.h.
43095         * CONFORMANCE (Compiler limitations): Update.
43096
43097 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43098
43099         * manual/libc.texinfo (VERSION, UPDATED): Revert.
43100
43101 2012-02-21  David S. Miller  <davem@davemloft.net>
43102
43103         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43104         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43105
43106 2012-02-20  David S. Miller  <davem@davemloft.net>
43107
43108         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43109         using a normal save/restore sequence, rather than allocating a
43110         dummy stack frame just to store a frame pointer and restore.
43111         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43112
43113 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43114
43115         * manual/install.texi: Fix stray word in line-wrapped comment.
43116
43117 2012-02-20  David S. Miller  <davem@davemloft.net>
43118
43119         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43120         both binutils and gcc support GOTDATA.
43121
43122         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43123         "rd %pc" in the PIC register setup sequences.
43124
43125         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43126         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43127         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43128         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43129         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43130         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43131         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43132         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43133         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43134         (SYSCALL_ERROR_HANDLER): Likewise.
43135         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43136         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43137         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43138         (SYSCALL_ERROR_HANDLER): Likewise.
43139
43140         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43141         (HAVE_GCC_GOTDATA): New.
43142         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43143         relocation support in both binutils and gcc.
43144         * sysdeps/sparc/elf/configure: Regenerate.
43145
43146         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43147         * sysdeps/sparc/sparc32/elf/configure: Delete.
43148         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43149         * sysdeps/sparc/sparc64/elf/configure: Delete.
43150         * sysdeps/sparc/elf/configure.in: New file.
43151         * sysdeps/sparc/elf/configure: Generate.
43152
43153         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43154         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43155         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43156         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43157         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43158
43159 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43160
43161         * manual/install.texi: Do not mention specific glibc version
43162         numbers.
43163         * manual/libc.texinfo (VERSION, UPDATED): Update.
43164         (@copying): Use @copyright{} and range of years.
43165
43166 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43167
43168         [BZ #13695]
43169         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43170         [crti.S not in sysdirs] (generated): Do not append.
43171         [crti.S not in sysdirs] (omit-deps): Likewise.
43172         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43173         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43174         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43175         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43176         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43177         Likewise.
43178         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43179         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43180         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43181         * csu/defs.awk: Remove file.
43182         * sysdeps/generic/initfini.c: Likewise.
43183         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43184         variable.
43185         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43186         Likewise.
43187
43188 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43189
43190         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43191         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43192         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43193         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43194         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43195         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43196         <bits/epoll.h>.
43197         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43198         (__EPOLL_PACKED): Define to empty if not defined by
43199         <bits/epoll.h>.
43200         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43202         bits/epoll.h.
43203
43204 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43205
43206         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43207         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43208         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43209         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43210         <bits/timerfd.h>.
43211         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43212         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43213         bits/timerfd.h.
43214
43215 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43216
43217         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43218         in C locale.
43219         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43220         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43221         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43223
43224 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
43225
43226         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43227         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43228
43229 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
43230
43231         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43232         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43233         defined.
43234         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43235         Likewise.
43236         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43237         entry for 2.16.
43238
43239 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
43240
43241         * math/w_acos.c: Use non-signaling floating-point comparisons.
43242         * math/w_acosf.c: Likewise.
43243         * math/w_acosh.c: Likewise.
43244         * math/w_acoshf.c: Likewise.
43245         * math/w_acoshl.c: Likewise.
43246         * math/w_acosl.c: Likewise.
43247         * math/w_asin.c: Likewise.
43248         * math/w_asinf.c: Likewise.
43249         * math/w_asinl.c: Likewise.
43250         * math/w_atanh.c: Likewise.
43251         * math/w_atanhf.c: Likewise.
43252         * math/w_atanhl.c: Likewise.
43253         * math/w_exp2.c: Likewise.
43254         * math/w_exp2f.c: Likewise.
43255         * math/w_exp2l.c: Likewise.
43256         * math/w_j0.c: Likewise.
43257         * math/w_j0f.c: Likewise.
43258         * math/w_j0l.c: Likewise.
43259         * math/w_j1.c: Likewise.
43260         * math/w_j1f.c: Likewise.
43261         * math/w_j1l.c: Likewise.
43262         * math/w_jn.c: Likewise.
43263         * math/w_jnf.c: Likewise.
43264         * math/w_log.c: Likewise.
43265         * math/w_log10.c: Likewise.
43266         * math/w_log10f.c: Likewise.
43267         * math/w_log10l.c: Likewise.
43268         * math/w_log2.c: Likewise.
43269         * math/w_log2f.c: Likewise.
43270         * math/w_log2l.c: Likewise.
43271         * math/w_logf.c: Likewise.
43272         * math/w_logl.c: Likewise.
43273         * math/w_sqrt.c: Likewise.
43274         * math/w_sqrtf.c: Likewise.
43275         * math/w_sqrtl.c: Likewise.
43276         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43277         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43278         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43279         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43280         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43281
43282 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43283
43284         [BZ #9739]
43285         * manual/string.texi (strnlen): Use correct parameter name in
43286         equivalent expression.
43287
43288 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43289
43290         [BZ #11174]
43291         * manual/users.texi (seteuid): Consistently use neweuid for
43292         argument name.
43293
43294 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43295
43296         [BZ #13704]
43297         * manual/nss.texi (Services in the NSS configuration): Correct
43298         list of services in example configuration file.
43299
43300 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
43301
43302         [BZ #11322]
43303         * manual/arith.texi: Remove statements about negative zero
43304         behaving identically to zero.
43305
43306 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43307
43308         [BZ #5993]
43309         * manual/install.texi: Do not document upgrading from libc5.
43310
43311 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43312
43313         [BZ #4596]
43314         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43315
43316 2012-02-18  David S. Miller  <davem@davemloft.net>
43317
43318         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43319         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43320         %o7 across the call.
43321         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43322         instead.
43323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43324         SETUP_PIC_REG_LEAF.
43325         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43326         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43327         * sysdeps/sparc/crtn.S: Likewise.
43328
43329 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
43330
43331         * aout/Makefile: Remove.
43332
43333 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
43334
43335         [BZ #13058]
43336         * manual/examples/argp-ex1.c (main): Format definition in GNU
43337         style.
43338         * manual/examples/argp-ex2.c (main): Likewise.
43339         * manual/examples/argp-ex3.c (main): Likewise.
43340         * manual/examples/argp-ex4.c (main): Likewise.
43341         * manual/examples/longopt.c (main): Use new-style prototype
43342         definition.
43343         * manual/examples/strncat.c (main): Specify return type and use
43344         (void) for arguments.
43345         * manual/examples/subopt.c (main): Use char **argv argument.
43346
43347 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43348
43349         [BZ #5077]
43350         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43351         rounding modes.
43352
43353 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
43354
43355         [BZ #6907]
43356         * manual/string.texi (strchr): Change when strchrnul is
43357         recommended.
43358
43359 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
43360
43361         [BZ #174]
43362         * manual/locale.texi (setlocale): Document LOCPATH.
43363
43364 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43365
43366         [BZ #10210]
43367         * manual/process.texi (execle): Move @dots{} before last argument.
43368
43369 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
43370
43371         [BZ #12047]
43372         * manual/charset.texi (Generic Charset Conversion): Fix typo
43373         (LC_TYPE -> LC_CTYPE).
43374
43375 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
43376
43377         [BZ #5805]
43378         * manual/arith.texi (scalbn): Use @var{} on parameter names.
43379         (scalbnf): Likewise.
43380         (scalbnl): Likewise.
43381         (scalbln): Likewise.
43382         (scalblnf): Likewise.
43383         (scalblnl): Likewise.
43384         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43385         (vwarnx): Likewise.
43386         (verr): Likewise.
43387         (verrx): Likewise.
43388         * manual/filesys.texi (telldir): Use braces around return type.
43389         * manual/llio.texi (mmap): Add space after comma.
43390         (mmap64): Likewise.
43391         * manual/math.texi (jn): Use @var{} on parameter names.
43392         (jnf): Likewise.
43393         (jnl): Likewise.
43394         (yn): Likewise.
43395         (ynf): Likewise.
43396         (ynl): Likewise.
43397         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43398         line.
43399         * manual/resource.texi (ulimit): Use @dots{} instead of literal
43400         "...".
43401         (sched_get_priority_min): Remove semicolon on @deftypefun line.
43402         (sched_get_priority_max): Likewise.
43403         * manual/signal.texi (sigvec): Add space after comma.
43404         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43405         names.
43406         (if_indextoname): Likewise.
43407         (if_freenameindex): Likewise.
43408         (sendto): Use ',' instead of '.' in prototype.
43409         * manual/startup.texi (syscall): Use @dots{} instead of literal
43410         "...".
43411         * manual/stdio.texi (__fpending): Separate initial words of
43412         paragraph from @deftypefun line.
43413         * manual/syslog.texi (syslog): Use @dots{} instead of literal
43414         "...".
43415         (vsyslog): Use @var{} on parameter names.
43416         * manual/terminal.texi (stty): Use @var{} on parameter names.
43417         * manual/users.texi (getutmp): Use @var{} on parameter names.
43418         (getutmpx): Likewise.
43419
43420 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43421
43422         [BZ #6884]
43423         * manual/stdio.texi (fopen): Fix typos in description of
43424         ",ccs=STRING".
43425
43426 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
43427
43428         [BZ #4026]
43429         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43430         get clock_id definition.
43431
43432 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
43433
43434         [BZ #4822]
43435         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43436         (madvise): Cast every argument to void on its own.
43437
43438 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43439
43440         [BZ #9902]
43441         * manual/startup.texi (Exit Status): Fix typo.
43442
43443 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43444
43445         [BZ #10140]
43446         * manual/examples/argp-ex1.c: Include <stdlib.h>.
43447         * manual/examples/argp-ex2.c: Likewise.
43448         * manual/examples/argp-ex3.c: Likewise.
43449
43450 2012-02-16  Richard Henderson  <rth@redhat.com>
43451
43452         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43453         * sysdeps/s390/s390-32/initfini.c: Remove.
43454         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43455         * sysdeps/s390/s390-64/initfini.c: Remove.
43456
43457 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43458
43459         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43460         compiler output for sysdeps/generic/initfini.c.
43461         * sysdeps/sh/elf/initfini.c: Remove file.
43462
43463 2012-02-16  David S. Miller  <davem@davemloft.net>
43464
43465         [BZ #11494]
43466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43467
43468         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43469         * sysdeps/sparc/crti.S: New file.
43470         * sysdeps/sparc/crtn.S: New file.
43471         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43472         * sysdeps/sparc/sparc64/Makefile: Likewise.
43473
43474 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
43475
43476         [BZ #3335]
43477         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43478
43479 2012-02-15  Roland McGrath  <roland@hack.frob.com>
43480
43481         [BZ #4822]
43482         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43483
43484         * mach/devstream.c (cookie_io_functions_t): Macro removed.
43485         (write, read, close): Likewise.
43486         Patch by Aurelien Jarno <aurelien@aurel32.net>.
43487
43488 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
43489
43490         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43491         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43492         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43493         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43494         <bits/signalfd.h>.
43495         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43497         bits/signalfd.h.
43498
43499 2012-02-14  Marek Polacek  <polacek@redhat.com>
43500
43501         * sysdeps/x86_64/crti.S: New file.
43502         * sysdeps/x86_64/crtn.S: New file.
43503         * sysdeps/x86_64/elf/initfini.c: Remove file.
43504
43505 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43506
43507         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43508         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43509         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43510         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43511         <bits/inotify.h>.
43512         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43513         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43514         bits/inotify.h.
43515
43516 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43517
43518         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43519         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43520         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43521         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43522         <bits/eventfd.h>.
43523         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43524         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43525         bits/eventfd.h.
43526
43527 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
43528
43529         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43530         __feraiseexcept instead of feraiseexcept.
43531
43532         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43533         nanosleep invocations.
43534         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43535         strings, and add error checking for a nanosleep invocations.
43536
43537 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
43538
43539         Replace FSF snail mail address with URLs, as per GNU coding standards.
43540         Most of the snail mail addresses were wrong anyway, and omitting
43541         them makes the source code easier to maintain.  Almost all of the
43542         changes are to license notices and to locale LC_IDENTIFICATION
43543         addresses, except for this one:
43544         * manual/libc.texinfo: In "Published by", give the FSF's URL,
43545         not its snail mail address.
43546
43547 2012-02-09  Richard Henderson  <rth@twiddle.net>
43548
43549         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43550         of kernel-features.h.
43551
43552         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43553
43554 2012-02-08  Marek Polacek  <polacek@redhat.com>
43555
43556         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43557         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43558         * sysdeps/gnu/_G_config.h: Likewise.
43559         * sysdeps/generic/_G_config.h: Likewise.
43560
43561 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
43562
43563         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43564         tests.
43565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43566
43567         * sysdeps/powerpc/powerpc32/crti.S: New file.
43568         * sysdeps/powerpc/powerpc32/crtn.S: New file.
43569         * sysdeps/powerpc/powerpc64/crti.S: New file.
43570         * sysdeps/powerpc/powerpc64/crtn.S: New file.
43571
43572         * Makeconfig (have-initfini): Don't set.
43573         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43574         * configure.in (nopic_initfini): Don't substitute.
43575         * config.h.in (HAVE_INITFINI): Don't #undef.
43576         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43577         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43578
43579 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
43580
43581         Support crti.S and crtn.S provided directly by architectures.
43582         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43583         [crti.S in sysdirs] (omit-deps): Likewise.
43584         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43585         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43586         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43587         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43588         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43589         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43590         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43591         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43592         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43593         compiler output for sysdeps/generic/initfini.c.
43594         * sysdeps/i386/elf/Makefile: Remove file.
43595         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43596
43597 2012-02-07  Marek Polacek  <polacek@redhat.com>
43598
43599         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43600         * sysdeps/gnu/_G_config.h: Likewise.
43601         * sysdeps/mach/hurd/_G_config.h: Likewise.
43602
43603 2012-02-07  Marek Polacek  <polacek@redhat.com>
43604
43605         * math/Makefile (tests): Add tst-CMPLX2.
43606         * math/tst-CMPLX2.c: New file.
43607
43608 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
43609
43610         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43611
43612         * math/libm-test.inc (jn_test): Add missing L suffix.
43613
43614 2012-02-06  Marek Polacek  <polacek@redhat.com>
43615
43616         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43617         * sysdeps/i386/fpu/e_powf.S: Likewise.
43618         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43619         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43620         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43621         * sysdeps/i386/fpu/e_pow.S: Likewise.
43622         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43623         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43624         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43625         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43626         * sysdeps/i386/fpu/e_log2.S: Likewise.
43627         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43628         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43629         * sysdeps/i386/fpu/e_powl.S: Likewise.
43630         * sysdeps/i386/fpu/s_log1p.S: Likewise.
43631         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43632         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43633         * sysdeps/i386/fpu/e_logl.S: Likewise.
43634         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43635         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43636         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43637         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43638         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43639         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43640         * sysdeps/i386/fpu/e_log.S: Likewise.
43641         * sysdeps/i386/fpu/s_cexp.S: Likewise.
43642         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43643         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43644         * sysdeps/i386/fpu/e_logf.S: Likewise.
43645         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43646         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43647         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43648         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43649         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43650         * sysdeps/i386/fpu/e_log10.S: Likewise.
43651         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43652         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43653         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43654         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43655         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43656         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43657         * sysdeps/i386/asm-syntax.h: Likewise.
43658         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43659         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43660         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43661         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43662         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43663         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43664         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43665         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43666         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43667         * sysdeps/powerpc/sysdep.h: Likewise.
43668         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43669         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43670
43671 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
43672
43673         [BZ #411]
43674         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43675
43676 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
43677
43678         * sysdeps/i386/sysdep.h: Include <features.h>.
43679         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43680         version.
43681
43682 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
43683
43684         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43685         Define.
43686         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43687         LOAD_PIC_REG_STR.
43688
43689 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43690
43691         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43692         (SETUP_PIC_REG): Use GET_PC_THUNK.
43693         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43694         macro.
43695
43696 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43697
43698         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43699         for non-PIC compilation.
43700         (SETUP_PIC_REG): Add .p2align directive.
43701         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43702         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43703         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43704         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43705         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43706         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43707         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43708         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43709         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43710         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43711         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43712         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43713         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43714         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43715         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43716         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43717         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43718         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43719         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43720         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43721         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43722         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43723         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43724         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43725         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43726         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43727         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43728         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43729         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43730         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43731         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43732         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43733         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43734         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43735         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43736         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43737         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43738         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43739         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43740         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43741         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43742
43743 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43744
43745         * math/tst-CMPLX.c: Include <stdio.h>.
43746
43747 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
43748
43749         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43750         float.
43751         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43752         * sysdeps/sparc/bits/mathdef.h: Likewise.
43753
43754 2012-01-31  Marek Polacek  <polacek@redhat.com>
43755
43756         * libio/libio.h: Don't define _PARAMS.
43757         * locale/programs/config.h: Don't define PARAMS.
43758         * stdlib/strtol_l.c: Likewise.
43759         (__strtol_l): Remove PARAMS from the prototype.
43760
43761 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
43762
43763         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
43764         names.  Just use the correct names.  Remove unnecessary wrapper
43765         functions.
43766         * malloc/arena.c: Likewise.
43767         * malloc/hooks.c: Likewise.
43768
43769         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43770         ARENA_TEST says not to.  Simplify test for creation of a new arena.
43771         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43772
43773 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
43774
43775         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43776         into tail calls.
43777         (update_get_addr): New function.
43778         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43779         GET_ADDR_MODULE parameter.
43780
43781 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43782
43783         * crypt/cert.c: Remove __STDC__ conditionals.
43784         * crypt/crypt-entry.c: Likewise.
43785         * crypt/crypt_util.c: Likewise.
43786         * libio/filedoalloc.c: Likewise.
43787         * libio/fileops.c: Likewise.
43788         * libio/genops.c: Likewise.
43789         * libio/iofclose.c: Likewise.
43790         * libio/iofdopen.c: Likewise.
43791         * libio/iofopen.c: Likewise.
43792         * libio/iofopen64.c: Likewise.
43793         * libio/iogetdelim.c: Likewise.
43794         * libio/iopopen.c: Likewise.
43795         * libio/obprintf.c: Likewise.
43796         * libio/oldfileops.c: Likewise.
43797         * libio/oldiofclose.c: Likewise.
43798         * libio/oldiofdopen.c: Likewise.
43799         * libio/oldiofopen.c: Likewise.
43800         * libio/oldiopopen.c: Likewise.
43801         * libio/wfiledoalloc.c: Likewise.
43802         * libio/wgenops.c: Likewise.
43803         * locale/programs/xmalloc.c: Likewise.
43804         * misc/syslog.c: Likewise.
43805         * stdio-common/xbug.c: Likewise.
43806         * string/memchr.c: Likewise.
43807         * string/memcmp.c: Likewise.
43808         * string/memrchr.c: Likewise.
43809         * string/rawmemchr.c: Likewise.
43810         * sysdeps/posix/getcwd.c: Likewise.
43811         * time/strftime_l.c: Likewise.
43812
43813 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43814
43815         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43816         * config.make.in (config-cflags-sse2avx): Define.
43817         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43818         Fix typo.
43819
43820 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
43821
43822         * scripts/config.guess: Update from upstream config git repository.
43823         * scripts/config.sub: Likewise.
43824
43825 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
43826
43827         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43828         (EM_NUM): Update.
43829         (R_TILEPRO_*, R_TILEGX_*): New macros.
43830
43831         * scripts/firstversions.awk: Fix bug in version range handling.
43832
43833         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43834
43835         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43836
43837         * include/sys/epoll.h: New file.
43838         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43839         libc_hidden_def.
43840
43841 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
43842
43843         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43844         Avoid unnecessary __WORDSIZE == 64 test.
43845         (fmaxf): Use VEX format if possible.
43846         (fmax): Likewise.
43847         (fminf): Likewise.
43848         (fmin): Likewise.
43849
43850         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43851         * math/math_private.h: Remove libc_fegetround* and
43852         libc_fesetround*.
43853         * sysdeps/i386/configure.in: Check for -msse2avx.
43854         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43855         also if SSE2AVX is defined.
43856         Remove libc_fegetround* and libc_fesetround*.
43857         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43858         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
43859         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43860         of HAS_YMM_USABLE.
43861         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43862         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43863         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43864         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43865         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43866
43867         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43868
43869 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43870
43871         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43872         size is not set.
43873         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43874
43875 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43876
43877         [BZ #13618]
43878         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43879         relocation.
43880         * Makeconfig (libm): Define.
43881         * elf/Makefile: Add rules to build and run tst-relsort1.
43882         * elf/tst-relsort1.c: New file.
43883         * elf/tst-relsort1mod1.c: New file.
43884         * elf/tst-relsort1mod2.c: New file.
43885
43886 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
43887
43888         * math/s_ldexp.c: Remove __STDC__ conditionals.
43889         * math/s_ldexpf.c: Likewise.
43890         * math/s_ldexpl.c: Likewise.
43891         * math/s_nextafter.c: Likewise.
43892         * math/s_nexttowardf.c: Likewise.
43893         * math/s_significand.c: Likewise.
43894         * math/s_significandf.c: Likewise.
43895         * math/s_significandl.c: Likewise.
43896         * math/w_jnl.c: Likewise.
43897         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43898         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43899         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43900         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43901         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43902         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43903         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43904         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43905         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43906         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43907         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43908         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43909         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43910         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43911         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43912         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43913         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43914         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43915         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43916         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43917         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43918         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43919         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43920         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43921         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43922         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43923         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43924         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43925         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43926         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43927         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43928         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43929         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43930         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43931         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43932         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43933         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43934         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43935         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43936         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43937         * sysdeps/ieee754/k_standard.c: Likewise.
43938         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43939         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43940         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43941         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43942         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43943         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43944         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43945         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43946         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43947         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43948         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43949         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43950         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43951         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43952         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43953         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43954         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43955         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43956         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43957         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43958         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43959         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43960         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43961         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43962         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43963         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43964         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43965         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43966         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43967         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43968         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43969         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43970         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43971         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43972         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43973         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43974         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43975         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43976         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43977         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43978         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43979         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43980         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43981         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43982         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43983         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43984         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43985         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43986         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43987         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43988         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43989         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43990         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43991         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43992         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43993         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43994         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43995         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43996         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43997         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43998         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43999         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44000         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44001         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44002         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44003         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44004         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44005         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44006         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44007         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44008         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44009         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44010         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44011         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44012         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44013         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44014         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44015         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44016         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44017         * sysdeps/ieee754/s_matherr.c: Likewise.
44018         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44019         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44020         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44021         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44022
44023 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44024
44025         * crypt/md5.h: Remove __STDC__ conditionals.
44026         * libio/libioP.h: Likewise.
44027         * locale/programs/config.h: Likewise.
44028         * sysdeps/generic/sysdep.h: Likewise.
44029         * sysdeps/i386/asm-syntax.h: Likewise.
44030         * sysdeps/s390/asm-syntax.h: Likewise.
44031         * sysdeps/unix/sysdep.h: Likewise.
44032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44034
44035 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44036
44037         * libio/libio.h: Remove __STDC__ conditionals.
44038         * malloc/obstack.h: Likewise.
44039         * math/complex.h: Likewise.
44040         * math/math.h: Likewise.
44041         * sysdeps/generic/_G_config.h: Likewise.
44042         * sysdeps/gnu/_G_config.h: Likewise.
44043         * sysdeps/mach/hurd/_G_config.h: Likewise.
44044         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44045         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44046         * sysdeps/sparc/bits/mathdef.h: Likewise.
44047
44048 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
44049
44050         [BZ #13583]
44051         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44052         Clean up HAS_* macros.
44053         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44054         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44055         possible.
44056         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44057         HAS_AVX.
44058         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44059         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44060         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44061         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44062         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44063
44064 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
44065
44066         * elf/tst-unique3.cc (gets): Remove declaration.
44067         * elf/tst-unique3lib.cc (gets): Likewise.
44068         * elf/tst-unique3lib2.cc (gets): Likewise.
44069         * elf/tst-unique4.cc (gets): Likewise.
44070
44071 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
44072
44073         * include/stdio.h: Add C++ protection.  Add gets declarations and
44074         definitions.
44075         * debug/tst-chk1.c: Don't declare gets here.
44076         * stdio-common/tst-gets.c: Likewise.
44077
44078 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44079
44080         * posix/glob: Remove directory.
44081
44082 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44083
44084         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44085
44086 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
44087
44088         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44089         of the non-standard EPFNOSUPPORT.
44090
44091 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44092
44093         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44094         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44095         ANYWHERE set to 1 only on KERN_NO_SPACE error.
44096
44097 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
44098
44099         * wcsmbs/uchar.h: Test __STDC_VERSION__.
44100
44101 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
44102
44103         * nscd/aicache.c (addhstaiX): Do not cache negative results of
44104         transient errors.
44105         * nscd/grpcache.c (cache_addgr): Likewise.
44106         * nscd/hstcache.c (cache_addhst): Likewise.
44107         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44108         * nscd/pwdcache.c (cache_addpw): Likewise.
44109         * nscd/servicescache.c (cache_addserv): Likewise.
44110
44111 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
44112
44113         * malloc/malloc.c: Various cleanups.
44114         * malloc/hooks.c: Likewise.
44115
44116         * stdlib/Makefile (tests): Add bug-fmtmsg1.
44117         * stdlib/bug-fmtmsg1.c: New file.
44118
44119         * stdlib/fmtmsg.c (init): Add missing unlock.
44120         Patch by Peng Haitao <penght@cn.fujitsu.com>.
44121
44122 2012-01-12  Marek Polacek  <polacek@redhat.com>
44123
44124         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44125         and _GNU_SOURCE.
44126
44127 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44128
44129         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44130         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44131         macro to ensure uniqueness of label name.
44132         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44133         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44134
44135 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
44136
44137         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44138
44139         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44140         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44141         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44142         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44143
44144 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
44145
44146         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44147
44148         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44149         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44150         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44151
44152         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44153
44154         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44155         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44156         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44157         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44158
44159         * math/bits/math-finite.h: Add ldexp support.
44160
44161 2012-01-10  Marek Polacek  <polacek@redhat.com>
44162
44163         * locale/programs/localedef.h (show_archive_content): Add noreturn
44164         attribute.
44165
44166 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
44167
44168         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44169
44170 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44171
44172         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44173
44174         * io/Makefile (headers): Add bits/poll2.h.
44175
44176 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
44177
44178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44179         typo #include statement.
44180
44181 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44182
44183         * include/sys/cdefs.h: Define __attribute_alloc_size.
44184         * catgets/gencat.c: Add alloc_size attribute and apply consistently
44185         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44186         * elf/pldd.c: Likewise.
44187         * iconv/iconv_charmap.c: Likewise.
44188         * iconv/iconvconfig.c: Likewise.
44189         * iconv/strtab.c: Likewise.
44190         * locale/programs/locale.c: Likewise.
44191         * locale/programs/localedef.h: Likewise.
44192         * locale/programs/simple-hash.c: Likewise.
44193         * nscd/nscd.h: Likewise.
44194         * nss/makedb.c: Likewise.
44195         * sysdeps/generic/ldconfig.h: Likewise.
44196         * locale/programs/localedef.c: Remove xmalloc prototype.
44197         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44198
44199 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44200
44201         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44202         appropriate.
44203
44204 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44205
44206         * math/Makefile (tests): Add tst-CMPLX.
44207         * math/tst-CMPLX.c: New file.
44208
44209         * math/complex.h (CMPLXL): Fix typo.
44210
44211         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44212         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44213         GLIBC_2.16.
44214         * debug/tst-chk1.c: Add poll and ppoll tests.
44215         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44216         * include/sys/poll.h: Add hidden proto for ppoll.
44217         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44218         * sysdeps/mach/hurd/ppoll.c: Likewise.
44219         * io/ppoll.c: Likewise.
44220         * debug/poll_chk.c: New file.
44221         * debug/ppoll_chk.c: New file.
44222         * include/bits/poll2.h: New file.
44223         * io/bits/poll2.h: New file.
44224
44225         [BZ #1350]
44226         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44227
44228         * configure.in: static is always set to yes.  Remove.
44229         * config.make.in: Don't set build-static.
44230         * Makeconfig: Remove use of build-static.
44231         * dlfcn/Makefile: Likewise.
44232         * elf/Makefile: Likewise.
44233         * math/Makefile: Likewise.
44234         * misc/Makefile: Likewise.
44235         * nptl/Makefile: Likewise.
44236         * sysdeps/mach/hurd/Makefile: Likewise.
44237
44238         * configure.in: PWD_P is not used anymore.
44239         * config.make.in: Remove PWD_P entry.
44240
44241         * configure.in: Remove last remnants of RANLIB.
44242         No need to check for signed size_t anymore.
44243         Don't set libc_commonpagesize and libc_relro_required here for Alpha
44244         and IA-64.
44245         Remove __builtin_expect test because we require at least gcc 3.4.
44246         * aclocal.m4: Likewise.
44247
44248         * wcsmbs/mbrtoc16.c: Implement using towc function.
44249         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44250         * wcsmbs/wcsmbsload.c: Likewise.
44251         * iconv/gconv_simple.c: Likewise.
44252         * iconv/gconv_int.h: Likewise.
44253         * iconv/gconv_builtin.h: Likewise.
44254         * iconv/iconv_prog.c: Remove CHAR16 handling.
44255
44256         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44257
44258         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44259
44260         * configure.in: Remove --with-elf and --enable-bounded options.
44261         Dont set base_machine for ia64.  More non-ELF conditions removed.
44262         Remove testing and setting of leading underscore information.
44263         * config.make.in (build-bounded): Set to no.
44264         * config.h.in: Remove NO_UNDERSCORES entry.
44265         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
44266         them.
44267         * csu/start.c: Remove !NO_UNDERSCORE code.
44268         * locale/localeinfo.h: Likewise.
44269         * sysdeps/generic/machine-gmon.h: Likewise.
44270         * sysdeps/generic/sysdep.h: Likewise.
44271         * sysdeps/i386/sysdep.h: Likewise.
44272         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44273         * sysdeps/mach/sysdep.h: Likewise.
44274         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44275         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44276         * sysdeps/sh/sysdep.h: Likewise.
44277         * sysdeps/sparc/sparc32/alloca.S: Likewise.
44278         * sysdeps/unix/i386/sysdep.S: Likewise.
44279         * sysdeps/unix/sparc/start.c: Likewise.
44280         * sysdeps/unix/sparc/sysdep.S: Likewise.
44281         * sysdeps/unix/sparc/sysdep.h: Likewise.
44282         * sysdeps/unix/start.c: Likewise.
44283         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44284         * sysdeps/x86_64/sysdep.h: Likewise.
44285
44286 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
44287
44288         [BZ #13553]
44289         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44290         for non-gcc.
44291         * argp/argp-fmtstream.h: Use const instead __const.
44292         * argp/argp.h: Likewise.
44293         * assert/assert.h: Likewise.
44294         * bits/fenv.h: Likewise.
44295         * bits/sched.h: Likewise.
44296         * bits/sigset.h: Likewise.
44297         * bits/sigthread.h: Likewise.
44298         * catgets/nl_types.h: Likewise.
44299         * conform/data/pthread.h-data: Likewise.
44300         * crypt/crypt-private.h: Likewise.
44301         * crypt/crypt.h: Likewise.
44302         * crypt/crypt_util.c: Likewise.
44303         * ctype/ctype.h: Likewise.
44304         * debug/execinfo.h: Likewise.
44305         * debug/mbsnrtowcs_chk.c: Likewise.
44306         * debug/mbsrtowcs_chk.c: Likewise.
44307         * debug/wcsnrtombs_chk.c: Likewise.
44308         * debug/wcsrtombs_chk.c: Likewise.
44309         * debug/wcstombs_chk.c: Likewise.
44310         * dirent/dirent.h: Likewise.
44311         * dlfcn/dlfcn.h: Likewise.
44312         * elf/neededtest4.c: Likewise.
44313         * grp/grp.h: Likewise.
44314         * gshadow/gshadow.h: Likewise.
44315         * iconv/gconv.h: Likewise.
44316         * iconv/gconv_int.h: Likewise.
44317         * iconv/gconv_simple.c: Likewise.
44318         * iconv/iconv.h: Likewise.
44319         * iconv/loop.c: Likewise.
44320         * iconv/skeleton.c: Likewise.
44321         * include/aio.h: Likewise.
44322         * include/aliases.h: Likewise.
44323         * include/argz.h: Likewise.
44324         * include/arpa/inet.h: Likewise.
44325         * include/assert.h: Likewise.
44326         * include/dirent.h: Likewise.
44327         * include/dlfcn.h: Likewise.
44328         * include/execinfo.h: Likewise.
44329         * include/fcntl.h: Likewise.
44330         * include/fenv.h: Likewise.
44331         * include/glob.h: Likewise.
44332         * include/grp.h: Likewise.
44333         * include/libintl.h: Likewise.
44334         * include/mntent.h: Likewise.
44335         * include/netdb.h: Likewise.
44336         * include/pwd.h: Likewise.
44337         * include/rpc/netdb.h: Likewise.
44338         * include/sched.h: Likewise.
44339         * include/search.h: Likewise.
44340         * include/shadow.h: Likewise.
44341         * include/signal.h: Likewise.
44342         * include/stdio.h: Likewise.
44343         * include/stdlib.h: Likewise.
44344         * include/string.h: Likewise.
44345         * include/sys/socket.h: Likewise.
44346         * include/sys/stat.h: Likewise.
44347         * include/sys/statfs.h: Likewise.
44348         * include/sys/statvfs.h: Likewise.
44349         * include/sys/syslog.h: Likewise.
44350         * include/sys/time.h: Likewise.
44351         * include/sys/uio.h: Likewise.
44352         * include/time.h: Likewise.
44353         * include/unistd.h: Likewise.
44354         * include/utmp.h: Likewise.
44355         * include/wchar.h: Likewise.
44356         * include/wctype.h: Likewise.
44357         * inet/aliases.h: Likewise.
44358         * inet/arpa/inet.h: Likewise.
44359         * inet/netinet/ether.h: Likewise.
44360         * inet/netinet/in.h: Likewise.
44361         * intl/libintl.h: Likewise.
44362         * io/bits/fcntl2.h: Likewise.
44363         * io/fcntl.h: Likewise.
44364         * io/ftw.h: Likewise.
44365         * io/sys/poll.h: Likewise.
44366         * io/sys/stat.h: Likewise.
44367         * io/sys/statfs.h: Likewise.
44368         * io/sys/statvfs.h: Likewise.
44369         * io/utime.h: Likewise.
44370         * libio/bits/stdio.h: Likewise.
44371         * libio/bits/stdio2.h: Likewise.
44372         * libio/libio.h: Likewise.
44373         * libio/libioP.h: Likewise.
44374         * libio/stdio.h: Likewise.
44375         * locale/lc-ctype.c: Likewise.
44376         * locale/locale.h: Likewise.
44377         * login/utmp.h: Likewise.
44378         * malloc/arena.c: Likewise.
44379         * malloc/malloc.c: Likewise.
44380         * malloc/malloc.h: Likewise.
44381         * malloc/mcheck.c: Likewise.
44382         * malloc/mtrace.c: Likewise.
44383         * math/bits/mathcalls.h: Likewise.
44384         * math/fenv.h: Likewise.
44385         * math/math_private.h: Likewise.
44386         * misc/bits/error.h: Likewise.
44387         * misc/bits/syslog.h: Likewise.
44388         * misc/err.h: Likewise.
44389         * misc/error.h: Likewise.
44390         * misc/fstab.h: Likewise.
44391         * misc/mntent.h: Likewise.
44392         * misc/regexp.h: Likewise.
44393         * misc/search.h: Likewise.
44394         * misc/sgtty.h: Likewise.
44395         * misc/sys/mman.h: Likewise.
44396         * misc/sys/syslog.h: Likewise.
44397         * misc/sys/uio.h: Likewise.
44398         * misc/sys/xattr.h: Likewise.
44399         * misc/ttyent.h: Likewise.
44400         * nis/rpcsvc/ypclnt.h: Likewise.
44401         * nss/nss.h: Likewise.
44402         * posix/bits/unistd.h: Likewise.
44403         * posix/fnmatch.h: Likewise.
44404         * posix/glob.h: Likewise.
44405         * posix/sched.h: Likewise.
44406         * posix/spawn.h: Likewise.
44407         * posix/sys/wait.h: Likewise.
44408         * posix/unistd.h: Likewise.
44409         * posix/wordexp.h: Likewise.
44410         * pwd/pwd.h: Likewise.
44411         * resolv/netdb.h: Likewise.
44412         * resource/sys/resource.h: Likewise.
44413         * rt/aio.h: Likewise.
44414         * rt/bits/mqueue2.h: Likewise.
44415         * rt/mqueue.h: Likewise.
44416         * shadow/shadow.h: Likewise.
44417         * signal/signal.h: Likewise.
44418         * socket/send.c: Likewise.
44419         * socket/sendto.c: Likewise.
44420         * socket/sys/socket.h: Likewise.
44421         * stdio-common/printf.h: Likewise.
44422         * stdlib/bits/stdlib.h: Likewise.
44423         * stdlib/fmtmsg.h: Likewise.
44424         * stdlib/monetary.h: Likewise.
44425         * stdlib/stdlib.h: Likewise.
44426         * stdlib/ucontext.h: Likewise.
44427         * streams/stropts.h: Likewise.
44428         * string/argz.h: Likewise.
44429         * string/bits/string2.h: Likewise.
44430         * string/string.h: Likewise.
44431         * string/strings.h: Likewise.
44432         * sunrpc/rpc/auth.h: Likewise.
44433         * sunrpc/rpc/auth_des.h: Likewise.
44434         * sunrpc/rpc/clnt.h: Likewise.
44435         * sunrpc/rpc/netdb.h: Likewise.
44436         * sunrpc/rpc/pmap_clnt.h: Likewise.
44437         * sunrpc/rpc/xdr.h: Likewise.
44438         * sysdeps/generic/inttypes.h: Likewise.
44439         * sysdeps/generic/net/if.h: Likewise.
44440         * sysdeps/generic/sys/swap.h: Likewise.
44441         * sysdeps/gnu/net/if.h: Likewise.
44442         * sysdeps/gnu/utmpx.h: Likewise.
44443         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44444         * sysdeps/i386/i486/bits/string.h: Likewise.
44445         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44446         * sysdeps/s390/bits/string.h: Likewise.
44447         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44448         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44449         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44450         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44451         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44452         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44453         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44454         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44455         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44456         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44457         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44458         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44459         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44460         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44461         * sysdeps/unix/sysv/linux/readv.c: Likewise.
44462         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44463         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44464         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44465         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44466         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44467         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44468         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44469         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44470         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44471         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44472         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44473         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44474         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44475         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44476         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44477         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44478         * sysvipc/sys/ipc.h: Likewise.
44479         * sysvipc/sys/msg.h: Likewise.
44480         * sysvipc/sys/sem.h: Likewise.
44481         * sysvipc/sys/shm.h: Likewise.
44482         * termios/termios.h: Likewise.
44483         * time/sys/time.h: Likewise.
44484         * time/time.h: Likewise.
44485         * wcsmbs/bits/wchar2.h: Likewise.
44486         * wcsmbs/uchar.h: Likewise.
44487         * wcsmbs/wchar.h: Likewise.
44488         * wctype/wctype.h: Likewise.
44489
44490         [BZ #13551]
44491         * Makeconfig: Remove all but ELF support including AIX support.
44492         * Makerules: Likewise.
44493         * config.h.in: Likewise.
44494         * config.make.in: Likewise.
44495         * configure: Likewise.
44496         * configure.in: Likewise.
44497         * csu/Makefile: Likewise.
44498         * csu/version.c: Likewise.
44499         * debug/Makefile: Likewise.
44500         * dlfcn/Makefile: Likewise.
44501         * elf/Makefile: Likewise.
44502         * extra-lib.mk: Likewise.
44503         * iconv/Makefile: Likewise.
44504         * include/libc-symbols.h: Likewise.
44505         * include/shlib-compat.h: Likewise.
44506         * resolv/Makefile: Likewise.
44507         * resolv/res_libc.c: Likewise.
44508         * rt/Makefile: Likewise.
44509         * sysdeps/i386/asm-syntax.h: Likewise.
44510         * sysdeps/i386/sysdep.h: Likewise.
44511         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44512         * sysdeps/mach/sysdep.h: Likewise.
44513         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44514         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44515         * sysdeps/s390/asm-syntax.h: Likewise.
44516         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44517         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44518         * sysdeps/sh/sysdep.h: Likewise.
44519         * sysdeps/unix/sparc/sysdep.h: Likewise.
44520         * sysdeps/wordsize-32/divdi3.c: Likewise.
44521         * sysdeps/x86_64/sysdep.h: Likewise.
44522
44523         * argp/Versions: Remove _argp_unlock_xxx.
44524
44525         [BZ #13559]
44526         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
44527         * abilist/libBrokenLocale.abilist: Likewise.
44528         * abilist/libanl.abilist: Likewise.
44529         * abilist/libc.abilist: Likewise.
44530         * abilist/libcrypt.abilist: Likewise.
44531         * abilist/libdl.abilist: Likewise.
44532         * abilist/libm.abilist: Likewise.
44533         * abilist/libnsl.abilist: Likewise.
44534         * abilist/libpthread.abilist: Likewise.
44535         * abilist/libresolv.abilist: Likewise.
44536         * abilist/librt.abilist: Likewise.
44537         * abilist/libthread_db.abilist: Likewise.
44538         * abilist/libutil.abilist: Likewise.
44539         * abilist/libnss_db.abilist: New file.
44540
44541         * scripts/abilist.awk: Add support for indirect functions.
44542
44543         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44544
44545         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44546
44547         * shlib-versions: Remove entries for ports architectures.
44548
44549         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
44550         files in ports.
44551         * elf/stackguard-macros.h: Remove support for IA-64.
44552         * elf/tst-auditmod1.c: Likewise.
44553         * sysdeps/generic/ldsodefs.h: Likewise.
44554
44555         * sysdeps/unix/sysv/linux/configure.in: Ports should define
44556         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44557         configure files.
44558
44559         [BZ #13552]
44560         * configure.in: Remove --enable-omitfp support.
44561         * FAQ.in: Adjust.
44562         * config.make.in: Likewise.
44563         * Makeconfig: Likewise.
44564         * manual/install.texi: Likewise.
44565
44566         In case anyone cares, the IA-64 architecture could move to ports.
44567         * sysdeps/ia64/*: Removed.
44568         * sysdeps/unix/sysv/linux/ia64/*: Removed.
44569         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44570
44571         [BZ #13555]
44572         * configure.in: Remove entries for unsupported architectures.
44573
44574         [BZ #13533]
44575         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44576         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
44577         routines.
44578         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44579         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44580         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
44581         fall back to using wcrtomb.
44582         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44583         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
44584         renaming.
44585         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44586         * wcsmbs/tst-c16c32-1.c: New file.
44587
44588         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44589         local variable.
44590
44591         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44592
44593         * elf/tst-unique3.cc: Add explicit declaration of gets.
44594         * elf/tst-unique3lib.cc: Likewise.
44595         * elf/tst-unique3lib2.cc: Likewise.
44596         * elf/tst-unique4.cc: Likewise.
44597
44598         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44599
44600 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
44601
44602         [BZ #13566]
44603         * assert/assert.h (static_assert): Don't define for C++.
44604         * libio/stdio.h (gets): Do declare for C++ <= C++11.
44605         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44606
44607 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
44608
44609         * iconv/loop.c (single loop): Fix assertion in storing of
44610         remaining bytes.
44611
44612         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44613
44614 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
44615
44616         * posix/getconf.c: Update copyright year.
44617         * nss/getent.c: Likewise.
44618         * nss/makedb.c: Likewise.
44619         * iconv/iconvconfig.c: Likewise.
44620         * iconv/iconv_prog.c: Likewise.
44621         * elf/ldconfig.c: Likewise.
44622         * elf/pldd.c: Likewise.
44623         * elf/sotruss.ksh: Likewise.
44624         * catgets/gencat.c: Likewise.
44625         * csu/version.c: Likewise.
44626         * elf/ldd.bash.in: Likewise.
44627         * elf/sprof.c (print_version): Likewise.
44628         * locale/programs/locale.c: Likewise.
44629         * locale/programs/localedef.c: Likewise.
44630         * login/programs/pt_chown.c: Likewise.
44631         * nscd/nscd.c (print_version): Likewise.
44632         * debug/xtrace.sh: Likewise.
44633         * malloc/memusage.sh: Likewise.
44634         * malloc/mtrace.pl: Likewise.
44635         * debug/catchsegv.sh: Likewise.
44636
44637 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
44638
44639         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44640         pure attribute.
44641
44642 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
44643
44644         [BZ #13533]
44645         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44646         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44647         transformations.
44648         * iconv/gconv_int.h: Likewise.
44649         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44650         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44651         from libc for GLIBC_2.16.
44652         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44653         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44654         * wcsmbs/uchar.h: Really define mbstate_t.
44655         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44656         * wcsmbs/c16rtomb.c: New file.
44657         * wcsmbs/mbrtoc16.c: New file.
44658         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44659         for C/POSIX locale.
44660         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44661         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44662
44663         * wcsmbs/wchar.h: Add missing __restrict.
44664
44665 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44666
44667         [BZ #13532]
44668         * time/Makefile (routines): Add timespec_get.
44669         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44670         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
44671         timespec for ISO C11.
44672         * time/timespec_get.c: New file.
44673         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44674         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44675
44676         [BZ #13531]
44677         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44678         * stdlib/stdlib.h: Declare aligned_alloc.
44679         * Versions.def: Add GLIBC_2.16 for libc.
44680         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44681
44682         [BZ 13527]
44683         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44684         ISO C11.
44685
44686         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
44687         code.
44688
44689         [BZ #13528]
44690         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44691
44692         [BZ #13529]
44693         * assert/assert.h (static_assert): Define.
44694
44695         * version.h: Update for 2.16 development version.
44696
44697         [BZ #13526]
44698         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44699         _ISOC11_SOURCE.
44700
44701         * version.h (RELEASE): Bump for 2.15 release.
44702         * include/features.h (__GLIBC_MINOR__): Bump to 15.
44703
44704         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44705         Patch by Marek Polacek <mpolacek@redhat.com>.
44706
44707         * bits/byteswap.h: Protect long long constants with __extension__.
44708         * sysdeps/i386/bits/byteswap.h: Likewise.
44709         * sysdeps/ia64/bits/byteswap.h: Likewise.
44710         * sysdeps/s390/bits/byteswap.h: Likewise.
44711         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44712
44713 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44714
44715         [BZ #13540]
44716         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44717         destination buffer.
44718         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44719
44720 2011-12-23  Marek Polacek  <polacek@redhat.com>
44721
44722         * elf/dl-addr.c (determine_info): Add inline keyword.
44723         * elf/tst-auditmod4b.c (check_avx): Likewise.
44724         * elf/tst-auditmod6b.c (check_avx): Likewise.
44725         * elf/tst-auditmod6c.c (check_avx): Likewise.
44726         * elf/tst-auditmod7b.c (check_avx): Likewise.
44727
44728 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44729
44730         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44731         !__SSE_MATH__.
44732
44733 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44734
44735         [BZ #13540]
44736         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44737         processing for last bytes.
44738
44739 2011-08-06  Bruno Haible  <bruno@clisp.org>
44740
44741         [BZ #13061]
44742         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44743         U+0385, not to U+1FEE.
44744
44745         [BZ #13062]
44746         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44747         entry for U+00A5 U+0301.
44748
44749 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44750
44751         [BZ #13166]
44752         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44753         buffer for the output is too small.
44754
44755         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44756         optimization.
44757
44758         [BZ #13185]
44759         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44760         SSE flags if possible.
44761
44762 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44763
44764         [BZ #13540]
44765         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44766         processing for last bytes.
44767
44768 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
44769
44770         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44771         (syscall-list-default-options, syscall-list-default-condition)
44772         (syscall-list-includes): Define.
44773         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44774         list of ABIs and options and #if conditions for each ABI.  Do not
44775         handle common syscalls between ABIs specially.
44776         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44777         Remove.
44778         (syscall-list-variants, syscall-list-32bit-options)
44779         (syscall-list-32bit-condition, syscall-list-64bit-options)
44780         (syscall-list-64bit-condition): Define.
44781         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44782         (syscall-list-variants, syscall-list-32bit-options)
44783         (syscall-list-32bit-condition, syscall-list-64bit-options)
44784         (syscall-list-64bit-condition): Define.
44785         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44786         Remove.
44787         (syscall-list-variants, syscall-list-32bit-options)
44788         (syscall-list-32bit-condition, syscall-list-64bit-options)
44789         (syscall-list-64bit-condition): Define.
44790         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44791         Remove.
44792         (syscall-list-variants, syscall-list-32bit-options)
44793         (syscall-list-32bit-condition, syscall-list-64bit-options)
44794         (syscall-list-64bit-condition): Define.
44795
44796 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44797
44798         * locale/iso-639.def: Add brx entry.
44799
44800         [BZ #13328]
44801         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44802         Proposed by Mariusz_Cukr <marcukr@op.pl>.
44803
44804         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44805         __feraiseexcept_renamed.
44806
44807 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44808
44809         [BZ #13538]
44810         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44811         EPOLLET with unsigned values.
44812         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44813         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44814
44815         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44816         to large cancellation.
44817         * math/s_cacoshf.c: Likewise.
44818         * math/s_cacoshl.c: Likewise.
44819
44820 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
44821
44822         [BZ #13305]
44823         [BZ #12786]
44824         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44825         * math/s_cacoshf.c: Likewise.
44826         * math/s_cacoshl.c: Likewise.
44827
44828 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44829
44830         [BZ #13439]
44831         * iconv/gconv.h: Define __GCONV_SWAP.
44832         * iconvdata/unicode.c: The swap bit must be stored in __flags.
44833         * iconvdata/utf-16.c: Likewise.
44834         * iconvdata/utf-32.c: Likewise.
44835
44836 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
44837
44838         [BZ #13524]
44839         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44840         numerator after shifting it by one limb.
44841
44842 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
44843
44844         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44845         under [__USE_EXTERN_INLINES].
44846
44847 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44848
44849         [BZ #13446]
44850         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44851
44852 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44853
44854         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44855         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44856         optimized code.
44857         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44858         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44859         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44860         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44861         for strncasecmp/strncasecmp_l compilation.
44862         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44863         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44864
44865 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
44866
44867         [BZ #13484]
44868         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44869         of __asm__.
44870
44871 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44872
44873         [BZ #13506]
44874         * time/tzfile.c (__tzfile_read): Check values from file header.
44875
44876 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44877
44878         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44879         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44880         * powerpc/powerpc32/dl-start.S: Likewise.
44881         * powerpc/powerpc32/elf/start.S: Likewise.
44882         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44883         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44884         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44885         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44886         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44887         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44888         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44889         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44890         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44891         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44892         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44893         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44894         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44895         * powerpc/powerpc32/memset.S: Likewise.
44896         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44897         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44898         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44899         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44900         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44901         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44902         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44903         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44904         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44905         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44906         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44907         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44908         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44909
44910 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44911
44912         * math/libm-test.inc: Added more nearbyint tests.
44913         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44914         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44915         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44916         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44917
44918 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44919
44920         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44921         FD_CLOEXEC.
44922
44923 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44924
44925         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44926         Add wcscpy-ssse3 wcscpy-c.
44927         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44928         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44929         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44930         * sysdeps/x86_64/wcschr.S: New file.
44931         * sysdeps/x86_64/wcsrchr.S: New file.
44932         * string/test-strcmp.c: Remove checking of wcscmp function for
44933         wrong alignments.
44934         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44935         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44936         wcsrchr-sse2 wcsrchr-c.
44937         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44938         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44939         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44940         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44941         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44942         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44943         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44944         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44945         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44946         * wcsmbc/wcschr.c (WCSCHR): New macro.
44947
44948 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44949
44950         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44951         * wcsmbs/test-wcsrchr.c: New file.
44952         * string/test-strrchr.c: Add wcsrchr support.
44953         (WIDE): New macro.
44954         * wcsmbs/test-wcscpy.c: New file.
44955         * string/test-strcpy.c: Add wcscpy support.
44956         (WIDE): New macro.
44957
44958 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44959
44960         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44961         the inner loop.
44962
44963 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44964
44965         [BZ #13472]
44966         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44967
44968 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44969
44970         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44971         Minor optimizations.
44972
44973         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44974         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44975         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44976
44977 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44978
44979         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44980         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44981         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44982         for gcc to avoid warnings.
44983         * inet/Makefile (tests): Add tst-checks.
44984         * inet/tst-checks.c: New file.
44985
44986         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44987         warning.
44988
44989         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44990         __wmemcmp_sse2.
44991
44992         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44993         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44994
44995         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44996
44997 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44998
44999         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45000         problem.
45001
45002         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45003
45004 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
45005
45006         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45007         conditional on GCC version.
45008         (__arch_compare_and_exchange_val_8_acq)
45009         (__arch_compare_and_exchange_val_16_acq)
45010         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45011         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45012         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45013
45014 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
45015
45016         * sysdeps/sh/backtrace.c: New file.
45017
45018 2011-12-02  Andreas Schwab  <schwab@redhat.com>
45019
45020         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
45021         parenthesis.
45022
45023 2011-12-01  Andreas Schwab  <schwab@redhat.com>
45024
45025         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45026         falling back to utime.
45027
45028 2011-11-30  Andreas Schwab  <schwab@redhat.com>
45029
45030         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45031         expectations for float.
45032
45033 2011-11-29  Andreas Schwab  <schwab@redhat.com>
45034
45035         * locale/weight.h (findidx): Add parameter len.
45036         * locale/weightwc.h (findidx): Likewise.
45037         * posix/fnmatch_loop.c (FCT): Adjust caller.
45038         * posix/regcomp.c (build_equiv_class): Likewise.
45039         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45040         * posix/regexec.c (check_node_accept_bytes): Likewise.
45041         * string/strcoll_l.c (STRCOLL): Likewise.
45042         * string/strxfrm_l.c (STRXFRM): Likewise.
45043
45044 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
45045
45046         * Makefile.in: Remove CVSOPT handling.
45047         * configure.in: Remove use of AC_REVISION.
45048         * iconvdata/Makefile (distribute): No need to filter out CVS.
45049         * scripts/list-sources.sh: Remove CVS, subversion and monotone
45050         handling.
45051
45052 2011-11-16  Andreas Schwab  <schwab@redhat.com>
45053
45054         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45055         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45056         [USE_AS_STRNCASECMP_L]: Likewise.
45057         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45058         NO_TLS_DIRECT_SEG_REFS.
45059         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45060         Fix argument offsets for non-PIC.
45061         [USE_AS_STRNCASECMP_L]: Likewise.
45062         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45063         NO_TLS_DIRECT_SEG_REFS.
45064
45065 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45066
45067         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45068         O_CLOEXEC.
45069         * locale/loadlocale.c (_nl_load_locale): Likewise.
45070
45071 2011-11-15  Andreas Schwab  <schwab@redhat.com>
45072
45073         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45074         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45075         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45076         (SYSCALL_GETTIME): Set errno on error.
45077
45078         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45079         count references to noai6ai_cached.
45080
45081 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45082
45083         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45084
45085         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45086         FD_CLOEXEC for /proc/self/maps.
45087
45088         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45089         FD_CLOEXEC for /proc/meminfo.
45090
45091         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45092         gai.conf.
45093
45094         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
45095         FD_CLOEXEC for given file.
45096
45097         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45098
45099         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45100         FD_CLOEXEC for /etc/hosts.
45101         (_gethtent): Likewise.
45102
45103         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45104
45105         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45106         cancellation and set FD_CLOEXEC for /etc/netgroup.
45107
45108         * nss/nss_files/files-key.c (search): Don't allow cancellation when
45109         reading /etc/publickey.
45110
45111         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45112         allow cancellation when reading /etc/group.
45113
45114         * nss/nss_files/files-alias.c (internal_setent): Don't allow
45115         cancellation.
45116         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
45117
45118         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45119         when using data file.
45120
45121         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45122
45123         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45124         (write_nis_obj): Use "c" and "e" in fopen.
45125
45126         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45127
45128         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45129
45130         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45131
45132         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45133
45134         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45135         locale.alias.
45136
45137         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45138
45139         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45140
45141         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45142
45143         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45144         file parsing and set FD_CLOEXEC.
45145
45146 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45147
45148         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45149
45150 2011-11-14  Andreas Schwab  <schwab@redhat.com>
45151
45152         * malloc/arena.c (arena_get2): Don't call reused_arena when
45153         _int_new_arena failed.
45154
45155 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45156
45157         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45158         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45159         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45160         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45161         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45162         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45163         to compile strcasecmp and strncasecmp.
45164         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45165         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45166
45167         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45168
45169 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
45170
45171         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45172         locale-defines.sym to gen-as-const-headers.
45173         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45174         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45175         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45176         to compile strcasecmp and strncasecmp.
45177         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45178         strcasecmp_l and strncasecmp_l.
45179         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45180         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45181         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45182         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45183         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45184         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45185         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45186         * sysdeps/i386/i686/multiarch/strncase.S: New file.
45187         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45188         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45189         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45190
45191 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
45192
45193         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45194         result of SYSDEP_GETTIME_CPU to retval.
45195         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45196         parameter list to macro.  Remove trailing semicolon.  Adjust users.
45197
45198         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45199         variable.
45200
45201         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45202         mantissa words.
45203         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45204
45205         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45206         from unused variable.
45207
45208         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45209         DWARF definitions.
45210         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45211         for assembling.
45212
45213         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45214         over namespaces.
45215
45216         * sunrpc/rpc_prot.c (rejected): Fix case value.
45217
45218         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45219         unsigned long long int to avoid warnings in shift.
45220
45221         * posix/regex_internal.c (re_string_reconstruct): Actually use result
45222         of use of trans.
45223         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45224         variable tmp.
45225
45226         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45227         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45228         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45229
45230         * nis/nis_table.c (nis_list): Use variable of correct type for
45231         result of __follow_path call.
45232
45233 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45234
45235         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45236         of math functions ceil, trunc, floor, round, and sqrt, when
45237         avaliable on the platform.
45238         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45239         name clash.
45240         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45241         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45242         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45243
45244 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
45245
45246         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45247         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45248
45249 2011-11-11  Roland McGrath  <roland@hack.frob.com>
45250
45251         * include/unistd.h: Fix __readlink return type.
45252         Reported by Chris Metcalf <cmetcalf@tilera.com>.
45253
45254 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
45255
45256         * stdlib/ucontext.h: Undo last change for makecontext.
45257
45258 2011-11-11  Andreas Schwab  <schwab@redhat.com>
45259
45260         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45261
45262         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45263         * setjmp/setjmp.h: Mark functions as non-leaf.
45264         * setjmp/bits/setjmp2.h: Likewise.
45265         * stdlib/ucontext.h: Likewise.
45266
45267 2011-11-10  Andreas Schwab  <schwab@redhat.com>
45268
45269         * malloc/arena.c (_int_new_arena): Don't increment narenas.
45270         (reused_arena): Don't check arena limit.
45271         (arena_get2): Atomically check arena limit.
45272
45273 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
45274
45275         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45276         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45277
45278         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45279         instructions.
45280
45281 2011-11-07  Andreas Schwab  <schwab@redhat.com>
45282
45283         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45284         handler when locking.
45285
45286         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45287         Fix size of allocated buffer.
45288
45289 2011-11-04  Andreas Schwab  <schwab@redhat.com>
45290
45291         [BZ #10103]
45292         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45293         declarations for long double functions.
45294         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45295
45296         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45297
45298 2011-11-03  Andreas Schwab  <schwab@redhat.com>
45299
45300         * nscd/nscd.c (main): Don't start AVC thread until credentials are
45301         installed.
45302
45303         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45304         is disabled.
45305
45306 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45307
45308         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45309
45310 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45311
45312         * include/alloca.h (stackinfo_alloca_round): Define.
45313         (extend_alloca): Use it.
45314         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45315         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45316         here.
45317
45318         * scripts/check-local-headers.sh: Ignore libaudit.h.
45319
45320         * nscd/Makefile (extra-objs): Make recursively expanded.
45321
45322 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
45323
45324         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45325         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45326
45327         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45328         * posix/tst-rfc3484-2.c: Likewise.
45329         * posix/tst-rfc3484-3.c: Likewise.
45330
45331         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45332         process_vm_writev.
45333         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45334         process_vm_writev.
45335         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45336         process_vm_writev from libc using GLIBC_2.15 version.
45337
45338         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45339
45340 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
45341
45342         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45343         stack usage.
45344
45345 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
45346
45347         [BZ #13367]
45348         * nss/getent.c (initgroups_keys): Show error message in case no group
45349         names are given.
45350
45351         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45352         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45353         __bump_nl_timestamp.
45354         * nscd/connections (nscd_init): When host database is served open
45355         netlink socket and request notification about configuration changes.
45356         (main_loop_poll): Track netlink file descriptor and bump timestamp
45357         in case data becomes available.
45358         (main_loop_epoll): Likewise.
45359         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45360         (database_pers_head): Add extra_data fileds.
45361         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45362         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45363         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45364         Adjust caller.
45365         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45366         in6ai data, call __free_in6ai.
45367         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45368         Add -DHAVE_NETLINK.
45369         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
45370         interface information.  Reuse previous data if netlink timestamp
45371         is not changed.
45372         (__bump_nl_timestamp): New function.
45373         (__free_in6ai): New function.
45374
45375 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
45376
45377         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45378         close_not_cancel_no_status here.
45379         (__check_pf): Reorganize code a bit to not call close twice if OOM.
45380
45381 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45382
45383         [BZ #13276]
45384         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45385         return value.
45386
45387         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45388         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45389         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45390
45391 2011-07-03  Andreas Jaeger  <aj@suse.de>
45392
45393         [BZ #10709]
45394         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45395         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45396         * math/libm-test.inc (sin_test): Add test case.
45397
45398 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45399
45400         [BZ #13337]
45401         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45402         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45403
45404         * elf/chroot_canon.c (chroot_canon): Cleanups.
45405
45406         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45407
45408         [BZ #13335]
45409         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45410         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45411
45412         * string/test-strchr.c: Make usable for strchrnul testing.
45413         * string/test-strchrnul.c: New file.
45414         * string/Makefile (strop-tests): Add strchrnul.
45415
45416         * po/it.po: Update from translation team.
45417         * po/es.po: Likewise.
45418
45419 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
45420
45421         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45422         the three constants needed as parameters.  Drop the others.
45423         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45424         __m128i_strloadu_tolower.
45425         Create and initialize variable zero and use it in all the places
45426         where _mm_setzero_si128 was used.
45427
45428         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45429         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45430         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45431         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45432         anymore.
45433         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45434         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45435         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45436         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45437         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45438         __mpranred, __mptan.
45439         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45440         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45441         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45442         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45443         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45444         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45445         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45446         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45447         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45448
45449 2011-10-28  Andreas Schwab  <schwab@redhat.com>
45450
45451         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45452         redefine if SHARED.
45453         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45454
45455         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45456         wide char related routines to wcsmbs subdir.
45457
45458 2011-10-27  Andreas Schwab  <schwab@redhat.com>
45459
45460         [BZ #13344]
45461         * misc/sys/cdefs.h (__THROWNL): Define.
45462         * posix/unistd.h: Use __THREADNL instead of __THREAD
45463         for memory synchronization functions.
45464
45465 2011-10-26  Roland McGrath  <roland@hack.frob.com>
45466
45467         [BZ #13349]
45468         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45469         doesn't exist.
45470         * manual/stdio.texi (Obstack Streams): Node removed.
45471
45472 2011-10-26  Andreas Schwab  <schwab@redhat.com>
45473
45474         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45475         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45476         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45477
45478         * math/math_private.h (math_force_eval): Allow non-addressable
45479         arguments.
45480         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45481
45482 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45483
45484         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45485         file is not needed.
45486
45487         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45488         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45489         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45490         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45491         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45492         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45493         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45494         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45495         Add AVX variants.
45496         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45497         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45498         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45499         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45500         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45501         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45502         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45503         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45504         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45505         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45506         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45507         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45508         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45509         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45510         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45511         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45512         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45513         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45514         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45515
45516         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45517         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
45518
45519         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45520         place.  Use VEX encoding when compiling for AVX.
45521
45522 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45523
45524         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45525         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45526
45527         * string/test-strchr.c (do_test): Don't generate NUL bytes.
45528
45529 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45530
45531         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45532         useless if() expression.
45533         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45534         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45535         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45536         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45537         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45538         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45539         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45540         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45541         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45542         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45543         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45544         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45545         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45546         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45547         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45548         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45549         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45550         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45551         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45552
45553         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45554
45555 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45556
45557         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45558         condition.
45559         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45560
45561 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45562
45563         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45564         .text section.  Avoid duplicate constants.
45565         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45566         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45567         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45568         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45569         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45570         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45571         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45573         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45574         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45575         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45576         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45577         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45578         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45579         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45580         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45581         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45582         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45583         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45584         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45585         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45586         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45587         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45588         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45589         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45590         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45591         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45592         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45593         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45594         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45595         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45596         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45597         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45598         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45599         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45600         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45601         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45602         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45603         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45604         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45605         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45606         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45607         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45608         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45609         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45610
45611 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
45612
45613         * sysdeps/x86_64/dla.h: Move to ...
45614         * sysdeps/x86_64/fpu/dla.h: ...here.
45615         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45616         situations.  Use __builtin_fma only for gcc 4.6 and up.
45617
45618         * config.make.in: Add have-mfma4 entry.
45619         * configure.in: Substitute libc_cv_cc_fma4.
45620         * math/Makefile (dbl-only-routines): Add sincostab.
45621         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45622         Use __sincostab not sincos.
45623         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45624         name is a macro.
45625         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45626         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45627         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45628         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
45629         using __copysign.
45630         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
45631         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
45632         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45633         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45634         and __inv.
45635         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45636         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45637         __copysign.
45638         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
45639         define aliases when function name is a macro.
45640         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45641         sysdeps/ieee754/dbl-64/sincos.tbl.
45642         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45643         fma4-enabled routines.
45644         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45645         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45646         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45647         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45648         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45649         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45650         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45651         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45652         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45653         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45654         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45655         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45656         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45657         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45658         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45659         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45660         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45661         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45662         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45663         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45664         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45665         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45666         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45667         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45668         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45669         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45670         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45671         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45672         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45673         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45674
45675         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45676         rename.
45677         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45678         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45680         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45681         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45682         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45683         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45684         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45685
45686 2011-10-24  Andreas Schwab  <schwab@redhat.com>
45687
45688         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45689
45690 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45691
45692         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45693
45694         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45695         prediction.
45696         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45697
45698         * string/strnlen.c: Don't define STRNLEN, reverse logic.
45699         Remove unused variable magic_bits.
45700         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45701
45702         * string/strnlen.c: Define and use STRNLEN macro.
45703         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45704         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45705         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45706         * wcsmbs/wcslen.c: Define and use WCSLEN.
45707         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45708         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45709         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45710         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45711         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45712         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45713         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45714
45715 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45716
45717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45718         strnlen-sse2-no-bsf.
45719         Rename strlen-no-bsf to strlen-sse2-no-bsf.
45720         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45721         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45722         Add strnlen support.
45723         (USE_AS_STRNLEN): New macro.
45724         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45725         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45726         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45727         * sysdeps/x86_64/wcslen.S: New file.
45728
45729 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
45730
45731         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45732         XMM-moves are used for copying on small sizes.
45733
45734 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45735
45736         * wcsmbs/Makefile (strop-tests): Add wcschr.
45737         * wcsmbs/test-wcschr.c: New file.
45738         * string/test-strchr.c: Update.
45739         Add wcschr support.
45740         (WIDE): New macro.
45741
45742 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45743
45744         * wcsmbs/Makefile (strop-tests): Add wcslen.
45745         * wcsmbs/test-wcslen.c: New file.
45746         * string/test-strlen.c: Update.
45747         Add wcslen support.
45748         (WIDE): New macro.
45749
45750 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45751
45752         * po/it.po: Update from translation team.
45753
45754 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45755
45756         * sysdeps/x86_64/wcscmp.S: Update.
45757         Fix wrong comparison semantics.
45758         wcscmp shall use signed comparison not unsigned.
45759         Don't use substraction to avoid overflow bug.
45760         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45761         * wcsmbc/wcscmp.c: Likewise.
45762         * string/test-strcmp.c: Likewise.
45763         Add new tests to check cases with negative values.
45764
45765 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45766
45767         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45768         * sysdeps/x86_64/dla.h: ...here.  New file.
45769         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45770         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45771         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45772         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45774         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45775         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45776         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45777         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45778
45779 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
45780
45781         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45782         __ynl_finite aliases.
45783
45784 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45785
45786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45787
45788         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45789         define DLA_FMA.
45790         [DLA_FMA] (EMULV): Use DLA_FMA.
45791         [DLA_FMA] (MUL12): Use EMULV.
45792         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45793         that are not needed.
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-22  Andreas Schwab  <schwab@linux-m68k.org>
45803
45804         * math/s_nan.c: Undef __nan.
45805         * math/s_nanf.c: Undef __nanf.
45806         * math/s_nanl.c: Undef __nanl.
45807         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45808         "math_private.h".
45809
45810 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45811
45812         * math/s_catan.c: Add branch predictions.
45813         * math/s_catanf.c: Likewise.
45814         * math/s_catanh.c: Likewise.
45815         * math/s_catanhf.c: Likewise.
45816         * math/s_catanhl.c: Likewise.
45817         * math/s_catanl.c: Likewise.
45818         * math/s_cexp.c: Likewise.
45819         * math/s_cexpf.c: Likewise.
45820         * math/s_cexpl.c: Likewise.
45821         * math/s_clog.c: Likewise.
45822         * math/s_clog10.c: Likewise.
45823         * math/s_clog10f.c: Likewise.
45824         * math/s_clog10l.c: Likewise.
45825         * math/s_clogf.c: Likewise.
45826         * math/s_clogl.c: Likewise.
45827         * math/s_csqrt.c: Likewise.
45828         * math/s_csqrtf.c: Likewise.
45829         * math/s_csqrtl.c: Likewise.
45830         * math/s_ctanf.c: Likewise.
45831         * math/s_ctanh.c: Likewise.
45832         * math/s_ctanhf.c: Likewise.
45833         * math/s_ctanhl.c: Likewise.
45834         * math/s_ctanl.c: Likewise.
45835
45836         * math/math_private.h: Define __nan, __nanf, __nanl.
45837         * math/s_cacosh.c: Include <math_private.h>.
45838         * math/s_cacoshl.c: Likewise.
45839         * math/s_casinh.c: Likewise.
45840         * math/s_casinhf.c: Likewise.
45841         * math/s_casinhl.c: Likewise.
45842         * math/s_ccos.c: Rely entire on ccosh.
45843         * math/s_ccosf.c: Rely entire on ccoshf.
45844         * math/s_ccosl.c: Rely entirely on ccoshl.
45845         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
45846         Remove tests for FE_INVALID.
45847         * math/s_ccoshf.c: Likewise.
45848         * math/s_ccoshl.c: Likewise.
45849         * math/s_csin.c: Likewise.
45850         * math/s_csinf.c: Likewise.
45851         * math/s_csinh.c Likewise.
45852         * math/s_csinhf.c: Likewise.
45853         * math/s_csinhl.c: Likewise.
45854         * math/s_csinl.c: Likewise.
45855         * math/s_ctan.c: Likewise.
45856         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45857         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45858         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45859
45860 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
45861
45862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45863         compilation problems.
45864
45865         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45866         __builtin_expect.
45867
45868 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
45869
45870         * sysdeps/i386/configure.in: Test for -mfma4 option.
45871         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45872         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45873         COMMON_CPUID_INDEX_80000001.
45874         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45875         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45876         use it if FMA3 is not supported.
45877         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45878
45879         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45880         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45881
45882 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45883
45884         [BZ #12892]
45885         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45886         it would create a cycle with a link time dependency.
45887
45888 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
45889
45890         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45891         instruction.
45892         * string/Makefile (strop-tests): Add rawmemchr.
45893         * string/test-rawmemchr.c: New file.
45894
45895         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45896         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45897         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45898         when compiling str{,n}casecmp and when AVX is available.  Hook up
45899         new optimized code in initializers.
45900
45901 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45902
45903         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45904         __feraiseexcept instead of feraiseexcept.
45905
45906 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45907
45908         * math/math_private.h: Define defaults for libc_fetestexcept and
45909         libc_feupdateenv.
45910         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45911         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45912         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45913         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45914         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45915         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45916         libc_fetestexcept and libc_feupdateenv.
45917
45918         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45919         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45920         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45921         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45922         libc_feholdexcept_setround.
45923
45924         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45925         Add s_nearbyint-c and s_nearbyintf-c.
45926         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45927         nearbyintf inlines.
45928         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45929         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45930         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45931         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45932
45933         * math/math_private.h: Define defaults for libc_fegetround,
45934         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45935         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45936         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45937         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45938         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45939         standard functions.
45940         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45941         Remove comments and hacks for old compiler versions.
45942         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45943         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45944         libc_feholdexceptl.
45945
45946 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45947
45948         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45949         (__feraiseexcept_renamed): Add __NTH.
45950         (feraiseexcept): Add __NTH.  Rename local variables to fix
45951         namespace violations.
45952
45953 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45954
45955         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45956
45957         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45958
45959         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45960         recently added interfaces.
45961         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45962
45963         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45964         about macro parameter expansion.
45965
45966         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45967         __NO_MATH_INLINES is defined.  Cleanups.
45968
45969         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45970         and __floorf is target has SSE4.1.
45971         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45972         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45973         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45974         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45975
45976         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45977         name.
45978         (floorf): Likewise.
45979
45980         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45981
45982 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45983
45984         * misc/sys/cdefs.h: Fix last change.
45985
45986         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45987         database lookup.
45988
45989 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45990
45991         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45992
45993         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45994         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45995         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45996         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45997         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45998         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45999         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46000         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46001         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46002         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46003         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46004         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46005         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46006         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46007         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46008         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46009         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46010         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46011         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46012         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46013         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46014         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46015
46016         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46017         ceil, ceilf, floor, floorf.
46018
46019         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46020         Perform IRELATIVE relocations last.
46021
46022         * elf/do-rel.h: Add another parameter nrelative, replacing the
46023         local variable with the same name.  Change name of the function
46024         to end in Rel or Rela (uppercase).
46025         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46026         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
46027         elf_dynamic_do_##reloc function.
46028
46029 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46030
46031         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46032         is sufficient, at least on modern CPUs.
46033
46034         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46035
46036         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46037         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46038
46039         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46040         __expl_finite.
46041         * math/bits/math-finite.h: Add entries for exp.
46042         * math/e_expl.c: Add __*_finite alias.
46043         * sysdeps/i386/fpu/e_exp.S: Likewise.
46044         * sysdeps/i386/fpu/e_expf.S: Likewise.
46045         * sysdeps/i386/fpu/e_expl.c: Likewise.
46046         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46047         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46048         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46049         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46050         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46051         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46052         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46053
46054         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46055         is sufficient, at least on modern CPUs.
46056
46057         * ctype/ctype-info.c (__ctype_init): Define.
46058         * include/ctype.h (__ctype_init): Declare.
46059         (__ctype_b_loc): The variable is always initialized.
46060         (__ctype_toupper_loc): Likewise.
46061         (__ctype_tolower_loc): Likewise.
46062         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46063         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46064
46065 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
46066
46067         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46068
46069         * configure.in: Also look in $cxxmachine/include for C++ system
46070         headers.
46071
46072 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46073
46074         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46075         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46076         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46077         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
46078         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46079         (USE_AS_WMEMCMP): New macro.
46080         Fixing indents.
46081         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46082         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46083         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46084         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46085         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46086         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46087         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46088         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46089         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46090         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46091         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46092         (USE_AS_WMEMCMP): New macro.
46093         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46094         * sysdeps/string/test-memcmp.c: Update.
46095         Fix simple_wmemcmp.
46096         Add new tests.
46097         * wcsmbs/wmemcmp.c: Update.
46098         (WMEMCMP): New macro.
46099         Fix overflow bug.
46100
46101 2011-10-12  Andreas Jaeger  <aj@suse.de>
46102
46103         [BZ #13268]
46104         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46105
46106 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46107
46108         * libio/iofwide.c (do_length): Avoid warning.
46109
46110         * ctype/ctype.h (__isctype_f): Add missing __THROW.
46111
46112 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
46113
46114         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46115
46116         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46117         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46118         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46119         * sysdeps/i386/i686/fpu/e_log.S: New file.
46120         * sysdeps/i386/i686/fpu/e_logf.S: New file.
46121         * sysdeps/i386/i686/fpu/e_logl.S: New file.
46122
46123         * ctype/ctype.h: Add support for inlined isXXX functions when
46124         compiling C++ code.
46125
46126 2011-10-14  Andreas Schwab  <schwab@redhat.com>
46127
46128         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46129
46130         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46131
46132 2011-10-13  Roland McGrath  <roland@hack.frob.com>
46133
46134         [BZ #13291]
46135         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46136
46137 2011-10-13  Andreas Schwab  <schwab@redhat.com>
46138
46139         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46140         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46141         feraiseexcept.
46142
46143         * sysdeps/x86_64/memrchr.S: Check for zero size.
46144
46145         * string/stratcliff.c: Add memrchr tests.
46146
46147 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46148
46149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46150         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46151         rawmemchr-sse2 rawmemchr-sse2-bsf.
46152         * sysdeps/i386/i686/multiarch/memchr.S: New file.
46153         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46154         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46155         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46156         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46157         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46158         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46159         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46160         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46161         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46162         * string/memrchr.c (MEMRCHR): New macro.
46163
46164 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
46165
46166         Add integration with gcc's -ffinite-math-only and optimize wrapper
46167         functions in libm.
46168         * Versions.def: Define GLIBC_2.15 version for libm.
46169         * math/Makefile (headers): Add bits/math-finite.h.
46170         * math/bits/math-finite.h: New file.
46171         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46172         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46173         * math/e_acoshl.c: Add __*_finite alias.
46174         * math/e_acosl.c: Likewise.
46175         * math/e_asinl.c: Likewise.
46176         * math/e_atan2l.c: Likewise.
46177         * math/e_atanhl.c: Likewise.
46178         * math/e_coshl.c: Likewise.
46179         * math/e_exp10.c: Likewise.
46180         * math/e_exp10f.c: Likewise.
46181         * math/e_exp10l.c: Likewise.
46182         * math/e_exp2l.c: Likewise.
46183         * math/e_fmodl.c: Likewise.
46184         * math/e_gammal_r.c: Likewise.
46185         * math/e_hypotl.c: Likewise.
46186         * math/e_j0l.c: Likewise.
46187         * math/e_j1l.c: Likewise.
46188         * math/e_jnl.c: Likewise.
46189         * math/e_lgammal_r.c: Likewise.
46190         * math/e_log10l.c: Likewise.
46191         * math/e_log2l.c: Likewise.
46192         * math/e_logl.c: Likewise.
46193         * math/e_powl.c: Likewise.
46194         * math/e_sinhl.c: Likewise.
46195         * math/e_sqrtl.c: Likewise.
46196         * math/e_scalb.c: Completely rewritten and optimized.
46197         * math/e_scalbf.c: Likewise.
46198         * math/e_scalbl.c: Likewise.
46199         * math/w_acos.c: Likewise.
46200         * math/w_acosf.c: Likewise.
46201         * math/w_acosl.c: Likewise.
46202         * math/w_acosh.c: Likewise.
46203         * math/w_acoshf.c: Likewise.
46204         * math/w_acoshl.c: Likewise.
46205         * math/w_asin.c: Likewise.
46206         * math/w_asinf.c: Likewise.
46207         * math/w_asinl.c: Likewise.
46208         * math/w_atan2.c: Likewise.
46209         * math/w_atan2f.c: Likewise.
46210         * math/w_atan2l.c: Likewise.
46211         * math/w_atanh.c: Likewise.
46212         * math/w_atanhf.c: Likewise.
46213         * math/w_atanhl.c: Likewise.
46214         * math/w_exp10.c: Likewise.
46215         * math/w_exp10f.c: Likewise.
46216         * math/w_exp10l.c: Likewise.
46217         * math/w_fmod.c: Likewise.
46218         * math/w_fmodf.c: Likewise.
46219         * math/w_fmodl.c: Likewise.
46220         * math/w_j0.c: Likewise.
46221         * math/w_j0f.c: Likewise.
46222         * math/w_j0l.c: Likewise.
46223         * math/w_j1.c: Likewise.
46224         * math/w_j1f.c: Likewise.
46225         * math/w_j1l.c: Likewise.
46226         * math/w_jn.c: Likewise.
46227         * math/w_jnf.c: Likewise.
46228         * math/w_log.c: Likewise.
46229         * math/w_logf.c: Likewise.
46230         * math/w_logl.c: Likewise.
46231         * math/w_log10.c: Likewise.
46232         * math/w_log10f.c: Likewise.
46233         * math/w_log10l.c: Likewise.
46234         * math/w_log2.c: Likewise.
46235         * math/w_log2f.c: Likewise.
46236         * math/w_log2l.c: Likewise.
46237         * math/w_pow.c: Likewise.
46238         * math/w_powf.c: Likewise.
46239         * math/w_powl.c: Likewise.
46240         * math/w_remainder.c: Likewise.
46241         * math/w_remainderf.c: Likewise.
46242         * math/w_remainderl.c: Likewise.
46243         * math/w_scalb.c: Likewise.
46244         * math/w_scalbf.c: Likewise.
46245         * math/w_scalbl.c: Likewise.
46246         * math/w_sqrt.c: Likewise.
46247         * math/w_sqrtf.c: Likewise.
46248         * math/w_sqrtl.c: Likewise.
46249         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46250         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
46251         used.
46252         * math/math_private.h: Declare __kernel_standard_f.
46253         * math/w_cosh.c: Remove cruft and optimize a bit.
46254         * math/w_coshf.c: Likewise.
46255         * math/w_coshl.c: Likewise.
46256         * math/w_exp2.c: Likewise.
46257         * math/w_exp2f.c: Likewise.
46258         * math/w_exp2l.c: Likewise.
46259         * math/w_hypot.c: Likewise.
46260         * math/w_hypotf.c: Likewise.
46261         * math/w_hypotl.c: Likewise.
46262         * math/w_lgamma.c: Likewise.
46263         * math/w_lgamma_r.c: Likewise.
46264         * math/w_lgammaf.c: Likewise.
46265         * math/w_lgammaf_r.c: Likewise.
46266         * math/w_lgammal.c: Likewise.
46267         * math/w_lgammal_r.c: Likewise.
46268         * math/w_sinh.c: Likewise.
46269         * math/w_sinhf.c: Likewise.
46270         * math/w_sinhl.c: Likewise.
46271         * math/w_tgamma.c: Likewise.
46272         * math/w_tgammaf.c: Likewise.
46273         * math/w_tgammal.c: Likewise.
46274         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46275         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46276         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46277         Minor optimizations.  Pretty printing.  Remove cruft.
46278         * sysdeps/i386/fpu/e_acosf.S: Likewise.
46279         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46280         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46281         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46282         * sysdeps/i386/fpu/e_acosl.c: Likewise.
46283         * sysdeps/i386/fpu/e_asin.S: Likewise.
46284         * sysdeps/i386/fpu/e_asinf.S: Likewise.
46285         * sysdeps/i386/fpu/e_atan2.S: Likewise.
46286         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46287         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46288         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46289         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46290         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46291         * sysdeps/i386/fpu/e_exp10.S: Likewise.
46292         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46293         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46294         * sysdeps/i386/fpu/e_exp2.S: Likewise.
46295         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46296         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46297         * sysdeps/i386/fpu/e_fmod.S: Likewise.
46298         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46299         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46300         * sysdeps/i386/fpu/e_hypot.S: Likewise.
46301         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46302         * sysdeps/i386/fpu/e_log.S: Likewise.
46303         * sysdeps/i386/fpu/e_log10.S: Likewise.
46304         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46305         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46306         * sysdeps/i386/fpu/e_log2.S: Likewise.
46307         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46308         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46309         * sysdeps/i386/fpu/e_logf.S: Likewise.
46310         * sysdeps/i386/fpu/e_logl.S: Likewise.
46311         * sysdeps/i386/fpu/e_pow.S: Likewise.
46312         * sysdeps/i386/fpu/e_powf.S: Likewise.
46313         * sysdeps/i386/fpu/e_powl.S: Likewise.
46314         * sysdeps/i386/fpu/e_remainder.S: Likewise.
46315         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46316         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46317         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46318         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46319         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46320         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46321         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46322         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46323         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46324         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46325         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46326         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46327         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46328         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46329         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46330         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46331         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46332         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46333         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46334         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46335         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46336         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46337         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46339         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46340         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46341         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46342         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46343         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46344         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46345         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46346         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46347         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46348         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46349         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46350         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46351         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46352         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46353         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46354         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46355         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46356         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46357         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46358         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46359         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46360         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46361         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46362         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46363         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46364         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46365         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46366         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46367         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46368         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46369         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46370         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46371         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46372         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46373         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46374         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46375         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46376         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46377         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46378         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46379         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46380         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46381         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46382         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46383         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46384         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46385         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46386         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46387         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46388         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46389         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46390         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46391         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46392         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46393         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46394         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46395         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46396         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46397         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46398         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46399         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46400         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46401         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46402         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46403         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46404         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46405         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46406         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46407         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46408         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46409         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46410         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46411         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46412         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46413         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46414         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46415         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46416         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46417         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46418         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46419         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46420         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46421         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46422         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46423         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46424         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46425         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46426         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46427         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46428         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46429         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46430         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46431         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46432         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46433         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
46434         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46435         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46436         (__isnanf): Likewise.
46437         (__isinf_ns): Likewise.
46438         (__isinf_nsf): Likewise.
46439         (__finite): Likewise.
46440         (__finitef): Likewise.
46441         (__ieee754_sqrt): Define as macro.
46442         (__ieee754_sqrtf): Define as macro.
46443         (__ieee754_sqrtl): Define as macro.
46444         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46445         inlined copy.
46446         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46447         __FINITE_MATH_ONLY__ consistent.
46448         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46449
46450 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
46451
46452         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46453         of rawmemchr.
46454
46455         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46456
46457 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
46458
46459         * po/ja.po: Update from translation team.
46460
46461 2011-10-08  Roland McGrath  <roland@hack.frob.com>
46462
46463         * locale/programs/locarchive.c (prepare_address_space): New function.
46464         (create_archive, enlarge_archive, open_archive): Use it.
46465
46466         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46467         inside [SHARED], where it is used.
46468
46469         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46470
46471         * nss/getent.c (netgroup_keys): Remove unused variable.
46472         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46473
46474 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
46475
46476         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46477         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46478         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46479         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46480         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46481         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46482         * math/Makefile (libm-calls): Add s_isinf_ns.
46483         * math/divtc3.c: Use __isinf_nsl instead of isinf.
46484         * math/multc3.c: Likewise.
46485         * math/s_casin.c: Likewise.
46486         * math/s_casinf.c: Likewise.
46487         * math/s_casinl.c: Likewise.
46488         * math/s_ccos.c: Likewise.
46489         * math/s_ccosf.c: Likewise.
46490         * math/s_ccosl.c: Likewise.
46491         * math/s_ctan.c: Likewise.
46492         * math/s_ctanf.c: Likewise.
46493         * math/s_ctanh.c: Likewise.
46494         * math/s_ctanhf.c: Likewise.
46495         * math/s_ctanhl.c: Likewise.
46496         * math/s_ctanl.c: Likewise.
46497         * math/w_fmod.c: Likewise.
46498         * math/w_fmodf.c: Likewise.
46499         * math/w_fmodl.c: Likewise.
46500         * math/w_remainder.c: Likewise.
46501         * math/w_remainderf.c: Likewise.
46502         * math/w_remainderl.c: Likewise.
46503         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46504         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46505         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46506         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46507         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46508         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46509         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46510         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46511
46512         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46513         of the number.
46514         * stdio-common/printf_fphex.c: Likewise.
46515         * stdio-common/printf_size.c: Likewise.
46516
46517         * math/e_exp10.c: Include math_private.h using <...> not "...".
46518         * math/e_exp10f.c: Likewise.
46519         * math/e_exp10l.c: Likewise.
46520         * math/e_exp2l.c: Likewise.
46521         * math/e_j0l.c: Likewise.
46522         * math/e_j1l.c: Likewise.
46523         * math/e_jnl.c: Likewise.
46524         * math/e_lgammal_r.c: Likewise.
46525         * math/e_rem_pio2l.c: Likewise.
46526         * math/e_scalb.c: Likewise.
46527         * math/e_scalbf.c: Likewise.
46528         * math/e_scalbl.c: Likewise.
46529         * math/k_cosl.c: Likewise.
46530         * math/k_sinl.c: Likewise.
46531         * math/k_tanl.c: Likewise.
46532         * math/s_cacoshf.c: Likewise.
46533         * math/s_catan.c: Likewise.
46534         * math/s_catanf.c: Likewise.
46535         * math/s_catanh.c: Likewise.
46536         * math/s_catanhf.c: Likewise.
46537         * math/s_catanhl.c: Likewise.
46538         * math/s_catanl.c: Likewise.
46539         * math/s_ccosh.c: Likewise.
46540         * math/s_ccoshf.c: Likewise.
46541         * math/s_ccoshl.c: Likewise.
46542         * math/s_cexp.c: Likewise.
46543         * math/s_cexpf.c: Likewise.
46544         * math/s_cexpl.c: Likewise.
46545         * math/s_clog.c: Likewise.
46546         * math/s_clog10.c: Likewise.
46547         * math/s_clog10f.c: Likewise.
46548         * math/s_clog10l.c: Likewise.
46549         * math/s_clogf.c: Likewise.
46550         * math/s_clogl.c: Likewise.
46551         * math/s_csin.c: Likewise.
46552         * math/s_csinf.c: Likewise.
46553         * math/s_csinh.c: Likewise.
46554         * math/s_csinhf.c: Likewise.
46555         * math/s_csinhl.c: Likewise.
46556         * math/s_csinl.c: Likewise.
46557         * math/s_csqrt.c: Likewise.
46558         * math/s_csqrtf.c: Likewise.
46559         * math/s_csqrtl.c: Likewise.
46560         * math/s_ctan.c: Likewise.
46561         * math/s_ctanf.c: Likewise.
46562         * math/s_ctanh.c: Likewise.
46563         * math/s_ctanhf.c: Likewise.
46564         * math/s_ctanhl.c: Likewise.
46565         * math/s_ctanl.c: Likewise.
46566         * math/s_ldexp.c: Likewise.
46567         * math/s_ldexpf.c: Likewise.
46568         * math/s_ldexpl.c: Likewise.
46569         * math/s_significand.c: Likewise.
46570         * math/s_significandf.c: Likewise.
46571         * math/s_significandl.c: Likewise.
46572         * math/w_acos.c: Likewise.
46573         * math/w_acosf.c: Likewise.
46574         * math/w_acosh.c: Likewise.
46575         * math/w_acoshf.c: Likewise.
46576         * math/w_acoshl.c: Likewise.
46577         * math/w_acosl.c: Likewise.
46578         * math/w_asin.c: Likewise.
46579         * math/w_asinf.c: Likewise.
46580         * math/w_asinl.c: Likewise.
46581         * math/w_atan2.c: Likewise.
46582         * math/w_atan2f.c: Likewise.
46583         * math/w_atan2l.c: Likewise.
46584         * math/w_atanh.c: Likewise.
46585         * math/w_atanhf.c: Likewise.
46586         * math/w_atanhl.c: Likewise.
46587         * math/w_cosh.c: Likewise.
46588         * math/w_coshf.c: Likewise.
46589         * math/w_coshl.c: Likewise.
46590         * math/w_dremf.c: Likewise.
46591         * math/w_exp10.c: Likewise.
46592         * math/w_exp10f.c: Likewise.
46593         * math/w_exp10l.c: Likewise.
46594         * math/w_exp2.c: Likewise.
46595         * math/w_exp2f.c: Likewise.
46596         * math/w_fmod.c: Likewise.
46597         * math/w_fmodf.c: Likewise.
46598         * math/w_fmodl.c: Likewise.
46599         * math/w_hypot.c: Likewise.
46600         * math/w_hypotf.c: Likewise.
46601         * math/w_hypotl.c: Likewise.
46602         * math/w_j0.c: Likewise.
46603         * math/w_j0f.c: Likewise.
46604         * math/w_j0l.c: Likewise.
46605         * math/w_j1.c: Likewise.
46606         * math/w_j1f.c: Likewise.
46607         * math/w_j1l.c: Likewise.
46608         * math/w_jn.c: Likewise.
46609         * math/w_jnf.c: Likewise.
46610         * math/w_jnl.c: Likewise.
46611         * math/w_lgamma.c: Likewise.
46612         * math/w_lgamma_r.c: Likewise.
46613         * math/w_lgammaf.c: Likewise.
46614         * math/w_lgammaf_r.c: Likewise.
46615         * math/w_lgammal.c: Likewise.
46616         * math/w_lgammal_r.c: Likewise.
46617         * math/w_log.c: Likewise.
46618         * math/w_log10.c: Likewise.
46619         * math/w_log10f.c: Likewise.
46620         * math/w_log10l.c: Likewise.
46621         * math/w_log2.c: Likewise.
46622         * math/w_log2f.c: Likewise.
46623         * math/w_log2l.c: Likewise.
46624         * math/w_logf.c: Likewise.
46625         * math/w_logl.c: Likewise.
46626         * math/w_pow.c: Likewise.
46627         * math/w_powf.c: Likewise.
46628         * math/w_powl.c: Likewise.
46629         * math/w_remainder.c: Likewise.
46630         * math/w_remainderf.c: Likewise.
46631         * math/w_remainderl.c: Likewise.
46632         * math/w_scalb.c: Likewise.
46633         * math/w_scalbf.c: Likewise.
46634         * math/w_scalbl.c: Likewise.
46635         * math/w_sinh.c: Likewise.
46636         * math/w_sinhf.c: Likewise.
46637         * math/w_sinhl.c: Likewise.
46638         * math/w_sqrt.c: Likewise.
46639         * math/w_sqrtf.c: Likewise.
46640         * math/w_sqrtl.c: Likewise.
46641         * math/w_tgamma.c: Likewise.
46642         * math/w_tgammaf.c: Likewise.
46643         * math/w_tgammal.c: Likewise.
46644
46645         * po/ja.po: Update from translation team.
46646
46647 2011-09-29  Andreas Jaeger  <aj@suse.de>
46648
46649         [BZ #13179]
46650         * sunrpc/netname.c (netname2host): Fix logic.
46651
46652         [BZ #6779]
46653         [BZ #6783]
46654         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46655         correctly.
46656         * math/w_remainder.c (__remainder): Likewise.
46657         * math/w_remainderf.c (__remainderf): Likewise.
46658         * math/libm-test.inc (remainder_test): Add test cases.
46659
46660 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46661
46662         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
46663         sdiv_qrnnd.
46664
46665 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
46666
46667         * string/test-memcmp.c: Avoid unncessary #defines.
46668         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46669
46670 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46671
46672         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46673         Use new sse2 version for core i3 - i7 as it's faster
46674         than sse42 version.
46675         (bit_Prefer_PMINUB_for_stringop): New.
46676         * sysdeps/x86_64/rawmemchr.S: Update.
46677         Replace with faster SSE2 version.
46678         * sysdeps/x86_64/memrchr.S: New file.
46679         * sysdeps/x86_64/memchr.S: Update.
46680         Replace with faster SSE2 version.
46681
46682 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
46683
46684         * elf/dl-load.c (lose): Add cast to avoid warning.
46685
46686 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
46687
46688         * po/ca.po: Update from translation team.
46689
46690         * inet/getnetgrent_r.c: Hook up nscd.
46691         * nscd/Makefile (routines): Add nscd_netgroup.
46692         (nscd-modules): Add netgroupcache.
46693         (CFLAGS-netgroupcache.c): Define.
46694         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46695         (cache_search): Add const to second parameter.
46696         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46697         INNETGR.
46698         (dbs): Add netgrdb entry.
46699         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46700         (verify_persistent_db): Handle netgrdb.
46701         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46702         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46703         GETFDNETGR.
46704         (netgroup_response_header): Define.
46705         (innetgroup_response_header): Define.
46706         (datahead): Add netgroup_response_header and innetgroup_response_header
46707         elements.
46708         * nscd/nscd.conf: Add entries for netgroup cache.
46709         * nscd/nscd.h (dbtype): Add netgrdb.
46710         (_PATH_NSCD_NETGROUP_DB): Define.
46711         (netgroup_iov_disabled): Declare.
46712         (xmalloc, xcalloc, xrealloc): Move declarations here.
46713         (cache_search): Adjust prototype.
46714         Add netgroup-related prototypes.
46715         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46716         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46717         (__nscd_innetgr): Declare.
46718         * nscd/selinux.c (perms): Use access_vector_t as element type and
46719         add netgroup-related initializers.
46720         * nscd/netgroupcache.c: New file.
46721         * nscd/nscd_netgroup.c: New file.
46722         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46723         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46724         For four parameters use innetgr.
46725         * nss/nss_files/files-init.c: Add definition and callback for netgr.
46726         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46727         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46728         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46729
46730         * nscd/connections.c (register_traced_file): Don't register file
46731         for disabled databases.
46732
46733 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
46734
46735         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46736
46737         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46738         from tree and freeing node.
46739
46740 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
46741
46742         * nss/nsswitch.c (__nss_database_lookup): Handle
46743         nss_parse_service_list out of memory case.
46744
46745 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
46746
46747         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46748         out of memory case.
46749
46750 2011-10-04  Andreas Schwab  <schwab@redhat.com>
46751
46752         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46753         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46754         pass it down.
46755         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46756         elf_machine_rela, elf_machine_lazy_rel.
46757         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46758         (ELF_DYNAMIC_DO_REL): Likewise.
46759         (ELF_DYNAMIC_DO_RELA): Likewise.
46760         (ELF_DYNAMIC_RELOCATE): Likewise.
46761         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46762         to ELF_DYNAMIC_DO_REL.
46763         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46764         (dl_main): In trace mode always set __RTLD_NOIFUNC.
46765         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46766         elf_machine_rela.
46767         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46768         skip_ifunc, don't call ifunc function if non-zero.
46769         (elf_machine_rela): Likewise.
46770         (elf_machine_lazy_rel): Likewise.
46771         (elf_machine_lazy_rela): Likewise.
46772         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46773         (elf_machine_lazy_rel): Likewise.
46774         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46775         Likewise.
46776         (elf_machine_lazy_rel): Likewise.
46777         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46778         Likewise.
46779         (elf_machine_lazy_rel): Likewise.
46780         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46781         (elf_machine_lazy_rel): Likewise.
46782         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46783         (elf_machine_lazy_rel): Likewise.
46784         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46785         (elf_machine_lazy_rel): Likewise.
46786         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46787         (elf_machine_lazy_rel): Likewise.
46788         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46789         (elf_machine_lazy_rel): Likewise.
46790         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46791         (elf_machine_lazy_rel): Likewise.
46792
46793 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
46794
46795         * nss/nss_files/files-init.c (_nss_files_init): Use static
46796         initialization for all the *_traced_file variables.
46797
46798 2011-09-28  Andreas Schwab  <schwab@redhat.com>
46799
46800         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46801
46802 2011-09-27  Roland McGrath  <roland@hack.frob.com>
46803
46804         [BZ #13226]
46805         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46806
46807 2011-09-27  Andreas Schwab  <schwab@redhat.com>
46808
46809         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46810         Reread the line before reparsing it.
46811
46812 2011-09-26  Andreas Schwab  <schwab@redhat.com>
46813
46814         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46815
46816 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
46817             Maxim Kuvyrkov  <maxim@codesourcery.com>
46818             Joseph Myers  <joseph@codesourcery.com>
46819
46820         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46821         if needed for __stack_chk_guard.
46822
46823 2011-09-19  Roland McGrath  <roland@hack.frob.com>
46824
46825         * sysdeps/posix/spawni.c (script_execute): Always define it.
46826         It will be optimized away if unused.
46827         (maybe_script_execute): New function.
46828         (__spawni): Call it.
46829
46830         * Makerules: Don't include tls.make.
46831         (config-tls): Always set to thread.
46832         * tls.make.c: File removed.
46833
46834 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
46835
46836         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46837         * config.make.in (CPPFLAGS-config): New substituted variable.
46838
46839 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46840
46841         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46842
46843         [BZ #13192]
46844         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46845         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46846
46847 2011-09-15  Roland McGrath  <roland@hack.frob.com>
46848
46849         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46850         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46851         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46852         (CALL_FAIL): Likewise.
46853         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46854         (CALL_FAIL): Macro removed.
46855         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46856
46857 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46858
46859         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46860         for __FINITE_MATH_ONLY__ == 1.
46861
46862 2011-09-15  Andreas Schwab  <schwab@redhat.com>
46863
46864         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46865         __ieee754_sqrt instead of sqrt.
46866         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46867         __ieee754_sqrtf instead of sqrtf.
46868         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46869         __floorf instead of floorf.
46870         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46871         __floorf, __truncf instead of floorf, truncf.
46872
46873 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
46874
46875         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46876
46877         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46878         __extern_always_inline.
46879         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46880         32-bit.
46881
46882 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46883
46884         * elf/rtld.c (dl_main): Also relocate in dependency order when
46885         doing symbol dependency testing.
46886
46887 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
46888
46889         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46890         Always define `refsym'.
46891
46892 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46893
46894         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46895         (__FD_ELT): Renamed from __FDELT.
46896         * misc/bits/select2.h (__FD_ELT): Likewise.
46897         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46898         __FD_MASK instead of __FDELT, __FDMASK.
46899         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46900         Likewise.
46901         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46902         Likewise.
46903
46904         * elf/Makefile (gen-ldd): Fix pattern.
46905
46906         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46907         (init_tls): Likewise.
46908
46909 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46910
46911         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46912
46913 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46914
46915         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46916         `struct cmsghdr *' instead of `void *'.
46917         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46918         Likewise.
46919
46920 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46921
46922         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46923         if non-absolute.
46924         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46925         ldd_rewrite_script.
46926
46927 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46928
46929         * configure.in: Remove --with-tls option.
46930         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46931         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46932         out in case it is missing.
46933         * sysdeps/ia64/elf/configure.in: Likewise.
46934         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46935         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46936         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46937         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46938         * sysdeps/sh/elf/configure.in: Likewise.
46939         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46940         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46941         * sysdeps/x86_64/elf/configure.in: Likewise.
46942         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46943         * sysdeps/mach/hurd/tls.h: Likewise.
46944
46945         [BZ #13067]
46946         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46947
46948         [BZ #13090]
46949         * configure.in: Fix use of AC_INIT.
46950
46951         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46952
46953 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46954
46955         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46956         __set_errno.
46957         * malloc/hooks.c: Likewise.
46958
46959         [BZ #11929]
46960         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46961         variables statically.
46962         (narenas): Initialize.
46963         (list_lock): Initialize.
46964         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46965         initializtion of main_arena and list_lock.  Small cleanups.
46966         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46967         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46968         Add initializers to main_arena and mp_.
46969         (malloc_state): Remove pagesize member.  Change all users to use
46970         GLRO(dl_pagesize).
46971
46972         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46973         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46974         is always initialized.
46975
46976         * malloc/malloc.c: Removed unused configurations and dead code.
46977         * malloc/arena.c: Likewise.
46978         * malloc/hooks.c: Likewise.
46979         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46980
46981         * include/tls.h: Removed.  USE___THREAD must always be defined.
46982         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46983         * elf/dl-libc.c: Likewise.
46984         * elf/dl-tsd.c: Likewise.
46985         * include/errno.h: Likewise.
46986         * include/netdb.h: Likewise.
46987         * include/resolv.h: Likewise.
46988         * inet/herrno-loc.c: Likewise.
46989         * inet/herrno.c: Likewise.
46990         * malloc/arena.c: Likewise.
46991         * malloc/hooks.c: Likewise.
46992         * malloc/malloc.c: Likewise.
46993         * resolv/res-state.c: Likewise.
46994         * resolv/res_libc.c: Likewise.
46995         * sysdeps/i386/dl-machine.h: Likewise.
46996         * sysdeps/ia64/dl-machine.h: Likewise.
46997         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46998         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46999         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47000         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47001         * sysdeps/sh/dl-machine.h: Likewise.
47002         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47003         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47004         * sysdeps/unix/i386/sysdep.S: Likewise.
47005         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47006         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47007         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47008         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47009         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47010         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47011         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47012         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47014         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47015         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47016         * sysdeps/x86_64/dl-machine.h: Likewise.
47017         * tls.make.c: Likewise.
47018
47019         * configure.in: Remove --with-__thread option.  Make tests for
47020         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47021         tls_model attribute fail if no support is available.  Remove
47022         USE_IN_LIBIO.
47023         * Makeconfig: Adjust for dropped configure option.  All features are
47024         now mandatory.
47025         * Makerules: Likewise.
47026         * Versions.def: Likewise.
47027         * argp/argp-fmtstream.c: Likewise.
47028         * argp/argp-fmtstream.h: Likewise.
47029         * argp/argp-help.c: Likewise.
47030         * assert/assert.c: Likewise.
47031         * config.h.in: Likewise.
47032         * config.make.in: Likewise.
47033         * configure: Likewise.
47034         * configure.in: Likewise.
47035         * csu/Versions: Likewise.
47036         * csu/init.c: Likewise.
47037         * elf/tst-audit2.c: Likewise.
47038         * elf/tst-tls10.c: Likewise.
47039         * elf/tst-tls10.h: Likewise.
47040         * elf/tst-tls11.c: Likewise.
47041         * elf/tst-tls12.c: Likewise.
47042         * elf/tst-tls14.c: Likewise.
47043         * elf/tst-tlsmod11.c: Likewise.
47044         * elf/tst-tlsmod12.c: Likewise.
47045         * elf/tst-tlsmod13.c: Likewise.
47046         * elf/tst-tlsmod13a.c: Likewise.
47047         * elf/tst-tlsmod14a.c: Likewise.
47048         * elf/tst-tlsmod15b.c: Likewise.
47049         * elf/tst-tlsmod16a.c: Likewise.
47050         * elf/tst-tlsmod16b.c: Likewise.
47051         * elf/tst-tlsmod7.c: Likewise.
47052         * elf/tst-tlsmod8.c: Likewise.
47053         * elf/tst-tlsmod9.c: Likewise.
47054         * gmon/gmon.c: Likewise.
47055         * grp/fgetgrent_r.c: Likewise.
47056         * grp/putgrent.c: Likewise.
47057         * hurd/fopenport.c: Likewise.
47058         * include/libc-symbols.h: Likewise.
47059         * include/tls.h: Likewise.
47060         * intl/gettextP.h: Likewise.
47061         * intl/loadinfo.h: Likewise.
47062         * locale/global-locale.c: Likewise.
47063         * locale/localeinfo.h: Likewise.
47064         * mach/devstream.c: Likewise.
47065         * malloc/arena.c: Likewise.
47066         * malloc/set-freeres.c: Likewise.
47067         * misc/err.c: Likewise.
47068         * misc/getttyent.c: Likewise.
47069         * misc/mntent_r.c: Likewise.
47070         * posix/getopt.c: Likewise.
47071         * posix/wordexp.c: Likewise.
47072         * pwd/fgetpwent_r.c: Likewise.
47073         * resolv/Versions: Likewise.
47074         * resolv/res_hconf.c: Likewise.
47075         * shadow/fgetspent_r.c: Likewise.
47076         * shadow/putspent.c: Likewise.
47077         * stdio-common/printf_fphex.c: Likewise.
47078         * stdio-common/tmpfile.c: Likewise.
47079         * stdlib/abort.c: Likewise.
47080         * stdlib/fmtmsg.c: Likewise.
47081         * sunrpc/auth_unix.c: Likewise.
47082         * sunrpc/clnt_perr.c: Likewise.
47083         * sunrpc/clnt_tcp.c: Likewise.
47084         * sunrpc/clnt_udp.c: Likewise.
47085         * sunrpc/clnt_unix.c: Likewise.
47086         * sunrpc/openchild.c: Likewise.
47087         * sunrpc/svc_simple.c: Likewise.
47088         * sunrpc/svc_tcp.c: Likewise.
47089         * sunrpc/svc_udp.c: Likewise.
47090         * sunrpc/svc_unix.c: Likewise.
47091         * sunrpc/xdr.c: Likewise.
47092         * sunrpc/xdr_array.c: Likewise.
47093         * sunrpc/xdr_rec.c: Likewise.
47094         * sunrpc/xdr_ref.c: Likewise.
47095         * sunrpc/xdr_stdio.c: Likewise.
47096
47097 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47098
47099         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47100
47101 2011-07-03  Andreas Jaeger  <aj@suse.de>
47102
47103         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47104         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47105         regenerate with gen-libm-tests.pl.
47106
47107 2010-05-12  Petr Baudis  <pasky@suse.cz>
47108
47109         [BZ #11589]
47110         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47111         around j0() zero points by switching to j1().
47112         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47113         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47114         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47115         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47116
47117 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47118
47119         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47120         instead of 0.
47121         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47122         instead of 0.
47123         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47124         Patch in part by Pavel Roskin <proski@gnu.org>.
47125
47126         [BZ #13138]
47127         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47128         realloc.
47129         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
47130         Free memory block if necessary.
47131
47132         [BZ #12847]
47133         * libio/genops.c (INTDEF): For string streams the _lock pointer can
47134         be NULL.  Don't lock in this case.
47135
47136 2011-09-09  Roland McGrath  <roland@hack.frob.com>
47137
47138         * elf/elf.h (ELFOSABI_GNU): New macro.
47139         (ELFOSABI_LINUX): Define to that.
47140
47141 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
47142
47143         * string/strncat.c (strncat): Undef the symbol in case it has been
47144         defined in bits/string.h.
47145
47146 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47147
47148         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47149
47150         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47151         link map.
47152
47153 2011-08-17  Andreas Jaeger  <aj@suse.de>
47154
47155         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47156
47157 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47158             Ian Lance Taylor  <iant@google.com>
47159
47160         * math/libm-test.inc (lround_test): New testcase.
47161         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47162
47163 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
47164
47165         * Makefile: Remove support for automatic cvs check-ins.
47166         * Makerules: Likewise.
47167         * config.make.in: Likewise.
47168         * configure.in: Likewise.
47169         * intl/Makefile: Likewise.
47170         * locale/Makefile: Likewise.
47171         * po/Makefile: Likewise.
47172         * posix/Makefile: Likewise.
47173         * sysdeps/gnu/Makefile: Likewise.
47174         * sysdeps/mach/hurd/Makefile: Likewise.
47175         * sysdeps/sparc/sparc32/Makefile: Likewise.
47176
47177         [BZ #13118]
47178         * posix/Makefile (bug-regex32-ENV): Define.
47179         Patch by John Stanley <jpsinthemix@verizon.net>.
47180
47181         * misc/Makefile (headers): Add bits/select2.h.
47182         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47183         * misc/bits/select2.h: New file.
47184         * include/bits/select2.h: New file.
47185         * debug/Makefile (routines): Add fdelt_chk.
47186         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47187         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47188         FD_ISSET.
47189         * debug/fdelt_chk.c: New file.
47190
47191         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
47192         * wcsmbs/test-wmemcmp.c: Likewise.
47193         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47194         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47195
47196 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47197
47198         * string/Makefile (strop-tests): Add memcmp.
47199         * string/test-wmemcmp.c: New file.
47200         * string/test-memcmp.c: Add wmemcmp support.
47201
47202 2011-09-08  Roland McGrath  <roland@hack.frob.com>
47203
47204         [BZ #13153]
47205         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47206         2011-07-19 change.
47207
47208         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47209         garbage value in a __mach_port_mod_refs call in the cases of the
47210         task-self and thread-self ports.
47211
47212 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47213
47214         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47215
47216 2011-09-08  Andreas Schwab  <schwab@redhat.com>
47217
47218         * elf/dl-load.c (lose): Check for non-null L.
47219
47220 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47221
47222         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47223
47224         * elf/dl-libc.c (dlerror_run): Pass back error code from
47225         dl_catch_error.
47226
47227         [BZ #13123]
47228         * elf/dl-load.c (lose): Free l_origin if it is valid.
47229
47230         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47231         names.
47232         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47233         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47234         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47235         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47236         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47237         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47238
47239 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47240
47241         * sysdeps/powerpc/fpu/e_hypot.c: New file.
47242         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47243         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47244         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47245         * sysdeps/powerpc/fpu/k_cosf.c: New file.
47246         * sysdeps/powerpc/fpu/k_sinf.c: New file.
47247         * sysdeps/powerpc/fpu/s_cosf.c: New file.
47248         * sysdeps/powerpc/fpu/s_sinf.c: New file.
47249         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47250         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47251
47252 2011-08-15  Alan Modra  <amodra@gmail.com>
47253
47254         [BZ #13092]
47255         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47256         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47257         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
47258         ppc_mcount to static-only-routines.
47259         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47260         __mcount_internal.
47261         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47262         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
47263
47264 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
47265
47266         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47267         for finite and infinity parameters.
47268
47269 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47270
47271         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47272         and add nop instructions for throughput optimization.
47273         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47274
47275 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
47276
47277         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47278         aligned copy for power7 with vector-scalar instructions.
47279         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47280
47281 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
47282
47283         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47284         AVX check.
47285
47286 2011-09-07  Andreas Schwab  <schwab@redhat.com>
47287
47288         [BZ #13144]
47289         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47290         last change.
47291
47292 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47293
47294         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47295         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47296         syscall wrapper around clock_gettime in __vdso_clock_gettime.
47297         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47298         clock_gettime.
47299
47300 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47301
47302         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47303         Forgot to demangle the pointer.
47304
47305         * sysdeps/i386/sysdep.h: Define atom_text_section.
47306         * sysdeps/x86_64/sysdep.h: Likewise.
47307         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47308         section with atom_text_section.
47309         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47310         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47311         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47312         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47313         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47314
47315         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47316         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47317         already be defined.  Change to take two parameters and don't assign
47318         result to variable.  Adjust all users.
47319         Define INTERNAL_GETTIME if not already defined.
47320         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47321         call.
47322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47323         HAVE_CLOCK_GETTIME_VSYSCALL.
47324         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47325
47326         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47327         gettimeofday vsyscall, just use time.
47328
47329 2011-09-06  Andreas Schwab  <schwab@redhat.com>
47330
47331         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47332         <errno.h>.
47333
47334 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47335
47336         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47337         syscall on x86-64.
47338         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47339         syscall.
47340         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47341         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47342         syscall if possible.
47343
47344 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47345
47346         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47347         e_ident.  Don't pass to find_mapsXX.
47348         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47349
47350 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47351
47352         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47353         strchr-sse2-no-bsf strrchr-sse2-no-bsf
47354         * sysdeps/x86_64/multiarch/strchr.S: Update.
47355         Check bit_slow_BSF bit.
47356         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47357         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47358         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47359
47360 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47361
47362         [BZ #13134]
47363         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47364         before glibc 2.15.
47365         (tryshell): Define.
47366         (__spawni): Change last parameter to be flag.  Test
47367         SPAWN_XFLAGS_USE_PATH flag to use path or not.
47368         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47369         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47370         * posix/spawni.c: Likewise.
47371         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47372         * posix/spawnp.c: Likewise.  Change normal version to use
47373         SPAWN_XFLAGS_USE_PATH.
47374         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47375         SPAWN_XFLAGS_TRY_SHELL.
47376
47377         [BZ #13150]
47378         * posix/glob.h: Remove gcc 1.x support.
47379
47380         [BZ #13068]
47381         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47382
47383 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47384
47385         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47386         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47387         strrchr-sse2-bsf
47388         * sysdeps/i386/i686/multiarch/strchr.S: New file.
47389         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47390         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47391         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47392         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47393         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47394
47395 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47396
47397         * sysdeps/x86_64/wcscmp.S: New file.
47398
47399         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47400         wcscmp-c wcscmp-sse2
47401         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47402         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47403         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47404         * wcsmbs/wcscmp.c: Allow renaming.
47405
47406 2011-09-05  David S. Miller  <davem@davemloft.net>
47407
47408         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47409         stack slot, rather than the struct return pointer slot.
47410         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47411         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47413         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47414
47415 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47416
47417         * po/ja.po: Update from translation team.
47418
47419         [BZ #13144]
47420         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47421         kernel in 64-bit binaries.
47422
47423 2011-09-01  David S. Miller  <davem@davemloft.net>
47424
47425         * elf/elf.h (HWCAP_SPARC_*): Move to..
47426         * sysdeps/sparc/sysdep.h: this new file and add new values.
47427         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47428         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47429         _DL_HWCAP_COUNT to 24.
47430         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47431         entries.
47432         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47433         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47434         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47435         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47436         instead of magic constants.
47437         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47438
47439 2011-08-31  David S. Miller  <davem@davemloft.net>
47440
47441         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47442         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47443         Reimplement to do errno handling inline.
47444         (SYSCALL_ERROR_HANDLER): New macro.
47445         (__SYSCALL_STRING): Do not do errno handling in asm.
47446         (__CLONE_SYSCALL_STRING): Delete.
47447         (__INTERNAL_SYSCALL_STRING): Delete.
47448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47449         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47450         (PSEUDO): Reimplement to do errno handling inline.
47451         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47452         (SYSCALL_ERROR_HANDLER): New macro.
47453         (__SYSCALL_STRING): Do not do errno handling in asm.
47454         (__CLONE_SYSCALL_STRING): Delete.
47455         (__INTERNAL_SYSCALL_STRING): Delete.
47456         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47457         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47458         i386.
47459         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47460         (inline_syscall*): Add 'err' argument.
47461         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47462         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47463         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47464         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47465
47466         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47467         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47468
47469 2011-08-30  Andreas Schwab  <schwab@redhat.com>
47470
47471         * elf/rtld.c (dl_main): Relocate objects in dependency order.
47472
47473 2011-08-29  Jiri Olsa <jolsa@redhat.com>
47474
47475         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47476         directive.
47477
47478 2011-08-24  David S. Miller  <davem@davemloft.net>
47479
47480         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47481
47482 2011-08-24  Andreas Schwab  <schwab@redhat.com>
47483
47484         * elf/Makefile: Add rules to build and run unload8 test.
47485         * elf/unload8.c: New file.
47486         * elf/unload8mod1.c: New file.
47487         * elf/unload8mod1x.c: New file.
47488         * elf/unload8mod2.c: New file.
47489         * elf/unload8mod3.c: New file.
47490
47491         * elf/dl-close.c (_dl_close_worker): Reset private search list if
47492         it wasn't used.
47493
47494 2011-08-23  David S. Miller  <davem@davemloft.net>
47495
47496         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47497         subtract stack bias.
47498         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47499         %sp not %fp in calculations.
47500         (_JMPBUF_UNWINDS_ADJ): Likewise.
47501
47502         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47503         (aio_suspend): Call it to force an exception region around the
47504         AIO_MISC_WAIT() invocation.
47505
47506 2011-08-23  Andreas Schwab  <schwab@redhat.com>
47507
47508         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47509         backslash.
47510
47511 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
47512
47513         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47514         protection macro.
47515         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47516         and <dl-machine.h>.
47517         (Elf64_FuncDesc): Remove.
47518
47519 2011-08-22  David S. Miller  <davem@davemloft.net>
47520
47521         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47522         sigaltstack check, add missing cfi directives.
47523         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47524         missing cfi directives, and sigaltstack handling.
47525
47526 2011-08-16  Andreas Schwab  <schwab@redhat.com>
47527
47528         [BZ #11724]
47529         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47530         object is seen twice.
47531         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47532
47533         * elf/Makefile (distribute): Add tst-initorder2.c.
47534         (tests): Add tst-initorder2.
47535         (modules-names): Add tst-initorder2a tst-initorder2b
47536         tst-initorder2c tst-initorder2d.  Add rules to build them.
47537         ($(objpfx)tst-initorder2.out): New rule.
47538         * elf/tst-initorder2.c: New file.
47539         * elf/tst-initorder2.exp: New file.
47540
47541 2011-08-22  Andreas Schwab  <schwab@redhat.com>
47542
47543         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47544
47545         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47546         dependencies back to end of function.
47547
47548         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47549         $(elfobjdir)/ld.so.
47550
47551 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
47552
47553         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47554         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47555         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47556         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47557         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47558         of __vdso_gettimeofday.
47559         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47560         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
47561         attribute_hidden.
47562         (_libc_vdso_platform_setup): Remove initialization of
47563         __vdso_gettimeofday and __vdso_time.
47564
47565 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
47566
47567         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47568         and fgetc_unlocked.
47569         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47570         getc_unlocked.
47571
47572         * elf/dl-open.c (add_to_global): Report additions to the global scope
47573         for LD_DEBUG=scopes.
47574         (dl_open_worker): Also print scope of newly loaded dependencies.
47575         (_dl_show_scope): Indicate if there is no scope.
47576
47577         [BZ #13114]
47578         * stdio-common/Makefile (tests): Add bug24.
47579         * stdio-common/bug24.c: New file.
47580
47581 2011-08-19  Andreas Jaeger  <aj@suse.de>
47582
47583         [BZ #13114]
47584         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47585         non-existant file when using close-on-exec mode.
47586
47587 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
47588
47589         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47590         the very first instruction.
47591
47592         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47593         the CFI state in the end.
47594         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47595         inclusion of dl-trampoline.h.
47596         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47597
47598 2011-08-19  Andreas Schwab  <schwab@redhat.com>
47599
47600         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47601         expectations for long double.
47602
47603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47604         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47605
47606 2011-08-14  David S. Miller  <davem@davemloft.net>
47607
47608         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47609         artificual limit depends upon the system page size.
47610
47611 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
47612
47613         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47614         * resolv/Makefile: Define CFLAGS-libresolv.
47615
47616 2011-08-17  Andreas Schwab  <schwab@redhat.com>
47617
47618         * nss/makedb.c (compute_tables): Make variables used in nested
47619         function static.
47620
47621 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
47622
47623         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47624         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47625         if buffer was too small.
47626
47627         * elf/pldd.c (main): Attach to all threads in the process.
47628         Rewrite /proc handling to use *at functions.
47629
47630 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
47631
47632         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47633         specifies first scope to show.
47634         (dl_open_worker): Update callers.  Move printing scope of new
47635         object to before the relocation.
47636         * elf/rtld.c (dl_main): Update _dl_show_scope call.
47637         * sysdeps/generic/ldsodefs.h: Update declaration.
47638
47639         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47640         string for the scope number.
47641
47642 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
47643
47644         * nscd/servicescache.c (cache_addserv): Make sure written is always
47645         initialized.
47646
47647 2011-08-14  Roland McGrath  <roland@hack.frob.com>
47648
47649         * sysdeps/i386/i486/bits/atomic.h
47650         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47651         statement expression, so as to suppress "set but not used" warning.
47652         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47653
47654         * string/strncat.c (STRNCAT): Use prototype definition.
47655
47656         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47657         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47658         -Iprograms here.
47659         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47660         (localedef-modules): Add localedef.
47661         (locale-modules): Add locale.
47662
47663         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47664         * elf/rtld.c (dl_main): Invert order of assignment in last change,
47665         to avoid a warning.
47666
47667 2011-08-14  David S. Miller  <davem@davemloft.net>
47668
47669         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47670         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47671
47672 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
47673
47674         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
47675         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47676         * elf/rtld.c (dl_main): Set l_name of vDSO.
47677         Call _dl_show_scope when DL_DEBUG_SCOPES.
47678         (process_dl_debug): Recognize scopes flag and also set it for all.
47679         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47680         Declare _dl_show_scope.
47681
47682         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47683         (do_dlopen): Pass caller_dlopen to dl_open.
47684         (__libc_dlopen_mode): Initialize caller_dlopen.
47685
47686         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47687         of libc.  Make tolower call locale-independent.  Optimize a bit by
47688         using isdigit instead of isalnum.
47689         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47690
47691 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
47692
47693         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47694         was a dependency or dynamically loaded.
47695
47696 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
47697
47698         * intl/l10nflist.c: Allow architecture-specific pop function.
47699         * sysdeps/x86_64/l10nflist.c: New file.
47700
47701         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47702         classification.
47703
47704 2011-08-10  Andreas Schwab  <schwab@redhat.com>
47705
47706         * include/dirent.h: Add libc_hidden_proto for scandirat and
47707         scandirat64.  Don't declare __scandirat64.
47708         * dirent/scandirat.c: Add libc_hidden_def.
47709         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47710         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47711
47712 2011-08-10  David S. Miller  <davem@davemloft.net>
47713
47714         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47715         enum.
47716         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47717         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47718         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47719
47720 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
47721
47722         * Versions.def [libc]: Add GLIBC_2.15.
47723         * dirent/Makefile (routines): Add scandirat and scandirat64.
47724         * dirent/Versions [libc]: Export scandirat and scandirat64 for
47725         GLIBC_2.15.
47726         * dirent/dirent.h: Declare scandirat and scandirat64.
47727         * dirent/scandirat.c: New file.
47728         * dirent/scandirat64.c: New file.
47729         * sysdeps/wordsize-64/scandirat.c: New file.
47730         * sysdeps/wordsize-64/scandirat64.c: New file.
47731         * dirent/opendir.c: Define opendirat.
47732         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
47733         using scandirat.
47734         * dirent/scandir64.c: Adjust for scandir.c change.
47735         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
47736         __scandirat64, and __scandir_cancel_handler.
47737         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
47738         additional parameter and use openat instead of open (outside of ld.so).
47739         Add new __opendir as wrapper around __opendirat.
47740         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47741         here without requiring old scandirat implementation.
47742
47743 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
47744
47745         * dirent/scandir.c (cancel_handler): Renamed to
47746         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
47747         defined.  Adjust users.
47748         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47749         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47750
47751 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
47752
47753         * string/test-string.h (IMPL): Use __STRING to expand name and then
47754         stringify it.
47755
47756         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
47757         of cleanups.
47758
47759 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47760
47761         * string/Makefile: Update.
47762         (strop-tests): Append strncat.
47763         * string/test-wcscmp.c: New file.
47764         New comprehensive test for wcscmp.
47765         * string/test-strcmp.c: Update.
47766         (WIDE): New define.
47767
47768 2011-07-22  Andreas Schwab  <schwab@redhat.com>
47769
47770         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47771         line.
47772
47773 2011-07-26  Andreas Schwab  <schwab@redhat.com>
47774
47775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47776         encoding to ACE if AI_IDN.
47777
47778 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
47779
47780         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47781         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47782
47783 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47784
47785         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47786         Fix overflow bug in strncat.
47787         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47788
47789         * string/test-strncat.c: Update.
47790         Add new tests for checking overflow bugs.
47791
47792 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47793
47794         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47795         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47796         * sysdeps/i386/i686/multiarch/strcat.S: New file.
47797         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47798         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47799         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47800         * sysdeps/i386/i686/multiarch/strncat.S: New file.
47801         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47802         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47803
47804         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47805         (USE_AS_STRCAT): Define.
47806         Add strcat and strncat support.
47807         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47808
47809 2011-07-25  Andreas Schwab  <schwab@redhat.com>
47810
47811         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47812         __n bigger than INT_MAX+1.
47813         (__strncmp_g): Likewise.
47814
47815 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
47816
47817         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47818         * libio/stido.h: Likewise.
47819
47820         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47821         (AF_NFC): Define.
47822         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47823         (AF_NFC): Define.
47824
47825         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47826         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47827         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47828         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47829         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47830
47831         [BZ #13021]
47832         * scripts/test-installation.pl: Don't expect libnss_test1 to be
47833         installed.
47834
47835         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47836         typo.
47837         (_dl_x86_64_save_sse): Likewise.
47838
47839 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
47840
47841         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47842         OSXSAVE.
47843         (_dl_x86_64_save_sse): Likewise.
47844
47845         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47846
47847         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47848
47849 2011-07-21  Andreas Schwab  <schwab@redhat.com>
47850
47851         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47852         change.
47853         (_dl_x86_64_save_sse): Use correct AVX check.
47854
47855 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47856
47857         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47858         bug in strncpy/strncat.
47859         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47860
47861 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
47862
47863         * string/tester.c (test_strcat): Add tests for different alignments
47864         of source and destination.
47865         (test_strncat): Likewise.
47866
47867 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47868
47869         [BZ #12852]
47870         * posix/glob.c (glob): Check passed in values before using them in
47871         expressions to avoid some overflows.
47872         (glob_in_dir): Likewise.
47873
47874         [BZ #13007]
47875         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47876         check for AVX enablement so that we don't crash with old kernels and
47877         new hardware.
47878         * elf/tst-audit4.c: Add same checks here.
47879         * elf/tst-audit6.c: Likewise.
47880
47881         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47882
47883 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
47884
47885         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47886
47887 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47888
47889         * po/cs.po: Update from translation team.
47890         * po/bg.po: Likewise.
47891
47892 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47893
47894         * misc/sys/cdefs.h: Add support for const attribute.
47895         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47896         to gnu_dev_{major,minor,makedev} functions.
47897
47898 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47899
47900         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47901
47902 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47903
47904         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47905         strlen results.
47906
47907 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47908
47909         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47910         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47911         register in order to avoid conflicts with the soft frame pointer
47912         being held in r11 when necessary.
47913         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47914         (INTERNAL_VSYSCALL_NCS): Likewise.
47915
47916 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47917
47918         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47919         * elf/dl-fini.c (_dl_fini): Adjust caller.
47920         * elf/dl-close.c (_dl_close_worker): Likewise.
47921         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47922
47923 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47924
47925         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47926         "aux_cache->nlibs < 0".
47927
47928         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47929         in the reload-count case.
47930
47931 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47932
47933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47934         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47935         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47936         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47937         * sysdeps/x86_64/multiarch/strcat.S: New file.
47938         * sysdeps/x86_64/multiarch/strncat.S: New file.
47939         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47940         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47941         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47942         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47943         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47944         (USE_AS_STRCAT): Define.
47945         Add strcat and strncat support.
47946         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47947         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47948         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47949         * string/strncat.c: Update.
47950         (USE_AS_STRNCAT): Define.
47951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47952         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47953         and i7.
47954         * sysdeps/x86_64/multiarch/init-arch.h
47955         (bit_Prefer_PMINUB_for_stringop): New.
47956         (index_Prefer_PMINUB_for_stringop): Likewise.
47957         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47958         bit_Prefer_PMINUB_for_stringop.
47959
47960 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47961
47962         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47963         buffer64.
47964         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47965         of casting of buffer.
47966         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47967         buffer32 and buffer64.
47968         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47969         writes instead of casting of buffer.
47970         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47971         buffer32.
47972         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47973         casting of buffer.
47974
47975 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47976
47977         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47978
47979 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47980
47981         * nscd/nscd.c (termination_handler): Don't do anything for a database
47982         if it has not yet been initialized.
47983
47984 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47985
47986         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47987
47988 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47989
47990         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47991
47992 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47993
47994         * po/nl.po: Update from translation team.
47995         * po/sv.po: Likewise.
47996
47997 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47998
47999         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48000         now disallowed by GCC.
48001
48002         * configure.in (use-default-link): Default to yes if a test -shared
48003         link meets our qualifications.
48004         * configure: Regenerated.
48005
48006         * config.make.in (output-format): New variable.
48007         * configure.in: Check for ld --print-output-format support.
48008         * configure: Regenerated.
48009         * Makerules ($(common-objpfx)format.lds)
48010         [$(output-format) != unknown]: Just use $(output-format),
48011         instead of the linker-script munging.
48012
48013 2011-07-14  Roland McGrath  <roland@hack.frob.com>
48014
48015         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48016         of $(common-objpfx)shlib.lds.
48017         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48018
48019         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48020         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48021
48022         * configure.in (-z relro check): Adjust test code to add a large
48023         writable data section after it.
48024         * configure: Regenerated.
48025
48026 2011-07-11  Roland McGrath  <roland@hack.frob.com>
48027
48028         * configure.in (-z relro check): Fix test code to make the variable
48029         truly const.
48030         * configure: Regenerated.
48031
48032 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
48033
48034         * nscd/nscd.h (struct traced_file): Define.
48035         (struct database_dyn): Remove inotify_descr, reset_res, and filename
48036         elements.  Add traced_files.
48037         (inotify_fd): Declare.
48038         (register_traced_file): Declare.
48039         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48040         (inotify_fd): Export.
48041         (resolv_conf_descr): Remove.
48042         (nscd_init): Move inotify descriptor creation to main.
48043         Don't register files for notification here.
48044         (register_traced_file): New function.
48045         (invalidate_cache): Don't use reset_res to determine whether to call
48046         res_init, go through the list of registered files.
48047         (main_loop_poll): The inotify descriptors are now stored in the
48048         structures for the traced files.
48049         (main_loop_epoll): Likewise
48050         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
48051         to __nss_disable_nscd.
48052         * nscd/cache.c (prune_cache): There is no single inotify descriptor
48053         for a database anymore.  Check the records for all the registered
48054         files instead.
48055         * nss/Makefile (libnss_files-routines): Add files-init.
48056         (libnss_db-routines): Add db-init.
48057         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48058         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48059         * nss/nss_db/db-init.c: New file.
48060         * nss/nss_files/files-init.c: New file.
48061         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
48062         __nss_lookup_function.
48063         (__nss_lookup_function): Call nss_load_library.
48064         (nss_load_all_libraries): New function.
48065         (__nss_disable_nscd): Take parameter with callback function for files
48066         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
48067         used for the cached services.
48068         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48069         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48070         options for features to all the files in nscd.
48071
48072         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48073
48074 2011-07-10  Roland McGrath  <roland@hack.frob.com>
48075
48076         * csu/elf-init.c (__libc_csu_init): Comment typo.
48077
48078 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
48079
48080         * po/pl.po: Update from translation team.
48081         * po/ja.po: Likewise.
48082         * po/ru.po: Likewise.
48083         * po/ko.po: Likewise.
48084         * po/fr.po: Likewise.
48085
48086 2011-07-09  Roland McGrath  <roland@hack.frob.com>
48087
48088         * configure.in (.ctors/.dtors header and trailer check):
48089         Use an empirical test on a built program.
48090         * configure: Regenerated.
48091
48092         * configure.in (-z relro check): Use an empirical test on a built DSO.
48093         Detect, but do not require, on ia64.
48094         * configure: Regenerated.
48095
48096         * configure.in (READELF): Find it with AC_CHECK_TOOL.
48097         Update tests that use readelf to use $READELF instead.
48098         * configure: Regenerated.
48099
48100 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
48101
48102         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48103         if the result is not used.
48104
48105 2011-07-05  Andreas Jaeger  <aj@suse.de>
48106
48107         [BZ#9696]
48108         * stdlib/tst-strtod.c: Add testcase.
48109
48110 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
48111
48112         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48113         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48114         The latter has a higher limit.  Take additional parameter to pass to
48115         the new function.
48116         (__pathconf): Pass file to __statfs_link_max.
48117         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48118         __statfs_link_max.
48119         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48120         __statfs_link_max.
48121
48122         [BZ #12868]
48123         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48124         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48125         Handle Lustre.
48126         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48127         (__statfs_filesize_max): Likewise.
48128         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48129
48130 2011-07-05  Andreas Jaeger  <aj@suse.de>
48131
48132         * resolv/res_comp.c (dn_skipname): Remove unused variable.
48133
48134 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
48135
48136         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48137         `status' variable.
48138         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48139         Likewise.
48140
48141 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
48142
48143         * Makefile (strop-tests): Add strncat.
48144         * string/test-strncat.c: New file.
48145
48146 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
48147
48148         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48149
48150 2011-06-21  Andreas Jaeger  <aj@suse.de>
48151
48152         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48153         Copy rule from iconvdata/Makefile.
48154
48155 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48156
48157         [BZ #12922]
48158         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48159         but no long options are defined, just return 'W'.
48160
48161 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
48162
48163         [BZ #9696]
48164         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48165
48166 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48167
48168         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48169         netgroups to read.
48170         (innetgr): Likewise.
48171
48172 2011-07-05  Roland McGrath  <roland@hack.frob.com>
48173
48174         * config.make.in (install_root): Default to $(DESTDIR).
48175
48176 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
48177
48178         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48179
48180 2011-07-02  Roland McGrath  <roland@hack.frob.com>
48181
48182         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48183
48184         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48185         containing directory rather than embedding absolute directory names.
48186
48187         * scripts/check-local-headers.sh: Rewritten using awk.
48188         Match by word, not by line.  Print error messages for matches.
48189         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48190
48191         * Makerules [shlib-lds-flags empty]:
48192         ($(common-objpfx)libc_pic.opts): New target.
48193         ($(common-objpfx)libc_pic.os.clean): New target.
48194         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48195
48196         * config.make.in (OBJCOPY): New variable.
48197         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48198         * configure: Regenerated.
48199
48200         * config.make.in (use-default-link): New variable.
48201         * configure.in (use_default_link): Grok --with-default-link to set it.
48202         * configure: Regenerated.
48203         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48204         (shlib-lds, shlib-lds-flags): Define to empty.
48205
48206         * Makerules (shlib-lds): New variable.
48207         (shlib-lds-flags): New variable.
48208         (build-shlib, build-moduile, build-module-asneeded): Use it.
48209         ($(common-objpfx)libc.so): Use $(shlib-lds).
48210         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48211         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48212
48213         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48214         DT_FLAGS/DT_FLAGS_1 with zero flags.
48215
48216         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48217         linker script munging.
48218
48219 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
48220
48221         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48222         as 128-bit value.
48223         * crypt/sha512.c (sha512_process_block): Perform total addition using
48224         128-bit if possible.
48225         (__sha512_finish_ctx): Likewise.
48226         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48227         as 64-bit value.
48228         * crypt/sha256.c (SWAP64): Define.
48229         (sha256_process_block): Perform total addition using 64-bit if
48230         possible.
48231         (__sha256_finish_ctx): Likewise.
48232
48233 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
48234
48235         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
48236         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48237         * nscd/hstcache.c (cache_addhst): Likewise.
48238         * nscd/grpcache.c (cache_addgr): Likewise.
48239         * nscd/aicache.c (addhstaiX): Likewise
48240         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48241
48242 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
48243
48244         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48245         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48246         * nscd/hstcache.c (cache_addhst): Likewise.
48247         * nscd/grpcache.c (cache_addgr): Likewise.
48248         * nscd/aicache.c (addhstaiX): Likewise
48249
48250 2011-07-01  Andreas Schwab  <schwab@redhat.com>
48251
48252         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48253         domain only when needed.
48254
48255 2011-06-30  Andreas Schwab  <schwab@redhat.com>
48256
48257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48258         is always restored.
48259
48260 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
48261
48262         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48263         are re-adding the entry.
48264         * nscd/servicescache.c (cache_addserv): Likewise.
48265
48266 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
48267
48268         * sysdeps/generic/dl-irel.h: fix protection against multiple
48269         inclusions.
48270         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48271
48272 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
48273
48274         [BZ #12935]
48275         * malloc/memusage.sh: Fix quoting in message.
48276         * debug/xtrace.sh: Likewise.
48277
48278         * configure.in: Remove support for --experimental-malloc option, make
48279         it the default.
48280         * config.make.in: Likewise.
48281         * malloc/Makefile: Likewise.
48282
48283 2011-06-27  Andreas Schwab  <schwab@redhat.com>
48284
48285         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48286         two-byte characters.
48287
48288 2011-06-27  Roland McGrath  <roland@hack.frob.com>
48289
48290         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48291         AC_CACHE_CHECK invocation.
48292         * configure: Regenerated.
48293
48294         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48295
48296 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
48297
48298         [BZ #12350]
48299         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
48300         bit from old_res_options.
48301
48302         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48303
48304         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48305         value type for setfct.
48306
48307 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
48308
48309         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48310         __gettimeofday instead of gettimeofday.
48311
48312 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
48313
48314         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48315
48316 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
48317
48318         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48319
48320         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48321         info.
48322
48323 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48324
48325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48326         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48327         strcpy-sse2-unaligned strncpy-sse2-unaligned
48328         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48329         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48330         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48331         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48332         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48333         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48334         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48335         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48336         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48337         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48338         (STRCPY): Support SSE2 and SSSE3 versions.
48339
48340 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
48341
48342         [BZ #12874]
48343         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48344         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48345         kernels which artificially limit size of requests.
48346
48347 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48348
48349         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48350         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48351         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48352         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48353         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48354         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48355         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48356         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48357         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48358         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48359         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48360         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48361         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48362         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48363         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48365         Enable unaligned load optimization for Intel Core i3, i5 and i7
48366         processors.
48367         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48368         Define.
48369         (index_Fast_Unaligned_Load): Define.
48370         (HAS_FAST_UNALIGNED_LOAD): Define.
48371
48372 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
48373
48374         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48375
48376 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48377
48378         [BZ #12907]
48379         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48380         until it is clear that the information is realy needed.
48381         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48382
48383 2011-06-22  Andreas Schwab  <schwab@redhat.com>
48384
48385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48386
48387 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48388
48389         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48390         /sys/devices/system/cpu/online if it is usable.
48391
48392         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48393         reading the information from the /proc filesystem to once a second.
48394
48395 2011-06-21  Andreas Jaeger  <aj@suse.de>
48396
48397         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48398         NULL after inclusion of kernel headers.
48399
48400 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
48401
48402         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48403         calls to internal_setent.
48404
48405         [BZ #12885]
48406         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48407         addresses using gethostbyname4_r ignore IPv4 addresses.
48408
48409         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48410         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
48411
48412         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48413
48414 2011-06-20  David S. Miller  <davem@davemloft.net>
48415
48416         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48417         inclusions.
48418         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48419
48420         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48421         (elf_irel): Use it.
48422         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48423         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48424         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48425         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48426         * sysdeps/x86_64/dl-irel.h: Likewise.
48427
48428         * elf/dl-runtime.c: Use elf_ifunc_invoke.
48429         * elf/dl-sym.c: Likewise.
48430
48431 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48432
48433         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
48434         need to dereference resplen2.
48435
48436 2011-06-14  Andreas Schwab  <schwab@redhat.com>
48437
48438         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48439
48440 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48441
48442         * Makeconfig: Define vardbdir and inst_vardbdir.
48443         * nss/Makefile: Add rules to install db-Makefile.
48444
48445         * nss/nss_db/db-XXX.c: Cleanup.
48446
48447         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48448         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48449         GLIBC_PRIVATE.
48450         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48451         * nss/makedb.c: Implement -g option to specify that value strings
48452         are generated and should not be added to table iterated over for
48453         get*ent calls.
48454         * nss/nss_db/db-initgroups.c: New file.
48455
48456         * nss/getent.c: Add support for initgroups lookups through getgrouplist
48457         interface.
48458
48459         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48460         (internal_getgrouplist): Adjust to name change.
48461         Update use_initgroups_entry if this is not the first call.
48462         * nss/databases.def: Add initgroups entry.
48463
48464         * nss/makedb.c (compute_tables): Check result of multiple hash table
48465         sizes to minimize maximum chain length.
48466
48467 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
48468
48469         * Versions.def: Add entry for libnss_db.
48470         * shlib-versions: Likewise.
48471         * nss/Makefile: Add rules to build libnss_db.
48472         * nss/Versions: Add libnss_db information.  Organize libnss_files
48473         entries better.
48474         * nss/db-Makefile: Add gshadow support.  Change rules for the new
48475         makedb progra.  Some minor improvements to generate smaller files.
48476         * nss/nss_db/nss_db.h: Move NSS database header data structures to
48477         here from...
48478         * nss/makedb.c: ...here.
48479         Improve database format to be smaller and require less memory at
48480         runtime.
48481         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
48482         db anymore.
48483         * nss/nss_db/db-netgrp.c: Likewise.
48484         * nss/nss_db/db-open.c: Likewise.
48485         * nss/nss_files/flies-XXX.x: Adjust comments.
48486         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48487         * nss/nss_files/files-grp.c: Likewise.
48488         * nss/nss_files/files-hosts.c: Likewise.
48489         * nss/nss_files/files-network.c: Likewise.
48490         * nss/nss_files/files-proto.c: Likewise.
48491         * nss/nss_files/files-pwd.c: Likewise.
48492         * nss/nss_files/files-rpc.c: Likewise.
48493         * nss/nss_files/files-service.c: Likewise.
48494         * nss/nss_files/files-sgrp.c: Likewise.
48495         * nss/nss_files/files-spwd.c: Likewise.
48496         * nss/nss_db/db-alias.c: Removed.
48497         * nss/nss_db/dummy-db.h: Removed.
48498
48499 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
48500
48501         * nss/makedb.c: Rewritten to not use database library.
48502         * nss/Makefile: Update to build new makedb program.
48503
48504 2011-06-14  Andreas Jaeger  <aj@suse.de>
48505
48506         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48507         memset declaration.
48508
48509 2011-06-10  Andreas Schwab  <schwab@redhat.com>
48510
48511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48512         tmpbuf.
48513
48514 2011-06-10  Roland McGrath  <roland@hack.frob.com>
48515
48516         * Makerules (shlib.lds): Fail if the linker script comes out empty.
48517         * elf/Makefile ($(objpfx)ld.so): Likewise.
48518
48519         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48520         Don't list ld.so twice in dependencies.
48521
48522         * posix/bug-regex31.c: Include <stdlib.h>.
48523
48524         * nscd/hstcache.c (cache_addhst): Remove unused variable.
48525
48526         * nis/nss_compat/compat-spwd.c
48527         (getspent_next_nss_netgr): Remove unused variable.
48528         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48529
48530         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48531         nonmembers" output to use the right array.
48532
48533         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48534
48535         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48536
48537         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48538         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48539         * catgets/gencat.c (read_input_file): Likewise.
48540         * locale/programs/locarchive.c (enlarge_archive): Likewise.
48541
48542         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48543         variable definition inside #if's controlling its use.
48544
48545         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48546
48547         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48548
48549         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48550
48551         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48552         unreachable code.
48553
48554         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48555
48556         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48557         * configure: Regenerated.
48558
48559         * Makerules: Revert last change.
48560         * elf/Makefile: Likewise.
48561
48562 2011-06-09  Roland McGrath  <roland@hack.frob.com>
48563
48564         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48565         * elf/Makefile ($(objpfx)librtld.os): Likewise.
48566         (reloc-link): Likewise.
48567
48568 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
48569
48570         * elf/Makefile: Add rules to build pldd.
48571         * elf/pldd.c: New file.
48572         * elf/pldd-xx.c: New file.
48573
48574 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
48575
48576         * version.h: Update for 2.15 development version.
48577
48578 2011-06-07  David S. Miller  <davem@davemloft.net>
48579
48580         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48581         ifuncs.
48582         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48583         elf_machine_lazy_rel): Likewise.
48584         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48585         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48586         elf_machine_lazy_rel): Likewise.
48587         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48588         dl_hwcap via passed in argument.
48589         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48590         Likewise.
48591
48592 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48593
48594         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
48595
48596 2011-06-06  Roland McGrath  <roland@hack.frob.com>
48597
48598         [BZ #12849]
48599         * manual/fdl-1.1.texi: New file, verbatim from:
48600         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48601         * manual/lgpl-2.1.texi: New file, verbatim from:
48602         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48603         * manual/Makefile (licenses): New variable, list those new file names.
48604         (texis): Use it.
48605         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48606
48607         * manual/fdl.texi: File removed.
48608         * manual/lesser.texi: File removed.
48609         * manual/libc.texinfo (Copying, Documentation License):
48610         Use new @include file names, put @appendix directive before @include.
48611
48612 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
48613
48614         [BZ #12841]
48615         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48616         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48617         (mq_open): Add __NTH.
48618
48619 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
48620
48621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48622         Assume Intel Core i3/i5/i7 processor if AVX is available.
48623
48624 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
48625
48626         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48627         typo.
48628
48629 2011-05-31  Andreas Schwab  <schwab@redhat.com>
48630
48631         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48632         memory.  Use alloca_account.  Fix memory leak when retrying.
48633
48634 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
48635
48636         * version.h (RELEASE): Bump for 2.14 release.
48637         * include/features.h (__GLIBC_MINOR__): Bump to 14.
48638
48639         * config.make.in (RANLIB): Remove entry.
48640
48641 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
48642
48643         * po/Makefile (po-sed-cmd): Add ksh to extensions.
48644         (libc.pot): Work around missing support for .ksh extension in xgettext.
48645
48646         [BZ #12684]
48647         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48648         if both request failed.
48649         (send_dg): In case of server errors clear resplen or *resplen2.
48650
48651         [BZ #12454]
48652         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48653         when there are multiple maps.
48654         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48655         (_dl_fini): Remove test here.
48656
48657         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48658
48659 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
48660
48661         [BZ #12350]
48662         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48663         bit from old_res_options.
48664         (gaih_inet): Likewise.
48665
48666         [BZ #11099]
48667         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
48668         as signed.
48669
48670         * resolv/res_init.c (res_setoptions): Make the code more compact.
48671
48672         [BZ #11558]
48673         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48674         set RES_USEVC.
48675
48676         [BZ #11634]
48677         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48678
48679         * malloc/malloc.h: Mark malloc hook variables as deprecated.
48680
48681         [BZ #11781]
48682         * malloc/malloc.h: Declare malloc hook variables as volatile.
48683
48684         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48685         in last patch.
48686
48687         [BZ #11799]
48688         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
48689         raise in the comment.
48690         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48691         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48692         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
48693
48694 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
48695
48696         [BZ #12811]
48697         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48698         grow the buffers more if it already has to be sufficient.
48699         (build_wcs_upper_buffer): Likewise.
48700         * posix/regexec.c (check_matching): Likewise.
48701         (clean_state_log_if_needed): Likewise.
48702         (extend_buffers): Don't enlarge buffers beyond size of the input
48703         buffer.
48704         Patches mostly by Emil Wojak <emil@wojak.eu>.
48705         * posix/bug-regex32.c: New file.
48706         * posix/Makefile (tests): Add bug-regex32.
48707
48708         * locale/findlocale.c (_nl_find_locale): Return right away if
48709         _nl_explode_name failed.
48710         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48711
48712         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48713
48714         * debug/xtrace.sh: Unify messages.
48715         * malloc/memusage.sh: Likewise.
48716
48717         [BZ #12813]
48718         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48719         time symbol from vDSO.  Substitute with vsyscall if not available.
48720         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48721         __vdso_time.
48722
48723         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48724         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48725         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48726         Add sendmmsg and internal_sendmmsg.
48727         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48728         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48729         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48730
48731         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48732         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48733         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48734
48735 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
48736
48737         [BZ #12813]
48738         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48739         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
48740         available.
48741         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48742         __vdso_getcpu.
48743
48744         [BZ #12814]
48745         * iconvdata/Makefile (tests): Add bug-iconv9.
48746         * iconvdata/bug-iconv9.c: New file.
48747
48748 2011-05-27  Andreas Schwab  <schwab@redhat.com>
48749
48750         [BZ #12814]
48751         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48752
48753 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
48754
48755         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48756         (struct user_regs_struct): Change intcs field back to cs.
48757
48758 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
48759
48760         * po/ja.po: Update from translation team.
48761
48762 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
48763
48764         [BZ #12795]
48765         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48766         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48767
48768 2011-05-20  Andreas Schwab  <schwab@redhat.com>
48769
48770         * stdlib/longlong.h: Update from GCC.
48771
48772 2011-05-23  Andreas Schwab  <schwab@redhat.com>
48773
48774         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48775         parameter name.
48776         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48777         Add parameter name.
48778         (__sysconf): Pass it down.
48779
48780 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
48781
48782         [BZ #12671]
48783         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48784         some situations.
48785         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48786         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48787         add in in __libc_use_alloca calls.  Adjust callers.
48788         (glob): Use malloc in some situations.
48789
48790         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48791         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48792         pltexit.
48793
48794 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
48795
48796         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48797         and CLOCK_BOOTTIME_ALARM.
48798
48799         [BZ #12782]
48800         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48801         is returned.
48802
48803         * string/_strerror.c (__strerror_r): Print negative errors as signed
48804         numbers.
48805
48806         [BZ #12777]
48807         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48808         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48809         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48810
48811         * configure.in: Fix typo in redirection and correct removal of test
48812         files in two cases.
48813
48814         [BZ #12788]
48815         * locale/setlocale.c (new_composite_name): Fix test to check for
48816         identical name of all categories.
48817
48818         [BZ #12792]
48819         * libio/filedoalloc.c (local_isatty): New function.
48820         (_IO_file_doallocate): Use local_isatty.
48821         * stdio-common/perror.c (perror): In case a new stream is used
48822         forward the stream error.
48823         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48824         error flag.
48825
48826 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
48827
48828         [BZ #11869]
48829         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48830         alloca.
48831         * include/alloca.h (extend_alloca_account): Define.
48832
48833         [BZ #11857]
48834         * posix/regex.h: Fix comments with documentation of user-accessible
48835         fields after compilation and describe correct free'ing of pattern
48836         after re_compile_pattern.
48837         Patch by Reuben Thomas <rrt@sc3d.org>.
48838
48839 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
48840
48841         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48842         and -mno-altivec to prevent the compiler from using Altivec and/or
48843         VSX instructions when the corresponding registers are not available.
48844
48845 2011-05-19  Andreas Schwab  <schwab@redhat.com>
48846
48847         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48848
48849 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
48850
48851         * libio/freopen.c (freopen): Use __dup2, not dup2.
48852         * libio/freopen64.c (freopen64): Likewise.
48853
48854 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48855
48856         [BZ #12775]
48857         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48858         * math/Makefile (tests): Add test-powl.
48859         (CFLAGS-test-powl.c): Define.
48860         * math/test-powl.c: New file.
48861
48862 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48863
48864         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48865
48866 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
48867
48868         [BZ #11837]
48869         * iconvdata/gb18030.c: Update to GB18020-2005.
48870
48871 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
48872
48873         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48874         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48875         Patch by Aharon Robbins <arnold@skeeve.com>.
48876
48877         [BZ #11892]
48878         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48879         on the stack.
48880
48881         [BZ #11895]
48882         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48883         through underflows.
48884
48885         [BZ #12766]
48886         * misc/error.c (error_at_line): Ensure file_name and old_file_name
48887         point to strings before performing equality test for error_one_per_line
48888         mode.
48889
48890         [BZ #11697]
48891         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48892
48893         [BZ #11820]
48894         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48895         (struct user_fpregs_struct): Avoid __uint*_t types.
48896
48897         [BZ #6420]
48898         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48899         symbol info.  Use it instead of calling _dl_addr locally.
48900         (lock_and_info): New function.
48901         (tr_freehook): Call lock_and_info and pass symbol info as additional
48902         parameter to tr_where.
48903         (tr_mallochook): Likewise.
48904         (tr_reallochook): Likewise.
48905         (tr_memalignhook): Likewise.
48906
48907         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48908         used and couldn't be at all thread-safe.
48909
48910 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48911
48912         * libio/freopen.c (freopen): Don't close old file descriptor
48913         before the new one is opened.  Instead dup the new file descriptor
48914         to the old one after the new stream is created.
48915         * libio/freopen64.c (freopen64): Likewise.
48916         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48917         * libio/fileops.c (_IO_new_file_close_it): Handle new
48918         _IO_FLAGS2_NOCLOSE flag.
48919         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48920         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48921         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48922         _IO_FLAGS2_NOCLOSE flag.
48923         * include/unistd.h: Add hidden_proto for dup3.
48924         Define __have_dup3.
48925         * io/dup3.c: Define hidden symbol.
48926         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48927
48928         [BZ #7101]
48929         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48930         when an incomplete long option is used.
48931         * posix/tst-getopt_long1.c: New file.
48932         * posix/Makefile (tests): Add tst-getopt_long1.
48933
48934         [BZ #10138]
48935         * scripts/config.guess: Update from autoconf-2.68.
48936         * scripts/config.sub: Likewise.
48937
48938         [BZ #10157]
48939         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48940         tests into ...
48941         (has_cpuclock): ...this.  New function.
48942         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48943         macro here based on has_cpuclock code.
48944
48945         [BZ #10149]
48946         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48947         First byte (not low byte) is now always NUL.
48948         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48949
48950         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48951         Use non-cancelable interfaces.
48952
48953         [BZ #9809]
48954         * locale/iso-639.def: Add entry for Sorani.
48955
48956         [BZ #11901]
48957         * include/stdlib.h: Move include protection to the right place.
48958         Define abort_msg_s.  Declare __abort_msg with it.
48959         * stdlib/abort.c (__abort_msg): Adjust type.
48960         * assert/assert.c (__assert_fail_base): New function.  Majority
48961         of code from __assert_fail.  Allocate memory for __abort_msg with
48962         mmap.
48963         (__assert_fail): Now call __assert_fail_base.
48964         * assert/assert-perr.c: Remove bulk of implementation.  Use
48965         __assert_fail_base.
48966         * include/assert.hL Declare __assert_fail_base.
48967         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48968         mmap.
48969         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48970
48971 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48972
48973         [BZ #11952]
48974         [BZ #12453]
48975         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48976         until all modules are registered in the DTV.
48977         * elf/Makefile: Add rules to build and run tst-tls19.
48978         * elf/tst-tls19.c: New file.
48979         * elf/tst-tls19mod1.c: New file.
48980         * elf/tst-tls19mod2.c: New file.
48981         * elf/tst-tls19mod3.c: New file.
48982         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48983
48984         [BZ #12083]
48985         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48986         correctly.
48987
48988         [BZ #12601]
48989         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48990         two-byte sequence errors.
48991         * iconvdata/Makefile (tests): Add bug-iconv8.
48992         * iconvdata/bug-iconv8.c: New file.
48993
48994         [BZ #12626]
48995         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48996         buf2 definition.
48997
48998         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48999
49000         [BZ #12432]
49001         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49002         (dummy_getcfa): New function.
49003         (init): Get _Unwind_GetCFA address, use dummy if not found.
49004         (backtrace_helper): In recursion check, also check whether CFA changes.
49005         (__backtrace): Completely initialize arg.
49006
49007         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49008         storing incomplete byte sequence in state object.  Avoid testing for
49009         guaranteed too small input if we know there is enough data available.
49010
49011 2011-05-11  Andreas Schwab  <schwab@redhat.com>
49012
49013         * Makeconfig (+link-pie): Indent.
49014         * Rules (binaries-pie): Define if $(have-fpie) and
49015         $(build-shared).
49016         (binaries-shared): Also filter out $(binaries-pie).
49017         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49018         * nscd/Makefile (others-pie): Add nscd.
49019         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49020         ($(objpfx)nscd): Remove command override.
49021         * login/Makefile (others-pie): Add pt_chown.
49022         ($(objpfx)pt_chown): Remove command override.
49023         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49024         remove command overrides.
49025
49026 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
49027
49028         * libio/tst_putwc.c: Fix error messages.
49029
49030         [BZ #12724]
49031         * libio/fileops.c (_IO_new_file_close_it): Always flush when
49032         currently writing and seek to current position when not.
49033         * libio/Makefile (tests): Add bug-fclose1.
49034         * libio/bug-fclose1.c: New file.
49035
49036 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
49037
49038         [BZ #12511]
49039         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49040         don't set DF_1_NODELETE here.
49041         (do_lookup_x): When entering new entry test for copy relocation
49042         and if necessary set DF_1_NODELETE flag.
49043         * elf/tst-unique4.cc: New file.
49044         * elf/tst-unique4.h: New file.
49045         * elf/tst-unique4lib.cc: New file.
49046         * elf/Makefile: Add rules to build and run tst-unique4.
49047         Patch by Piotr Bury <pbury@goahead.com>.
49048
49049 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
49050
49051         [BZ #12052]
49052         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49053
49054         [BZ #12625]
49055         * misc/mntent_r.c (addmntent): Flush the stream after the output
49056
49057         [BZ #12393]
49058         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49059         (is_trusted_path_normalize): Skip initial colon.  Append slash
49060         to empty buffer.  Duplicate is_trusted_path code but allow
49061         constructed patch to be prefix.
49062         (is_dst): Allow $ORIGIN followed by /.
49063         (_dl_dst_substitute): Correct clearing of check_for_trusted.
49064         Correct testing of result of is_trusted_path_normalize
49065         (decompose_rpath): Fix warning.
49066
49067 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
49068
49069         [BZ #11257]
49070         * grp/initgroups.c (internal_getgrouplist): When we found the service
49071         list through the initgroups entry in nsswitch.conf do not always
49072         continue on a successful lookup.  Don't always use the
49073         __nss_group_database value if it is set.
49074         * nss/nsswitch.conf (initgroups): Change action for successful db
49075         lookup to continue for compatibility.
49076
49077 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
49078
49079         [BZ #11532]
49080         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49081         and CP774 modules.
49082         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49083         and CP774 modules.
49084         * iconvdata/tst-tables.sh: Likewise.
49085         * iconvdata/cp770.c: New file.
49086         * iconvdata/cp771.c: New file.
49087         * iconvdata/cp772.c: New file.
49088         * iconvdata/cp773.c: New file.
49089         * iconvdata/cp774.c: New file.
49090         * iconvdata/testdata/CP770: New file.
49091         * iconvdata/testdata/CP770..UTF8: New file.
49092         * iconvdata/testdata/CP771: New file.
49093         * iconvdata/testdata/CP771..UTF8: New file.
49094         * iconvdata/testdata/CP772: New file.
49095         * iconvdata/testdata/CP772..UTF8: New file.
49096         * iconvdata/testdata/CP773: New file.
49097         * iconvdata/testdata/CP773..UTF8: New file.
49098         * iconvdata/testdata/CP774: New file.
49099         * iconvdata/testdata/CP774..UTF8: New file.
49100
49101         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49102         END CHARMAP line.
49103         * iconvdata/gen-8bit-gap.sh: Likewise.
49104         * iconvdata/gen-8bit.sh: Likewise.
49105
49106         * locale/iso-639.def: Add ary entry.
49107
49108         [BZ #11258]
49109         * locale/C-translit.h.in: Add U20A1 transliteration.
49110
49111         [BZ #12178]
49112         * locale/iso-639.def: Add wae entry.
49113         Patch by Kevin Bortis <bortis@translate-wae.ch>.
49114
49115         [BZ #12545]
49116         * locale/programs/localedef.c (construct_output_path): Use ssize_t
49117         for n.
49118
49119         [BZ #12711]
49120         * locale/C-translit.h.in: Add entry for U20B9.
49121         Patch by pravin.d.s@gmail.com.
49122
49123 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
49124
49125         [BZ #12713]
49126         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49127         ENAMETOOLONG use generic getcwd.
49128         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
49129         in rtld.  Use *stat64.
49130         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49131         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49132         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49133         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49134         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49135         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49136         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49137         __fstatat64 macros.
49138         * include/dirent.h: Add libc_hidden_proto for rewinddir.
49139         * dirent/rewinddir.c: Add libc_hidden_def.
49140         * sysdeps/mach/hurd/rewinddir.c: Likewise.
49141         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
49142
49143         * include/dirent.h (__alloc_dir): Add flags parameter.
49144         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49145         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49146         __alloc_dir.
49147         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
49148         from fdopendir if O_CLOEXEC is already set.
49149
49150 2011-03-15  Alan Modra  <amodra@gmail.com>
49151
49152         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49153         l_tls_firstbyte_offset non-zero.  Save padding offset in
49154         l_tls_firstbyte_offset for later use.
49155         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49156         freeing static tls block.
49157
49158 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
49159
49160         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49161         where #ifdef was intended.  The intent is to prevent ARG_MAX from
49162         being defined by the kernel headers.
49163
49164 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
49165
49166         [BZ #12734]
49167         * resolv/resolv.h: Define RES_NOTLDQUERY.
49168         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49169         no-tld-query and set RES_NOTLDQUERY.
49170         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49171         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49172         modern BIND to search name as TLD unless forbidden.
49173
49174 2011-05-07  Petr Baudis  <pasky@suse.cz>
49175             Ulrich Drepper  <drepper@gmail.com>
49176
49177         [BZ #12393]
49178         * elf/dl-load.c (fillin_rpath): Move trusted path check...
49179         (is_trusted_path): ...to here.
49180         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49181         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49182         using is_trusted_path_normalize() in setuid scripts.
49183
49184 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49185
49186         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49187         __BEGIN/__END_DECLS.
49188
49189 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
49190
49191         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49192         NSS_STATUS_NOTFOUND if no record was found.
49193
49194 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49195
49196         * sunrpc/Makefile (headers): Add rpc/netdb.h.
49197         (headers-not-in-tirpc): Remove rpc/netdb.h
49198         * resolv/netdb.h: Revert last change.
49199
49200 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49201
49202         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49203         circular dependency between libgcc.a and libc.a.
49204
49205 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49206
49207         * resolv/netdb.h: Don't include <rpc/netdb.h>.
49208         * nis/Makefile: Don't install rpcsvc/*.
49209         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49210         instead of <rpc/types.h>.
49211         (MAXHOSTNAMELEN): Define.
49212
49213 2011-05-03  Andreas Schwab  <schwab@redhat.com>
49214
49215         * elf/ldconfig.c (add_dir): Don't crash on empty path.
49216
49217 2011-04-28  Maciej Babinski  <mbabinski@google.com>
49218
49219         [BZ #12714]
49220         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49221         gethostbyname4_r when IPv6 results are possible.
49222
49223 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
49224
49225         [BZ #12723]
49226         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49227         _PC_PIPE_BUF handling.
49228
49229 2011-04-30  Bruno Haible  <bruno@clisp.org>
49230
49231         [BZ #12717]
49232         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49233         * resolv/netdb.h (getnameinfo): Change type of flags parameter
49234         to 'int'.
49235         * inet/getnameinfo.c (getnameinfo): Likewise.
49236
49237 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
49238
49239         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49240         to groups setting in database lookup.
49241         * nss/nsswitch.conf: Add initgroups entry.
49242
49243 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
49244
49245         [BZ #12685]
49246         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49247         mode string.
49248         Patch by Eric Blake <eblake@redhat.com>.
49249
49250 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
49251
49252         * sunrpc/Makefile (need-export-routines): Add svc_run.
49253         (routines): Remove svc_run.
49254         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49255         * sunrpc/clnt_perr.c (clnt_perrno): Export.
49256         * sunrpc/svc_run.c (svc_run): Likewise.
49257         * sunrpc/svc_udp.c (svcudp_create): Likewise.
49258
49259 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
49260
49261         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49262         problem in reallocation in last patch.
49263
49264 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
49265
49266         * sunrpc/Makefile: Move inclusion of Rules.
49267
49268 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49269
49270         * nss/nss_files/files-initgroups.c: New file.
49271         * nss/Makefile (libnss_files-routines): Add files-initgroups.
49272         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49273         _nss_files_initgroups_dyn.
49274
49275 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
49276
49277         * elf/elf.h (R_ARM_IRELATIVE): Define.
49278
49279 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49280
49281         * po/ru.po: Update from translation team.
49282
49283 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49284
49285         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49286         dependencies.
49287
49288 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
49289
49290         [BZ #12653]
49291         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49292         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49293         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49294         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49295         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49296
49297 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
49298
49299         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49300         differing bytes.
49301         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49302         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49303         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49304
49305 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49306
49307         [BZ #12420]
49308         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49309         storing it.
49310         * stdlib/bug-getcontext.c: New file.
49311         * stdlib/Makefile: Add rules to build and run bug-getcontext.
49312
49313 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49314
49315         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49316         instructions into .machine "z9-109".
49317         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49318         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49319
49320 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49321
49322         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49323         between environment variables and auxiliary vector.
49324
49325 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
49326
49327         * Makefile: Add rules to build linkobj/libc.so.
49328         * include/libc-symbols.h: Define libc_hidden_nolink.
49329         * include/rpc/auth.h: Mark functions which are to be hidden.
49330         * include/rpc/auth_des.h: Likewise.
49331         * include/rpc/auth_unix.h: Likewise.
49332         * include/rpc/clnt.h: Likewise.
49333         * include/rpc/des_crypt.h: Likewise.
49334         * include/rpc/key_prot.h: Likewise.
49335         * include/rpc/pmap_clnt.h: Likewise.
49336         * include/rpc/pmap_prot.h: Likewise.
49337         * include/rpc/pmap_rmt.h: Likewise.
49338         * include/rpc/rpc_msg.h: Likewise.
49339         * include/rpc/svc.h: Likewise.
49340         * include/rpc/svc_auth.h: Likewise.
49341         * include/rpc/xdr.h: Likewise.
49342         * nis/Makefile: Link all DSOs against linkobj/libc.so.
49343         * nss/Makefile: Likewise.
49344         * sunrpc/Makefile: Don't install headers.  Build library with normal
49345         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
49346         * sunrpc/auth_des.c: Hide exported symbols by default, export some
49347         for the compat linking library.  Remove use of INTDEF/INTUSE.
49348         * sunrpc/auth_none.c: Likewise.
49349         * sunrpc/auth_unix.c: Likewise.
49350         * sunrpc/authdes_prot.c: Likewise.
49351         * sunrpc/authuxprot.c: Likewise.
49352         * sunrpc/clnt_gen.c: Likewise.
49353         * sunrpc/clnt_perr.c: Likewise.
49354         * sunrpc/clnt_raw.c: Likewise.
49355         * sunrpc/clnt_simp.c: Likewise.
49356         * sunrpc/clnt_tcp.c: Likewise.
49357         * sunrpc/clnt_udp.c: Likewise.
49358         * sunrpc/clnt_unix.c: Likewise.
49359         * sunrpc/des_crypt.c: Likewise.
49360         * sunrpc/des_soft.c: Likewise.
49361         * sunrpc/get_myaddr.c: Likewise.
49362         * sunrpc/key_call.c: Likewise.
49363         * sunrpc/key_prot.c: Likewise.
49364         * sunrpc/netname.c: Likewise.
49365         * sunrpc/pm_getmaps.c: Likewise.
49366         * sunrpc/pm_getport.c: Likewise.
49367         * sunrpc/pmap_clnt.c: Likewise.
49368         * sunrpc/pmap_prot.c: Likewise.
49369         * sunrpc/pmap_prot2.c: Likewise.
49370         * sunrpc/pmap_rmt.c: Likewise.
49371         * sunrpc/publickey.c: Likewise.
49372         * sunrpc/rpc_cmsg.c: Likewise.
49373         * sunrpc/rpc_common.c: Likewise.
49374         * sunrpc/rpc_dtable.c: Likewise.
49375         * sunrpc/rpc_prot.c: Likewise.
49376         * sunrpc/rpc_thread.c: Likewise.
49377         * sunrpc/rtime.c: Likewise.
49378         * sunrpc/svc.c: Likewise.
49379         * sunrpc/svc_auth.c: Likewise.
49380         * sunrpc/svc_authux.c: Likewise.
49381         * sunrpc/svc_raw.c: Likewise.
49382         * sunrpc/svc_run.c: Likewise.
49383         * sunrpc/svc_simple.c: Likewise.
49384         * sunrpc/svc_tcp.c: Likewise.
49385         * sunrpc/svc_udp.c: Likewise.
49386         * sunrpc/svc_unix.c: Likewise.
49387         * sunrpc/svcauth_des.c: Likewise.
49388         * sunrpc/xcrypt.c: Likewise.
49389         * sunrpc/xdr.c: Likewise.
49390         * sunrpc/xdr_array.c: Likewise.
49391         * sunrpc/xdr_float.c: Likewise.
49392         * sunrpc/xdr_intXX_t.c: Likewise.
49393         * sunrpc/xdr_mem.c: Likewise.
49394         * sunrpc/xdr_rec.c: Likewise.
49395         * sunrpc/xdr_ref.c: Likewise.
49396         * sunrpc/xdr_sizeof.c: Likewise.
49397         * sunrpc/xdr_stdio.c: Likewise.
49398
49399 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
49400
49401         [BZ #12650]
49402         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49403         * sysdeps/ia64/dl-tls.h: Likewise.
49404         * sysdeps/powerpc/dl-tls.h: Likewise.
49405         * sysdeps/s390/dl-tls.h: Likewise.
49406         * sysdeps/sh/dl-tls.h: Likewise.
49407         * sysdeps/sparc/dl-tls.h: Likewise.
49408         * sysdeps/x86_64/dl-tls.h: Likewise.
49409         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49410
49411 2011-03-14  Andreas Schwab  <schwab@redhat.com>
49412
49413         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49414         rpath element also skip the following colon.
49415         (expand_dynamic_string_token): Add is_path parameter and pass
49416         down to DL_DST_REQUIRED and _dl_dst_substitute.
49417         (decompose_rpath): Call expand_dynamic_string_token with
49418         non-zero is_path.  Ignore empty rpaths.
49419         (_dl_map_object_from_fd): Call expand_dynamic_string_token
49420         with zero is_path.
49421
49422 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
49423
49424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49425         Make cancelable.
49426
49427 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
49428
49429         [BZ #12655]
49430         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49431         Patch by Filipe David Manana <fdmanana@apache.org>.
49432
49433 2011-04-07  Andreas Schwab  <schwab@redhat.com>
49434
49435         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49436         Maintain aligned stack.
49437         (CHECK_RSP): Remove unused macro.
49438
49439 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
49440
49441         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49442         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49443
49444 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
49445
49446         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49447
49448         * include/features.h: Mention __USE_XOPEN2K8 in comment.
49449
49450 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
49451
49452         [BZ #12518]
49453         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49454         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49455         * sysdeps/x86_64/memmove.c: New file.
49456         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49457         (memcpy): Renamed to ...
49458         (__new_memcpy): This.
49459         (memcpy): Provide GLIBC_2_14 memcpy.
49460         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49461         (memcpy): Provide GLIBC_2_2_5 memcpy.
49462
49463 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49464
49465         [BZ #12631]
49466         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49467
49468 2011-03-30  Andreas Schwab  <schwab@redhat.com>
49469
49470         * misc/syncfs.c: New file.
49471         * misc/Makefile (routines): Add syncfs.
49472         * posix/unistd.h: Declare syncfs.
49473         * sysdeps/unix/syscalls.list: Add syncfs.
49474
49475 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49476
49477         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49478         open_by_handle_at.
49479         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49480         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49481         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49482         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49483         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49484         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49485         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49486
49487 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49488
49489         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49490         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49491         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49492         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49493         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49494         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49495         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49496
49497         * io/Makefile: Compile fallocate.c, fallocate64.c, and
49498         sync_file_range.c with -fexceptions.
49499         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49500         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49501         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49502         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49503         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49504         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49505         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49506         sync_file_range as cancellation point
49507         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
49508         now a wrapper around __call_sync_file_range with cancellation handling.
49509         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49510         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
49511         function name to __call_sync_file_range.
49512         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49513         Add call_sync_file_range.
49514
49515 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49516
49517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49518         bits/timex.h.
49519
49520 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49521
49522         * iconv/iconv.h: Fix typo in comment.
49523         * io/fcntl.h: Likewise.
49524         * libio/stdio.h: Likewise.
49525         * posix/spawn.h: Likewise.
49526         * posix/unistd.h: Likewise.
49527         * stdlib/stdlib.h: Likewise.
49528         * time/time.h: Likewise.
49529         * wcsmbs/wchar.h: Likewise.
49530
49531         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49532         open_by_handle): Add.
49533         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49534         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
49535         Augment a few comments.
49536         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49537         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49538         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49539         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49540         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49541         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49542         open_by_handle.
49543
49544         * io/fcntl.h (AT_EMPTY_PATH): Define.
49545
49546 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
49547
49548         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49549         * sysdeps/unix/sysv/linux/bits/time.h: New file.
49550         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49551         to...
49552         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
49553         * Versions.def: Add GLIBC_2.14.
49554         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49555         Export.
49556
49557 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
49558
49559         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49560         round counter.
49561         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49562
49563 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49564
49565         [BZ #12597]
49566         * string/test-strncmp.c (do_page_test): New function.
49567         (check2): Likewise.
49568         (test_main): Call check2.
49569         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49570
49571 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
49572
49573         [BZ #12587]
49574         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49575         Handle cache information in CPU leaf 4.
49576         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49577
49578 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
49579
49580         [BZ #12583]
49581         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49582         character representation.
49583         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49584
49585 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
49586
49587         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49588         END(__isnan) to END(__isnanf) to match function entry point/label
49589         EALIGN(__isnanf,...).
49590
49591 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
49592
49593         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49594
49595 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
49596
49597         [BZ #12510]
49598         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49599         copy from the symbol referenced in the relocation to initialize the
49600         used variable.
49601         Patch by Piotr Bury <pbury@goahead.com>.
49602         * elf/Makefile: Add rules to build and tst-unique3.
49603         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49604         * elf/tst-unique3.cc: New file.
49605         * elf/tst-unique3.h: New file.
49606         * elf/tst-unique3lib.cc: New file.
49607         * elf/tst-unique3lib2.cc: New file.
49608
49609         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49610
49611 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
49612
49613         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49614         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
49615         to _start.
49616
49617 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
49618
49619         * elf/dl-load.c (_dl_map_object): If we are looking for the first
49620         to-be-loaded object along a path to loader is ld.so.
49621
49622 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
49623             Ulrich Drepper  <drepper@gmail.com>
49624
49625         * sysdeps/x86_64/memset.S: After aligning destination, code
49626         branches to different locations depending on the value of
49627         misalignment, when multiarch is enabled. Fix this.
49628
49629 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
49630
49631         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49632         Set _x86_64_preferred_memory_instruction for AMD processsors.
49633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49634         Set bit_Prefer_SSE_for_memop for AMD processors.
49635
49636 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
49637
49638         * libio/fmemopen.c (fmemopen): Optimize a bit.
49639
49640 2011-03-03  Andreas Schwab  <schwab@redhat.com>
49641
49642         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49643
49644 2011-03-03  Roland McGrath  <roland@redhat.com>
49645
49646         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49647
49648 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
49649
49650         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
49651         __bzero_ultra1 instead of __memset_ultra1.
49652
49653 2011-02-23  Andreas Schwab  <schwab@redhat.com>
49654             Ulrich Drepper  <drepper@gmail.com>
49655
49656         [BZ #12509]
49657         * include/link.h (struct link_map): Add l_orig_initfini.
49658         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49659         returning unsuccessfully.
49660         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49661         close of a file loaded at startup, restore the original l_initfini
49662         list.
49663         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49664         list, store the pointer.
49665         * elf/Makefile ($(objpfx)noload-mem): New rule.
49666         (noload-ENV): Define.
49667         (tests): Add $(objpfx)noload-mem.
49668         * elf/noload.c: Include <memcheck.h>.
49669         (main): Call mtrace.  Close all opened handles.
49670
49671 2011-02-17  Andreas Schwab  <schwab@redhat.com>
49672
49673         [BZ #12454]
49674         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49675         dependencies are missing.
49676
49677 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49678
49679         Fix __if_freereq crash: Unlike the generic version which uses free,
49680         Hurd needs munmap.
49681         * sysdeps/mach/hurd/ifreq.h: New file.
49682
49683 2011-01-27  Petr Baudis  <pasky@suse.cz>
49684             Ulrich Drepper  <drepper@gmail.com>
49685
49686         [BZ 12445]#
49687         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49688         to extend_alloca().
49689         * stdio-common/bug23.c: New file.
49690         * stdio-common/Makefile (tests): Add bug23.
49691
49692 2010-09-28  Andreas Schwab  <schwab@redhat.com>
49693             Ulrich Drepper  <drepper@gmail.com>
49694
49695         [BZ #12489]
49696         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49697         before performing relro protection.  At old place add assertion
49698         to make sure nothing changed.
49699
49700 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
49701             Glauber de Oliveira Costa  <glommer@gmail.com>
49702
49703         * elf/elf.h: Add new ARM TLS relocs.
49704
49705 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
49706
49707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49708         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49709         cast from r3.
49710         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
49711         'tests' variable.
49712         * sysdeps/wordsize-64/tst-writev.c: New file.
49713
49714 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
49715
49716         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49717         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49718         insns in _dl_start to prevent a TOC reference before relocs are
49719         resolved.
49720
49721 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
49722
49723         [BZ #12469]
49724         * Makeconfig: Remove RANLIB definition.
49725         * Makerules: Don't use RANLIB.
49726         * aclocal.m4: Remove ranlib test.
49727         * configure.in: No need to check for ranlib.
49728         * elf/rtld-Rules: Don't use RANLIB.
49729
49730 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49731
49732         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49733         protection macro.
49734         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49735         inclusion protection macro.
49736
49737         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49738         SIGRTMIN and SIGRTMAX and print information in that case only when
49739         SIGRTMIN is defined.
49740
49741 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
49742
49743         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49744         arginfo fn returning -1.
49745
49746         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49747         and thousands string is zero terminated.
49748
49749 2011-02-03  Andreas Schwab  <schwab@redhat.com>
49750
49751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49752         sysdeps/unix/sysv/linux/bits/socket.h.
49753
49754 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49755
49756         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49757         (__CPU_COUNT): Remove old macros.
49758         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49759         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49760         (__CPU_ALLOC, __CPU_FREE): Add macros.
49761         (__sched_cpualloc, __sched_cpufree): Add declarations.
49762
49763 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
49764
49765         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49766         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49767         * nscd/aicache.c (addhstaiX): Return timeout of added value.
49768         (readdhstai): Return value of addhstaiX call.
49769         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49770         (addgrbyX): Return value returned by cache_addgr.
49771         (readdgrbyname): Return value returned by addgrbyX.
49772         (readdgrbygid): Likewise.
49773         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49774         (addpwbyX): Return value returned by cache_addpw.
49775         (readdpwbyname): Return value returned by addhstbyX.
49776         (readdpwbyuid): Likewise.
49777         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49778         (addservbyX): Return value returned by cache_addserv.
49779         (readdservbyname): Return value returned by addservbyX:
49780         (readdservbyport): Likewise.
49781         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49782         (addhstbyX): Return value returned by cache_addhst.
49783         (readdhstbyname): Return value returned by addhstbyX.
49784         (readdhstbyaddr): Likewise.
49785         (readdhstbynamev6): Likewise.
49786         (readdhstbyaddrv6): Likewise.
49787         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49788         (readdinitgroups): Return value returned by addinitgroupsX.
49789         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49790         (prune_cache): Keep track of timeout value of re-added entries.
49791         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49792         * nscd/nscd.h: Adjust prototypes of readd* functions.
49793
49794 2011-02-04  Roland McGrath  <roland@redhat.com>
49795
49796         * nis/nis_server.c (nis_servstate): Use the right name for 0.
49797         (nis_stats): Likewise.
49798         * nis/nis_modify.c (nis_modify): Likewise.
49799         * nis/nis_remove.c (nis_remove): Likewise.
49800         * nis/nis_add.c (nis_add): Likewise.
49801
49802         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49803
49804         * posix/fnmatch_loop.c: Add some consts.
49805
49806         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49807
49808 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
49809
49810         [BZ #12460]
49811         * config.make.in (config-cflags-novzeroupper): Define.
49812         * configure.in: Substitute libc_cv_cc_novzeroupper.
49813         * elf/Makefile (AVX-CFLAGS): Define.
49814         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49815         (CFLAGS-tst-auditmod4a.c): Likewise.
49816         (CFLAGS-tst-auditmod4b.c): Likewise.
49817         (CFLAGS-tst-auditmod6b.c): Likewise.
49818         (CFLAGS-tst-auditmod6c.c): Likewise.
49819         (CFLAGS-tst-auditmod7b.c): Likewise.
49820         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49821
49822 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
49823
49824         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49825         function to the callback.
49826         Patch partly by Jiri Olsa <jolsa@redhat.com>.
49827
49828 2011-02-02  Andreas Schwab  <schwab@redhat.com>
49829
49830         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49831         of errno.
49832
49833 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
49834
49835         [BZ #11724]
49836         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49837         of constructors.
49838         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49839         of destructors.
49840         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49841
49842         [BZ #11724]
49843         * elf/Makefile: Add rules to build and run new test.
49844         * elf/tst-initorder.c: New file.
49845         * elf/tst-initorder.exp: New file.
49846         * elf/tst-initordera1.c: New file.
49847         * elf/tst-initordera2.c: New file.
49848         * elf/tst-initordera3.c: New file.
49849         * elf/tst-initordera4.c: New file.
49850         * elf/tst-initorderb1.c: New file.
49851         * elf/tst-initorderb2.c: New file.
49852         * elf/tst-order-a1.c: New file.
49853         * elf/tst-order-a2.c: New file.
49854         * elf/tst-order-a3.c: New file.
49855         * elf/tst-order-a4.c: New file.
49856         * elf/tst-order-b1.c: New file.
49857         * elf/tst-order-b2.c: New file.
49858         * elf/tst-order-main.c: New file.
49859         New test case by George Gensure <werkt0@gmail.com>.
49860
49861 2010-10-01  Andreas Schwab  <schwab@redhat.com>
49862
49863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49864         decoding ACE if AI_CANONIDN.
49865
49866 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
49867
49868         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49869
49870 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
49871
49872         * version.h (RELEASE): Bump for 2.13 release.
49873         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49874
49875         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49876
49877         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49878         MADV_NOHUGEPAGE.
49879         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49880         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49881         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49882         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49883         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49884         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49885
49886         * posix/getconf.c: Update copyright year.
49887         * catgets/gencat.c: Likewise.
49888         * csu/version.c: Likewise.
49889         * debug/catchsegv.sh: Likewise.
49890         * debug/xtrace.sh: Likewise.
49891         * elf/ldconfig.c: Likewise.
49892         * elf/ldd.bash.in: Likewise.
49893         * elf/sprof.c (print_version): Likewise.
49894         * iconv/iconv_prog.c: Likewise.
49895         * iconv/iconvconfig.c: Likewise.
49896         * locale/programs/locale.c: Likewise.
49897         * locale/programs/localedef.c: Likewise.
49898         * malloc/memusage.sh: Likewise.
49899         * malloc/mtrace.pl: Likewise.
49900         * nscd/nscd.c (print_version): Likewise.
49901         * nss/getent.c: Likewise.
49902
49903         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49904         PF_CAIF, and PF_ALG.
49905         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49906
49907 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49908
49909         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49910         (modules-names): Use them.
49911         (ifunc-test-modules, ifunc-pie-tests): Define.
49912         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49913         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49914         (test-extras): Likewise.
49915         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49916         $(compile-command.c).
49917         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49918         (all-built-dso): Define.
49919         (check-textrel.out, check-execstack.out): Depend on it.
49920
49921         * configure.in: Don't override --enable-multi-arch.
49922
49923 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49924
49925         [BZ #6812]
49926         * nscd/hstcache.c (tryagain): Define.
49927         (cache_addhst): Return tryagain not notfound for temporary errors.
49928         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49929         failed.
49930
49931 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49932
49933         [BZ #10563]
49934         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49935         to make the syscall.
49936         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49937
49938         [BZ #12378]
49939         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49940         and fall back to matching as normal character if the string ends before
49941         the matching ']' is found.  This is what POSIX requires.
49942         * posix/testfnm.c: Adjust test result.
49943         * posix/globtest.sh: Adjust test result.  Add new test.
49944         * posix/tst-fnmatch.input: Likewise.
49945         * posix/tst-fnmatch2.c: Add new test.
49946
49947 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49948
49949         * elf/Makefile (check-execstack): Revert last change.  Depend on
49950         check-execstack.h.
49951         (check-execstack.h): New target.
49952         (generated): Add check-execstack.h.
49953         * elf/check-execstack.c: Include "check-execstack.h".
49954         (main): Revert last change.
49955         (handle_file): Return zero if GNU_STACK is absent and
49956         DEFAULT_STACK_PERMS doesn't include PF_X.
49957
49958 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49959
49960         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49961         in child fails because the descriptor is already closed.
49962         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49963         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49964         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49965
49966         [BZ #12397]
49967         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49968         syscall.
49969
49970         [BZ #10484]
49971         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49972         temporary buffer used to handle multi lookups locally.
49973         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49974
49975 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49976
49977         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49978         loader is ld.so.
49979
49980 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49981
49982         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49983         alignment for SSE2.
49984
49985 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49986
49987         [BZ #12394]
49988         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49989         characters.  When rounding increased number of integer digits recompute
49990         number of groups.
49991         * stdio-common/tst-grouping.c: New file.
49992         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49993
49994 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49995
49996         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49997         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49998
49999         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50000         void.
50001         * bits/select.h: Likewise.
50002
50003 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
50004
50005         * po/ja.po: Update from translation team.
50006
50007 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
50008
50009         [BZ #11155]
50010         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50011         implementation just like for lxstat, fxstatat, et al.
50012
50013 2010-12-27  Jim Meyering  <meyering@redhat.com>
50014
50015         [BZ #12348]
50016         * posix/regexec.c (build_trtable): Return failure indication upon
50017         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
50018
50019 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
50020
50021         [BZ #12201]
50022         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50023         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50024         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50025         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50026
50027         [BZ #12207]
50028         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50029
50030         [BZ #12204]
50031         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50032         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50033
50034 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
50035
50036         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50037         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50038         script has SORT_BY_INIT_PRIORITY.
50039         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50040         NO_CTORS_DTORS_SECTIONS is defined.
50041         * elf/soinit.c: Likewise.
50042         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50043         NO_CTORS_DTORS_SECTIONS is defined.
50044         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50045         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50046         * sysdeps/sh/init-first.c: Likewise.
50047         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50048
50049 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
50050
50051         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50052         always use the slow path.
50053
50054 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
50055
50056         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50057         similar rule which adds the sysdep directories to the header search in
50058         order to pick up the correct platform stackinfo.h.
50059         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50060         perform test if it is, otherwise return successfully without testing.
50061         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50062         DEFAULT_STACK_PERMS define in stackinfo.h.
50063         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50064         defined in stackinfo.h.
50065         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50066         DEFAULT_STACK_PERMS defined in stackinfo.h.
50067         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50068         * sysdeps/ia64/stackinfo.h: Likewise.
50069         * sysdeps/s390/stackinfo.h: Likewise.
50070         * sysdeps/sh/stackinfo.h: Likewise.
50071         * sysdeps/sparc/stackinfo.h: Likewise.
50072         * sysdeps/x86_64/stackinfo.h: Likewise.
50073         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50074         PF_X for powerpc64.  Retain PF_X for powerpc32.
50075
50076 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
50077
50078         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50079         accurately.
50080         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50081         GETDENTS_64BIT_ALIGNED.
50082
50083 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
50084
50085         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50086
50087 2010-12-10  Andreas Schwab  <schwab@redhat.com>
50088
50089         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50090         _GNU_SOURCE.
50091
50092         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50093         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50094         Remove __restrict.
50095         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50096         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50097
50098 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
50099
50100         [BZ #11655]
50101         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50102         are initialized.
50103
50104 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
50105
50106         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50107
50108 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
50109
50110         * po/it.po: Update from translation team.
50111
50112 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
50113
50114         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50115         unused codes.
50116
50117 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
50118
50119         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50120
50121 2010-11-24  Andreas Schwab  <schwab@redhat.com>
50122
50123         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50124         specially.
50125         (gaih_getanswer_slice): Likewise.
50126
50127 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
50128
50129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50130
50131 2010-05-31  Petr Baudis  <pasky@suse.cz>
50132
50133         [BZ #11149]
50134         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50135         silently even in the chroot mode.
50136
50137 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
50138
50139         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50140         last patch a bit.  Pretty printing
50141
50142 2010-05-31  Petr Baudis <pasky@suse.cz>
50143
50144         [BZ #10085]
50145         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50146         initialization of skip_initgroups_dyn.
50147
50148 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
50149
50150         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50151         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50152
50153 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
50154
50155         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50156
50157 2010-11-11  Andreas Schwab  <schwab@redhat.com>
50158
50159         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50160         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50161         (tst-fnmatch-ENV): Set MALLOC_TRACE.
50162         ($(objpfx)tst-fnmatch-mem): New rule.
50163         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50164         * posix/tst-fnmatch.c (main): Call mtrace.
50165
50166 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
50167
50168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50169         Support Intel processor model 6 and model 0x2c.
50170
50171 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
50172
50173         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50174           signed comparison.
50175
50176 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
50177
50178         [BZ #12205]
50179         * string/test-strncasecmp.c (check_result): New function.
50180         (do_one_test): Use it.
50181         (check1): New function.
50182         (test_main): Use it.
50183         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50184         Support strcasecmp and strncasecmp.
50185
50186 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
50187
50188         [BZ #12194]
50189         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50190         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50191
50192 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50193
50194         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50195         IFUNC support.
50196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50197         memset-x86-64.
50198         * sysdeps/x86_64/multiarch/bzero.S: New file.
50199         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50200         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50201         * sysdeps/x86_64/multiarch/memset.S: New file.
50202         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50203         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50204         Set bit_Prefer_SSE_for_memop for Intel processors.
50205         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50206         Define.
50207         (index_Prefer_SSE_for_memop): Define.
50208         (HAS_PREFER_SSE_FOR_MEMOP): Define.
50209
50210 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
50211
50212         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50213         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50214
50215 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
50216
50217         [BZ #12191]
50218         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50219         (__x86_64_raw_data_cache_size_half): Likewise.
50220         (__x86_64_raw_shared_cache_size): Likewise.
50221         (__x86_64_raw_shared_cache_size_half): Likewise.
50222
50223         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50224         (__x86_64_raw_data_cache_size_half): Likewise.
50225         (__x86_64_raw_shared_cache_size): Likewise.
50226         (__x86_64_raw_shared_cache_size_half): Likewise.
50227         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50228         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50229         and __x86_64_raw_shared_cache_size_half.  Round
50230         __x86_64_data_cache_size_half, __x86_64_data_cache_size
50231         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50232         to multiple of 256 bytes.
50233
50234 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
50235
50236         [BZ #12167]
50237         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50238         of inacessible symlinks.  Verify result of symlink before returning it.
50239         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50240         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50241
50242 2010-10-28  Erich Ritz  <erichritz@gmail.com>
50243
50244         * math/math.h (isinf): Fix typo in comment.
50245
50246 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
50247
50248         * po/da.po: Update from translation team.
50249
50250 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
50251
50252         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50253         is added to the list.
50254
50255 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50256             Ulrich Drepper  <drepper@gmail.com>
50257
50258         * elf/dl-object.c (_dl_new_object): Don't append the new object to
50259         the global list here.  Move code to...
50260         (_dl_add_to_namespace_list): ...here.  New function.
50261         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50262         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50263         * elf/dl-load.c (lose): Don't remove the element from the list.
50264         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50265         (_dl_map_object): Likewise.
50266
50267 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
50268
50269         [BZ #12159]
50270         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50271         into all bytes of SSE register.
50272         Patch by Richard Li <richardpku@gmail.com>.
50273
50274 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
50275
50276         [BZ #12140]
50277         * malloc/malloc.c (_int_free): Fill correct number of bytes when
50278         perturbing.
50279
50280 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
50281
50282         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50283         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50284         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50285         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50287         submachine.
50288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50289
50290 2010-10-22  Andreas Schwab  <schwab@redhat.com>
50291
50292         * include/dlfcn.h (__RTLD_SECURE): Define.
50293         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
50294         mode & __RTLD_SECURE instead.
50295         (open_path): Rename preloaded parameter to secure.
50296         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50297         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50298         * elf/dl-deps.c (openaux): Likewise.
50299         * elf/rtld.c (struct map_args): Remove is_preloaded.
50300         (map_doit): Don't use it.
50301         (dl_main): Likewise.
50302         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50303         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50304
50305 2010-09-09  Andreas Schwab  <schwab@redhat.com>
50306
50307         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50308         (sysd-rules-targets): Remove duplicates.
50309         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50310         rtld-%.$o dependency.
50311
50312 2010-10-18  Andreas Schwab  <schwab@redhat.com>
50313
50314         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50315         _dl_map_object do it.
50316
50317 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
50318
50319         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50320         fast fma builtins, define the macros in the C99 standard.
50321         (FP_FAST_FMAF): Likewise.
50322         (FP_FAST_FMAL): Likewise.
50323         * sysdeps/x86_64/bits/mathdef.h: Likewise.
50324
50325         * bits/mathdef.h: Update copyright year.
50326         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50327
50328 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
50329
50330         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50331         builtins, define the macros in the C99 standard.
50332         (FP_FAST_FMAF): Likewise.
50333         (FP_FAST_FMAL): Likewise.
50334         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50335         multiply/add.
50336         (FP_FAST_FMAF): Likewise.
50337
50338 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
50339
50340         [BZ #3268]
50341         * math/libm-test.inc (fma_test): Some new testcases.
50342         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50343         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50344         y and infinite z.  Do multiplication by C already in long double.
50345         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50347         y and infinite z.  Do bitwise or of inexact bit into u.d.
50348         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50349         * sysdeps/i386/fpu/s_fmaf.S: Removed.
50350         * sysdeps/i386/fpu/s_fma.S: Removed.
50351         * sysdeps/i386/fpu/s_fmal.S: Removed.
50352
50353 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
50354
50355         [BZ #3268]
50356         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50358         computation is not scheduled after fetestexcept.  Fix value
50359         of minimum denormal long double.
50360
50361 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
50362
50363         [BZ #3268]
50364         * math/libm-test.inc (fma_test): Add some more tests.
50365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50366         correctly.
50367
50368 2010-10-15  Andreas Schwab  <schwab@redhat.com>
50369
50370         * scripts/data/localplt-s390-linux-gnu.data: New file.
50371         * scripts/data/localplt-s390x-linux-gnu.data: New file.
50372
50373 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
50374
50375         [BZ #3268]
50376         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50377         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50378         instead of dbl-64.
50379         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50380         inlines.
50381         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50382         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50383         if one of x and y is very large and the other is subnormal.
50384         * sysdeps/s390/fpu/s_fmaf.c: New file.
50385         * sysdeps/s390/fpu/s_fma.c: New file.
50386         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50387         * sysdeps/powerpc/fpu/s_fma.S: New file.
50388         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50389         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50390         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50391
50392 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
50393
50394         [BZ #3268]
50395         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50396         fma tests.
50397         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50398         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50399         * sysdeps/i386/i686/multiarch/s_fma.c: Include
50400         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50401         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50402         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50403         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50404
50405 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
50406
50407         [BZ #12078]
50408         * posix/regcomp.c (parse_branch): One more memory leak plugged.
50409         * posix/bug-regex31.input: Add test case.
50410
50411 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50412
50413         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50414         * posix/bug-regex31.input: New file.
50415
50416         [BZ #12078]
50417         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50418         (parse_sub_exp): Fix last change, use postorder.
50419
50420         * posix/bug-regex31.c: New file.
50421         * posix/Makefile: Add rules to build and run bug-regex31.
50422
50423         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50424
50425         [BZ #12078]
50426         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50427
50428         [BZ #12108]
50429         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50430         to have entries in sys_siglist.
50431
50432         [BZ #12093]
50433         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50434         be NULL.
50435
50436 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
50437
50438         [BZ #3268]
50439         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50440         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50441         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50442         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50443         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50444         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50445         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50446         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50447         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50448         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50449         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50450         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50451         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50452         * math/ftestexcept.c (fetestexcept): Likewise.
50453         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50454         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50455         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50456         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50457         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50458         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50459         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50460
50461 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50462
50463         [BZ #12107]
50464         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50465         newline.
50466
50467 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
50468
50469         * string/bug-strstr1.c: New file.
50470         * string/Makefile: Add rules to build and run bug-strstr1.
50471
50472 2010-10-05  Eric Blake  <eblake@redhat.com>
50473
50474         [BZ #12092]
50475         * string/str-two-way.h (two_way_long_needle): Always clear memory
50476         when skipping input due to the shift table.
50477
50478 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
50479
50480         [BZ #12005]
50481         * malloc/mcheck.c: Handle large requests.
50482
50483         [BZ #12077]
50484         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50485         for strncmp and strncasecmp.
50486         * string/stratcliff.c: Add tests for strcmp and strncmp.
50487         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50488
50489 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50490
50491         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50492         __set_fpscr.
50493
50494 2010-09-30  Andreas Jaeger  <aj@suse.de>
50495
50496         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50497         (CGROUP_SUPER_MAGIC): Define.
50498         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50499         Handle btrfs and cgroup file systems.
50500         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50501         Likewise.
50502
50503 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
50504
50505         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50506         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50507
50508 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50509
50510         [BZ #12067]
50511         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50512         trying to locate the ELF header.
50513
50514 2010-09-27  Andreas Schwab  <schwab@redhat.com>
50515
50516         [BZ #11611]
50517         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50518         Mask out sign-bit copies when constructing f_fsid.
50519
50520 2010-09-24  Petr Baudis <pasky@suse.cz>
50521
50522         * debug/stack_chk_fail_local.c: Add missing licence exception.
50523         * debug/warning-nop.c: Likewise.
50524
50525 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
50526
50527         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50528         implementing getdents64 using getdents syscall, set d_type if
50529         __ASSUME_GETDENTS32_D_TYPE.
50530
50531 2010-09-16  Andreas Schwab  <schwab@redhat.com>
50532
50533         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50534         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50535
50536 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
50537
50538         [BZ #12037]
50539         * posix/unistd.h: Undo change of feature selection for ftruncate from
50540         2010-01-11.
50541
50542 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
50543
50544         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50545         detection.
50546
50547 2010-09-20  Andreas Schwab  <schwab@redhat.com>
50548
50549         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50550         fanotify_mark.
50551         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50552
50553 2010-09-14  Andreas Schwab  <schwab@redhat.com>
50554
50555         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50556         variables after CHECK_SP call.
50557         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50558
50559 2010-09-13  Andreas Schwab  <schwab@redhat.com>
50560             Ulrich Drepper  <drepper@redhat.com>
50561
50562         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50563         re-relocationg ld.so.
50564         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50565         _dl_init_paths call.
50566         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
50567         here anymore.
50568
50569 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
50570
50571         * resolv/res_init.c (__res_vinit): Count the default server we added.
50572
50573 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
50574             Ulrich Drepper  <drepper@redhat.com>
50575
50576         [BZ #11968]
50577         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50578         (____longjmp_chk): Use %ebx for saving value across system call.
50579         Add unwind info.
50580
50581 2010-09-06  Andreas Schwab  <schwab@redhat.com>
50582
50583         * manual/Makefile: Don't mix pattern rules with normal rules.
50584
50585 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50586
50587         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50588         operation.
50589         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50590         * libio/iofopncook.c (_IO_cookie_init): Likewise.
50591         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50592         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50593         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50594         Likewise.
50595
50596 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
50597
50598         [BZ #11979]
50599         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50600         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50601
50602 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
50603
50604         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50605         * sysdeps/x86_64/addmul_1.S: Likewise.
50606         * sysdeps/x86_64/lshift.S: Likewise.
50607         * sysdeps/x86_64/mul_1.S: Likewise.
50608         * sysdeps/x86_64/rshift.S: Likewise.
50609         * sysdeps/x86_64/sub_n.S: Likewise.
50610         * sysdeps/x86_64/submul_1.S: Likewise.
50611
50612 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50613
50614         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50615         Define __sched_param instead of SCHED_* and sched_param when
50616         <bits/sched.h> is included with __need_schedparam defined.
50617         * bits/sched.h [__need_schedparam]
50618         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
50619         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50620         (__defined_schedparam): Define to 1.
50621         (__sched_param): New structure, identical to sched_param.
50622         (__need_schedparam): Undefine.
50623
50624 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
50625
50626         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50627         (epoll_create1): Declare.
50628
50629         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50630
50631 2010-08-31  Andreas Schwab  <schwab@redhat.com>
50632
50633         [BZ #7066]
50634         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50635         shifting retval into place.
50636
50637 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
50638
50639         * nis/rpcsvc/nis.h: Update copyright notice.
50640         * nis/rpcsvc/nis.x: Likewise.
50641         * nis/rpcsvc/nis_callback.h: Likewise.
50642         * nis/rpcsvc/nis_callback.x: Likewise.
50643         * nis/rpcsvc/nis_object.x: Likewise.
50644         * nis/rpcsvc/nis_tags.h: Likewise.
50645         * nis/rpcsvc/yp.h: Likewise.
50646         * nis/rpcsvc/yp.x: Likewise.
50647         * nis/rpcsvc/ypupd.h: Likewise.
50648         * nis/yp_xdr.c: Likewise.
50649         * nis/ypupdate_xdr.c: Likewise.
50650
50651         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
50652         mainly the body of pmap_getport.  Add parameters to specify timeouts.
50653         (pmap_getport): Use __libc_rpc_getport.
50654         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50655         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50656         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50657
50658 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
50659
50660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50661         fanotify_mark.
50662
50663 2010-08-27  Roland McGrath  <roland@redhat.com>
50664
50665         * sysdeps/i386/i686/multiarch/Makefile
50666         (CFLAGS-varshift.c): New variable.
50667
50668 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
50669
50670         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50671         * sysdeps/i386/i686/multiarch/varshift.c: New file.
50672
50673         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50674
50675         * sysdeps/x86_64/strlen.S: Minimal code improvement.
50676
50677 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
50678
50679         * sysdeps/x86_64/strlen.S: Unroll the loop.
50680         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50681         strlen-sse2 strlen-sse2-bsf.
50682         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50683         __strlen_no_bsf if bit_Slow_BSF is set.
50684         (__strlen_sse42): Removed.
50685         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50686         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50687
50688 2010-08-25  Roland McGrath  <roland@redhat.com>
50689
50690         * sysdeps/x86_64/multiarch/varshift.S: File removed.
50691         * sysdeps/x86_64/multiarch/varshift.c: New file.
50692         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50693         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50694         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50695         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50696
50697 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
50698
50699         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50700         strlen-sse2 strlen-sse2-bsf.
50701         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50702         __strlen_sse2_bsf if bit_Slow_BSF is unset.
50703         (__strlen_sse2): Removed.
50704         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50705         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50707         bit_Slow_BSF for Atom.
50708         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50709         (index_Slow_BSF): Define.
50710         (HAS_SLOW_BSF): Define.
50711
50712 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
50713
50714         [BZ #10851]
50715         * resolv/res_init.c (__res_vinit): When no server address at all
50716         is given default to loopback.
50717
50718 2010-08-24  Roland McGrath  <roland@redhat.com>
50719
50720         * configure.in: Remove config-name.h generation.
50721         * configure: Regenerated.
50722         * config-name.in: File removed.
50723         * scripts/config-uname.sh: New file.
50724         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50725         ($(objdir)config-name.h): New target.
50726
50727         * sunrpc/rpc_parse.h: Avoid nested comment.
50728
50729 2010-08-24  Richard Henderson  <rth@redhat.com>
50730             Ulrich Drepper  <drepper@redhat.com>
50731             H.J. Lu  <hongjiu.lu@intel.com>
50732
50733         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50735         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50736         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
50737         _mm_alignr_epi8 with _mm_loadu_si128.
50738         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50739         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50740         (__m128i_shift_right): Removed.
50741         * sysdeps/i386/i686/multiarch/varshift.h: New file.
50742         * sysdeps/i386/i686/multiarch/varshift.S: New file.
50743         * sysdeps/x86_64/multiarch/varshift.h: New file.
50744         * sysdeps/x86_64/multiarch/varshift.S: New file.
50745
50746 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
50747
50748         * configure.in: Move assembler checks to before sysdep dir checking.
50749
50750 2010-08-20  Petr Baudis  <pasky@suse.cz>
50751
50752         * LICENSES: Sync the sunrpc license.
50753
50754 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
50755
50756         * sunrpc/auth_des.c: Update copyright notice once again.
50757         * sunrpc/auth_none.c: Likewise.
50758         * sunrpc/auth_unix.c: Likewise.
50759         * sunrpc/authdes_prot.c: Likewise.
50760         * sunrpc/authuxprot.c: Likewise.
50761         * sunrpc/bindrsvprt.c: Likewise.
50762         * sunrpc/clnt_gen.c: Likewise.
50763         * sunrpc/clnt_perr.c: Likewise.
50764         * sunrpc/clnt_raw.c: Likewise.
50765         * sunrpc/clnt_simp.c: Likewise.
50766         * sunrpc/clnt_tcp.c: Likewise.
50767         * sunrpc/clnt_udp.c: Likewise.
50768         * sunrpc/clnt_unix.c: Likewise.
50769         * sunrpc/des_crypt.c: Likewise.
50770         * sunrpc/des_soft.c: Likewise.
50771         * sunrpc/get_myaddr.c: Likewise.
50772         * sunrpc/getrpcport.c: Likewise.
50773         * sunrpc/key_call.c: Likewise.
50774         * sunrpc/key_prot.c: Likewise.
50775         * sunrpc/openchild.c: Likewise.
50776         * sunrpc/pm_getmaps.c: Likewise.
50777         * sunrpc/pm_getport.c: Likewise.
50778         * sunrpc/pmap_clnt.c: Likewise.
50779         * sunrpc/pmap_prot.c: Likewise.
50780         * sunrpc/pmap_prot2.c: Likewise.
50781         * sunrpc/pmap_rmt.c: Likewise.
50782         * sunrpc/rpc/auth.h: Likewise.
50783         * sunrpc/rpc/auth_unix.h: Likewise.
50784         * sunrpc/rpc/clnt.h: Likewise.
50785         * sunrpc/rpc/des_crypt.h: Likewise.
50786         * sunrpc/rpc/key_prot.h: Likewise.
50787         * sunrpc/rpc/netdb.h: Likewise.
50788         * sunrpc/rpc/pmap_clnt.h: Likewise.
50789         * sunrpc/rpc/pmap_prot.h: Likewise.
50790         * sunrpc/rpc/pmap_rmt.h: Likewise.
50791         * sunrpc/rpc/rpc.h: Likewise.
50792         * sunrpc/rpc/rpc_des.h: Likewise.
50793         * sunrpc/rpc/rpc_msg.h: Likewise.
50794         * sunrpc/rpc/svc.h: Likewise.
50795         * sunrpc/rpc/svc_auth.h: Likewise.
50796         * sunrpc/rpc/types.h: Likewise.
50797         * sunrpc/rpc/xdr.h: Likewise.
50798         * sunrpc/rpc_clntout.c: Likewise.
50799         * sunrpc/rpc_cmsg.c: Likewise.
50800         * sunrpc/rpc_common.c: Likewise.
50801         * sunrpc/rpc_cout.c: Likewise.
50802         * sunrpc/rpc_dtable.c: Likewise.
50803         * sunrpc/rpc_hout.c: Likewise.
50804         * sunrpc/rpc_main.c: Likewise.
50805         * sunrpc/rpc_parse.c: Likewise.
50806         * sunrpc/rpc_parse.h: Likewise.
50807         * sunrpc/rpc_prot.c: Likewise.
50808         * sunrpc/rpc_sample.c: Likewise.
50809         * sunrpc/rpc_scan.c: Likewise.
50810         * sunrpc/rpc_scan.h: Likewise.
50811         * sunrpc/rpc_svcout.c: Likewise.
50812         * sunrpc/rpc_tblout.c: Likewise.
50813         * sunrpc/rpc_util.c: Likewise.
50814         * sunrpc/rpc_util.h: Likewise.
50815         * sunrpc/rpcinfo.c: Likewise.
50816         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50817         * sunrpc/rpcsvc/key_prot.x: Likewise.
50818         * sunrpc/rpcsvc/klm_prot.x: Likewise.
50819         * sunrpc/rpcsvc/mount.x: Likewise.
50820         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50821         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50822         * sunrpc/rpcsvc/rex.x: Likewise.
50823         * sunrpc/rpcsvc/rstat.x: Likewise.
50824         * sunrpc/rpcsvc/rusers.x: Likewise.
50825         * sunrpc/rpcsvc/sm_inter.x: Likewise.
50826         * sunrpc/rpcsvc/spray.x: Likewise.
50827         * sunrpc/rpcsvc/yppasswd.x: Likewise.
50828         * sunrpc/rtime.c: Likewise.
50829         * sunrpc/svc.c: Likewise.
50830         * sunrpc/svc_auth.c: Likewise.
50831         * sunrpc/svc_authux.c: Likewise.
50832         * sunrpc/svc_raw.c: Likewise.
50833         * sunrpc/svc_run.c: Likewise.
50834         * sunrpc/svc_simple.c: Likewise.
50835         * sunrpc/svc_tcp.c: Likewise.
50836         * sunrpc/svc_udp.c: Likewise.
50837         * sunrpc/svc_unix.c: Likewise.
50838         * sunrpc/svcauth_des.c: Likewise.
50839         * sunrpc/xcrypt.c: Likewise.
50840         * sunrpc/xdr.c: Likewise.
50841         * sunrpc/xdr_array.c: Likewise.
50842         * sunrpc/xdr_float.c: Likewise.
50843         * sunrpc/xdr_mem.c: Likewise.
50844         * sunrpc/xdr_rec.c: Likewise.
50845         * sunrpc/xdr_ref.c: Likewise.
50846         * sunrpc/xdr_sizeof.c: Likewise.
50847         * sunrpc/xdr_stdio.c: Likewise.
50848
50849         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50850         handling.
50851
50852 2010-08-19  Andreas Schwab  <schwab@redhat.com>
50853
50854         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50855
50856 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
50857
50858         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50859         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50860         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50861         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50862         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50863         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50864         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50865         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50866         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50867         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50868         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50869         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50870         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50871         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50872
50873 2010-07-26  Anton Blanchard  <anton@samba.org>
50874
50875         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50876         * malloc/arena.c (heap_trim): Likewise.
50877
50878 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50879
50880         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50881         here.  Not...
50882         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50883         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50884
50885 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
50886
50887         * sysdeps/i386/elf/Makefile: New file.
50888
50889 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50890
50891         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50892         from fanotify_init.
50893         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50894         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50895
50896 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50897
50898         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50899         of strncasecmp_l.
50900         * sysdeps/multiarch/strcmp.S: Likewise.
50901
50902 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50903
50904         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50905         strncase_l-nonascii.
50906         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50907         Add strncase_l-ssse3.
50908         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50909         * sysdeps/x86_64/strcmp.S: Likewise.
50910         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50911         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50912         * sysdeps/x86_64/strncase.S: New file.
50913         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50914         * sysdeps/x86_64/strncase_l.S: New file.
50915         * string/Makefile (strop-tests): Add strncasecmp.
50916         * string/test-strncasecmp.c: New file.
50917
50918         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50919         warning.
50920
50921         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50922         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50923
50924 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50925
50926         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50927
50928 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50929
50930         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50931         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50932         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50933
50934 2010-05-01  Alan Modra  <amodra@gmail.com>
50935
50936         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50937         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50938         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50939         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50940         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50941         tidying.  Don't tail-call __sigjmp_save for static lib.
50942         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50943         save location.
50944         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50945         (CALL_MCOUNT): Add eh info, and nop after bl.
50946         (TAIL_CALL_SYSCALL_ERROR): New macro.
50947         (PSEUDO_RET): Use it.
50948         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50949         Correct save location of integer regs and cr.
50950         (_dl_profile_resolve): Correct cr save location.  Delete nops
50951         after bl when SHARED.  Reduce cfi size a little by better
50952         placement of cfi directives.
50953         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50954         make a stack frame.  Instead use parm save area as a temp.
50955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50956         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50958         Don't make a stack frame for parent, use parm save area.
50959         Increase child stack frame to 112 bytes.  Don't save unused reg,
50960         and adjust reg usage.  Set up cfi on error recovery and
50961         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50963         (__makecontext): Add dummy nop after jump to exit.
50964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50965         Use correct parm save area and cr save, reduce stack frame.
50966         Correct cfi for possible PSEUDO_RET frame setup.
50967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50968         Branch to local label emitted by PSEUDO_RET rather than
50969         __syscall_error.
50970
50971 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50972
50973         [BZ #11904]
50974         * locale/programs/locale.c (print_assignment): New function.
50975         (show_locale_vars): Use it.
50976
50977 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50978
50979         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50980         field.
50981         (struct statfs64): Likewise.
50982         (_STATFS_F_FLAGS): Define.
50983         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50984         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50985         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50986         (ST_VALID): Define locally.
50987         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50988         __statvfs_getflags, use the provided value.
50989         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50990         __ASSUME_STATFS_F_FLAGS.
50991
50992         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50993
50994         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50995         Add sys/fanotify.h.
50996         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50997         fanotify_mask for GLIBC_2.13.
50998         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50999         fanotify_init and fanotify_mark.
51000         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51001         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51002
51003         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51004         Add prlimit.
51005         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51006         prlimit64 for GLIBC_2.13.
51007         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51008         prlimit64.
51009         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51010         syscall.
51011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51012         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51013         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51014         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51015         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
51016         add prlimit alias.
51017         * sysdeps/unix/sysv/linux/prlimit.c: New file.
51018
51019         [BZ #11903]
51020         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51021         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51022
51023         * nss/Makefile: Add rules to build and run tst-nss-test1.
51024         * shlib-versions: Add entry for libnss_test1.
51025         * nss/nss_test1.c: New file.
51026         * nss/tst-nss-test1.c: New file.
51027
51028         * nss/nsswitch.c (__nss_database_custom): Define new variable.
51029         (__nss_configure_lookup): Set appropriate entry in
51030         __nss_configure_lookup to true.
51031         * nss/nsswitch.h: Define enum with indeces of databases in
51032         databases and __nss_database_custom arrays.  Declare
51033         __nss_database_custom.
51034         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51035         to avoid using nscd when custom rules are installed.
51036         * nss/getXXbyYY_r.c: Likewise.
51037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51038
51039         * nss/nss_files/files-parse.c: Whitespace fixes.
51040
51041 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
51042
51043         [BZ #11883]
51044         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51045         * posix/fnmatch_loop.c: Likewise.
51046
51047 2010-07-17  Andi Kleen  <ak@linux.intel.com>
51048
51049         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51050         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51051         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51052         * Versions.def [GLIBC_2.13]: Add.
51053
51054 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
51055
51056         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51057         Also fail if tpwd after pwuid call is NULL.
51058
51059 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51060
51061         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51062         when converting to ms.
51063
51064 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51065
51066         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51067         EOPNOTSUPP errors with ENOTTY.
51068         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51069         EOPNOTSUPP errors with ENOTTY.
51070
51071 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
51072
51073         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51074         Add strcasecmp_l-ssse3.
51075         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51076         strcasecmp.
51077         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51078         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51079         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51080
51081 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
51082
51083         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51084
51085         * string/Makefile (strop-tests): Add strcasecmp.
51086         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51087         strcasecmp_l-nonascii.
51088         (gen-as-const-headers): Add locale-defines.sym.
51089         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51090         * sysdeps/x86_64/strcasecmp.S: New file.
51091         * sysdeps/x86_64/strcasecmp_l.S: New file.
51092         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51093         * sysdeps/x86_64/locale-defines.sym: New file.
51094         * string/test-strcasecmp.c: New file.
51095
51096         * string/test-strcasestr.c: Test both ends of the range of characters.
51097         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51098
51099 2010-07-29  Roland McGrath  <roland@redhat.com>
51100
51101         [BZ #11856]
51102         * manual/locale.texi (Yes-or-No Questions): Fix example code.
51103
51104 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
51105
51106         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51107         for ld.so.
51108
51109 2010-07-27  Andreas Schwab  <schwab@redhat.com>
51110
51111         * manual/memory.texi (Malloc Tunable Parameters): Document
51112         M_PERTURB.
51113
51114 2010-07-26  Roland McGrath  <roland@redhat.com>
51115
51116         [BZ #11840]
51117         * configure.in (-fgnu89-inline check): Set and substitute
51118         gnu89_inline, not libc_cv_gnu89_inline.
51119         * configure: Regenerated.
51120         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51121
51122 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
51123
51124         * string/test-strnlen.c: New file.
51125         * string/Makefile (strop-tests): Add strnlen.
51126         * string/tester.c (test_strnlen): Add a few more test cases.
51127         * string/tst-strlen.c: Better error reporting.
51128
51129         * sysdeps/x86_64/strnlen.S: New file.
51130
51131 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
51132
51133         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51134         lower-latency instructions.
51135
51136 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
51137
51138         * string/test-strcasestr.c: New file.
51139         * string/test-strstr.c: New file.
51140         * string/Makefile (strop-tests): Add strstr and strcasestr.
51141         * string/str-two-way.h: Don't undefine MAX.
51142         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51143
51144 2010-07-21  Andreas Schwab  <schwab@redhat.com>
51145
51146         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51147         strcasestr-nonascii.
51148         (CFLAGS-strcasestr-nonascii.c): Define.
51149         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51150         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51151         Remove unused attribute.
51152
51153 2010-07-20  Roland McGrath  <roland@redhat.com>
51154
51155         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51156         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
51157         ld.so.cache was broken.  With it, there is no way to disable dsocaps
51158         like LD_HWCAP_MASK can disable hwcaps.
51159
51160 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51161
51162         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51163
51164 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
51165
51166         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51167         call in strcasestr.
51168         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51169         __strcasestr_sse42_nonascii.
51170         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51171         strcasestr-nonascii.c.
51172         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51173
51174 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
51175
51176         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51177         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51178         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51179         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51180
51181 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
51182
51183         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51184         fcntl.
51185
51186 2010-07-06  Andreas Schwab  <schwab@redhat.com>
51187
51188         [BZ #11577]
51189         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51190         dl_signal_cerror.
51191
51192 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
51193
51194         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51195         _PC_PIPE_BUF using F_GETPIPE_SZ.
51196
51197 2010-07-05  Roland McGrath  <roland@redhat.com>
51198
51199         * manual/arith.texi (Rounding Functions): Fix rint description
51200         implicit in round description.
51201
51202 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
51203
51204         * elf/Makefile: Fix linking for a few tests to make recent linker
51205         happy.
51206
51207 2010-06-30  Andreas Schwab  <schwab@redhat.com>
51208
51209         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51210         $(common-objpfx)libc_nonshared.a.
51211
51212 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
51213
51214         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51215         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51216         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51217         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51218         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51219         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51220         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51221         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51236         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51237         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51238         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51239         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51240         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51241         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51242         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51243         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51244         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51245         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51246         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51247         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51262
51263 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
51264
51265         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51266         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
51267         * string/memmove.c (memmove): Renamed to ...
51268         (MEMMOVE): ...this.  Default to memmove.
51269         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51270         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51271         (END_CHK): Define.
51272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51273         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51274         mempcpy-ssse3-back memmove-ssse3-back.
51275         * sysdeps/x86_64/multiarch/bcopy.S: New file .
51276         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51277         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51278         * sysdeps/x86_64/multiarch/memcpy.S: New file.
51279         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51280         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51281         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51282         * sysdeps/x86_64/multiarch/memmove.c: New file.
51283         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51284         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51285         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51286         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51287         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51288         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51289         Define.
51290         (index_Fast_Copy_Backward): Define.
51291         (HAS_ARCH_FEATURE): Define.
51292         (HAS_FAST_REP_STRING): Define.
51293         (HAS_FAST_COPY_BACKWARD): Define.
51294
51295 2010-06-21  Andreas Schwab  <schwab@redhat.com>
51296
51297         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51298         Restore proper fallback handling.
51299
51300 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
51301
51302         [BZ #11701]
51303         * posix/group_member.c (__group_member): Correct checking loop.
51304
51305         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51306         OOM in getpwuid_r correctly.  Return error number when the caller
51307         should return, otherwise -1.
51308         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51309         call returning > 0 value.
51310         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51311
51312 2010-06-07  Andreas Schwab  <schwab@redhat.com>
51313
51314         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51315         libc_nonshared.a from targets in modules-names.
51316
51317 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
51318
51319         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51320         requires it.
51321
51322 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
51323
51324         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51325         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51326         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51327         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51328
51329 2010-06-02  Andreas Schwab  <schwab@redhat.com>
51330
51331         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51332
51333 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
51334
51335         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51336         and F_GETPIPE_SZ.
51337         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51338         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51339         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51340         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51341         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51342         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51343
51344 2010-06-14  Roland McGrath  <roland@redhat.com>
51345
51346         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51347
51348 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
51349
51350         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51351         __REDIRECT followed by __THROW.
51352         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51353         * posix/getopt.h (getopt): Likewise.
51354
51355 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51356
51357         * hurd/lookup-at.c (__file_name_lookup_at): Accept
51358         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
51359         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51360         in AT_FLAGS.
51361         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51362         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51363
51364 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
51365
51366         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51367
51368 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
51369
51370         [BZ #11640]
51371         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51372         Properly check family and model.
51373
51374 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
51375
51376         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51377
51378 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
51379
51380         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51381
51382 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
51383
51384         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51385         symbol reference.
51386
51387 2010-05-19  Andreas Schwab  <schwab@redhat.com>
51388
51389         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51390         symbol reference.
51391
51392 2010-05-21  Andreas Schwab  <schwab@redhat.com>
51393
51394         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51395         and internal_recvmmsg.
51396         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51397         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51398         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51399         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51400
51401         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51402         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51403         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51404
51405 2010-05-20  Andreas Schwab  <schwab@redhat.com>
51406
51407         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51408
51409 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
51410
51411         POWER7 optimizations.
51412         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51413         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51414
51415 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
51416
51417         * version.h: Update for 2.13 development version.
51418
51419 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
51420
51421         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51422         exceptions.  Return 0.
51423
51424 2010-05-07  Roland McGrath  <roland@redhat.com>
51425
51426         * elf/ldconfig.c (main): Add a const.
51427
51428 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
51429
51430         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51431         (args_options): Add no-idn option.
51432         (ahosts_keys_int): Add idn_flags to ai_flags.
51433         (parse_option): Handle 'i' option to clear idn_flags.
51434
51435         * malloc/malloc.c (_int_free): Possible race in the most recently
51436         added check.  Only act on the data if no current modification
51437         happened.
51438
51439 See ChangeLog.17 for earlier changes.